DynaPDF Manual - Page 582

Previous Page 581   Index   Next Page 583

Function Reference
Page 582 of 818
ParseContent
Syntax:
LBOOL pdfParseContent(
const PPDF* IPDF,
// Instance pointer
const void* Data,
// User defined pointer
struct TPDFParseInterface* Stack, // Parser interface
TParseFlags Flags)
// See below
struct TPDFParseInterface
{
TApplyPattern*
ApplyPattern;
TBeginPattern*
BeginPattern;
TBeginTemplate*
BeginTemplate;
TBezierTo1*
BezierTo1;
TBezierTo2*
BezierTo2;
TBezierTo3*
BezierTo3;
TClipPath*
ClipPath;
TClosePath*
ClosePath;
TDrawShading*
DrawShading;
TEndPattern*
EndPattern;
TEndTemplate*
EndTemplate;
TLineTo*
LineTo;
TMoveTo*
MoveTo;
TMulMatrix*
MulMatrix;
TRectangle*
Rectangle;
TRestoreGraphicState* RestoreGraphicState;
TSaveGraphicState*
SaveGraphicState;
TSetCharSpacing*
SetCharSpacing;
TSetExtGState*
SetExtGState;
TSetFillColor*
SetFillColor;
TSetFont*
SetFont;
TSetLeading*
SetLeading;
TSetLineCapStyle*
SetLineCapStyle;
TSetLineDashPattern*
SetLineDashPattern; // Obsolete -> Use SetLineDashPattern2 instead
TSetLineDashPattern2* SetLineDashPattern2;
TSetLineJoinStyle*
SetLineJoinStyle;
TSetLineWidth*
SetLineWidth;
TSetMiterLimit*
SetMiterLimit;
TSetStrokeColor*
SetStrokeColor;
TSetTextDrawMode*
SetTextDrawMode;
TSetTextScale*
SetTextScale;
TSetWordSpacing*
SetWordSpacing;
void*
Reserved001;
// See comment below
void*
Reserved002;
// See comment below
TShowTextArrayW*
ShowTextArrayW; // Preferred for text extraction
TInsertImage*
InsertImage;
TShowTextArrayA*
ShowTextArrayA; // Preferred for text searching
// Additional reserved members follow (must be set to NULL).
};
typedef UI32 TParseFlags;
#define pfNone
0x00000000 // Default
#define pfDecomprAllImages 0x00000002 // See description
#define pfNoJPXDecode
0x00000004 // See description
#define pfDitherImagesToBW 0x00000008 // Floyd-Steinberg dithering.
#define pfConvImagesToGray 0x00000010 // See description
#define pfConvImagesToRGB
0x00000020 // See description
#define pfConvImagesToCMYK 0x00000040 // See description
#define pfImageInfoOnly
0x00000080 // See description
// The following two flags are used internally by CheckConformance().
#define pfErrorCheckOnly
0x00000100 // If set, images are checked for decompression errors only.
#define pfFailOnError
0x80000000 // Fail on decompression errors.
 

Previous topic: PageLinkEx

Next topic: The Graphics State


Start Chat