Skip to main content

Module style_lookup

Module style_lookup 

Source
Expand description

Format-agnostic style querying trait.

StyleLookup provides a uniform interface for retrieving character, paragraph, and style properties by index. Each format-specific style store (e.g. HwpxStyleStore) implements this trait so that downstream consumers (e.g. the Markdown encoder) can query styles without knowing the underlying format.

All methods have default implementations returning None, so implementors only need to override the methods they can support.

Traitsยง

StyleLookup
Trait for querying resolved style properties by index.