alignment-adjust
Allows more precise alignment of areas generated by formatting objects, in particular for formatting objects, such as graphics, that do not have a baseline-table or lack the desired baseline in their baseline-table. With the "alignment-adjust" property, the position of the baseline identified by the "alignment-baseline" can be explicitly determined.
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?(pc|px|pt|mm|cm|in|em)
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?%
- Type based on xsd:token
Valid value inherit
- Type based on xsd:token
Valid value Description auto For a glyph, the alignment-point is the intersection of the start-edge of the allocation-rectangle of the glyph-area and the block-progression-direction position of the alignment-point from the font as specified in . For other inline-areas, the alignment-point is at the intersection of the start-edge of the allocation-rectangle and the baseline identified by the "alignment-baseline" property if this baseline exists in the baseline-table for the dominant-baseline for the inline-area. If the baseline-identifier does not exist in the baseline-table for the glyph or other inline-area, then the User Agent may either use heuristics to determine where that missing baseline would be or may use the dominant-baseline as a fallback. For areas generated by an fo:external-graphic, or fo:instream-foreign-object, the alignment point is at the intersection of the start-edge and after-edge of the allocation-rectangle of the area. baseline The intersection of the start-edge of the allocation-rectangle and the dominant-baseline of the area. before-edge The intersection of the start-edge of the allocation-rectangle and the "before-edge" baseline of the area. text-before-edge The intersection of the start-edge of the allocation-rectangle and the "text-before-edge" baseline of the area. middle The intersection of the start-edge of the allocation-rectangle and the "middle" baseline of the area. central The intersection of the start-edge of the allocation-rectangle and the "central" baseline of the area. after-edge The intersection of the start-edge of the allocation-rectangle and the "after-edge" baseline of the area. text-after-edge The intersection of the start-edge of the allocation-rectangle and the "text-after-edge" baseline of the area. ideographic The intersection of the start-edge of the allocation-rectangle and the "ideographic" baseline of the area. alphabetic The intersection of the start-edge of the allocation-rectangle and the "alphabetic" baseline of the area. hanging The intersection of the start-edge of the allocation-rectangle and the "hanging" baseline of the area. mathematical The intersection of the start-edge of the allocation-rectangle and the "mathematical" baseline of the area.
from type fo:length-percentage-or-inherit
from type fo:length
from type fo:percentage
from type fo:inherit
Used in
- Attribute group fo:alignment-adjust
- Anonymous type of element fo:basic-link via reference to fo:alignment-adjust
- Anonymous type of element fo:character via reference to fo:alignment-adjust
- Anonymous type of element fo:external-graphic via reference to fo:alignment-adjust
- Anonymous type of element fo:inline via reference to fo:alignment-adjust
- Anonymous type of element fo:inline-container via reference to fo:alignment-adjust
- Anonymous type of element fo:instream-foreign-object via reference to fo:alignment-adjust
- Anonymous type of element fo:leader via reference to fo:alignment-adjust
- Anonymous type of element fo:page-number via reference to fo:alignment-adjust
- Anonymous type of element fo:page-number-citation via reference to fo:alignment-adjust
- Anonymous type of element fo:page-number-citation-last via reference to fo:alignment-adjust
- Anonymous type of element fo:scaling-value-citation via reference to fo:alignment-adjust
- Attribute group fo:area-alignment-properties via reference to fo:alignment-adjust