THPDFLayoutDiagnosticKind Type

Classifies the layout event that the streaming layout engine records in a layout diagnostic record

Declaration

THPDFLayoutDiagnosticKind= (ldkAutomaticPageBreak, ldkKeepWithNext,
  ldkOrphanControl, ldkWidowControl, ldkOverflow, ldkImmediateFlush,
  ldkPageLayer, ldkOverlap);

Unit

HPDFDoc

Values

ValueMeaning
ldkAutomaticPageBreakA new page was started in the normal flow, for instance because no complete line fits above the bottom margin
ldkKeepWithNextA page break was taken so that the paragraph's final line keeps space for the following paragraph
ldkOrphanControlA page break was shifted so as to preserve the configured minimum number of opening lines
ldkWidowControlThe break point was advanced so as to preserve the configured minimum number of closing lines
ldkOverflowAn element could not fit and overflowed its bounds, for instance when automatic page addition is switched off
ldkImmediateFlushClosed page content was moved to file-backed layout storage so as to bound memory use
ldkPageLayerA registered page-layer callback was applied whilst building a page
ldkOverlapA tracked element's bounds intersected the bounds of a previously tracked element

Usage notes

Related APIs