fo:block-and-line-related-properties
Block and Line-related Properties
Attribute group information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
hyphenation-keep | [0..1] | Anonymous | Whether hyphenation can be performed on the last line that fits in a given reference-area. | from group fo:hyphenation-keep |
hyphenation-ladder-count | [0..1] | Anonymous | Limits the number of successive hyphenated line-areas the formatter may generate in a block-area. | from group fo:hyphenation-ladder-count |
last-line-end-indent | [0..1] | fo:length-percentage-or-inherit | An indent to be applied to the last line-area child of the last block-area generated and returned by the formatting object, and to any line-area generated by the formatting object whose following sibling is a block-area that is not a line-area. It is added to the block's end-edge. Positive values indent the edge, negative values outdent the edge. | from group fo:last-line-end-indent |
line-height | [0..1] | Anonymous | On a block container element whose content is composed of inline-level elements, 'line-height' specifies the minimal height of line boxes within the element. CSS2 Reference: | from group fo:line-height |
line-height-shift-adjustment | [0..1] | Anonymous | Whether the line-height is adjusted for content that has a baseline-shift. | from group fo:line-height-shift-adjustment |
line-stacking-strategy | [0..1] | Anonymous | The strategy for positioning adjacent lines, relative to each other. | from group fo:line-stacking-strategy |
linefeed-treatment | [0..1] | Anonymous | The treatment of linefeeds (character flow objects whose Unicode code point is U+000A) during the refinement process. | from group fo:linefeed-treatment |
white-space-treatment | [0..1] | Anonymous | The treatment during line-building and inline-building of glyph areas, except for linefeeds, that are classified as white space in XML. This includes U+0020 (space) and other white space characters but excludes U+000A (linefeed). Linefeed treatment is determined by the "linefeed-treatment" property. | from group fo:white-space-treatment |
text-align | [0..1] | Anonymous | How inline content of a block is aligned. For fo:external-graphic, fo:instream-foreign-object, and fo:table-and-caption it specifies the alignment of other areas as described in the constraint section for these formatting objects. CSS2 Reference: | from group fo:text-align |
text-align-last | [0..1] | Anonymous | The alignment of the last line-area child of the last block-area generated and returned by the formatting object, and to any line-area generated by the formatting object whose following sibling is a block-area that is not a line-area, and any lines in the block ending in U+000A. | from group fo:text-align-last |
text-indent | [0..1] | fo:length-percentage-or-inherit | The indentation of the first line of text in a block. More precisely, the indentation of the first box that flows into the block's first line box. The box is indented with respect to the left (or right, for right-to-left layout) edge of the line box. User agents should render this indentation as blank space. CSS2 Reference: | from group fo:text-indent |
white-space-collapse | [0..1] | Anonymous | The treatment of consecutive white space during area tree construction. The overall effect of handling the linefeed-treatment property during refinement and the white-space-collapse and white-space-treatment properties during area tree generation is as follows: after refinement, where some white space characters may have been discarded or turned into space characters, all remaining runs of two or more consecutive spaces are replaced by a single space, then any remaining space immediately adjacent to a remaining linefeed is also discarded. | from group fo:white-space-collapse |
wrap-option | [0..1] | Anonymous | How line-wrapping (line-breaking) of the content of the formatting object is to be handled. | from group fo:wrap-option |
white-space | [0..1] | Anonymous | Declares how whitespace inside the element is handled. CSS2 Reference: | from group fo:white-space |
Used in
- Anonymous type of element fo:block