the render function to write string values to
the render function for writing elements
the root element to render
the path of the document getting rendered, used for generating unique ids
the styles to apply when writing the attributes of an element
the newline character to use
whether the output is formatted (adding indentation and newlines)
Writes the specified element to the output, on the same line.
Writes the specified element to the output, on the same line.
Writes the specified elements to the output, all on the same line.
Writes the specified elements to the output, all on the same line.
Writes the specified string to the output, on the same line.
Writes the specified string to the output, on the same line.
Writes the specified string to the output, on the same line, with all special XML/HTML characters converted to entities.
Writes the specified string to the output, on the same line, with all special XML/HTML characters converted to entities.
Writes the specified span elements to the output, on the same line, while omitting indentation for all text spans written with one of the methods that convert special characters.
Writes the specified span elements to the output, on the same line, while omitting indentation for all text spans written with one of the methods that convert special characters.
Writes the specified string to the output, without any indentation, with all special XML/HTML characters converted to entities.
Writes the specified string to the output, without any indentation, with all special XML/HTML characters converted to entities. This is needed for writing blocks like those enclosed in <pre&rt; tags where whitespace is significant.
Writes an opening tag with attributes derived from both the element parameter and the subsequent tuples.
Writes an opening tag with attributes derived from both the element parameter and the subsequent tuples.
Writes an opening tag with attributes derived from both the options parameter and the subsequent tuples.
Writes an opening tag with attributes derived from both the options parameter and the subsequent tuples.
Writes the specified attributes (passed as name-value tuples), including a preceding space character.
Writes the specified attributes (passed as name-value tuples),
including a preceding space character. In cases where the value
is None
nothing will be written to the output.
Writes the specified name and value as an optional attribute, including a preceding space character.
Writes the specified name and value as an optional attribute, including
a preceding space character. In case the value is None
nothing
will be written to the output.
Writes the specified name and value as an attribute, including a preceding space character.
Writes the specified name and value as an attribute, including a preceding space character.
Writes the specified name and value as an optional attribute, including a preceding space character.
Writes the specified name and value as an optional attribute, including
a preceding space character. In case the value is None
nothing
will be written to the output.
Writes an empty tag with attributes derived from both the element parameter and the subsequent tuples.
Writes an empty tag with attributes derived from both the element parameter and the subsequent tuples.
Writes an empty tag with attributes derived from both the options parameter and the subsequent tuples.
Writes an empty tag with attributes derived from both the options parameter and the subsequent tuples.
Writes the specified element to the output, on a new line using the current level of indentation.
Writes the specified element to the output, on a new line using the current level of indentation.
Writes the specified elements to the output, each of them on a new line using the current level of indentation.
Writes the specified elements to the output, each of them on a new line using the current level of indentation.
Writes the specified string to the output, on a new line using the current level of indentation.
Writes the specified string to the output, on a new line using the current level of indentation.
Writes the specified string to the output, on a new line using the current level of indentation, with all special XML/HTML characters converted to entities.
Writes the specified string to the output, on a new line using the current level of indentation, with all special XML/HTML characters converted to entities.
Writes the specified element to the output, on a new line and increasing indentation one level to the right.
Writes the specified element to the output, on a new line and increasing indentation one level to the right.
Writes the specified elements to the output, each of them on a new line with the indentation increased one level to the right.
Writes the specified elements to the output, each of them on a new line with the indentation increased one level to the right.
Writes the specified string to the output, on a new line and increasing indentation one level to the right.
Writes the specified string to the output, on a new line and increasing indentation one level to the right.
Writes the specified string to the output, on a new line and increasing indentation one level to the right, with all special XML/HTML characters converted to entities.
Writes the specified string to the output, on a new line and increasing indentation one level to the right, with all special XML/HTML characters converted to entities.
Writes a new line character sequence.
Writes a new line character sequence.
Produces the complete sequence of attributes to write for the specified tag.
Produces the complete sequence of attributes to write for the specified tag.
Renders an empty FO block
element.
Renders an FO block
element and the specified nested spans.
Renders an FO block
element, containing nested blocks.
Renders an FO block
element and the specified nested spans, preserving
all whitespace within the text elements of those spans.
Renders an FO bookmark
element and all of its nested bookmarks.
Renders an FO bookmark-title
element.
Renders an FO bookmark-tree
element and all of its nested bookmarks.
Generates a unique id for the specified path of the target document and the local reference.
Replaces all special XML/HTML characters with entities.
Replaces all special XML/HTML characters with entities.
Renders an FO external-graphic
element.
Renders an FO basic-link
element for an external target.
Filters out all unsupported attributes for the specified tagName and return a new sequence containing only attributes valid for that tag.
Filters out all unsupported attributes for the specified tagName and return a new sequence containing only attributes valid for that tag.
the name of tag to filter the attributes for
the attributes to filter as a sequence of key-name tuples
a new sequence containing only attributes valid for that tag
Renders an FO footnote
element.
Executes the specified block while temporarily shifting the indentation level (if it is greater than the currently active one).
Executes the specified block while temporarily shifting the indentation level (if it is greater than the currently active one).
Renders an FO inline
element and the specified nested spans.
Renders an FO basic-link
element for an internal target.
Renders an FO block
or inline
for this internal link
target, depending on whether it is inside a BlockContainer
or SpanContainer
.
Renders an FO list-block
element, and the specified list items.
Renders an FO list-item
element with the specified label and body.
Renders an FO list-item-body
element.
Renders an FO list-item-label
element.
Renders an FO inline
element and the specified text, treating it as
"raw", prerendered XSL-FO output.
Renders an FO inline
element and the specified text, treating it as
"raw", prerendered XSL-FO output. Renders only the text itself in case there are no
attributes associated with the text.
Renders an FO inline
element and the specified text.
Renders an FO inline
element and the specified text.
Renders only the text itself in case there are no
attributes associated with the text.
Renders an FO block
element and the specified text, preserving
all whitespace.
Renders an FO block
element and the specified text, preserving
all whitespace. Renders only the text itself in case there are no
attributes associated with the text.
Renders an FO inline
element and the specified text, preserving
all whitespace.
Renders an FO inline
element and the specified text, preserving
all whitespace. Renders only the text itself in case there are no
attributes associated with the text.
Invokes the specified function after switching off the rendering of any indentation for escaped text elements.
Invokes the specified function after switching off the rendering of any indentation for escaped text elements. The old flag gets restored after invocation.
API for renderers that produce XSL-FO output.