PageLayoutEvent enumeration

PageLayoutEvent enumeration

A code of event raised during page layout model build and rendering.

Page layout model is built in two steps. First, “conversion step”, this is when page layout pulls document content and creates object graph. Second, “reflow step”, this is when structures are split, merged and arranged into pages.

Depending of the operation which triggered build, page layout model may or may not be further rendered into fixed page format. For example, computing number of pages in the document or updating fields does not require rendering, whereas export to Pdf does.

Members

NameDescription
NoneDefault value
WatchDogCorresponds to a checkpoint in code which is often visited and which is suitable to abort process.
BuildStartedBuild of the page layout has started. Fired once. This is the first event which occurs when Document.updatePageLayout() is called.
BuildFinishedBuild of the page layout has finished. Fired once. This is the last event which occurs when Document.updatePageLayout() is called.
ConversionStartedConversion of document model to page layout has started. Fired once. This occurs when layout model starts pulling document content.
ConversionFinishedConversion of document model to page layout has finished. Fired once. This occurs when layout model stops pulling document content.
ReflowStartedReflow of the page layout has started. Fired once. This occurs when layout model starts reflowing document content.
ReflowFinishedReflow of the page layout has finished. Fired once. This occurs when layout model stops reflowing document content.
PartReflowStartedReflow of the page has started. Note that page may reflow multiple times and that reflow may restart before it is finished.
PartReflowFinishedReflow of the page has finished. Note that page may reflow multiple times and that reflow may restart before it is finished.
PartRenderingStartedRendering of page has started. This is fired once per page.
PartRenderingFinishedRendering of page has finished. This is fired once per page.

See Also