fo:multi-toggle
Used within an fo:multi-case to switch to another fo:multi-case.
Element information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content, intermingled with:
- Choice [0..*]
- fo:blockFormats paragraphs, titles, headlines, figure and table captions, etc. The start edge (and end edge) of the block is displaced by the least amount necessary to insure that (a) the start edge (end edge) of the block does not intersect any of the start intrusions (end intrusions) that overlap that block and (b) the amount by which it is displaced is at least as much as the displacement of the parent area, provided the parent is a block-area which is not a reference-area. An intrusion is said to overlap a block if the there is a line parallel to the inline progression direction that intersects the allocation rectangles of both the block and the intrusion.
- fo:block-containerGenerates a block-level reference-area.
- fo:table-and-captionFormats a table together with its caption.
- fo:tableA table.
- fo:list-blockA list.
- fo:bidi-overrideOverrides the default Unicode-bidirectional-algorithm direction for different (or nested) inline scripts in mixed-language documents. If the element is inline-level or a block-level element that contains only inline-level elements, this creates an override. This means that inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored. This corresponds to adding a LRO (U+202D; for 'direction: ltr') or RLO (U+202E; for 'direction: rtl') at the start of the element and a PDF (U+202C) at the end of the element.
- fo:characterA character that is mapped to a glyph for presentation.
- fo:external-graphicA graphic where the graphics data resides outside of the XML result tree in the fo namespace.
- fo:instream-foreign-objectAn inline graphic or other "generic" object where the object data resides as descendants of the fo:instream-foreign-object.
- fo:inlineFormats a portion of text with a background or enclosing it in a border.
- fo:inline-containerGenerates an inline reference-area.
- fo:leaderGenerates leaders consisting either of a rule or of a row of a repeating character or cyclically repeating pattern of characters that may be used for connecting two text formatting objects.
- fo:page-numberThe current page-number.
- fo:page-number-citationReferences the page-number for the page containing the first normal area returned by the cited formatting object.
- fo:page-number-citation-lastReferences the page-number for the last page containing the an area that is (a) returned by the cited formatting object and (b) has an area-class that is consistent with the specified page-citation-strategy.
- fo:scaling-value-citationObtains the scale-factor applied to the cited fo:external-graphic.
- fo:basic-linkThe start resource of a simple link.
- fo:multi-toggleUsed within an fo:multi-case to switch to another fo:multi-case.
- fo:index-page-citation-listGroups together the sets of cited page items generated by its fo:index-key-reference children. The ultimate effect of the fo:index-page-citation-list is to generate a formatted list of page numbers and ranges.
- fo:footnoteProduces a footnote citation and the corresponding footnote.
- fo:multi-switchWraps the specification of alternative sub-trees of formatting objects (each sub-tree being within an fo:multi-case), and controls the switching (activated via fo:multi-toggle) from one alternative to another.
- fo:multi-propertiesSwitches between two or more property sets that are associated with a given portion of content.
- fo:index-range-beginThe beginning of an "indexed range" associated with an index key. The index range is ended by a corresponding fo:index-range-end.
- fo:index-range-endThe end of an "indexed range" that is started by its matching fo:index-range-begin.
- fo:wrapperSpecifies inherited properties for a group of formatting objects. It has no additional formatting semantics.
- fo:retrieve-markerUsed in conjunction with fo:marker to produce running headers or footers.
- fo:retrieve-table-markerUsed in conjunction with fo:marker to produce table-headers and table-footers whose content can change over different pages, different regions or different columns.
- fo:change-bar-beginThe beginning of a "change region" that is ended by its matching fo:change-bar-end. The change region is decorated with a change bar down either the start or end edge of the column. The style of the change bar is determined by the value of various change bar related properties.
- fo:change-bar-endThe end of a "change region" that is started by its matching fo:change-bar-begin.
- fo:floatServes two purposes. It can be used so that during the normal placement of content, some related content is formatted into a separate area at beginning of the page (or of some following page) where it is available to be read without immediately intruding on the reader. Alternatively, it can be used when an area is intended to float to one side, with normal content flowing alongside.
from group fo:block-onlyfrom group fo:inline-onlyfrom group fo:either-block-or-inline
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
source-document | [0..1] | Anonymous | A pointer back to the original XML document(s) used to create this formatting object tree, in accordance with the Dublin Core definition of "Source" ("A Reference to a resource from which the present resource is derived." See: http://purl.org/DC/documents/rec-dces-19990702.htm .) The value is not validated by and has no inherent standardized semantics for any XSL processor. | from group fo:source-document |
role | [0..1] | Anonymous | A hint for alternate renderers (aural readers, etc.) as to the role of the XML element or elements that were used to construct this formatting object, if one could be identified during XSLT tree construction. This information can be used to prepare alternate renderings when the normal rendering of a formatting object is not appropriate or satisfactory; for example, the role information can be used to provide better aural renderings of visually formatted material. This property is not inherited, but all subsidiary nodes of this formatting object that do not bear a role property should utilize the same alternate presentation properties. (It is not inherited because knowledge of the start and end of the formatting object subtree generated by the element may be needed by the renderer.) | from group fo:role |
id | [0..1] | fo:id | An identifier unique within all objects in the result tree with the fo: namespace. It allows references to this formatting object by other objects. | from group fo:id |
index-class | [0..1] | fo:string | Associates an index class with a formatting object that also has an index key specified. | from group fo:index-class |
index-key | [0..1] | fo:string | Associates an index key with the formatting object on which it is specified. | from group fo:index-key |
switch-to | [0..1] | Anonymous | What fo:multi-case object(s) this fo:multi-toggle shall switch to. | from group fo:switch-to |
Used in
- Anonymous type of element fo:basic-link via reference to fo:block-or-inline
- Anonymous type of element fo:bidi-override via reference to fo:block-or-inline
- Anonymous type of element fo:block via reference to fo:block-or-inline
- Anonymous type of element fo:inline via reference to fo:block-or-inline
- Anonymous type of element fo:leader via reference to fo:inline
- Anonymous type of element fo:marker via reference to fo:block-or-inline
- Anonymous type of element fo:multi-case via reference to fo:block-or-inline
- Anonymous type of element fo:multi-toggle via reference to fo:block-or-inline
- Anonymous type of element fo:title via reference to fo:inline
- Anonymous type of element fo:wrapper via reference to fo:block-or-inline
- Group fo:block-or-inline via reference to fo:inline-only
- Group fo:inline via reference to fo:inline-only
- Group fo:inline-only
- Type fo:simple-mixed-text via reference to fo:inline (Elements fo:folio-prefix, fo:folio-suffix, fo:index-page-number-prefix, fo:index-page-number-suffix, fo:index-page-citation-list-separator, fo:index-page-citation-range-separator)
Sample instance
<fo:multi-toggle>Any text, intermingled with: <fo:block>Any text, intermingled with: <fo:block>Any text, intermingled with: <fo:block>Any text, intermingled with:... </fo:block> </fo:block> </fo:block> </fo:multi-toggle>