Package XSLForms :: Module Prepare
[show private | hide private]
[frames | no frames]

Module XSLForms.Prepare

Preparation of templating stylesheets.

Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Function Summary
  ensure_input_stylesheet(template_name, input_name, init_enumerations)
Ensure the presence of an input stylesheet, preparing it if necessary using the file with the given 'template_name', producing a file with the given 'input_name'.
  ensure_qt_fragment(template_name, output_name, widget_name)
  ensure_qt_stylesheet(template_name, output_name)
  ensure_qt_stylesheet_fragment(template_name, output_name, widget_name)
  ensure_qt_template(template_name, output_name)
  ensure_qt_template_fragment(template_name, output_name, widget_name)
  ensure_stylesheet(template_name, output_name)
Ensure the presence of an output stylesheet, preparing it if necessary using the file with the given 'template_name', producing a file with the given 'output_name'.
  ensure_stylesheet_fragment(template_name, output_name, element_id)
Ensure the presence of an output stylesheet, preparing it if necessary using the file with the given 'template_name', producing a file with the given 'output_name', capturing the fragment identified by the given 'element_id'.
  make_input_stylesheet(template_name, input_name, init_enumerations, stylesheet_names, encoding)
Make an input stylesheet using the file with the given 'template_name', producing a file with the given 'input_name'.
  make_qt_fragment(template_name, output_name, widget_name, stylesheet_names, encoding)
  make_qt_stylesheet(template_name, output_name, stylesheet_names, encoding)
  make_qt_stylesheet_fragment(template_name, output_name, widget_name, stylesheet_names, encoding)
  make_qt_template(template_name, output_name, stylesheet_names, encoding)
  make_qt_template_fragment(template_name, output_name, widget_name, stylesheet_names, encoding)
  make_schema(template_name, output_name, stylesheet_names, encoding)
Make a schema document using the file with the given 'template_name', producing a file with the given 'output_name'.
  make_stylesheet(template_name, output_name, stylesheet_names, encoding)
Make an output stylesheet using the file with the given 'template_name', producing a file with the given 'output_name'.
  make_stylesheet_fragment(template_name, output_name, element_id, stylesheet_names, encoding)
Make an output stylesheet using the file with the given 'template_name', producing a file with the given 'output_name', capturing the fragment identified by the given 'element_id'.

Variable Summary
str resource_dir = '/home/paulb/tmp/XSLTools-0.3.1/XSLForms/...

Function Details

ensure_input_stylesheet(template_name, input_name, init_enumerations=1)

Ensure the presence of an input stylesheet, preparing it if necessary using the file with the given 'template_name', producing a file with the given 'input_name'.

The optional 'init_enumerations' (defaulting to true) may be used to indicate whether enumerations are to be initialised from external documents.

ensure_stylesheet(template_name, output_name)

Ensure the presence of an output stylesheet, preparing it if necessary using the file with the given 'template_name', producing a file with the given 'output_name'.

ensure_stylesheet_fragment(template_name, output_name, element_id)

Ensure the presence of an output stylesheet, preparing it if necessary using the file with the given 'template_name', producing a file with the given 'output_name', capturing the fragment identified by the given 'element_id'.

make_input_stylesheet(template_name, input_name, init_enumerations=1, stylesheet_names=['Schema.xsl', 'Input.xsl'], encoding=None)

Make an input stylesheet using the file with the given 'template_name', producing a file with the given 'input_name'. Such stylesheets are used to ensure the general structure of an input document.

The optional 'init_enumerations' (defaulting to true) may be used to indicate whether enumerations are to be initialised from external documents.

make_schema(template_name, output_name, stylesheet_names=['Schema.xsl'], encoding=None)

Make a schema document using the file with the given 'template_name', producing a file with the given 'output_name'.

make_stylesheet(template_name, output_name, stylesheet_names=['PrepareMacro.xsl', 'Prepare.xsl'], encoding=None)

Make an output stylesheet using the file with the given 'template_name', producing a file with the given 'output_name'.

make_stylesheet_fragment(template_name, output_name, element_id, stylesheet_names=['Extract.xsl'], encoding=None)

Make an output stylesheet using the file with the given 'template_name', producing a file with the given 'output_name', capturing the fragment identified by the given 'element_id'.

Variable Details

resource_dir

Type:
str
Value:
'/home/paulb/tmp/XSLTools-0.3.1/XSLForms/XSL'                          

Generated by Epydoc 2.1 on Fri Dec 9 15:06:36 2005 http://epydoc.sf.net