THPDFParagraphReflowOptions
Unit
HPDFParagraphReflow
Initialize with HPDFDefaultParagraphReflowOptions; zero-initialized options are invalid
| Member | Default | Contract |
|---|---|---|
Appearance | Existing appearance defaults, Padding 0, MaxTextUnits 65536, overflow reject | Installed font name/style/size/color, alignment, padding and overflow; rotation 0 and opacity 1 required |
RejectCollisions | True | Reject generated glyph bounds overlapping neighboring content |
RejectPartialSourceGlyphs | True | Reject selections cutting through selected glyph bounds |
RequireSourceText | True | Set false for insertion in an empty source region |
CollisionMargin | 0 | Finite nonnegative geometric margin through 14400 points |
MaxDecodedBytes | 67108864 | Positive decoded content budget through 268435456 bytes |
MaxGeneratedBytes | 67108864 | Positive retained generated-stream budget through 268435456 bytes, checked before publication |
MaxWorkUnits | 100000000 | Positive Int64 work counter, including conservative semantic-layout charges |
MaxGlyphs | 100000 | Positive limit through 1000000; encoded source bytes also consume this bound before interpretation |
MaxTokens | 250000 | Positive aggregate token limit through 1000000 |
MaxFormDepth | 12 | Depth from 1 through 12 |
MaxFormInvocations | 256 | Invocation count from 1 through 4096 |
MaxCollisions | 256 | Returned records from 1 through 4096; the total count remains available |
MaxResourceNodes | 100000 | Positive clone-node limit through 1000000; direct nesting is additionally capped at 32 |
Appearance font sizes must be finite, positive and no greater than 10000; minimum font size must not exceed font size, padding must leave positive usable dimensions, and MaxTextUnits is positive through 1000000