Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSL-FO Reference Manual

XSL-FO Reference Manual


XSL Formatting Objects Reference Manual

The process of converting a description into a presentation is called formatting.

object Description
basic-link Represents the starting resource of a link.
bidi-override Overrides the default Unicode BIDI direction.
block Defines an output block (such as paragraphs and headings).
block-container Defines a block-level reference area (reference-area).
character Specifies the characters to be mapped to glyphs for presentation.
color-profile Defines a color profile for the style sheet.
conditional-page-master-reference Specifies a page-master to use when the defined condition is met.
declarations Groups the global declarations of a style sheet.
external-graphic Used for graphics whose image data lies outside the XML result tree.
float Typically used to position an image in a separate area at the start of a page, or to position an image to one side by flowing content along one side of the image.
flow Contains all the elements to be printed to the page.
footnote Defines a footnote inside the region-body of a page.
footnote-body Defines the content of a footnote.
initial-property-set Formatting fo:block the first line.
inline Defines the formatting of a portion of text through background properties or by enclosing it in a border.
inline-container Defines an inline reference area (reference-area).
instream-foreign-object Used for inline graphics or objects of the "generic" class. In these, the object's data is fo:instream-foreign-object in the form of descendants.
layout-master-set Holds all the masters used in the document.
leader

Used to generate the "." symbol to separate page numbers in a table of contents, or to create input fields in forms, or to create horizontal rules.

list-block Defines a list.
list-item Contains each item in a list.
list-item-body Contains the content/body of a list-item.
list-item-label Contains the label of a list-item (usually a number, character, etc.).
marker The difference between fo:retrieve-marker Used together to create running headers or footers.
multi-case

Contains each alternative subtree of an XSL-FO object (in ). The parent element chooses which option to display and hides the rest.

multi-properties Used to switch between two or more sets of properties.
multi-property-set Specifies an alternative set of properties to apply based on the state of the user agent.
multi-switch Preserves one or more fo:multi-case objects, controlling the transitions between them (triggered by fo:multi-toggle ).
multi-toggle Used to switch to another fo:multi-case。
page-number Represents the current page number.
page-number-citation References the page number for the page containing the first normal area returned by the referenced object.
page-sequence A container for page output elements. Each page layout will have a fo:page-sequence object.
page-sequence-master Specifies the simple-page-masters to use and the order of use.
region-after Defines the footer.
region-before Defines the header.
region-body Defines the page subject.
region-end Defines the right sidebar of the page.
region-start Defines the left sidebar of the page.
repeatable-page-master-alternatives Specifies a copy of a group of simple-page-masters.
repeatable-page-master-reference Specifies a copy of a single simple-page-master.
retrieve-marker The difference between fo:marker Used together to create running headers or footers.
root The root (top-level) node of an XSL-FO document.
simple-page-master Defines the size and shape of a page.
single-page-master-reference Specifies the page-master to use at a given point in a page sequence.
static-content The object contains static content (such as headers and footers) that is repeated on multiple pages.
table Formats the tabular material of a table.
table-and-caption Formats a table and its caption.
table-body A container that holds table rows and table cells.
table-caption Contains the caption of a table.
table-cell Defines a table cell.
table-column Formats the columns of a table.
table-footer Defines the footer of a table.
table-header Defines the header of a table.
table-row Defines a table row.
title Defines a title for a page-sequence.
wrapper Specifies inherited properties for a group of XSL-FO objects.