XML technologies / XSL-FO / Reference / Categories
(Excerpt from “XSL-FO ― The Reference” by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
The following list of formatting objects, FO properties and FO functions is arranged by subject according to the W3C standard (see chapter 6 “Formatting Objects”, chapter 7 “Formatting Properties” and chapter 5.10 “Core Function Library”).
6 Formatting Objects
6.4 Declarations and Pagination and Layout Formatting Objects
6.4.2 fo:root | The root element or document node of an XSL-FO document. |
6.4.3 fo:declarations | This element creates global declarations. |
6.4.4 fo:color-profile | This element creates a color profile. |
6.4.5 fo:page-sequence | This element defines how page sequences are used within a document. It also embeds the document content in the page sequence. |
6.4.6 fo:page-sequence-wrapper | This element specifies inherited properties for a group of fo:page-sequence formatting objects. It has no additional formatting semantics. |
6.4.7 fo:layout-master-set | This element defines all the masters for the pages or page sequences to be used. |
6.4.8 fo:page-sequence-master | This element defines the order of the page masters to use. The required master-name attribute references the page master to use. |
Within a <fo:page-sequence-master>, a page master is used only once. | |
This element defines the repetition of a single page master. | |
This element defines how different page masters are repeated, for example by alternating left- and right-aligned page masters. | |
This element names a page master object to be used when the required conditions are met. | |
6.4.13 fo:simple-page-master | This element defines individual pages. Desired values can be assigned to each of a page’s five regions. |
6.4.14 fo:region-body | This element names the central region, the main area of the page. The document’s main content is displayed here. |
6.4.15 fo:region-before | This element configures the area above the fo:region-body area, meaning the page header. |
6.4.16 fo:region-after | This element configures the area below the fo:region-body region, that is, the page footer area. |
6.4.17 fo:region-start | The region to the left of the <fo:region-body> region in left-to-right writing. |
6.4.18 fo:region-end | The region to the right of the <fo:region-body> region in left-to-right writing. |
6.4.19 fo:flow | Flow object; creates, within a page sequence (<fo:page-sequence>), the flowing area for the main text forming the document’s content |
6.4.20 fo:static-content | This element contains information about formatting objects that can be applied on every page or on a specific number of pages (for example, space for footnotes, running headings). |
6.4.21 fo:title | This element specifies a page sequence’s title (<fo:page-sequence>). |
6.4.22 fo:flow-map | This element assigns flows to regions. |
6.4.23 fo:flow-assignment | This element assigns a sequence of flows to a sequence of regions. |
6.4.24 fo:flow-source-list | This element represents the sequence of flows to be assigned in a particular fo:flow-assignment. |
6.4.25 fo:flow-name-specifier | This element represents a flow in a fo:flow-source-list. |
6.4.26 fo:flow-target-list | This element represents the sequence of regions to which flows are assigned in a particular fo:flow-assignment. |
6.4.27 fo:region-name-specifier | This element represents a region in a fo:flow-target-list. |
6.5 Block-level Formatting Objects
6.5.2 fo:block | This element creates a rectangular area that allows many kinds of elements, such as tables, lists and graphics. Attributes can be used to configure various aspects of its appearance. Blocks can be nested to any depth. Information from parent blocks is inherited unless different settings are specified for the child block (inheritance). |
6.5.3 fo:block-container | A block container can group any number of blocks. Attributes can be used to specify the container’s desired position in the document. |
6.6 Inline-level Formatting Objects
6.6.2 fo:bidi-override | This element allows the desired writing direction to be set if the default Unicode bidirectional algorithm cannot be applied. |
6.6.3 fo:character | This element provides separate rendering of individual characters. |
6.6.4 fo:initial-property-set | This element specifies separate formatting properties for the first line of a block. |
6.6.5 fo:external-graphic | This element inserts external graphics into the document. Attributes provide numerous configuration options. |
This element allows inline graphics or other inline objects to be inserted into the document. | |
6.6.7 fo:inline | This element creates an inline area that applies separate formatting properties to specific portions of text in a block, for example to emphasize passages with italics. |
6.6.8 fo:inline-container | This element creates a container in which shared settings can be applied to several inline areas. |
6.6.9 fo:leader | This element creates a line of repeated characters to separate two text formatting objects, for example headings and their page numbers in a table of contents. |
6.6.10 fo:page-number | This element displays the current page number in the document. |
6.6.11 fo:page-number-citation | This element references the number of the page containing a specific formatting object, for example to display page numbers alongside headings in a table of contents. |
6.6.12 fo:page-number-citation-last | This element references the number of the last page containing an area that (a) is returned by the referenced formatting object and (b) has an area-class compatible with the specified page citation strategy. |
6.6.13 fo:folio-prefix | This element provides a static prefix for folio numbers within a page sequence. |
6.6.14 fo:folio-suffix | This element provides a static suffix for folio numbers within a page sequence. |
6.6.15 fo:scaling-value-citation | This element retrieves the scaling factor of the referenced fo:external-graphic. |
6.7 Formatting Objects for Tables
6.7.2 fo:table-and-caption | This element creates a table with a caption above or below it. |
6.7.3 fo:table | This element creates a table. |
6.7.4 fo:table-column | This element specifies properties for table cells in the same column. |
6.7.5 fo:table-caption | This element specifies a table caption above or below the table. |
6.7.6 fo:table-header | This element creates the content of a table header. |
6.7.7 fo:table-footer | This element creates the content of a table footer. |
6.7.8 fo:table-body | This element contains the table body, the main area of a table. It specifies the individual rows and columns. |
6.7.9 fo:table-row | This element groups table cells (<fo:table-cell>) into a row. |
6.7.10 fo:table-cell | This element places data in a table cell. |
6.8 Formatting Objects for Lists
6.8.2 fo:list-block | This element creates an area for displaying a list or enumeration. |
6.8.3 fo:list-item | This element contains both the label information and the body of a list item. |
6.8.4 fo:list-item-body | This element contains the body of the list item, the area for its text content. |
6.8.5 fo:list-item-label | This element contains a list item’s label, such as its bullet or number. |
6.9 Dynamic Effects: Link and Multi Formatting Objects
6.9.2 fo:basic-link | This element creates a link in the document pointing to an internal or external reference. |
6.9.3 fo:multi-switch | This element allows switching between different subtrees of formatting objects. |
6.9.4 fo:multi-case | This element is a child of <fo:multi-switch> and contains subtrees of formatting objects that the parent element can show or hide. |
6.9.5 fo:multi-toggle | When used inside a <fo:multi-case> element, this element provides access to other <fo:multi-case> elements. |
6.9.6 fo:multi-properties | This element allows switching between different sets of properties. |
6.9.7 fo:multi-property-set | Alternative sets of properties can be specified here and selected by the parent element <fo:multi-properties>. |
6.10 Formatting Objects for Indexing
6.10.2 fo:index-page-number-prefix | This element provides a static prefix for the page citations generated by fo:index-key-reference. |
6.10.3 fo:index-page-number-suffix | This element provides a static suffix for the page citations generated by fo:index-key-reference. |
6.10.4 fo:index-range-begin | This element marks the start of an "indexed range" associated with an index key. The range is closed by a corresponding fo:index-range-end. |
6.10.5 fo:index-range-end | This element marks the end of an "indexed range" started by its matching fo:index-range-begin. |
6.10.6 fo:index-key-reference | This element generates a set of cited page items for all occurrences of the specified index key. |
6.10.7 fo:index-page-citation-list | This element groups collections of cited page items generated by its fo:index-key-reference child elements. Ultimately, fo:index-page-citation-list is used to create a formatted list of page numbers and page ranges (a page citation list). |
This element provides the separator between individual page numbers or page ranges in the generated page citation list. | |
This element provides the separator between two page numbers forming a range in the generated page citation list. |
6.11 Formatting Objects for Bookmarks
6.11.2 fo:bookmark-tree | This element contains a list of access points in the document, such as a table of contents or a list of figures or tables. Each access point is represented by a bookmark. |
6.11.3 fo:bookmark | This element identifies an access point by name and specifies its location in the current document or another external document. A bookmark can be subdivided into a sequence of bookmarks or sub-bookmarks to as many levels as the author requires. |
6.11.4 fo:bookmark-title | This element identifies an access point for a bookmark in human-readable form. |
6.12 Out-of-line Formatting Objects
6.12.2 fo:float | This element positions content relative to a display block, for example to wrap text around graphics or create marginal notes. |
6.12.3 fo:footnote | This element creates a reference to a footnote. |
6.12.4 fo:footnote-body | This element specifies the content to display in the footnote area. |
6.13 Other Formatting Objects
6.13.2 fo:change-bar-begin | This element marks the start of a "change region", which is ended by its matching fo:change-bar-end. The change region has a change bar running along either the start or end edge of the column. The change bar’s appearance is determined by the values of the corresponding properties. |
6.13.3 fo:change-bar-end | This element marks the end of a "change region" started by its matching fo:change-bar-begin. |
6.13.4 fo:wrapper | Properties for a group of formatting objects can be specified in <fo:multi-properties>. |
6.13.5 fo:marker | This element marks the content of a specific area. fo:retrieve-marker retrieves it elsewhere, for example to create running headings. |
6.13.6 fo:retrieve-marker | This element retrieves the area marked in <fo:marker>, for example for running headings. |
6.13.7 fo:retrieve-table-marker | Together with <fo:marker>, this element allows areas in tables to be repeated. |
7 Formatting Properties
7.5 Common Accessibility Properties
7.5.1 source-document | This attribute identifies an XML document as the source document. If the renderer cannot interpret the FO document, for example for a hypothetical speech output, the source document can also be consulted. It has no practical significance. |
7.5.2 role | This attribute creates content-related identifiers that provide alternative output devices, such as audio output, with information about the XML element’s content. |
7.6 Common Absolute Position Properties
7.6.1 absolute-position | This attribute fixes a block container fo:block-container on a page or page area. The block container is positioned on the page or area where its anchoring in the text flow would normally place it. |
7.6.2 top | This attribute specifies the distance of a positioned object (fo:block-container) measured from the top edge of its immediate parent block area. |
7.6.3 right | This attribute restricts or extends an area at its right edge relative to its parent. It applies only if attribute position is not static. The other values of position determine which area attribute right refers to. Without a setting (0mm), the right edge equals the parent’s right edge. A positive value reduces the area at the right edge; a negative value extends it. |
7.6.4 bottom | This attribute specifies the distance of a positioned object (fo:block-container) measured from the bottom edge of its immediate parent block area. |
7.6.5 left | This attribute restricts or extends an area at its left edge relative to its parent. It applies only when position is not static. The other position values determine the area to which attribute left refers to. With no specification (0mm), the left edge equals the left edge of the parent area. A positive value reduces the area at its left edge; a negative value extends it. |
7.7 Common Aural Properties
These speech-output properties are not listed in this reference because no product implements “Aural Properties”!
7.8 Common Border, Padding and Background Properties
7.8.1 background-attachment | This attribute determines whether the background moves when the foreground is scrolled. |
7.8.2 background-color | This attribute specifies a background color. |
7.8.3 background-image | This attribute creates a background image in the element using a path given by uri-specification. |
7.8.4 background-repeat | For an area containing a background image (background-image), this property sets how the image is repeated (tiling). By default, the background motif repeats generally. |
This property sets the horizontal position of the marked area using a percentage value (percentage), an absolute measurement (length), or a predefined value (left, center, right). | |
This property sets the vertical position of the marked area using a percentage value (percentage) or an absolute measurement (length). | |
7.8.7 border-before-color | This attribute sets the color of the top border. The before side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is at the top. With another writing direction, it could also be at the bottom. |
7.8.8 border-before-style | This attribute sets the style of the top border. The before side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), this is the top. With another writing direction, it could be the bottom. |
7.8.9 border-before-width | This attribute sets the top border’s width. The before region follows the writing direction: it is at the top for Western writing (top to bottom, left to right), but may be at the bottom for another direction. |
7.8.10 border-after-color | This attribute sets the color of the bottom border. The after side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is at the bottom. With another writing direction, it could also be at the top. |
7.8.11 border-after-style | This attribute sets the style of the bottom border. The after side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), this is the bottom. With another writing direction, it could be the top. |
7.8.12 border-after-width | This attribute sets the bottom border’s width. The after region follows the writing direction: it is at the bottom for Western writing (top to bottom, left to right), but may be at the top for another direction. |
7.8.13 border-start-color | This attribute sets the color of the left border. The start side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is on the left. With another writing direction, such as Arabic, it can also be on the right. |
7.8.14 border-start-style | This attribute sets the style of the left border. The start side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), this is the left. With another writing direction, it could be the right. |
7.8.15 border-start-width | This attribute sets the left border’s width. The start region follows the writing direction: it is on the left for Western writing (top to bottom, left to right), but can be on the right for another direction. |
7.8.16 border-end-color | This attribute sets the color of the right border. The end side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is on the right. With another writing direction, such as Arabic, it can also be on the left. |
7.8.17 border-end-style | This attribute sets the style of the right border. The end side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), this is the right. With another writing direction, it could be the left. |
7.8.18 border-end-width | This attribute sets the right border’s width. The end region follows the writing direction: it is on the right for Western writing (top to bottom, left to right), but may be on the left for another direction. |
7.8.19 border-top-color | This attribute sets the top border’s color. |
7.8.20 border-top-style | This attribute sets the style of the top border. |
7.8.21 border-top-width | This attribute sets the width of the top border. |
7.8.22 border-bottom-color | This attribute sets the bottom border’s color. |
7.8.23 border-bottom-style | This attribute sets the style of the bottom border. |
7.8.24 border-bottom-width | This attribute sets the width of the bottom border. |
7.8.25 border-left-color | This attribute sets the left border’s color. |
7.8.26 border-left-style | This attribute sets the style of the left border. |
7.8.27 border-left-width | This attribute sets the width of the left border. |
7.8.28 border-right-color | This attribute sets the right border’s color. |
7.8.29 border-right-style | This attribute sets the style of the right border. |
7.8.30 border-right-width | This attribute sets the width of the right border. |
7.8.31 padding-before | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-before attribute to set the top padding, depending on the writing direction selected in writing-mode. In lr-tb (characters left to right, lines top to bottom) and rl-tb (characters right to left, lines top to bottom), padding-before remains the top padding. In tb-rl (characters top to bottom, columns right to left), it concerns the left padding. It always concerns the edge parallel to the line or column that opens the area. |
7.8.32 padding-after | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-after attribute to set the bottom padding, depending on the writing direction chosen in writing-mode. In lr-tb (characters left to right, lines top to bottom) and rl-tb (characters right to left, lines top to bottom), padding-after remains the bottom padding. In tb-rl (characters top to bottom, columns right to left), it concerns the left padding. It always concerns the edge parallel to the line or column that closes the area. |
7.8.33 padding-start | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-start attribute to set the left padding, depending on the writing direction chosen in writing-mode. In rl-tb (characters right to left, lines top to bottom), padding-start is the right padding. In tb-rl (characters top to bottom, columns right to left), it concerns the top padding; only in lr-tb (characters left to right, lines top to bottom) is it the left padding. It always concerns the edge at the start of the line or column. |
7.8.34 padding-end | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-end attribute to set spacing to the right edge depending on writing-mode. With rl-tb (within lines: right to left; lines: top to bottom), padding-end concerns the left edge; with tb-rl (within columns: top to bottom; columns: right to left), the bottom edge; only with lr-tb (within lines: left to right; lines: top to bottom), the right edge. It always concerns the edge at the end of a line or column, creating a line or column break. |
7.8.35 padding-top | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use attribute padding-top to set the top padding independently of the writing direction chosen in writing-mode. It overrides settings from padding, padding-before and padding-before.length (with lr-tb and rl-tb). |
7.8.36 padding-bottom | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use attribute adding-bottom to set the bottom padding independently of the writing direction chosen in writing-mode. It overrides settings from padding, padding-after and padding-after.length (with lr-tb and rl-tb). |
7.8.37 padding-left | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-left attribute to set the left padding independently of the writing direction chosen in writing-mode. It overrides settings from padding, padding-start and padding-start.length (with lr-tb and rl-tb). |
7.8.38 padding-right | Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-right attribute to set the right padding independently of the writing direction chosen in writing-mode. It overrides settings from padding, padding-end and padding-end.length (with lr-tb and rl-tb). |
7.9 Common Font Properties
7.9.2 font-family | This attribute specifies the font to use. Several fonts may be listed and tried in the specified order, allowing characters missing from one font to be taken from another. Names containing spaces, such as Times New Roman, must be enclosed in quotation marks. Multiple font names must be separated by a comma and a space. |
7.9.3 font-selection-strategy | This attribute defines the criteria for selecting a particular font. |
7.9.4 font-size | This attribute specifies font size relative to the surrounding area, relative to the output medium’s settings, or as an absolute measurement (length). The absolute constants xx-small, x-small, small, medium, large, x-large, and xx-large represent fixed factors scaling the medium’s default font size. The relative constants larger and smaller are predefined factors applied to the surrounding area’s font size. An absolute measurement specifies the font’s maximum extent, defined as the distance between the p-line and k-line (http://de.wikipedia.org/wiki/Schriftgrad). |
7.9.5 font-stretch | This attribute selects alternative font faces with a particular character width, allowing narrower or wider faces. Relative and absolute keywords are available. Absolute keywords expand or condense the width of normal by fixed factors (steps of 1.2, 1.2², 1.2³, and so on). Relative keywords expand or condense the width used in the surrounding area by a factor of 1.2. Formatters may also support percentage widths. |
7.9.6 font-size-adjust | This attribute specifies a font’s x-height relative to its font size. It adjusts and harmonizes text appearance because different fonts may have different x-heights. |
7.9.7 font-style | This attribute specifies a font style. The corresponding face may need to be available for the selected font. |
7.9.8 font-variant | This attribute displays small capitals. Intended for the Latin alphabet, it renders lowercase letters as capitals at lowercase height, distinguishing them from actual uppercase letters. |
7.9.9 font-weight | This attribute selects the font face by stroke weight (thickness). Relative and absolute keywords and certain numeric values can be specified. Absolute keywords represent fixed numeric values. Relative keywords increase or decrease the surrounding weight by 200 on the numeric scale. The scale runs from 100 to 900 in steps of 100, with 400 as normal. Few fonts provide a separate face for every step. If the required face is unavailable, the nearest available face is used. |
7.10 Common Hyphenation Properties
7.10.1 country | This attribute sets a country code in a page sequence (fo:page-sequence), a block area (fo:block) or a character (fo:character). The output medium can use this code to account for language-specific features, such as hyphenation. |
7.10.2 language | This attribute uses a language code, such as de for German or en for English, to specify the language whose hyphenation, line formation and line-breaking rules should be followed. |
7.10.3 script | In fo:block and fo:character, this specifies a written language for language-dependent tasks such as hyphenation and hyphenation characters. |
7.10.4 hyphenate | This attribute specifies whether hyphenation should be enabled or explicitly disabled in the marked area. |
7.10.5 hyphenation-character | This attribute sets the hyphenation character for an area, allowing the usual hyphen to be replaced by another character. (For example, U+003D ('=') is used as a hyphenation character in Spain.) |
This attribute sets the minimum number of characters in the word part moved to the next line after hyphenation. Hyphenation is suppressed if that part has fewer characters. | |
This attribute sets the minimum number of characters in the word part before a hyphenation point. Hyphenation is suppressed if that part has fewer characters. |
7.11 Common Margin Properties-Block
7.11.1 margin-top | This attribute sets the top margin of an area relative to its immediate parent. Other margins are set with margin-right (right), margin-left (left) and margin-bottom (bottom). A value specified here overrides the corresponding value, if any, in margin. |
7.11.2 margin-bottom | This attribute sets the bottom margin of an area relative to its immediate parent. Other margins are set with margin-top (top), margin-right (right) and margin-left (left). A value specified here overrides the corresponding value, if any, in margin. |
7.11.3 margin-left | This attribute sets the left margin of an area relative to its immediate parent area. The other margins are specified by margin-top (top), margin-right (right), margin-bottom (bottom). A value set here overrides any corresponding value specified by margin. |
7.11.4 margin-right | This attribute sets the right margin of an area relative to its immediate parent area. The other margins are specified by margin-top (top), margin-left (left), margin-bottom (bottom). A value set here overrides any corresponding value specified by margin. |
7.11.5 space-before | This attribute sets the space after the immediately preceding area. This space is applied only if an area is defined on the Following-Sibling axis in the FO document. If a page break occurs after this area, the space is ignored on the following page. This attribute can combine several spacing values. |
7.11.6 space-after | This attribute sets the space before the immediately following area. This space is applied only if an area is defined on the Following-Sibling axis in the FO document. If a page break occurs after this area, the space is ignored on the following page. This attribute can combine several spacing values. |
7.11.7 start-indent | This attribute sets an indent at the beginning of every line in an area. |
7.11.8 end-indent | This attribute sets a right-side indent for an area. The end side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is on the right. With another writing direction, such as Arabic, it can also be on the left. |
7.12 Common Margin Properties-Inline
7.12.1 margin-top | This attribute sets the top margin of an area relative to its immediate parent area. The other margins are specified by margin-right (right), margin-left (left), margin-bottom (bottom). A value set here overrides any corresponding value specified by margin. |
7.12.2 margin-bottom | This attribute sets the bottom margin of an area relative to its immediate parent area. The other margins are specified by margin-top (top), margin-right (right), margin-left (left). A value set here overrides any corresponding value specified by margin. |
7.12.3 margin-left | This attribute sets the left margin of an area relative to its immediate parent area. The other margins are specified by margin-top (top), margin-right (right), margin-bottom (bottom). A value set here overrides any corresponding value specified by margin. |
7.12.4 margin-right | This attribute sets the right margin of an area relative to its immediate parent area. The other margins are specified by margin-top (top), margin-left (left), margin-bottom (bottom). A value set here overrides any corresponding value specified by margin. |
7.12.5 space-end | This attribute sets the space before the immediately following inline area. It is applied only if the area allows an inline object. Block elements that occupy the full line width therefore receive no space. No space is applied if a line break follows either. This attribute can combine several spacing values. |
7.12.6 space-start | This attribute sets the space after the immediately preceding inline area. It is applied only if the area allows another inline object. Block elements that occupy the full line width therefore receive no space. No space is applied if a line break precedes the area either. This attribute can combine several spacing values. |
7.13 Common Relative Position Properties
7.13.1 top | This attribute specifies the distance of a positioned object (fo:block-container) measured from the top edge of its immediate parent block area. |
7.13.2 right | This attribute shrinks or expands an area at its right edge relative to the parent area. It applies only when position is not static. The other values of position determine the reference area for right. Without a value (0mm), the edge coincides with the parent edge. A positive value shrinks the area at that edge; a negative value expands it. |
7.13.3 bottom | This attribute specifies the distance of a positioned object (fo:block-container) measured from the bottom edge of its immediate parent block area. |
7.13.4 left | This attribute shrinks or expands an area at its left edge relative to the parent area. It applies only when position is not static. The other values of position determine the reference area for left. Without a value (0mm), the edge coincides with the parent edge. A positive value shrinks the area at that edge; a negative value expands it. |
7.13.5 relative-position | This attribute specifies how the marked area is positioned on the page. Unlike position, it only allows static placement or positioning relative to the text flow. In combination with top, right, bottom, and left, it specifies an offset from the position determined by the text flow. |
7.14 Area Alignment Properties
7.14.1 alignment-adjust | This attribute fine-tunes the baseline positioning set by alignment-baseline. It accepts the same values as alignment-baseline, including percentages percentage and absolute measurements length. |
7.14.2 alignment-baseline | This attribute specifies an object’s baseline position relative to its parent element’s baseline. |
7.14.3 baseline-shift | This attribute positions the baseline of an inline element relative to the baseline of its parent. |
7.14.4 display-align | This attribute sets the vertical alignment of content in the marked area. |
7.14.5 dominant-baseline | This attribute shifts the baseline position of inline objects. |
7.14.6 relative-align | This attribute sets vertical alignment for list items (fo:list-item) and table cells (fo:table-cell). |
7.15 Area Dimension Properties
7.15.1 allowed-height-scale | This attribute lists permitted height scale factors for an embedded graphic (fo:external-graphic). This provides possible percentages when the formatter chooses the scale factor automatically. |
7.15.2 allowed-width-scale | This attribute lists permitted width scale factors for an embedded graphic (fo:external-graphic). This provides possible percentages when the formatter chooses the scale factor automatically. |
7.15.3 block-progression-dimension | This attribute defines the height of a display area toward the bottom of the page. The components .minimum, .maximum and .optimum can optionally specify the height more precisely. |
7.15.4 content-height | This attribute sets the height of an inserted object (fo:instream-foreign-object) or graphic (fo:external-graphic). |
7.15.5 content-width | This attribute sets the width of an inserted object (fo:instream-foreign-object) or graphic (fo:external-graphic). |
7.15.6 height | This attribute sets the height of the marked area. For a variable height with fixed limits, attributes min-height and max-height can be used. With these attributes, height is an optimum value. Height depends on the area’s orientation, specified by attribute reference-orientation. If the area is rotated, height becomes width and width becomes height. |
7.15.7 inline-progression-dimension | This attribute assigns a specified width to an inline area. The area occupies exactly that width, and the following inline area starts at its end. If the content requires more space, it overflows and may overlap the following area. No line break may occur within the area assigned an inline width. |
7.15.8 max-height | This attribute sets the maximum permitted height of an area. It allows a limit to be set when the processor calculates the height automatically. |
7.15.9 max-width | This attribute sets the maximum permitted width of an area. It allows a limit to be set when the processor calculates the width automatically. |
7.15.10 min-height | This attribute sets an area’s minimum height, limiting automatic height calculation by the processor. |
7.15.11 min-width | This attribute sets an area’s minimum width, limiting automatic width calculation by the processor. |
7.15.12 scaling | When fo:external-graphic or fo:instream-foreign-object embeds an object or graphic, its height can be set through attribute content-height and its width through content-width. Attribute scaling controls whether its proportions are preserved. With the default uniform, either height or width alone is sufficient and the missing dimension is calculated. If both are specified, width takes precedence. Attribute scaling can also allow the embedded object to be distorted to match the specified height and width. |
7.15.13 scaling-method | For objects embedded with fo:external-graphic or fo:instream-foreign-object, this attribute sets the scaling method. It can require the standard method or let a suitable method be selected from the image’s original size and the scaling. |
7.15.14 width | This attribute sets the width of the marked area. For a variable width with fixed limits, attributes min-width and max-width can be used. With these attributes, width is an optimum value. Width depends on the area’s orientation, specified by reference-orientation. If the area is rotated, width becomes height and height becomes width. |
7.16 Block and Line-related Properties
7.16.1 hyphenation-keep | This attribute controls hyphenation in the last line of a column or page. Hyphenation is allowed there by default, but can be suppressed for typographic reasons. |
7.16.2 hyphenation-ladder-count | This attribute specifies how many consecutive lines may end with a hyphenated word. It can be used to avoid multiple consecutive hyphenated lines for typographic reasons. |
7.16.3 last-line-end-indent | This attribute specifies the end indent of the last line of the marked area. If that line without indentation is longer than the remaining line width (line width minus indent), an additional line break is forced and the last word moves to the new line. This makes the end of a paragraph visually apparent. |
7.16.4 line-height | This attribute sets the height of text lines. For block areas, the value specifies the minimum height; for inline areas, it is used as an exact measurement. In addition, appending the components .minimum, .maximum, .optimum, .conditionality and .precedence to the attribute names sets relative conditions or priorities when conflicting specifications collide, and determines whether inherited settings are generally accepted or discarded. |
7.16.5 line-height-shift-adjustment | For blocks (fo:block), this attribute specifies whether line height also applies to areas whose baseline has been shifted using property baseline-shift. |
7.16.6 line-stacking-strategy | This attribute affects how line spacing is determined. It can use the value of attribute line-height, adjust line height to the font size, or calculate the maximum line height while considering all other settings. |
7.16.7 linefeed-treatment | This attribute specifies how to handle manual line breaks, meaning the newline character inserted with the Return key (UTF-8: 0x0A, linefeed character). Line breaks can be retained, consecutive breaks replaced with one space, or each break replaced with a space. |
7.16.8 white-space-treatment | This attribute controls whitespace within an area. (Consecutive spaces collapse to one by default; see white-space-collapse.) |
7.16.9 text-align | This attribute sets line alignment within an area, such as justified or left-aligned. |
7.16.10 text-align-last | This attribute sets the alignment of the last line in an area, such as justified or left-aligned. |
7.16.11 text-indent | This attribute sets the first-line indent of an area. Negative values produce hanging indents. |
7.16.12 white-space-collapse | This attribute defines how consecutive spaces are handled, for example by collapsing them into a single space. |
7.16.13 wrap-option | This attribute specifies whether line wrapping should be suppressed even when the defined block width is exceeded. |
7.17 Character Properties
7.17.1 character | In fo:character, this specifies a Unicode character to receive special formatting. This enables microtypographic adjustments, such as creating ligatures. Another use is borrowing and embedding characters from other fonts when the locally used font lacks them. |
7.17.2 letter-spacing | This attribute determines the spacing between individual text characters. The spacing is fixed. For a flexible specification, the attributes letter-spacing.minimum, letter-spacing.maximum and letter-spacing.optimum can be used. |
7.17.3 suppress-at-line-break | For a character inserted with fo:character, this attribute specifies whether its display is suppressed when it appears at the end of a line. |
7.17.4 text-decoration | This attribute decorates text content, for example by adding an overline or underline. |
7.17.5 text-shadow | This attribute applies shadow effects to text. |
7.17.6 text-transform | This attribute standardizes letter case within an area. |
7.17.7 treat-as-word-space | In fo:character, this attribute specifies whether the inserted character is treated as interword space or as a normal letter. |
7.17.8 word-spacing | This attribute allows the spacing between words to be adjusted individually. |
7.18 Color-related Properties
7.18.1 color | This attribute sets the displayed text’s color. The specified color also serves as the default for the region’s borders, if they are generated and their color is not otherwise defined. |
7.18.2 color-profile-name | This attribute identifies a specially defined color profile (fo:color-profile). |
7.18.3 rendering-intent | This attribute specifies the rendering intent to use for the color profile. |
7.19 Float-related Properties
7.19.1 clear | For an object that allows text to flow around it (fo:float), typically an image, this specifies whether another such object may appear to its left, right or both sides, or whether it must wait in the text flow until an existing floating object has ended. |
7.19.2 float | This attribute specifies where a floating object (fo:float) is positioned relative to its parent area. |
7.19.3 intrusion-displace | This attribute determines how an area is filled with content when element fo:float embeds an object inside it. Content may fill all space not occupied by the object, or leave whitespace above and below it, forming a column. This can create marginal-note columns. |
7.20 Keeps and Breaks Properties
7.20.1 break-after | This attribute determines whether a new column or page should begin after the area on which it is set. |
7.20.2 break-before | This attribute determines whether the block, on which it is set, must always begin in a new column or on a new left or right page. |
7.20.3 keep-together | This attribute prevents line, column or page breaks within the marked area. It can be refined using the component attributes keep-together.within-line (for line breaks), keep-together.within-column (for column breaks) and keep-together.within-page (for page breaks). Specifying keep-together alone is equivalent to setting all three components to the same value. If keep-together is combined with one component, it applies to the other two. A priority can also be assigned to resolve a conflicting instruction, such as a page-break-after specification within the area. |
7.20.4 keep-with-next | This attribute prevents line, column or page breaks between the marked area and the following area. It can be refined with component attributes keep-with-next.within-line (for line breaks), keep-with-next.within-column (for column breaks) and keep-with-next.within-page (for page breaks). Specifying keep-with-next alone is equivalent to setting all three components to the same value. Combined with one component, keep-with-next applies to the other two. A priority may also resolve conflicting specifications, for example a page-break-after instruction within the area. |
7.20.5 keep-with-previous | This attribute prevents line, column or page breaks between the marked area and the preceding area. It takes effect only when the preceding area is defined on the Preceding-Sibling axis in the FO document. It can be refined with component attributes keep-with-previous.within-line (for line breaks), keep-with-previous.within-column (for column breaks) and keep-with-previous.within-page (for page breaks). Specifying keep-with-previous alone is equivalent to setting all three components to the same value. Combined with one component, keep-with-previous applies to the other two. A priority may also resolve conflicting specifications, for example a page-break-after instruction within the area. |
7.20.6 orphans | Attribute orphans prevents orphans: paragraphs or text areas that break onto a new page or column after their first line. It sets the minimum number of lines that must remain on the previous page or column. The default is 2, so a split area must leave at least two lines there. If a break would occur after only one line, the entire paragraph moves to the next page or column and that line is left blank. |
7.20.7 widows | This attribute specifies the minimum number of lines of a block (fo:block) that must stay together after a break onto a new page. If normal breaking would not satisfy this number, the break is moved earlier. |
7.21 Layout-related Properties
7.21.1 clip | This attribute determines how an area is clipped if its height or width exceeds the allotted space. The specification requires two other properties with particular values: the area must be positioned with position="fixed" or position="absolute", and the W3C Recommendation also requires property overflow with a value other than visible. |
7.21.2 overflow | If an area has size limits, its content may require more space than is available, producing overflow. The overflow attribute controls its treatment: display it despite the limit (visible), hide it (hidden), provide scrolling (scroll), or raise an error (error-if-overflow). The default, auto, uses system-dependent handling; inherit uses the ancestor settings. Scrolling comes from CSS and is available only in browsers. In PDF output, this setting is usually ignored and the overflow is displayed in full. Likewise, not every formatter raises an error for error-if-overflow. |
7.21.3 reference-orientation | This attribute rotates an object in 90° increments only (0°, 90°, 180°, 270°). |
7.21.4 span | This attribute leaves an area’s multi-column layout and spans all columns defined in its element, such as fo:region-body (column-count). It can specify only that all columns or no columns are spanned. |
7.22 Leader and Rule Properties
7.22.1 leader-alignment | For a leader (fo:leader), this attribute aligns its fill characters. It ensures a consistent appearance when several leaders are placed below one another, such as in tables of contents. |
7.22.2 leader-pattern | Element fo:leader fills an inline area with specified characters. It is mainly used in tables of contents to achieve justified alignment. Attribute leader-pattern specifies the fill characters. These may be dots, spaces or the content of fo:leader; a line may also replace the fill characters. |
7.22.3 leader-pattern-width | Element fo:leader fills an inline area with specified characters. It is mainly used in tables of contents to achieve justified alignment. Attribute leader-pattern-width sets the distance between individual fill characters. |
7.22.4 leader-length | Element fo:leader fills an inline area with specified characters. It is mainly used in tables of contents to achieve justified alignment. Attribute leader-length sets a fixed leader length. |
7.22.5 rule-style | Element fo:leader fills a line with characters to achieve justified alignment, mainly in tables of contents. A guide line may replace the fill characters (leader-pattern="rule"). Attribute rule-style assigns a pattern to this line, such as dotted, dashed, solid or double. |
7.22.6 rule-thickness | Element fo:leader fills a line with characters to achieve justified alignment, mainly in tables of contents. A guide line may replace the fill characters (leader-pattern="rule"). Attribute rule-thickness assigns a thickness to this line through a measurement. |
7.23 Properties for Dynamic Effects Formatting Objects
7.23.1 active-state | This attribute creates property profiles fo:multi-property-set that apply depending on an application’s current state. Intended for dynamic applications, this attribute is unsupported by all known formatters! |
7.23.2 auto-restore | Allows restoration of a fo:multi-case element after fo:multi-switch is no longer visible. Intended for dynamic applications, this attribute is unsupported by all known formatters! |
7.23.3 case-name | This attribute identifies a subtree of formatting objects (fo:multi-case) that can be activated by an event in interactive applications (multi-switch). The name must be unique among its siblings. |
7.23.4 case-title | This attribute titles a subtree of formatting objects (multi-case). The title can be displayed in a menu window to show the user which parent area the available actions (fo:multi-toggle) belong to. |
7.23.5 destination-placement-offset | In dynamic applications, this attribute specifies an alternative point in the document to jump to if the destination specified by fo:basic-link cannot be found. |
7.23.6 external-destination | This attribute is a property of fo:basic-link that specifies a link’s external destination. |
7.23.7 indicate-destination | This attribute specifies whether an interactive application should display a link’s destination on mouseover. How the destination is displayed depends on the application. |
7.23.8 internal-destination | A link defined with fo:basic-link can be assigned an internal destination. Its value must match the value of an id attribute in the document. The link then points to the area where the corresponding id attribute was defined. |
7.23.9 show-destination | For a link created with fo:basic-link, this attribute specifies how its destination is displayed. It can replace the document or open a new viewing window alongside it. |
7.23.10 starting-state | In fo:multi-switch, only the content of the first fo:multi-case element with the starting-state attribute value show is displayed. Content of a fo:multi-case element whose starting-state attribute is hide is never displayed. For show, it matters whether this is the first fo:multi-case element in the corresponding fo:multi-switch box. |
7.23.11 switch-to | In fo:multi-toggle, this attribute specifies which fo:multi-case to switch to. No common formatter supports it. |
7.23.12 target-presentation-context | In fo:basic-link, this attribute sets the presentation context for a target resource when the external destination is a structured resource, such as XML or XHTML. |
7.23.13 target-processing-context | In fo:basic-link, this attribute names a root element for the target resource that the processor should process when the external destination is a structured resource, such as XML or XHTML. |
7.23.14 target-stylesheet | In fo:basic-link, this attribute names a stylesheet to use for the referenced resource. |
7.24 Properties for Indexing
7.24.1 index-class | This attribute defines an index class for individual index entries (index-key) or an entire area. All index entries in that area belong to the class. When referencing index entries (fo:index-key-reference) belonging to different classes, their page numbers are listed separately even if they are consecutive. For example, "1-8" becomes "1-4,5-8" if entries on pages 1-4 belong to one class and pages 5-8 to another. This is useful when pages are grouped into sections with different numbering systems. A range such as "I-14" can thus be avoided and replaced with "I-V,1-14". |
7.24.2 index-key | This attribute defines an index entry. The supplied value is used as the entry’s identifier. An index entry reference (fo:index-key-reference) can reference all entries with this identifier and add their page numbers to a page citation list (fo:index-page-citation-list). |
7.24.3 page-number-treatment | For references to index entries (fo:index-key-reference), this attribute specifies whether page numbers should automatically become hyperlinks. These point to the first index entries on the corresponding page. This is equivalent to using an internal link with fo:basic-link. |
When multiple page citations in a page citation list (fo:index-page-citation-list) are merged into a page range citation, this attribute specifies whether citations assigned to different index entries should be distinguished. | |
For a page citation list (fo:index-page-citation-list), this attribute specifies whether consecutive page citations should be displayed as ranges (merge) or each page citation should be listed separately (leave-separate). | |
For a page citation list (fo:index-page-citation-list), this attribute specifies whether individual pages should distinguish between different index entries (fo:index-key-reference). It determines whether a page containing different index entries assigned to the same page citation list is output multiple times or only once. | |
7.24.7 ref-index-key | For a reference to an index entry (fo:index-key-reference), this attribute specifies the identifier (index-key) of the entry to reference. The supplied string must match an identifier. |
7.25 Properties for Markers
7.25.1 marker-class-name | With the identifier specified here, this attribute identifies a marker in fo:marker. Element fo:retrieve-marker references it through attribute retrieve-class-name, whose value matches the identifier. fo:retrieve-marker thus acts as a placeholder for the marker, consisting of the content of the corresponding fo:marker element. Running headings are defined by inserting fo:marker as static content. |
For a table marker (fo:retrieve-table-marker), this attribute defines a scope. A marker (fo:marker) is retrieved only if defined within that scope. | |
7.25.3 retrieve-class-name | Element fo:retrieve-marker references a marker (fo:marker) defined in the document. Attribute retrieve-class-name selects the marker; its value must match a marker’s name (marker-class-name). If no matching marker is found within the relevant scope (retrieve-boundary), an empty string is output. If the reference succeeds, the content of the corresponding element (fo:marker) is output. |
7.25.4 retrieve-position | The fo:retrieve-marker element references a marker (fo:marker) defined in the document. An identifier can reference one or more markers sharing that identifier as their name (marker-class-name). The attribute retrieve-position specifies which marker to reference when several matching markers are available. Markers are assigned a scope. A marker is valid in the area following its definition until another marker with the same name is defined. |
7.25.5 retrieve-boundary | The fo:retrieve-marker element references a marker (fo:marker) defined in the document. The attribute retrieve-boundary specifies the area in which this marker may occur: the same page, the same page sequence or the entire document. If that area contains no marker with the matching name, an empty string replaces the fo:retrieve-marker placeholder. |
The fo:retrieve-table-marker element references a marker (fo:marker) defined in the table. An identifier can reference one or more markers sharing that identifier as their name (marker-class-name). The attribute retrieve-position-within-table selects which table marker is referenced when several with the same name are available. Markers have a particular scope; each is valid within the area where it was defined. |
7.26 Properties for Number to String Conversion
7.26.1 format | This attribute assigns a format to page numbering in a fo:page-sequence. Besides numeric numbering, it allows lowercase letters (a,b,c,d,...), uppercase letters (A,B,C,D,...), lowercase Roman numerals (i,ii,iii,iv,...), uppercase Roman numerals (I,II,III,IV,...), or numerals from other languages. The attribute is defined in XSLT. |
7.26.2 grouping-separator | This attribute defines a grouping separator for page numbering in a fo:page-sequence (for example, a thousands separator with groups of 3 digits). Attribute grouping-size must specify the number of digits between separators. The attribute is defined in XSLT. |
7.26.3 grouping-size | This attribute defines the group size in digits between grouping separators for page numbering in a fo:page-sequence (for example, a thousands separator with groups of 3 digits). Attribute grouping-separator must define a grouping separator. The attribute is defined in XSLT. |
7.26.4 letter-value | This attribute concerns the implementation of letter-based numbering and is defined in XSLT. |
7.27 Pagination and Layout Properties
7.27.1 blank-or-not-blank | In fo:conditional-page-master-reference this property defines a condition determining whether a page master should be selected at a particular point in the page sequence. |
7.27.2 column-count | This attribute creates a multi-column layout for the body (fo:region-body). Its numeric value specifies how many columns the flowing text should occupy. |
7.27.3 column-gap | This attribute sets the gap between columns when the page body (fo:region-body) has multiple columns. Property column-count must also be set to specify the number of columns. |
7.27.4 extent | This attribute sets the width or height of a page master’s secondary regions. For the header (fo:region-start) and footer (fo:region-after), it specifies height; for the right (fo:region-end) or left region (fo:region-before), it specifies width. |
7.27.5 flow-name | This attribute names a static area (fo:static-content) or a text-flow area (fo:flow). The name assigns content to the corresponding areas (fo:region-before, fo:region-after, fo:region-start, fo:region-end, fo:region-body), or, for text-flow areas only, to their designated area in a fo:flow-map. |
7.27.6 force-page-count | This attribute specifies whether a page sequence (fo-page-sequence) should have an even (even) or odd (odd) number of pages, or end with an even (end-on-even) or odd (end-on-odd) page. The value auto also allows the ending of a page sequence to depend on the following page sequence. |
7.27.7 initial-page-number | For a page sequence created with fo:page-sequence, you can specify the number at which page numbering begins. By default, numbering follows the preceding page sequences. You can require the sequence to begin on an even or odd page, or specify the exact page number for the first page. For example, if an even page is required and the preceding sequence already ends on an even page, a blank page is added to it. |
7.27.8 master-name | This attribute uniquely identifies page masters (fo:simple-page-master) and page-sequence masters (fo:page-sequence-master). These named masters are referenced in selected page sequences (fo:page-sequence) through attribute master-reference. If a page master has the same master-name attribute as a page sequence master, master-reference always references the page sequence master. |
7.27.9 master-reference | This attribute references individual page masters (fo:simple-page-master) or complete page sequence masters (fo:page-sequence-master). They receive a name in a master-name attribute, which must be specified in attribute master-reference. The name must have been used in at least one master-name attribute. If a page master and a page sequence master share a name, the page sequence master is referenced unless the reference is within a fo:simple-page-master element. If two page masters share a master-name, the first one defined is referenced. |
7.27.10 maximum-repeats | For a page sequence (page-sequence), the corresponding child elements fo:repeatable-page-master-alternatives or fo:repeatable-master-reference can specify the maximum number of pages to generate for the corresponding subsequence. |
7.27.11 media-usage | In the root element (fo:root), this determines whether all content is output as a sequence of pages (paginate), left to the processing system (auto), set on an “endless” page with fixed width or height (bounded-in-one-dimension), or given a website-like page format determined by the output medium (unbounded). No common formatter supports this property. |
7.27.12 odd-or-even | Element fo:conditional-page-master-reference references a page master for a page sequence (fo:repeatable-page-master-alternatives). If the sequence contains only one fo:conditional-page-master-reference element, every page uses the same master. Many publications, especially books, need two masters to alternate. This distinguishes right and left pages through their inner and outer margins, page-number positions, and header positions and content. Several masters are therefore referenced in a sequence. To restrict a referenced master to even- or odd-numbered pages, the respective fo:conditional-page-master-reference element can specify attribute odd-or-even. |
7.27.13 page-height | The page format of a page master is specified in fo:simple-page-master with attributes page-width and page-height. Attribute page-width sets page width and page-height sets page height. |
7.27.14 page-position | A page sequence is described in fo:repeatable-page-master-alternatives with fo:conditional-page-master-reference elements. Each fo:conditional-page-master-reference refers to a page master. Attribute page-position specifies where in the generated document this master may be used: only the first page, only the last, only the remaining pages, or all pages. Combined with odd-or-even, several masters with the same page-position value can occur in fo:repeatable-page-master-alternatives. |
7.27.15 page-width | A page master’s format is specified on fo:simple-page-master with page-width and page-height. The page-width attribute controls width and the page-height attribute controls height. |
7.27.16 precedence | This attribute controls page corners where two regions, such as before and end, meet. By default, start (left) and end (right) cover before (top) and after (bottom). Attribute precedence on fo:region-after and fo:region-before can give those regions priority. It may also appear on fo:region-end and fo:region-start, but has no effect there. |
7.27.17 region-name | This attribute names an area. Using that name, static or flowing content in fo:static-content or fo:flow can be assigned directly to an area. The value of attribute flow-name of these elements must match the value of attribute region-name of the target area. However, region-name is not an ID value. Two areas can also be referenced simultaneously. |
7.27.18 flow-map-name | This attribute names a template specifying how text-flow areas are arranged in page sequences (fo:flow-map). In a page sequence (fo:page-sequence), attribute flow-map-reference can reference this master. |
7.27.19 flow-map-reference | This attribute specifies which template defining the arrangement of (text) flow areas is to be referenced in a page sequence (fo:page-sequence). |
7.27.20 flow-name-reference | In fo:flow-name-specifier, this attribute declares a flow area (fo:flow) to a template containing rules for arranging flow areas (fo:flow). |
7.27.21 region-name-reference | This attribute references a region for a region definition (fo:region-name-specifier) within a Flow-Map (fo:flow). The supplied string must match a region’s name (region-name). |
7.28 Table Properties
7.28.1 border-after-precedence | For bottom borders in tables, this attribute determines which style, width, and color specifications take priority when different table elements specify conflicting values. The after side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is at the bottom. With another writing direction, it could be at the top. |
7.28.2 border-before-precedence | For top borders in tables, this attribute determines which style, width, and color specifications take priority when different table elements specify conflicting values. The before side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is at the top. With another writing direction, it could be at the bottom. |
7.28.3 border-collapse | This attribute determines whether adjoining table borders collapse or are displayed independently. |
7.28.4 border-end-precedence | For right borders in tables, this attribute determines which style, width, and color specifications take priority when different table elements specify conflicting values. The end side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is at the right. With another writing direction, it could be at the left. |
7.28.5 border-separation | This attribute sets a gap between adjacent cells in a table (fo:table). Property border-collapse must also be set to separate. The value applies to both width and height. Using the corresponding components for height (block-progression-direction) and width (inline-progression-direction) allows them to be specified separately. |
7.28.6 border-start-precedence | For left borders in tables, this attribute determines which style, width, and color specifications take priority when different table elements specify conflicting values. The start side depends on the prevailing writing direction. In Western writing (top to bottom, left to right), it is at the left. With another writing direction, it could be at the right. |
7.28.7 caption-side | For a table of type fo:table-and-caption, this sets the position of its title, optionally specified in child element fo:table-caption. |
7.28.8 column-number | This attribute assigns reference numbers to table columns (fo:table-column) and cells (fo:table-cell). For columns, it can determine the order in which column information is used, potentially differing from document order. Cells can reference column settings by assigning function from-table-column() to properties that should use those settings. |
7.28.9 column-width | This attribute sets the width of table columns (fo:table-cell), relative to total table width, relative to other columns, or as an absolute measurement (length). |
7.28.10 empty-cells | This attribute determines whether empty cells (fo:table-cell) display all their properties or show the table background instead. |
7.28.11 ends-row | On a table cell (fo:table:cell), this property ends the table row after that cell. However, if the table contains fo:table:row, which normally groups cells into rows and controls row breaks, that element always takes precedence. |
7.28.12 number-columns-repeated | On a fo-table-column element, this specifies how many columns share its settings. Normally a fo-table-column element applies to one column, with document order determining which formatting applies to which column. To apply identical formatting to two or more adjacent columns, define just one fo-table-column element with attribute number-columns-repeated and a value equal to the number of columns receiving the same formatting. |
7.28.13 number-columns-spanned | On a fo:table-cell element, this specifies how many columns in a row the cell spans. It spans only subsequent cells. In the row (fo:table-row), spanned cells must not be specified again with fo:table-cell. On a fo:table-column element, it specifies the total number of columns to span. |
7.28.14 number-rows-spanned | On a fo:table-cell element, this specifies how many rows the cell spans. Only subsequent rows are spanned, starting at the current cell. One fewer cell must then be specified in each spanned row. |
7.28.15 starts-row | On a table cell (fo:table:cell), this property begins the table row after that cell. It takes effect only when the cell is defined directly in the table header (fo:table-header), footer (fo:table-footer) or body (fo:table-body). This allows a table to be constructed without fo:table-row elements. |
7.28.16 table-layout | For a table (fo:table), this attribute enables or disables automatic column-width adjustment, which is enabled by default. Column widths are then calculated from their content. Disabling adjustment makes column widths uniform and maximizes table width. This affects only columns without a fixed width specified through attribute column-width. |
7.28.17 table-omit-footer-at-break | For a table (fo:table), this attribute specifies whether its footer (fo:table-footer) appears on every page or in every column when a page or column break splits the table into parts. It can appear only on the final page or column occupied by the table, or on every page or column. |
7.28.18 table-omit-header-at-break | For a table (fo:table), this attribute specifies whether its header (fo:table-header) appears on every page or in every column when a page or column break splits the table into parts. It can appear only on the first page or column occupied by the table, or on every page or column. |
7.29 Writing-mode-related Properties
7.29.1 direction | This attribute sets a possibly different writing direction for an area. |
7.29.2 glyph-orientation-horizontal | This attribute rotates every character in an area’s text by a specified amount, in 90° increments only. It applies only to horizontal writing modes, left to right and right to left. |
7.29.3 glyph-orientation-vertical | On fo:character, this attribute rotates individual characters in 90° steps in environments using vertical writing, from top to bottom or bottom to top. |
7.29.4 text-altitude | This attribute sets the text height above the baseline, overriding the height defined by the selected font. |
7.29.5 text-depth | This attribute sets the text height below the baseline, overriding the height defined by the selected font. |
7.29.6 unicode-bidi | This attribute sets a writing direction different from the rest of the document, for example for Arabic passages in German text. |
7.29.7 writing-mode | This attribute sets the writing direction. On page masters (fo:simple-page-maste), writing-mode affects the placement of foregion- body, fo-region-before, fo-region-after, fo-region-start and fo-region-end. On tables, writing-mode controls the horizontal alignment of columns or cells, or vertical alignment for rows. Tables can thus be displayed in landscape format, for example. |
7.30 Miscellaneous Properties
7.30.1 change-bar-class | This attribute assigns a name to a change bar’s start marker (change-bar-begin) and end marker (change-bar-end). The name can be used as a reference, for example to distinguish overlapping change bars. |
7.30.2 change-bar-color | This attribute specifies a change bar’s color in its start marker (change-bar-begin). |
7.30.3 change-bar-offset | In a change bar’s start marker (change-bar-begin), this attribute specifies an offset from the outer vertical edge of the region containing the bar. |
7.30.4 change-bar-placement | In a change bar’s start marker (change-bar-begin), this attribute specifies which edge of the surrounding region should display the bar. |
7.30.5 change-bar-style | This attribute specifies the style in a change bar’s start marker (change-bar-begin). |
7.30.6 change-bar-width | This attribute specifies the thickness in a change bar’s start marker (change-bar-begin). |
7.30.7 content-type | This attribute declares the data type of a graphic (fo:external-graphic) or object (fo:instream-foreign-object) to embed. The value or data type lets the processor pass it to further processing routines. |
7.30.8 id | This attribute uniquely identifies an object so that other objects can reference it. |
7.30.9 intrinsic-scale-value | This attribute sets a base value for a fo:scaling-value-citation element that outputs an image’s scale factor. For example, a base value of 50% and an actual scale factor of 100% produce an output factor of 200%. A base of 100% leaves the factor unchanged, since the default base is 100%. |
7.30.10 page-citation-strategy | When outputting the number of the last page in a page sequence (fo:page-sequence), this attribute specifies which page is considered “last”. It can determine whether final pages are ignored when they are blank pages inserted by the formatter or pages generated by footnotes (fo:footnote) or float areas (fo:float). |
7.30.11 provisional-label-separation | In the element fo:list-block, this specifies the distance between the end of a list item’s label and the start of its body. |
On fo:list-block, this specifies the distance between the start of a list item’s label and the start of its body. | |
7.30.13 ref-id | To output the number of the page containing a particular object, such as fo:block, assign that object attribute id. At the point where the page number is to appear, insert element fo:page-number-citation with attribute ref-id. The values of id and ref-id must match for the object’s page number to be output. |
7.30.14 scale-option | For a fo:scaling-value-citation element that outputs an image’s scale factor, this attribute selects whether to output the height or width factor. Width is the default. If the image is scaled differently in height and width, the height factor can thus be selected instead. |
7.30.15 score-spaces | If inline markup uses attribute text-decoration, this attribute specifies whether the marked whitespace is displayed as “decorated” or “undecorated”. |
7.30.16 src | This attribute references an external source through a URI. In fo:external-graphic, it references the graphic to embed; in fo:color-profile, the color profile to use. |
7.30.17 visibility | This attribute specifies whether the marked area’s display should be suppressed. |
7.30.18 z-index | This attribute defines the stacking order of overlapping elements. An element whose value for z-index is 3 is above one with value 2. Elements sharing a z-index value are displayed in the order in which they occur in the code. |
7.31 Shorthand Properties
7.31.1 background | This attribute sets several background properties at once: color (background-color), a background image (background-image), its repetition (background-repeat) when the image does not fill the entire reserved area (tiling), scrolling behavior (background-attachment) and positioning (background-position). Any number and combination of these properties may be specified, separated by spaces. Unspecified properties use their respective individual defaults. |
7.31.2 background-position | This property sets both the horizontal and vertical position of a background image specified by background-image. By default, the image aligns with the top-left corner of the element where it is invoked. Positioning can use percentages percentage, absolute measurements length, or constants. One or two values, separated by spaces, may be specified. With two values, the first always sets horizontal positioning and the second vertical positioning. A single value sets horizontal positioning; vertical positioning then defaults to 50%.<fo:block-container background-image="hintergrund.eps" background-position="75%>One value may even be an absolute measurement while the other is a percentage percentage. <fo:block-container background-image="hintergrund.eps" background-position="75mm 10%> One or two values may also be specified when using constants.<fo:block-container background-image="hintergrund.eps" background-position="top right"> A single value applies to the axis for which it is defined. The other axis is set to center. <fo:block-container background-image="hintergrund.eps" background-position="top"> |
7.31.3 border | This attribute simultaneously sets values for all four borders (top, left, bottom and right): width (border-width), color (border-color) and style (border-style). Values may be given for one, two or all three properties. Separate two or three values with spaces. |
7.31.4 border-bottom | This attribute simultaneously sets the bottom border’s width (border-bottom-width), color (border-bottom-color) and style (border-bottom-style). Values may be given for one, two or all three properties. Separate two or three values with spaces. |
7.31.5 border-color | This attribute sets a uniform color for all four borders of an area (top, left, bottom, and right). |
7.31.6 border-left | This attribute sets the left border’s width (border-left-width), color (border-left-color) and style (border-left-style). Values may be given for one, two or all three properties. Separate two or three values with spaces. |
7.31.7 border-right | This attribute sets the right border’s width (border-right-width), color (border-right-color) and style (border-right-style). Values may be given for one, two or all three properties. Separate two or three values with spaces. |
7.31.8 border-style | This attribute sets a uniform style for all four borders of an area (top, left, bottom, and right). |
7.31.9 border-spacing | This attribute sets spacing between adjacent cells of a table (fo:table). Property border-collapse must also be set to separate. The value applies to both width and height. Using the corresponding components for height (block-progression-direction) and width (inline-progression-direction) allows them to be specified separately. |
7.31.10 border-top | This attribute sets the top border’s width (border-top-width), color (border-top-color) and style (border-top-style). Values may be given for one, two or all three properties. Separate two or three values with spaces. |
7.31.11 border-width | This attribute sets a uniform width for all four borders of an area (top, left, bottom, and right). |
7.31.13 font | This attribute is a shorthand font property in which the individual values for the attributes font-style, font-variant, font-weight, font-size, line-height and font-family can be specified together. Values for font-size and font-family are required; the other properties are optional. Separate the individual values with spaces. Only a line-height value must directly follow font-size, separated from font-size by a slash (/) rather than a space. Alternatively, available system fonts may be used instead of assembling the properties individually. They have predefined characteristics, and their names derive from the context in which they are used. |
7.31.14 margin | This attribute sets the top, right, bottom and left margins of an area relative to its immediate parent block area. With one value it applies to the left (margin-left), right (margin-right), top (margin-top) and bottom (margin-bottom). With two values, the first sets top and bottom (margin-top and margin-bottom), the second left and right (margin-left and margin-right). With three, the first sets top (margin-top), the second left and right (margin-left and margin-right), the third bottom (margin-bottom). Four values follow the usual order: top (margin-top), right (margin-right), bottom (margin-bottom), left (margin-left). |
7.31.15 padding | Padding is the inner spacing of an area, between content and border, which need not be visible. Attribute padding simultaneously sets the top (padding-top), right (padding-right), bottom (padding-bottom) and left (padding-left) spacing. One value makes all spacings equal. Several space-separated values may also be given. With two values, the first is top and bottom, the second right and left. With three, the first is top, the second right and left, the third bottom. With four, they apply to top, right, bottom and left respectively. All assignments are independent of the chosen writing direction. |
7.31.16 page-break-after | This attribute controls a possible page break after the marked area. It may forbid the break, for example by moving the last lines of the paragraph to the next page. It can also force a break to the next page, or to the next right-hand (odd-numbered) or left-hand page. This is commonly used for book chapters that must always begin on a particular side. |
7.31.17 page-break-before | This attribute controls a possible page break before the marked area. It may forbid the break, for example by moving the last lines of the preceding paragraph to the next page. It can also force a break to the next page, or to the next right-hand (odd-numbered) or left-hand page. This is commonly used for book chapters that must always begin on a particular side. |
7.31.18 page-break-inside | This attribute controls a potential page break within the marked area. It can prohibit page breaks there. To avoid a prohibited break, the entire area is moved to the next page. |
7.31.20 position | This attribute specifies the positioning mode or reference for the marked area on the page. Together with top, right, bottom, and left, it positions the area relative to its text-flow position, the enclosing area, or the page determined by the text flow. |
7.31.21 size | Specifies a page’s orientation and size. Besides the three predefined values, it can contain the page width and height. |
7.31.22 vertical-align | This attribute sets the vertical alignment of inline areas and table cells relative to their parent elements. |
7.31.23 white-space | This attribute controls whitespace within the text flow, for example reducing several consecutive spaces to one. It enables a coherent combination of attributes linefeed-treatment, white-space-collapse, white-space-treatment and wrap-option with a single value. |
7.31.24 xml:lang | This attribute specifies the language and country whose hyphenation and line-breaking rules should be used. |
5.10 Core Function Library
5.10.1 floor | The floor function returns the greatest integer not greater than its argument. |
5.10.1 ceiling | The ceiling function returns the smallest integer not less than its argument. |
5.10.1 round | The round function returns the integer nearest to its argument. |
5.10.1 min | The min function returns the smaller of its two numeric arguments. |
5.10.1 max | The max function returns the larger of its two numeric arguments. |
5.10.1 abs | The abs function returns the absolute value of its numeric argument. If the argument is negative, its negation is returned. |
5.10.2 rgb | The rgb function returns a specific color from the RGB color spectrum. |
5.10.2 rgb-icc | The rgb-icc function returns a specific color from an ICC color profile. The fourth parameter names the profile. The first three parameters specify a fallback RGB color used if the profile is unavailable. The profile color is determined by a sequence of one or more real-valued color components after the name parameter. Syntax variations and restrictions may depend on the formatter. |
5.10.2 system-color | The system-color function returns a system-defined color with the specified name. |
5.10.3 system-font | The system-font function returns a characteristic of a system font. The first argument names the system font; the optional second argument names the property that determines the characteristic. If the second argument is omitted, the returned characteristic is the one named by the property to which the expression is assigned. |
5.10.4 inherited-property-value | The inherited-property-value function returns the inherited value of the named property. If the name is omitted, it returns the inherited value of the property for which the expression is evaluated. |
5.10.4 label-end | The label-end function returns the computed list value determined by the "provisional-label-separation" attribute. In <fo:list-block>, it specifies the minimum distance between list labels and the item body. When the function is used in <fo:list-item-label> as the value of the "end-indent" attribute, the value specified by "provisional-label-separation" is used. |
5.10.4 body-start | The body-start function returns the computed list value determined by the "provisional-distance-between-starts" attribute. In <fo:list-block>, it specifies the left indent of the list item’s body. When the function is used in <fo:list-item-body> as the value of the "start-indent" attribute, the value specified by "provisional-distance-between-starts" is used. |
5.10.4 from-parent | The from-parent function returns a computed property value from the parent of the specified element. If the name is omitted, it uses the property for which the expression is evaluated. If there is no parent element, the initial value is returned. |
5.10.4 from-nearest-specified-value | The from-nearest-specified-value function returns a computed property value from the nearest ancestor of the specified element. If the name is omitted, it uses the property for which the expression is evaluated. |
5.10.4 from-page-master-region | The from-page-master-region function (XSL1.1) transfers the values of the "writing-mode" and "reference-orientation" properties of a page sequence <fo:page-sequence> to one of its descendant regions. |
5.10.4 from-table-column | The from-table-column function transfers the computed value of a specified property from <fo:table-column> via a reference in <fo:table-cell> or, if the name is omitted, for the property for which the expression is evaluated. |
5.10.4 proportional-column-width | The proportional-column-width function calculates the proportional table column width. The table width multiplied by the numeric proportional value is divided by the sum of the proportional factors specified for column widths in the data. The result is used as the "column-width" value in <fo:table-column>. |
5.10.4 merge-property-values | The merge-property-values function returns the value of the specified property set or, if the name is omitted, of the last <fo:multi-property-set> element. If no such value exists, the computed value of the parent element <fo:multi-properties> is returned. |
Antenna House Formatter XSL Extensions
Antenna House Formatter Extended Functions
linear-gradient() | Expresses the linear gradient. It can be specified as a value of background-image. |
radial-gradient() | Expresses the radial gradient. It can be specified as a value of background-image. |
repeating-linear-gradient() | Expresses the repeating linear gradient. It can be specified as a value of background-image. The syntax is the same as that of linear-gradient(). |
repeating-radial-gradient() | Expresses the repeating radial gradient. It can be specified as a value of background-image. The syntax is the same as that of radial-gradient(). |
rgb-icc() | The format of the argument which the rgb-icc function can accept is as follows. An identifier beginning with # is case insensitive. Formats using identifiers which begins with # are extended specifications in AH Formatter V6.3. The specified RGB is an alternative color. It is used when the devices (display etc.) cannot display CMYK or the separation color directly. |
Antenna House Formatter Extended Values
Following bold value is extended: auto | before | center | after | justify. | |
Following bold value is extended:none | <number> | <string>. [CSS3-Fonts] Relative sizing: the font-size-adjust property. | |
Following bold values are extended: normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage> | <number>. [CSS3-Fonts] Font width: the font-stretch property. | |
font-variant | Following bold values are extended: normal | none | [<font-variant-caps> || <font-variant-numeric> || <font-variant-alternates> || <font-variant-ligatures> || <font-variant-position> || <font-variant-east-asian>]. [CSS3-Fonts] Overall shorthand for font rendering: the font-variant property. |
Following bold values are extended: auto | even | doubly-even | odd | end-on-even | end-on-doubly-even | end-on-odd | doubly-even-document | [ end-on | document ] <number> [<number>] | no-force. | |
format | The format tokens for the format property supports the format tokens defined in the XSLT 1.0 Recommendation and some extensions. axf:column-number-format is also the same. |
Following bold value is extended: empty string | <idref> | <number-with-fragment>. [no-LT] | |
Following bold values are extended: none | reference-area | page | start | center | end. | |
overflow | Following bold values are extended: visible | hidden | scroll | error-if-overflow | repeat | replace | condense | auto. |
size | Following bold value is extended: <length>{1,2} | auto | [ <page-size> || [ portrait | landscape] ]. [CSS3-Page] Page size: the size property. |
Following bold value is extended: true | false | column. [no-LT] | |
Following bold value is extended: true | false | column. [no-LT] | |
Following bold values are extended: none | [ [ capitalize | uppercase | lowercase | capitalize-lowercase ] || [ fullwidth | fullwidth-if-vertical ] || fullsize-kana ] ]. [CSS3-Text] Transforming Text: the text-transform property. |
Antenna House Formatter Extended Elements
Defining custom counter styles. This element does not generate area. | |
<axf:document-info> / HTML <meta> | Specifies the document information. The information is not included in the generated areas. For example, this information is embedded into PDF. |
<axf:font-face> / CSS @font-face | Specifies an additional font. This element does not generate area. These functions are not available with AH Formatter V6.3 Lite. [no-LT] |
Generates a footnote number. [no-LT] | |
Cites a footnote number. [no-LT] | |
<axf:form> | Encloses the unit of the form action. [no-LT] |
Generates a form field. [no-LT] | |
Specifies the component elements of the list box, combo box. [no- LT] | |
Specifies additional option setting information. This element doesn't generate the area tree. These features are not available with AH Formatter V6.3 Lite. [no-LT] | |
Specifies additional hyphenation information. This element doesn't generate the area tree. This feature is not available in CSS. This feature is not available with AH Formatter V6.3 Lite. [no-LT] | |
<axf:output-volume-info> | Makes it possible to output PDF in separate volume per fo:page-sequence when outputting the formatted result. |
<axf:ruby> | Specifies the ruby structure. |
Specifies the base character of ruby. | |
Specifies ruby. | |
<axf:space-after-punctuation> | Specifies the amount of space after the punctuation. |
<axf:space-before-punctuation> | Specifies the amount of space before the punctuation. |
Specifies the amount of space between the digit and the punctuation. | |
Specifies the amount of space between the punctuation and the digit. | |
Specifies a two-page spread. V6.3 [no-LT] | |
Specifies a region in a two-page spread. V6.3 [no-LT] | |
Specifies the contents to be displayed in the split cell. V6.3 [no-LT] |
Antenna House Formatter Extended Properties
Specifies the minimum number of characters considered to be an abbreviation. | |
Specifies the action of external link or form action. In CSS, form actions are invalid. | |
Specifies the alternative glyph of a character. | |
Specifies the alternate text of the image. | |
Specifies the author of the annotation. V6.3MR2 [no-LT] | |
Specifies the color used for the background of the annotation. [no-LT] | |
Specifies the content of the annotation. [no-LT] | |
Specifies the file with which file attachment annotation is related. [no-LT] | |
Specifies the flag of the annotation. [no-LT] | |
Specifies the font family of the free text annotation. [no-LT] | |
Specifies the font size of the free text annotation. [no-LT] | |
Specifies whether to make the font of the free text annotation italic. [no-LT] | |
Specifies the font weight of the free text annotation. [no-LT] | |
Specifies the height of the annotation. [no-LT] | |
axf:annotation-icon-name | Specifies the name of the icon used for displaying the annotation. [no-LT] |
Specifies the initial state of the annotation. [no-LT] | |
Specifies the horizontal position of the annotation. [no-LT] | |
Specifies the vertical position of the annotation. [no-LT] | |
axf:annotation-text-align | Specifies the alignment of the free text annotation. [no-LT] |
Specifies the color of the free text annotation. [no-LT] | |
axf:annotation-title | Specifies the title of the annotation. [no-LT] |
Specifies the type of the annotation. [no-LT] | |
Specifies the width of the annotation. [no-LT] | |
Specifies the append-non-end-of-characters in CJK. | |
Specifies the append-non-starter-characters in CJK. | |
Specifies the assumed page number. | |
Changes letter-spacing depending on the number of characters. [no-LT] | |
The axf:avoid-widow-words specifies spacing behavior between words or characters so that the last line of the paragraph does not have only one word left (one character for CJK). | |
content-width, content-height, content-type, and scaling can be applied to background-image, which are the same properties applied to fo:external-graphic. | |
content-width, content-height, content-type, and scaling can be applied to background-image, which are the same properties applied to fo:external-graphic. | |
content-width, content-height, content-type, and scaling can be applied to background-image, which are the same properties applied to fo:external-graphic. | |
content-width, content-height, content-type, and scaling can be applied to background-image, which are the same properties applied to fo:external-graphic. | |
Specifies the resolution of a background image. | |
The axf:base-uri specifies the location which becomes the base of relative URI. | |
Specifies how to align blocks on the baseline grid. V6.3 [no-LT] | |
Sets or clears the baseline grid. V6.3 [no-LT] | |
Specifies the width of the bleed region for cutting off. [CSS3-GCPM] Page marks and bleed area [no-LT] | |
Specifies the width of the bleed region for cutting off. [CSS3-GCPM] Page marks and bleed area [no-LT] | |
Specifies the width of the bleed region for cutting off. [CSS3-GCPM] Page marks and bleed area [no-LT] | |
Specifies the width of the bleed region for cutting off. [CSS3-GCPM] Page marks and bleed area [no-LT] | |
Specifies the width of the bleed region for cutting off. [CSS3-GCPM] Page marks and bleed area [no-LT] | |
Specifies how to include bookmarks in multi separate volume. [no-LT] | |
Specifies the radii of the rounded corners. [CSS3-Background] Curve Radii: the border-radius properties | |
Specifies the radii of the rounded corners. [CSS3-Background] Curve Radii: the border-radius properties | |
Specifies the radii of the rounded corners. [CSS3-Background] Curve Radii: the border-radius properties | |
Specifies the radii of the rounded corners. [CSS3-Background] Curve Radii: the border-radius properties | |
Specifies the radii of the rounded corners. [CSS3-Background] Curve Radii: the border-radius properties | |
Specifies the box shadow. [CSS3-Background] Drop Shadows: the box-shadow property | |
Specifies whether to balance the column height. [CSS3-Multicol] column-fill | |
The axf:column-number-format specifies the format of column number. | |
The axf:column-rule-align specifies the alignment of the column rule. | |
The axf:column-rule-color specifies the color of the column rule. [CSS3-Multicol] column-rule-color | |
axf:column-rule-display specifies whether to also display a rule at the place where column gaps do not exist.. | |
The axf:column-rule-length specifies the length of the column rule. | |
The axf:column-rule-style specifies the style of the column rule. [CSS3-Multicol] column-rule-style | |
The axf:column-rule-width specifies the width of the column rule. [CSS3-Multicol] column-rule-width | |
axf:crop-area-visibility | Specifies whether to display the area that is extended beyond the finished page size. [no-LT] |
Specifies the distance from the physical end to the trim size of the output medium. [no-LT] | |
Specifies the distance from the physical end to the trim size of the output medium. [no-LT] | |
Specifies the distance from the physical end to the trim size of the output medium. [no-LT] | |
Specifies the distance from the physical end to the trim size of the output medium. [no-LT] | |
Specifies the distance from the physical end to the trim size of the output medium. [no-LT] | |
Specifies the way a link opens in a link destination. [no-LT] | |
The axf:diagonal-border-color specifies the color of the diagonal border. | |
The axf:diagonal-border-style specifies the style of the diagonal border. | |
The axf:diagonal-border-width specifies the width of the diagonal border. | |
Document information such as an author and title can be embedded in the PDF. AH Formatter V6.3 generates document information automatically by adding the following extended elements. The information that was embedded into PDF can be seen by Adobe Acrobat or Reader. | |
Document information such as an author and title can be embedded in the PDF. AH Formatter V6.3 generates document information automatically by adding the following extended elements. The information that was embedded into PDF can be seen by Adobe Acrobat or Reader. | |
Specifies how to include document information in multi separate volume. [no-LT] | |
Specifies the except-non-end-of-characters in CJK. | |
Specifies the except-non-starter-characters in CJK. | |
Specifies the caption displayed in the push button field. [no-LT] | |
Specifies the caption displayed in the push button field. [no-LT] | |
Specifies the caption displayed when rolling over the push button. [no-LT] | |
Specifies the icon displayed in the push button field. [no-LT] | |
Specifies the icon displayed when pressing the push button. [no-LT] | |
Specifies the icon displayed when rolling over the push button. [no-LT] | |
Specifies the positioning between the caption and icon displayed in the push button field. [no-LT] | |
Specifies the initial state of the check box and the radio button. [no-LT] | |
Specifies the style of the check box and the radio button. [no-LT] | |
Specifies the text entered into the text field from the beginning. [no-LT] | |
axf:field-description | Specifies the descriptive text of the field. [no-LT] |
Specifies whether the value can be edited with the combo box. [no-LT] | |
Specifies the format of the text field. [no-LT] | |
axf:field-format-category | Specifies the format type of the text field. [no-LT] |
Specifies the maximum number of characters which can be entered into the text field. [no-LT] | |
Specifies whether the text field is a single-line enterable field or a multi-line enterable field. [no-LT] | |
Specifies whether multiple items can be chosen in the list box. [no-LT] | |
Specifies the field name. [no-LT] | |
Specifies whether the text field requires the password or not. [no-LT] | |
Specifies whether the field is read-only or not. [no-LT] | |
Specifies whether the field is enter-required or not. [no-LT] | |
Specifies whether the text field is scrollable or not. [no-LT] | |
Specifies whether to send out the coordinates of the mouse when submitting a form field. [no-LT] | |
Specifies the way to send the information when submitting a form field. [no-LT] | |
Specifies the first selected item in the list box, combo box. [no-LT] | |
Specifies the field type. [no-LT] | |
Specifies the value used when submitting a form field, etc. [no-LT] | |
This is a shorthand property for setting float related extension properties. [CSS3-GCPM] Page floats | |
Specifies whether the float is centered when the width for the text wrapping around the float is insufficient. | |
Specifies whether the float is centered when the extent for the text placed before and after the float is insufficient. | |
Specifies the space between the float and another neighboring float (in x-axis). | |
Specifies the space between the float and another neighboring float (in y-axis). | |
Specifies the space between the float and the text wrapping around the float (in x-axis). | |
Specifies the space between the float and the text before and after the float (in y-axis). | |
Specifies the minimum width for the text wrapping around the float. | |
Specifies the minimum extent for the text placed before and after the float. | |
Specifies whether the float moves to the next page (or column). | |
Specifies the offset placement for the float (in x-axis). | |
Specifies the offset placement for the float (in y-axis). | |
Specifies reference area where the float is placed. | |
Specifies the text wrapping. | |
Specifies horizontal (or vertical if writing-mode is vertical) float alignment. | |
Specifies vertical (or horizontal if writing-mode is vertical) float alignment. | |
Specifies the alignment of the footnotes. | |
Specifies whether to arrange a footnote and an anchor in the same page | |
Specifies the maximum height of footnote. V6.3 | |
Specifies the format of footnote number. [no-LT] | |
Specifies the initial footnote number. [no-LT] | |
Resets the footnote numbering. [no-LT] | |
The axf:footnote-position specifies the location to layout the footnote. | |
The axf:footnote-stacking specifies the method to layout the footnote. | |
Specifies whether to hang punctuations at the start of the line or end of the line. [CSS3-Text] Hanging Punctuation: the hanging-punctuation property | |
axf:hyphenate-hyphenated-word | Specifies whether to hyphenate the already hyphenated word or not. |
The axf:hyphenation-minimum-character-count specifies the minimum number of the character to hyphenate. | |
axf:hyphenation-zone limits the range where a hyphenation is available. | |
Specifies the resolution of an image. [CSS3-GCPM] Image resolution | |
Specifies whether to process anti-aliasing of an image on the screen. | |
Aligns the indent position to the region position when a line break occurs. [no-LT] | |
Specifies the initial volume number in multi separate volume. [no-LT] | |
Specifies the glyph of Japanese Kanji. Applied only to the Japanese Kanji that has the substitution function for the specific Open type. | |
Specifies whether to justify NON-BREAKING SPACE or not. | |
Specifies the grouping character used for Japanese numerals. [no-LT] | |
Specifies the character used for Japanese numerals. [no-LT] | |
Specifies the style used for Japanese numerals. [no-LT] | |
The axf:kerning-mode specifies whether to process the kerning. | |
Specifies to which layer the area is arranged. V6.3 [no-LT] | |
Defines layers. V6.3 [no-LT] | |
axf:leader-expansion specifies whether to expand a leader forcibly. [no-LT] | |
Specifies on which side of the character the space by letter-spacing is distributed. | |
Specifies whether to perform the ligature processing. | |
axf:line-break | The axf:line-break specifies the method of line breaking. [CSS3-Text] Breaking Rules for Punctuation: the line-break property |
The axf:line-continued-mark specifies whether to show line continued marks. [no-LT] | |
The axf:line-continued-mark-background-color specifies the background color of line continued marks. [no-LT] | |
The axf:line-continued-mark-color specifies the color of line continued marks. [no-LT] | |
The axf:line-continued-mark-font-family specifies the font family of line continued marks. [no-LT] | |
The axf:line-continued-mark-font-size specifies the font size of line continued marks. [no-LT] | |
The axf:line-continued-mark-font-style specifies whether to make the font style italic. [no-LT] | |
The axf:line-continued-mark-font-weight specifies the font weight of line numbers. [no-LT] | |
The axf:line-continued-mark-offset specifies the offset of line continued marks. [no-LT] | |
The axf:line-number specifies whether to show line numbers. [no-LT] | |
The axf:line-number-background-color specifies the background color of line numbers. [no-LT] | |
The axf:line-number-color specifies the color of line numbers. [no-LT] | |
The axf:line-number-display-align specifies the alignment, in the block-progression-direction, of line numbers in the line area. [no-LT] | |
The axf:line-number-font-family specifies the font family of line numbers. [no-LT] | |
The axf:line-number-font-size specifies the font size of line numbers. [no-LT] | |
The axf:line-number-font-style specifies whether to make the font style italic. [no-LT] | |
The axf:line-number-font-weight specifies the font weight of line numbers. [no-LT] | |
The axf:line-number-format specifies the format of line numbers. [no-LT] | |
The axf:line-number-initial specifies the line number of the first line. [no-LT] | |
The axf:line-number-interval specifies the interval of line numbers. [no-LT] | |
The axf:line-number-offset specifies the offset of line numbers. [no-LT] | |
Rotates line numbers. [no-LT] | |
The axf:line-number-position specifies the position of line numbers. [no-LT] | |
The axf:line-number-prefix sets the prefix of line number. [no-LT] | |
The axf:line-number-reset resets line numbering. [no-LT] | |
The axf:line-number-start specifies the starting line number. [no-LT] | |
The axf:line-number-text-align specifies the alignment of line numbers in the line area. [no-LT] | |
The axf:line-number-text-decoration specifies the test decoration of line numbers. [no-LT] | |
The axf:line-number-text-align specifies the width of line numbers. [no-LT] | |
Specifies the duration of a time period of the multimedia. V6.3 [no-LT] | |
Specifies whether the creation of temporary files is allowed or not when playing the multimedia. V6.3 [no-LT] | |
Specifies the number of times to play the multimedia. V6.3 [no-LT] | |
Specifies the volume of the sound when playing the multimedia. V6.3 [no-LT] | |
Specifies the normalization of text. [no-LT] | |
Specifies whether Composition Exclusions are excluded or not when the normalization (axf:normalize) is specified. [no-LT] | |
Converts the number sequence in the character string. [no-LT] | |
The axf:number-type specifies whether to output the page number or to output the column number. | |
Specifies the origin of the page number. | |
axf:outline-color | The axf:outline-color specifies the color which appears as a title of bookmarks. [no-LT] |
The axf:outline-expand specifies whether to display the lower hierarchy of bookmark items or not. | |
axf:outline-external-destination | Sets the external link in the PDF bookmark. [no-LT] |
The axf:outline-font-style specifies the font style which appears as a title of bookmarks. [no-LT] | |
The axf:outline-font-weight specifies the font weight which appears as a title of bookmarks. [no-LT] | |
The axf:outline-group groups bookmark items, and outputs them collectively. | |
Sets the internal link in the PDF bookmark. [no-LT] | |
The axf:outline-level indicates the hierarchy level of bookmark items. | |
The axf:outline-title specifies the string which appears as a title of bookmarks. | |
Separates the file in multi volume. [no-LT] | |
Specifies the document file name in multi separate volume. [no-LT] | |
Specifies the alignment of the overflowed block. | |
The axf:overflow-condense specifies how to condense the overflowed text within the region. | |
axf:overflow-condense-limit-font-size specifies the minimum font size when axf:overflow-condense="font-size" is specified. | |
axf:overflow-condense-limit-font-stretch specifies the minimum value when axf:overflow-condense="font-stretch" is specified. | |
Specifies the overflow limit value. V6.3MR3 [no-LT] | |
Specifies the block overflow limit value. V6.3MR3 [no-LT] | |
Specifies the inline overflow limit value. V6.3MR3 [no-LT] | |
An alternative character string for the specified overflow text. | |
Specifies the overprint. V6.3MR2 [no-LT] | |
Specifies the tag name of Tagged PDF. [no-LT] | |
The axf:physical-page-number gets physical page number. | |
Specifies the content type of the poster image for embedded multimedia. [no-LT] | |
Specifies the poster image for embedded multimedia. [no-LT] | |
Selects the printer tray. [no-LT] | |
Specifies to print in duplex mode. [no-LT] | |
Specifies the Printing marks, such as a crop mark. Specifies the action of external link. [CSS3-GCPM] Page marks and bleed area [no-LT] | |
Specifies the line color of printer marks. [no-LT] | |
Specifies the line length of printer marks. [no-LT] | |
Specifies the line width of printer marks. [no-LT] | |
Specifies the spine width of the facing page. V6.3 [no-LT] | |
Specifies the margin between the page and the printer marks when bleed is 0. [no-LT] | |
The axf:punctuation-spacing specifies the trimming spacing between a full width punctuation and a full width character in Japanese. | |
Specifies whether to treat full width punctuations in Japanese. [CSS3-Text] Fullwidth Punctuation Kerning: the punctuation-trim property | |
axf:repeat-cell-content-at-break specifies whether to copy the contents of a cell when a cell breaks. | |
Specifies whether to repeat the fo:footnote in the fo:table-footer that is repeated by table-omit-footer-at-break="false". | |
Specifies whether to repeat the fo:footnote in the fo:table-header that is repeated by table-omit-header-at-break="false". | |
The axf:repeat-page-sequence-master specifies the repetition of the page sequence. [no-LT] | |
The axf:reverse-diagonal-border-color specifies the color of the reverse diagonal border. | |
The axf:reverse-diagonal-border-style specifies the style of the reverse diagonal border. | |
The axf:reverse-diagonal-border-width specifies the width of the reverse diagonal border. | |
Outputs pages in reverse order. [no-LT] | |
axf:ruby-align | Specifies the alignment of ruby. [CSS3-Ruby] Ruby alignment: the ruby-align property |
Specifies the color of ruby text. | |
Specifies the font condense when the ruby text is longer than its base. | |
Specifies the font family of ruby text. | |
Specifies the font size of ruby text. | |
Specifies the font stretching of ruby text. | |
Specifies the font style of ruby text. | |
Specifies the font weight of ruby text. | |
Specifies the limit of the amount that ruby overhangs the adjacent base character when ruby is longer than its own base character. | |
Specifies the limit of the amount of spaces leading and following the ruby text when the ruby text is shorter than its base characters. | |
Specifies the minimum font size of ruby text. | |
Specifies the spacing between the ruby text and its base characters. | |
axf:ruby-overhang | Specifies how ruby overhangs the adjacent base character. [CSS3-Ruby] Ruby overhanging: the ruby-overhang property |
axf:ruby-position | Specifies on which side of the base characters the ruby text appears. [CSS3-Ruby] Ruby positioning: the ruby-position property |
Specifies whether to allow using small kana for ruby text. | |
Specifies whether to show the player control bar for multimedia. [no-LT] | |
Specifies whether to delete footnotes duplicated in the same page. | |
Invalidates the prefix of page numbers. | |
Invalidates the suffix of page numbers. | |
axf:suppress-if-first-on-page specifies whether to suppress the block at the beginning of a page. [no-LT] | |
axf:table-summary | Describes the table summary. |
axf:text-align-first specifies the text alignment of the first line. | |
axf:text-align-string specifies the text alignment when text-align="<string>". | |
axf:text-autospace | The axf:text-autospace specifies whether to add space surrounding ideographic glyphs or not. [CSS3-Text] Adding space: the text-autospace property |
The axf:text-autospace-width specifies the width for axf:text-autospace. | |
Sets horizontal-in-vertical composition in vertical writing mode automatically. [CSS3-WritingModes] Horizontal-in-Vertical Composition: the text-combine-horizontal property [no-LT] | |
Specifies the color of emphasis marks. [CSS3-TextDecor] Emphasis Mark Color: the text-emphasis-color property | |
Specifies the font family of emphasis marks. | |
Specifies the font size of emphasis marks. | |
Specifies the font stretching of emphasis marks. | |
Specifies whether emphasis marks are made Italic. | |
Specifies the font weight of emphasis marks. | |
Specifies the space between emphasis marks and the base characters. | |
Specifies on which side of base characters emphasis marks are put. [CSS3-TextDecor] Emphasis Mark Position: the text-emphasis-position property | |
Specifies the character to which emphasis marks are not applied. | |
Specifies the style of emphasis marks. [CSS3-TextDecor] Emphasis Mark Style: the text-emphasis-style property | |
axf:text-justify-trim | Specifies the way to trim in text justification. [CSS3-Text] Additional compression: The text-justify-trim property |
Specifies the percentage of Kashida in Arabic justification. | |
axf:text-line-color specifies the color of underline, strikethrough, and overline. | |
axf:text-line-style specifies the style of underline, strikethrough, and overline. | |
axf:text-line-width specifies the width of underline, strikethrough, and overline. | |
Specifies the orientation of text in vertical writing mode. [CSS3-WritingModes] Orienting Text: the text-orientation property [no-LT] | |
Replaces the character strings. [CSS3-GCPM] Character substitution | |
axf:text-underline-position specifies the position of underline. [CSS3-Text] Other text decoration simple properties: text-underline-position | |
Specifies the block transformation. [CSS3-Transforms] The transform Property [no-LT] | |
Specifies the origin of the block transformation. [CSS3-Transforms] The transform-origin property [no-LT] | |
The axf:vertical-underline-side specifies on which side of the text to put underline in vertical writing-mode. | |
axf:word-break | The axf:word-break specifies whether to enable line breaking even inside a word. [CSS3-Text] Breaking Rules for Letters: the word-break property |
axf:word-wrap | Specifies whether to break word forcibly when line break cannot be performed. [CSS3-Text] Force Wrapping: the word-wrap property |
Compart XSL extensions
Compart elements
This element specifies the barcode element with the defined barcode type. | |
This element specifies the copygroup name for AFP output using the attribute cpfo:copy-group-name. | |
This element specifies the document information, which forms part of the PDF file. | |
This element specifies the duplex printing settings. | |
This element specifies the Uniform Resource Identifier (URI) of an external document using the attribute cpfo:src. | |
This element specifies the container for form fields. | |
This element specifies fields for interactive output. The field-type property must be supplied (required). It specifies the form field type: text field, submit button, checkbox, radio button, list box, or combo box. | |
An event for a form field with the field-button-type attribute and form-field-event of type event. The element contains PCDATA with the corresponding event description. | |
This element contains a selection option for list and option form fields. | |
This element outputs the log name and current page number as a message with severity INFO. | |
Element for NOPs and TLEs. As a child of a block or inline element, only the value nop-pi for attribute cpfo:meta-type is allowed. | |
This element specifies the printer’s input or output tray. |
Compart attributes
This attribute specifies the expanded text for abbreviations in PDF output. | |
This attribute specifies the actual text for an object in PDF output. | |
This attribute specifies the alternative description of an object in PDF output. | |
This attribute specifies the color used to display the annotation. | |
This attribute specifies the content of the annotation. | |
This attribute specifies how the annotation is displayed. | |
This attribute specifies the height of the annotation dialog. | |
This attribute specifies the icon for the text annotation. | |
This attribute specifies whether the annotation dialog opens when the document is opened. | |
This attribute specifies the horizontal position of the annotation. | |
This attribute specifies the vertical position of the annotation. | |
This attribute specifies the title of the annotation. | |
This attribute specifies the type of annotation created for the object. | |
This attribute specifies the width of the annotation dialog. | |
This attribute defines the number of rows and columns of the barcode, where possible | |
This attribute specifies the amount of error correction data with a value in the range 1 .. 100. | |
This attribute specifies the format of the Aztec and QR codes. | |
This element specifies QR Code versions 1 .. 40 and Aztec layers 1 .. 32. | |
This attribute specifies the processing of escape sequences for MaxiCode and QR Code. | |
This attribute specifies the symbol mode for MaxiCode. | |
This attribute specifies the barcode type. | |
This attribute specifies the content encoding. | |
cpfo:binary-encoding | This attribute specifies the content encoding. |
This attribute specifies the horizontal and vertical radii of rounded border corners. If only one value is given, it is used for both radii. | |
This attribute specifies the check digits. | |
This attribute specifies column balancing for the page. If true is specified, the content is distributed evenly across the columns. | |
cpfo:copy-group-name | This attribute specifies the new copygroup name. |
This attribute displays the human-readable interpretation. | |
This attribute describes the type of extension to the document information. | |
This attribute specifies the value of the document information name. | |
This attribute specifies when the action is performed. | |
This attribute specifies the event format. | |
This attribute specifies the field’s border width. | |
This attribute specifies the text displayed on a button. | |
This attribute processes the action when a button in the PDF file is clicked. | |
This attribute displays the checkbox or radio button as selected. | |
This attribute specifies the symbol shown when the checkbox is selected. | |
This attribute specifies the default text displayed in the text field. | |
This attribute specifies a field’s descriptive text (tooltip). | |
This attribute specifies the maximum number of characters that can be entered in a field. | |
This attribute specifies whether the field is multiline. | |
This attribute specifies the field name. The name must be unique because, for radio buttons, all fields with the same name are grouped together. | |
This attribute specifies the form field’s read-only properties. | |
This attribute sets the properties that mark a form field as required. | |
This attribute specifies the type of the form field. | |
This attribute specifies the value used when the form field is submitted. | |
This attribute specifies the height of the barcode. | |
This attribute specifies the space between the barcode and its human-readable interpretation. | |
This attribute specifies the input tray. | |
This attribute starts offset stacking. Some printers can offset print jobs in the output tray (JOG), making the sheets belonging to each job easier to identify. Specifying the attribute value true enables offset stacking. | |
This attribute specifies the alignment of the element fo:leader. | |
Name of the log entry | |
This attribute specifies the name of the TLE and applies only to TLEs. | |
cpfo:meta-type | This attribute specifies the type of the meta element. |
This attribute specifies the output tray. | |
This attribute forces a break when words do not fit on a line, preventing text overflow. | |
This attribute starts a new page group. Several page sequences are combined into a page group. The element fo:page-sequence specifies the order in which previously defined pages appear. Specifying the attribute value true starts a new page group. | |
This attribute increases or decreases the page number by the value x. | |
This attribute specifies the Uniform Resource Identifier (URI) of the external document. | |
This attribute identifies the page sequence as a template. The page sequence can be referenced using the attribute cpfo:template-reference, but the page sequence is displayed only when it is referenced. | |
If the attribute cpfo:template-reference within the element has a matching page sequence with the attribute cpfo:template-page-number, merging begins at the specified template page number. | |
cpfo:template-reference | The page sequence with the specified cpfo:template-reference is merged with the page sequence identified by the string in the attribute cpfo:template-name. If there is no valid value for the attribute cpfo:template-name, the attribute is ignored. |
This attribute specifies the title of objects in PDF output | |
This attribute specifies the type of duplex printing. | |
This attribute specifies the width of the barcode. |