DL Logo

pdflattener Enumerations

PDTilings

Header: PDFLExpT.h:277

Description

Support for tiled flattening

Value options for PDFlattenTilingMode.

Enum Constants

kPDNoTiling=0
No tiling.
kPDConstantTiling
Constant tiling.
kPDAdaptiveTiling
Adaptive tiling.

pdflattener Typedefs

PDFlattenTilingMode

Header: PDFLExpT.h:288

Description

Support for tiled flattening

For value options see PDTilings.

Syntax

typedef ASInt32 PDFlattenTilingMode;

Used In

pdflattener Structures

PDFlatten

Header: PDFLExpT.h:308

Description

Controls tile flattening. It is primarily of interest to resource limited (embedded) systems developers.

Syntax

struct PDFlatten {
ASSize_t size;
The size of the structure. Set it to sizeof(PDFlattenRec).
PDFlattenTilingMode tilingMode;
0 = no tiling; 1 = constant tiling; 2 = adaptive tiling
ASBool useTextOutlines;
Output text outlines instead of native text.
ASBool allowShadingOutput;
Allow shading ouput.
ASBool allowLevel3ShadingOutput;
Allow level 3 shading output.
ASBool strokeToFill;
For converting stroke to outline.
ASBool clipComplexRegions;
Clip complex checkbox.
float internalDPI;
Resolution for flattening the interior of an atomic region.
float externalDPI;
Resolution for flattening edges of atomic regions.
float pathDPI;
Flattener path resolution; the default is 800.
ASUns32 tileSizePts;
Target tile size in points.
ASUns32 maxFltnrImageSize;
Maximum image size when flattening. The default is 0.
ASUns32 adaptiveThreshold;
Adaptive flattening threshold.
ASBool preserveOverprint;
Attempt to preserve overprint.
ASBool disableCurveToLineOptmization;
Disable Curve to Line Optimization.
ASInt32 maxPageFlatteningTime;
New parameter to set the maximum allowed time for flattening a page before rasterizing the content. Default value 0: Enables the two minute limit default value < 0: Disables the time limit > 0: Sets the time limit (in seconds)
ASBool permitType3Fonts;
If false, such fonts are rasterized, this is the legacy behavior because many PDF processors don't handle Type 3 fonts correctly. If true, such fonts are preserved instead.
ASBool ignoreOverprint;
DLADD 19Oct2023- Normally every Page is checked if it has Transparency or Overprint features * and when found the Page is Flattened. * If false, Pages that have Overprinting are considered for Flattening. * If true, Pages that have Overprinting aren't considered for Flattening.
} PDFlattenRec, *PDFlatten;

Used By

Used In