Skip to main content

Module properties

Module properties 

Source
Expand description

Property system for XSL-FO

This module provides the property system including:

  • Property IDs and names (294 properties from XSL-FO 1.1)
  • Property values (Length, Color, Enum, String, etc.)
  • Property inheritance (parent chain traversal with caching)
  • Property lists (sparse array storage with O(1) access)
  • Shorthand expansion (margin → margin-top/right/bottom/left)
  • Property validation (range checks, enum values, type constraints)
  • Initial values (default values for all properties)

Re-exports§

pub use initial_values::get_initial_value;
pub use property_id::PropertyId;
pub use property_list::PropertyList;
pub use property_value::PropertyValue;
pub use property_value::RelativeFontSize;
pub use shorthand::ShorthandExpander;
pub use validation::PropertyValidator;

Modules§

initial_values
Initial (default) values for all XSL-FO properties
property_id
Property ID constants generated from Apache FOP Constants.java
property_list
Property list with inheritance support
property_value
Property value types
shorthand
Shorthand property expansion
validation
Property validation with range checks and allowed enum values