XML technologies / XSL-FO / Reference / Attributes in XSL-FO
(Excerpt from “XSL-FO ― The Reference” by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
This page lists all XSL-FO attributes alphabetically, with links to their descriptions and code examples.
A
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. | |
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! | |
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. | |
This attribute specifies an object’s baseline position relative to its parent element’s baseline. | |
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. | |
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. | |
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! | |
B
This attribute sets several background properties at once: color (background-color), a background graphic (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. | |
This attribute determines whether the background moves when the foreground is scrolled. | |
This attribute specifies a background color. | |
This attribute creates a background image in the element using a path given by uri-specification. | |
This property sets both the horizontal and vertical position of a background image specified by background-image, simultaneously. By default, the background image is aligned with the top-left corner of the element containing the reference. Positioning can use percentages percentage, absolute measurements length or constants. Either one value or two space-separated values may be given. With two values, the first is always horizontal and the second vertical. One value applies horizontally, with 50% assumed vertically.<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"> | |
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). | |
This property specifies how a background image (background-image) is repeated, or tiled, within an area. By default, the background image is repeated. | |
This attribute positions the baseline of an inline element relative to the baseline of its parent. | |
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. | |
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. | |
The area’s height is specified relative to the parent area. The .maximum component specifies the maximum permitted value. | |
The area’s height is specified relative to the parent area. The .minimum component specifies the minimum permitted value. | |
The area’s height is specified relative to the parent area. The .optimum component specifies the optimal value, determined between the given .maximum and .minimum values. | |
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. | |
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. | |
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. | |
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. | |
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. | |
This attribute determines whether a bottom border is generated at a page break. The after region follows the writing direction: it is at the bottom for Western writing (top to bottom, left to right), but may be on the opposite side for another direction. | |
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. | |
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. | |
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. | |
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. | |
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. | |
This attribute determines whether a top border is generated at a page break. The before region follows the writing direction: it is at the top for Western writing (top to bottom, left to right), but may be on the opposite side for another direction. | |
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. | |
This attribute 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. | |
This attribute sets the bottom border’s color. | |
This attribute sets the style of the bottom border. | |
This attribute sets the width of the bottom border. | |
This attribute determines whether adjoining table borders collapse or are displayed independently. | |
This attribute sets a uniform color for all four borders of an area (top, left, bottom, and right). | |
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. | |
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. | |
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. | |
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. | |
This attribute determines whether a right border is generated at a page break. The end region follows the writing direction: it is on the right for Western writing (top to bottom, left to right), but can be on the opposite side for another direction, such as Arabic. | |
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 can be on the left for another direction, such as Arabic. | |
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. | |
This attribute sets the left border’s color. | |
This attribute sets the style of the left border. | |
This attribute sets the width of the left border. | |
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. | |
This attribute sets the right border’s color. | |
This attribute sets the style of the right border. | |
This attribute sets the width of the right border. | |
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. | |
This attribute sets horizontal spacing between adjacent cells in a table (fo:table). Property border-collapse must also be set to separate. | |
This attribute sets vertical spacing between adjacent cells in a table (fo:table). Property border-collapse must also be set to separate. | |
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. | |
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. | |
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. | |
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. | |
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. | |
This attribute determines whether a left border is generated at a page break. 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 opposite side for another direction, such as Arabic. | |
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, such as Arabic. | |
This attribute sets a uniform style for all four borders of an area (top, left, bottom, and right). | |
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. | |
This attribute sets the top border’s color. | |
This attribute sets the style of the top border. | |
This attribute sets the width of the top border. | |
This attribute sets a uniform width for all four borders of an area (top, left, bottom, and right). | |
This attribute specifies the distance of a positioned object (fo:block-container) measured from the bottom edge of its immediate parent block area. | |
This attribute determines whether a new column or page should begin after the area on which it is set. | |
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. | |
C
For a table of type fo:table-and-caption, this sets the position of its title, optionally specified in child element fo:table-caption. | |
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. | |
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. | |
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. | |
This attribute specifies a change bar’s color in its start marker (change-bar-begin). | |
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. | |
In a change bar’s start marker (change-bar-begin), this attribute specifies which edge of the surrounding region should display the bar. | |
This attribute specifies the style in a change bar’s start marker (change-bar-begin). | |
This attribute specifies the thickness in a change bar’s start marker (change-bar-begin). | |
In element 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. | |
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. | |
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. | |
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. | |
This attribute identifies a specially defined color profile (fo:color-profile). | |
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. | |
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. | |
This attribute assigns reference numbers to table columns (fo:table-column) or 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 settings defined on columns by assigning function from-table-column() to the properties that should use those settings. | |
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). | |
This attribute sets the height of an inserted object (fo:instream-foreign-object) or graphic (fo:external-graphic). | |
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. | |
This attribute sets the width of an inserted object (fo:instream-foreign-object) or graphic (fo:external-graphic). | |
This attribute sets a country code in a page sequence (fo:page-sequence), a block area (fo:block) or a character (fo:character). This code lets the output medium account for language-specific features, such as hyphenation. | |
D
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. | |
This attribute sets a possibly different writing direction for an area. | |
This attribute sets the vertical alignment of content in the marked area. | |
This attribute shifts the baseline position of inline objects. | |
E
This attribute determines whether empty cells (fo:table-cell) display all their properties or show the table background instead. | |
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. | |
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. | |
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. | |
This attribute is a property of fo:basic-link that specifies a link’s external destination. | |
F
This attribute specifies where a floating object (fo:float) is positioned relative to its parent area. | |
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. | |
This attribute specifies which template defining the arrangement of (text) flow areas is to be referenced in a page sequence (fo:page-sequence). | |
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. | |
On fo:flow-name-specifier, this attribute declares a flow region (fo:flow) to a master containing rules for arranging flow regions (fo:flow). | |
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 must be specified for font-size and font-family. Values for the remaining properties are optional. Separate individual values with spaces. Only a value for line-height must directly follow the specified font-size value, separated from font-size by a slash (/) rather than a space. Alternatively, instead of assembling the properties individually, you can use system fonts if available. These already have predefined characteristics. The names of these system fonts reflect the contexts in which they are used. | |
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. | |
This attribute defines the criteria for selecting a particular font. | |
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). | |
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. | |
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. | |
This attribute specifies a font style. The corresponding face may need to be available for the selected font. | |
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. | |
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. | |
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. | |
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. | |
G
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. | |
On fo:character, this attribute rotates individual characters in 90° steps in environments using vertical writing, from top to bottom or bottom to top. | |
This attribute defines a grouping separator for the page numbering of fo:page-sequence, such as 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. | |
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. | |
H
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. | |
This attribute specifies whether hyphenation should be enabled or explicitly disabled in the marked area. | |
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 controls hyphenation in the last line of a column or page. Hyphenation is allowed there by default, but can be suppressed for typographic reasons. | |
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. | |
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. | |
I
This attribute uniquely identifies an object so that other objects can reference it. | |
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". | |
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). | |
This attribute specifies whether an interactive application should display a link’s destination on mouseover. How the destination is displayed depends on the application. | |
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. | |
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. | |
This attribute assigns a maximum width to an inline area. It allows a limit to be set when the formatter calculates the width. 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. | |
This attribute assigns a minimum width to an inline area. It allows a limit to be set when the formatter calculates the width. No line break may occur within the area assigned an inline width. | |
This attribute assigns an optimum width to an inline area. When the formatter calculates the width, it attempts to maintain that value whenever possible. No line break may occur within the area assigned an inline width. | |
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. | |
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%. | |
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. | |
K
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. | |
This attribute prevents column breaks within the marked area and overrides the general keep-together setting. A priority can resolve conflicting instructions, such as page-break-after within the area. | |
This attribute prevents line breaks within the marked area and overrides the general keep-together setting. A priority can resolve conflicting instructions, such as page-break-after within the area. | |
This attribute prevents page breaks within the marked area and overrides the general keep-together setting. A priority can resolve conflicting instructions, such as page-break-after within the area. | |
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. | |
This attribute prevents a column break between the marked area and the following area. It overrides the general keep-with-next setting. A priority can also resolve conflicting specifications, such as page-break-after within the area. It applies only when the following area is defined on the Following- Sibling axis in the FO document. | |
This attribute prevents a line break between the marked area and the following area. It overrides the general keep-with-next setting. A priority can also resolve conflicting specifications, such as page-break-after within the area. It applies only when the following area is defined on the Following- Sibling axis in the FO document. | |
This attribute prevents a page break between the marked area and the following area. It overrides the general keep-with-next setting. A priority can also resolve conflicting specifications, such as page-break-after within the area. It applies only when the following area is defined on the Following- Sibling axis in the FO document. | |
This attribute prevents line, column or page breaks between the marked area and the preceding area. It applies 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. | |
This attribute prevents a column break between the marked area and the preceding area. It overrides the general keep-with-previous setting. A priority can also resolve conflicting specifications, such as page-break-after within the area. It applies only when the preceding area is defined on the Preceding- Sibling axis in the FO document. | |
This attribute prevents a page break between the marked area and the preceding area. It overrides the general keep-with-previous setting. A priority can also resolve conflicting specifications, such as page-break-after within the area. It applies only when the preceding area is defined on the Preceding- Sibling axis in the FO document. | |
This attribute prevents a page break between the marked area and the preceding area. It overrides the general keep-with-previous setting. A priority can also resolve conflicting specifications, such as page-break-after within the area. It applies only when the preceding area is defined on the Preceding- Sibling axis in the FO document. | |
L
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. | |
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. | |
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. | |
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. | |
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.maximum sets the maximum leader length, providing a limit when its length is calculated automatically. | |
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.minimum sets the minimum leader length, providing a limit when its length is calculated automatically. | |
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.optimum sets the optimal leader length. If the formatter calculates it automatically, it tries to maintain this 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-pattern specifies the fill characters. These may be dots, spaces or the content of fo:leader; a line may also replace the fill characters. | |
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. | |
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. | |
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. | |
This attribute determines how character spacing specified by letter-spacing is applied when a line break splits the marked area. | |
This attribute sets the maximum permitted spacing between text characters. It limits the formatter’s automatic distribution of characters in a line, for example in justified text with only one word on a line. | |
This attribute sets the minimum permitted spacing between text characters. It limits the formatter’s automatic distribution of characters in a line, for example in justified text with only one word on a line. | |
This attribute sets the optimal spacing between text characters. When the formatter distributes characters in a line automatically, it tries to maintain this spacing, for example in justified text with only one word on a line. | |
If two inline areas follow each other and use letter-spacing to set character spacing, letter-spacing.precedence specifies which area’s spacing applies between them. This attribute assigns an absolute numeric priority to each spacing; the one with the higher priority is used. | |
This attribute concerns the implementation of letter-based numbering and is defined in XSLT. | |
This attribute sets text line height. For block areas, the value is a minimum; for inline areas, it is an exact measurement. Appending .minimum, .maximum, .optimum, .conditionality, and .precedence to attribute names also defines relative conditions or priorities when settings conflict and settings obtained through inheritance can generally be accepted or discarded. | |
This attribute specifies for blocks (fo:block), whether line height also applies to areas whose baseline has been shifted using property baseline-shift. | |
This attribute defines the conditions under which specified line-height settings for text characters are applied. | |
This attribute specifies a maximum to maintain when setting the line height of text characters individually. | |
This value specifies a minimum to maintain when setting the line height of text characters individually. | |
This attribute specifies an optimal value to use when setting the line height of text characters individually. | |
This attribute sets precedence when different line-height values for text characters in an area conflict. | |
This attribute affects how line spacing is determined. It can use the line-height value, adjust the line height to the font size, or calculate the maximum line height while considering all other settings. | |
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. | |
M
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). | |
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. | |
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. | |
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. | |
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. | |
With the identifier specified here, this attribute identifies a marker in element fo:marker. The marker is referenced by element fo:retrieve-marker with the 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. | |
This attribute uniquely identifies page masters (fo:simple-page-master) and page-sequence masters (fo:page-sequence-master). These named page and page-sequence 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. | |
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. | |
This attribute sets the maximum permitted height of an area. It allows a limit to be set when the processor calculates the height automatically. | |
This attribute sets the maximum permitted width of an area. It allows a limit to be set when the processor calculates the width automatically. | |
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. | |
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. | |
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. | |
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). | |
This attribute sets an area’s minimum height, limiting automatic height calculation by the processor. | |
This attribute sets an area’s minimum width, limiting automatic width calculation by the processor. | |
N
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. | |
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. | |
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. | |
O
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. | |
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. | |
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. | |
P
Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding attribute to set top (padding-top), right (padding-right), bottom (padding-bottom) and left (padding-left) spacing together. One value sets all sides equally. Multiple values are separated by spaces. With two values, the first sets top and bottom, the second right and left. With three, the first is top, the second right and left, and the third bottom. Four values follow top, right, bottom, left. All assignments are independent of writing direction. | |
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 spacing to the bottom edge, depending on the writing direction selected by attribute writing-mode. With lr-tb (within lines: left to right; lines: top to bottom) and rl-tb (within lines: right to left; lines: top to bottom), padding-after remains spacing to the bottom edge. With tb-rl (within columns: top to bottom; columns: right to left), it concerns the left edge. It always concerns the edge parallel to the line or column that closes the area. | |
This attribute specifies how the padding to the bottom border (depending on the writing direction), specified by padding-after, is applied when a break divides the area into two parts. The split area can still be treated as one area, so the breaks are ignored and only the final bottom padding is displayed. Alternatively, the parts can be treated as independent areas, applying the bottom padding to each part. | |
Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-after.length 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.length 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. | |
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 spacing to the top edge depending on the writing-mode attribute. With lr-tb (within lines: left to right; lines: top to bottom) and rl-tb (within lines: right to left; lines: top to bottom), padding-before remains spacing to the top edge. With tb-rl (within columns: top to bottom; columns: right to left), it concerns the left edge. It always concerns the edge parallel to the line or column that opens the area. | |
This attribute specifies how the padding to the top border (depending on the writing direction), specified by padding-before, is applied when a break divides the area into two parts. The split area can still be treated as one area, so the breaks are ignored and only the initial top padding is displayed. Alternatively, the parts can be treated as independent areas, applying the top padding to each part. | |
Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-before.length attribute to set the top 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-before.length 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. | |
Padding is the inner spacing between content and border, which need not be visible. Attribute adding-bottom sets spacing to the bottom edge independently of writing-mode. It overrides padding, padding-after and padding-after.length (with lr-tb and rl-tb). | |
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. | |
This attribute defines the conditions for applying the right padding settings in left-to-right writing. | |
Padding is the inner spacing of an area, between content and border, which need not be visible. An element can use the padding-end.length attribute to set the right 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-end.length remains the right 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. | |
Padding is the inner spacing between content and border, which need not be visible. Attribute padding-left sets spacing to the left edge independently of writing-mode. It overrides padding, padding-start and padding-start.length (with lr-tb and rl-tb). | |
Padding is the inner spacing between content and border, which need not be visible. Attribute padding-right sets spacing to the right edge independently of writing-mode. It overrides padding, padding-end and padding-end.length (with lr-tb and rl-tb). | |
Padding is the space inside an area: the distance from the content to the border. (The border need not be visible.) An element can use padding-start to specify the space to the left border, depending on the writing direction selected by writing-mode. With rl-tb (within lines: right to left; lines: top to bottom), padding-start refers to the right border. With tb-rl (within columns: top to bottom; columns: right to left), it refers to the top border. Only with lr-tb (within lines: left to right; lines: top to bottom) is it the left border. It always concerns the border at the start of the line or column. | |
This attribute defines the conditions for applying the left padding settings in left-to-right writing. | |
Padding is the space inside an area: the distance from the content to the border. (The border need not be visible.) An element can have a padding-start.length attribute specifying the space to the left border, depending on the writing direction selected by writing-mode. With lr-tb (within lines: left to right; lines: top to bottom) and rl-tb (within lines: right to left; lines: top to bottom), padding-start.length remains the space to the left border. With tb-rl (within columns: top to bottom; columns: right to left), it refers to the space to the left border. It therefore always concerns the border parallel to the line or column that closes the area. | |
Padding is the inner spacing between content and border, which need not be visible. Attribute padding-top sets spacing to the top edge independently of writing-mode. It overrides padding, padding-before and padding-before.length (with lr-tb and rl-tb). | |
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. | |
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. | |
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. | |
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). | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
In the element fo:list-block, this specifies the distance between the start of a list item’s label and the start of its body. | |
On fo:list-block, this specifies the distance between the end of a list item’s label and the start of its body. | |
R
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. | |
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. | |
This attribute rotates an object in 90° increments only (0°, 90°, 180°, 270°). | |
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. | |
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). | |
This attribute sets vertical alignment for list items (fo:list-item) and table cells (fo:table-cell). | |
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. | |
This attribute specifies the rendering intent to use for the color profile. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
This attribute creates content-related identifiers that provide alternative output devices, such as audio output, with information about the XML element’s content. | |
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. | |
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. | |
S
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. | |
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. | |
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. | |
If inline markup uses attribute text-decoration, this attribute specifies whether the marked whitespace is displayed as “decorated” or “undecorated”. | |
In fo:block and fo:character, this specifies a written language for language-dependent tasks such as hyphenation and hyphenation characters. | |
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. | |
Specifies a page’s orientation and size. Besides the three predefined values, it can contain the page width and height. | |
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. | |
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. | |
This attribute determines how spacing to the following area, specified in space-after, applies when an area is split by a break. Treating it as one area ignores the breaks and shows only spacing to the following area. Alternatively, treating the parts independently inserts that spacing before each break too. | |
This attribute sets the maximum permitted space before the immediately following area. It allows a limit to be set when the processor automatically distributes areas on a page or in a column. This space is applied only if an area is defined on the Following-Sibling axis in the FO document. In this respect, the attribute differs from the margin attributes. | |
This attribute sets the minimum permitted space before the immediately following area. It allows a limit to be set when the processor automatically distributes areas on a page or in a column. This space is applied only if an area is defined on the Following-Sibling axis in the FO document. In this respect, the attribute differs from the margin attributes. | |
This attribute sets the optimum space before the immediately following area. When the processor automatically distributes areas on a page or in a column, it attempts to maintain this space whenever possible. This space is applied only if an area is defined on the Following-Sibling axis in the FO document. In this respect, the attribute differs from the margin attributes. | |
If an area specifies space-after and the following area specifies space-before, only one value sets their separation. Priority is calculated from the corresponding space-after.precedence and space-before.precedence attributes. When equal, space-after takes precedence. | |
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. | |
This attribute specifies how the space after the immediately preceding area, defined by space-before, is applied when a break divides an area into two parts. The split area can still be treated as a single area, ignoring the breaks and applying the space only after the preceding area. Alternatively, each part can be treated as independent, so the space is also inserted after each break. | |
This attribute limits the maximum separation from the preceding area when the processor distributes areas on a page or column automatically. Unlike the margin attributes, the spacing is applied only if an area is defined on the Preceding-Sibling axis in the FO document. | |
This attribute sets the minimum permitted space after the immediately preceding area. It allows a limit to be set when the processor automatically distributes areas on a page or in a column. This space is applied only if an area is defined on the Preceding-Sibling axis in the FO document. In this respect, the attribute differs from the margin attributes. | |
This attribute sets the optimum space after the immediately preceding area. When the processor automatically distributes areas on a page or in a column, it attempts to maintain this space whenever possible. This space is applied only if an area is defined on the Preceding-Sibling axis in the FO document. In this respect, the attribute differs from the margin attributes. | |
If an area has space-before and the preceding area has space-after, only one value determines their separation. The corresponding space-after.precedence and space-before.precedence attributes determine priority. If the values are equal, space-after takes precedence. | |
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. | |
This attribute controls how the spacing to the immediately following inline area, specified in space-end, applies when a line break divides the area into two parts. The broken area may still be treated as one area: line breaks are ignored and only its final spacing is shown. Alternatively, each part can be treated as an independent area, inserting the spacing after each break. Normally, no spacing is set if an area ends with a line break. If it is treated as a partial area, however, spacing is also set at the end of a line. | |
This attribute sets the maximum separation from the next inline area. When the processor distributes areas in a line automatically, it uses this as a limit. Unlike the margin attributes, this spacing is not inserted if a line break follows. | |
This attribute sets the minimum separation from the next inline area. When the processor distributes areas in a line automatically, it uses this as a limit. Unlike the margin attributes, this spacing is not inserted if a line break follows. | |
This attribute sets the optimal separation from the next inline area. When the processor distributes areas in a line automatically, it tries to maintain this distance. Unlike the margin attributes, this spacing is not inserted if a line break follows. | |
If an inline area specifies space-end and the immediately following inline area specifies space-start, only one value sets their separation. Priority is calculated from the corresponding space-end.precedence and space-start.precedence attributes. If both have the same value, space-end always takes precedence. | |
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. | |
This attribute specifies how the space after the preceding inline area, defined by space-start, applies when a line break divides an area. The split area may be treated as a whole, ignoring breaks and displaying the space only at its start. Alternatively, each part may be treated as independent, inserting such space after each break. Normally, no space is applied if the area starts after a line break. If it is treated as a separate part, the space is also applied at the start of a line. | |
This attribute sets the maximum separation from the preceding inline area. When the processor distributes areas in a line automatically, it uses this as a limit. Unlike the margin attributes, this spacing is not inserted if the area follows a line break. | |
This attribute sets the minimum separation from the preceding inline area. When the processor distributes areas in a line automatically, it uses this as a limit. Unlike the margin attributes, this spacing is not inserted if the area follows a line break. | |
This attribute sets the optimal separation from the preceding inline area. When the processor distributes areas in a line automatically, it tries to maintain this distance. Unlike the margin attributes, this spacing is not inserted if the area follows a line break. | |
If an inline area has space-start and the preceding inline area has space-end, only one value determines their separation. The corresponding space-start.precedence and space-end.precedence attributes determine priority. If the values are equal, space-end takes precedence. | |
This attribute leaves an area’s multi-column layout and spans all columns defined in the area’s element, such as fo:region-body (column-count). It can specify only that all columns or no columns are spanned. | |
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. | |
This attribute sets an indent at the beginning of every line in an area. | |
In an element 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. | |
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. | |
For a character inserted with fo:character, this attribute specifies whether its display is suppressed when it appears at the end of a line. | |
In fo:multi-toggle, this attribute specifies which fo:multi-case to switch to. No common formatter supports it. | |
T
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. | |
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. | |
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. | |
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. | |
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. | |
In fo:basic-link, this attribute names a stylesheet to use for the referenced resource. | |
This attribute sets line alignment within an area, such as justified or left-aligned. | |
This attribute sets the alignment of the last line in an area, such as justified or left-aligned. | |
This attribute sets the text height above the baseline, overriding the height defined by the selected font. | |
This attribute decorates text content, for example by adding an overline or underline. | |
This attribute sets the text height below the baseline, overriding the height defined by the selected font. | |
This attribute sets the first-line indent of an area. Negative values produce hanging indents. | |
This attribute applies shadow effects to text. | |
This attribute standardizes letter case within an area. | |
This attribute specifies the distance of a positioned object (fo:block-container) measured from the top edge of its immediate parent block area. | |
In fo:character, this attribute specifies whether the inserted character is treated as interword space or as a normal letter. | |
U
This attribute sets a writing direction different from the rest of the document, for example for Arabic passages in German text. | |
V
This attribute sets the vertical alignment of inline areas and table cells relative to their parent elements. | |
This attribute specifies whether the marked area’s display should be suppressed. | |
W
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. | |
This attribute defines how consecutive spaces are handled, for example by collapsing them into a single space. | |
This attribute determines how spaces are handled within an area. Consecutive spaces collapse to one by default; see white-space-collapse. | |
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. | |
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. | |
This attribute allows the spacing between words to be adjusted individually. | |
This attribute defines the conditions under which specified word-spacing settings are applied. | |
This attribute specifies the maximum value to be observed when adjusting the space between two words. | |
This attribute specifies the minimum value to be observed when adjusting the space between two words. | |
This attribute specifies the optimum value to be observed when adjusting the space between two words. | |
This attribute sets precedence when word spacing is adjusted individually. | |
This attribute specifies whether line wrapping should be suppressed even when the defined block width is exceeded. | |
This attribute sets writing direction. Applied to page masters (fo:simple-page-master), writing-mode controls placement of fo-region-body, fo-region-before, fo-region-after, fo-region-start and fo-region-end. On tables, writing-mode controls horizontal column or cell alignment and vertical row alignment, allowing tables to be displayed in landscape format. | |
X
This attribute specifies the language and country whose hyphenation and line-breaking rules should be used. | |
Z
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. | |