Module introspection

Module introspection 

Source
Expand description

Interaction between document parts.

Structs§

Counter
Counts through pages, elements, and more.
CounterDisplayElem
Executes a display of a counter.
CounterState
Counts through elements with different levels.
CounterUpdateElem
Executes an update of a counter.
Introspector
Can be queried for elements and their positions.
IntrospectorBuilder
Builds the introspector.
Location
Identifies an element in the document.
LocationKey
Can be used to have a location as a key in an ordered set or map.
Locator
Provides locations for elements in the document.
LocatorLink
A locator can be linked to this type to only access information across the memoization boundary on-demand, improving the cache hit chance.
ManualPageCounter
An specialized handler of the page counter that tracks both the physical and the logical page counter.
MetadataElem
Exposes a value to the query system without producing visible content.
SplitLocator
A type that generates unique sublocators.
State
Manages stateful parts of your document.
StateUpdateElem
Executes a display of a state.
TagElem
Holds a tag for a locatable element that was realized.
TagFlags

Enums§

CounterKey
Identifies a counter.
CounterUpdate
An update to perform on a counter.
StateUpdate
An update to perform on a state.
Tag
Marks the start or end of a locatable element.

Constants§

COUNTER_DISPLAY_RULE

Traits§

Count
Elements that have special counting behaviour.
Locatable
Make this element available in the introspector.
Tagged
Marks this element as tagged in PDF files.
Unqueriable
Make this element not queriable for the user.

Functions§

define
Hook up all introspection definitions.
here
Provides the current location in the document.
locate
Determines the location of an element in the document.
query
Finds elements in the document.