XSL-FO Tutoriallogin
XSL-FO Tutorial
author:php.cn  update time:2022-04-21 16:29:33

XSL-FO object



XSL Formatting Object Reference Manual

The process of converting descriptions into presentations is called formatting.

ObjectDescription
basic-linkRepresents the start of a link resource.
bidi-overrideOverride the default Unicode BIDI direction.
blockDefine an output block (such as paragraphs and titles).
block-containerDefine a block-level reference area (reference-area).
#characterSpecifies the character that will be mapped to the glyph for rendering.
color-profile Defines a color profile for the style sheet.
conditional-page-master-referenceSpecifies a page-master to be used when the defined condition is true.
declarationsCombines the global declarations of a style sheet.
external-graphicFor use with a graphic where the image data is outside the XML result tree.
float is typically used to position an image in a separate area at the beginning of the page, or to position an image to a location by flowing content along one side of the image. side.
flow Contains all elements to be printed to the page.
footnoteA footnote defined inside the region-body of the page.
footnote-bodyDefine the content of the footnote.
initial-property-setFormats the first line of <fo:block>.
inlineFormat a portion of text via a background attribute or by embedding it in a border.
inline-containerDefine an inline reference area (reference-area).
instream-foreign-objectFor inline graphics or "generic" class objects. In it, the object's data exists as a descendant of <fo:instream-foreign-object>.
layout-master-setSave all masters used in the document.
leader

Used to generate "." symbols to separate titles of page numbers in a content table, or to create input fields in a form, or to create horizontal rule.

list-blockDefine list.
list-itemContains each item in the list.
list-item-body Contains the content/body of list-item.
list-item-label Contains the list-item label (usually numbers, characters, etc.).
markerUse with <fo:retrieve-marker> to create a running header or footer.
multi-case

Contains each selection subtree of the XSL-FO object (inside <fo:multi-switch>). The parent element <fo:multi-switch> selects which option to display and hides the remaining options.

multi-properties Used to switch between two or more property sets.
multi-property-setSpecifies an optional set of properties that are applied based on the user agent state.
multi-switchRetain one or more <fo:multi-case> objects, control them (triggered by <fo:multi-toggle>) conversion between each other.
multi-toggle is used to switch to another <fo:multi-case>.
page-number represents the current page number.
page-number-citation is the page number of the page that contains the first normal region returned by the referenced object.
page-sequenceContainer for page output elements. Each page layout will have a <fo:page-sequence> object.
page-sequence-masterSpecifies the simple-page-masters to be used and the order in which they are used.
region-afterDefine the footer.
region-beforeDefine the header.
region-bodyDefine the page theme.
region-endDefine the right column of the page.
region-startDefine the left column of the page.
repeatable-page-master-alternativesSpecifies a set of replicas of simple-page-master.
repeatable-page-master-referenceSpecifies a copy of a single simple-page-master.
retrieve-markerUse with <fo:marker> to create a running header or footer.
rootThe root (top-level) node of the XSL-FO document.
simple-page-masterDefines the size and shape of a page.
single-page-master-referenceSpecifies the page-master to be used at a given point in the page sequence.
static-content The object contains static content (such as headers and footers), which will be called repeatedly in multiple pages.
tableFormat tabular material for tables.
table-and-captionFormat tables and their captions.
table-bodyContainer containing table rows and table cells.
table-captionContains the title of the table.
table-cellDefine table cell.
table-columnFormat the columns of the table.
table-footerDefine the footer of the table.
table-headerDefine the header of the table.
table-rowDefine table row.
titleDefine a title for a page-sequence.
wrapperSpecifies the inherited attribute for a set of XSL-FO objects.


php.cn