fo:float
Serves 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.
Element information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Choice [1..1]
- fo:block [1..*]Formats 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-container [1..*]Generates a block-level reference-area.
- fo:table-and-caption [1..*]Formats a table together with its caption.
- fo:table [1..*]A table.
- fo:list-block [1..*]A list.
- fo:multi-switch [1..*]Wraps 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-properties [1..*]Switches between two or more property sets that are associated with a given portion of content.
- fo:index-range-begin [1..*]The 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-end [1..*]The end of an "indexed range" that is started by its matching fo:index-range-begin.
- fo:wrapper [1..*]Specifies inherited properties for a group of formatting objects. It has no additional formatting semantics.
- fo:retrieve-marker [1..*]Used in conjunction with fo:marker to produce running headers or footers.
- fo:retrieve-table-marker [1..*]Used 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-begin [1..*]The 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-end [1..*]The end of a "change region" that is started by its matching fo:change-bar-begin.
- fo:float [1..*]Serves 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:either-block-or-inline
from group fo:block
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
float | [0..1] | Anonymous | Whether a box should float to the left, right, or not at all. It may be set for elements that generate boxes that are not absolutely positioned. CSS2 Reference: | from group fo:float |
clear | [0..1] | Anonymous | Which sides of an element's box(es) may not be adjacent to an earlier floating box. (It may be that the element itself has floating descendants; the 'clear' property has no effect on those.) CSS2 Reference: | from group fo:clear |
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 |
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:block-container via reference to fo:block
- Anonymous type of element fo:float via reference to fo:block
- Anonymous type of element fo:footnote-body via reference to fo:block
- Anonymous type of element fo:inline via reference to fo:block-or-inline
- Anonymous type of element fo:inline-container via reference to fo:block
- 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:table-caption via reference to fo:block
- Anonymous type of element fo:table-cell via reference to fo:block
- 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 via reference to fo:either-block-or-inline
- Group fo:block-or-inline via reference to fo:either-block-or-inline
- Group fo:either-block-or-inline
- Group fo:inline via reference to fo:either-block-or-inline
- Type fo:block-sequence via reference to fo:block (Elements fo:flow, fo:static-content)
- Type fo:list-item-part via reference to fo:block (Elements fo:list-item-body, fo:list-item-label)
- 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:float> <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:float>