LayerPDFEdit_Layer
ObjectGeneral

These utility methods simplify tasks, such as setting up graphics information structures and merging resources for a page.



Define Summary
 Define
 if
 IN
 include
 kPDEAfterLast
 kPDEBeforeFirst
 name
 OUT
 _PDFEditReadHFT_IS_BETA
 _PDFEditReadHFT_LAST_BETA_COMPATIBLE_VERSION
 _PDFEditReadHFT_LATEST_VERSION
 PDFEditReadHFT_LATEST_VERSION
 PDFEditReadHFTName
 PDFEditReadHFT_VERSION_10
 PDFEditReadHFT_VERSION_4
 PDFEditReadHFT_VERSION_5
 PDFEditReadHFT_VERSION_6
 PDFEditReadHFT_VERSION_8_1
 PDFEditReadHFT_VERSION_9
 _PDFEditWriteHFT_IS_BETA
 _PDFEditWriteHFT_LAST_BETA_COMPATIBLE_VERSION
 _PDFEditWriteHFT_LATEST_VERSION
 PDFEditWriteHFT_LATEST_VERSION
 PDFEditWriteHFTName
 PDFEditWriteHFT_VERSION_10
 PDFEditWriteHFT_VERSION_4
 PDFEditWriteHFT_VERSION_5
 PDFEditWriteHFT_VERSION_6
 PDFEditWriteHFT_VERSION_7
 PDFEditWriteHFT_VERSION_7_5
 PDFEditWriteHFT_VERSION_8
 PDFEditWriteHFT_VERSION_9
 PEX1
 PEX1
 PEX2
 PEX2
Typedef Summary
 Typedef
 PDEBlackPointFlt
A structure describing a black point in a calibrated color space.
 PDEColorSpec
 PDEColorSpecP
 PDEColorValue
 PDEColorValueP
 PDEDash
 PDEDashP
 PDEDeviceNColorData
 PDEDoc
A reference to a PDEDoc.
 PDEEmitStateP
A reference to the state of a writer.
 PDEFilterArray
 PDEFilterArrayP
 PDEFilterSpec
 PDEFilterSpecP
 PDEGlyphDescription
 PDEGlyphDescriptionP
 PDEGlyphRun
 PDEGlyphRunP
 PDEGraphicState
 PDEGraphicStateP
 PDEGrayCalFlt
 PDEICCBasedColorData
 PDEIndexedColorData
 PDELabCalFlt
 PDEPage
A reference to a PDEPage.
 PDEReader
An object used to read streams of PDEElement objects from page contents.
 PDERGBCalFlt
 PDESeparationColorData
 PDESpanItem
 PDESpanItemP
 PDESpanSet
 PDESpanSetP
 PDEState
A reference to the state of a reader.
 PDEWhitePointFlt
A structure describing a white point in a calibrated color space.
 PDEWriter
An object used to write streams of PDEElement objects to page content.
Enumeration Summary
 Enumeration
  PDEEnumElementsFlags
A bit field for the PDEEnumElements() method.
  PDEGraphicStateWasSetFlags
A structure describing the graphics state that was set.
  PDEType
The types of PDEObject, which is the superclass for PDEContent, PDEElement, PDEClip, and so on.
Variable Summary
 Variable
 advanceP
 attrs
This is the main method for converting a PDEContent into PDF contents and resources.
 attrsSize
 bboxP
 contentsP
 count
 filtersP
 font
 glyphRun
 gPDFEditReadHFT
 gPDFEditReadVersion
 gPDFEditWriteHFT
 gPDFEditWriteVersion
 gstateLen
 gstateP
 index
Gets the bounding box of a character or a text run.
 index
Superseded by PDETextAddEx() in Acrobat 10.0.
 matrixP
 numChars
 pdeElement
Adds an element to a clip path.
 point
 quadP
 rect
 resourcesP
 stateP
 stateSize
 strokeMatrixP
 text
 textBuffer
 textBuffer
 textLen
 textMatrixP
 tstateLen
 tstateP
Structure Summary
 Structure
 _t_PDEColorSpec
A structure describing a color specification.
 _t_PDEColorValue
A structure describing a color value.
 _t_PDEDash
A structure describing a dash specification, as described in Table 4.8 in the PDF Reference. See Section 4.3.2 for more information on line dash patterns.
 _t_PDEDeviceNColorData
A structure describing a DeviceRGB or DeviceCMYK color space.
 _t_PDEFilterArray
Filter information for streams.
 _t_PDEFilterSpec
The filter element in a filter array.
 _t_PDEGlyphDescription
A data structure used for adding Unicode text.
 _t_PDEGlyphRun
A data structure used for adding Unicode text.
 _t_PDEGraphicState
Attributes of a PDEElement or a PDEText sub-element.
 _t_PDEGrayCalFlt
A structure describing a CalGray color space.
 _t_PDEICCBasedColorData
An ICC-based color space.
 _t_PDEIndexedColorData
A structure describing an indexed color space.
 _t_PDELabCalFlt
A structure describing a Lab color space.
 _t_PDERGBCalFlt
A structure describing a CalRGB color space. It is the same as AGMRGBCalFlt (it is only available as part of the PDF Library SDK).
 _t_PDESeparationColorData
A structure describing a separation color space.
 _t_PDESpanItem
 _t_PDESpanSet
 PDEColorRangeFlt
 PDEXYZColorFlt
Callback Summary
 Callback
 PDEAttrEnumProc
A callback for PDEAttrEnumTable(). It is called once for each attribute in a table.
Method Summary
 Method
 
void PDEDefaultGState(OUTPDEGraphicStateP stateP, INASInt32 stateSize)
Fills out a PDEGraphicStateP structure with the default graphic state.
 
void PDEEnumElements(const CosObj* contents, const CosObj* resources, INASUns32 flags, INPDEElementEnumProc enumProc, IN void* enumProcClientData)
Enumerates all the PDEElements in a given stream. It is similar to PDEContentCreateFromCosObj(), but provides enumeration instead of a list of elements.
 
void PDEMergeResourcesDict(OUTCosObj* resDictP, INCosDoc cosDoc, const CosObj* newResP)
Merges two Resources dictionaries in the same CosDoc; you cannot merge two resource dictionaries from different CosDocs.
 
void PDEPurgeCache(INPDDoc doc)
Clears the PDE Cache of this PDDoc. This method is only of interest to clients.
 
Removes unused objects from the PDFEdit scratch document, which is used to hold representations of PDFEdit resources associated with a specific document.
Defines Detail
_PDFEditReadHFT_IS_BETA 
Product availability: All
Platform availability: All

Syntax

#define _PDFEditReadHFT_IS_BETA 0

File: PERCalls.h
Line: 91
_PDFEditReadHFT_LAST_BETA_COMPATIBLE_VERSION 
Product availability: All
Platform availability: All

Syntax

#define _PDFEditReadHFT_LAST_BETA_COMPATIBLE_VERSION 0x000A0000

File: PERCalls.h
Line: 90
_PDFEditReadHFT_LATEST_VERSION 
Product availability: All
Platform availability: All

Syntax

#define _PDFEditReadHFT_LATEST_VERSION 0x000A0000

File: PERCalls.h
Line: 89
_PDFEditWriteHFT_IS_BETA 
Product availability: All
Platform availability: All

Syntax

#define _PDFEditWriteHFT_IS_BETA 0

File: PEWCalls.h
Line: 91
_PDFEditWriteHFT_LAST_BETA_COMPATIBLE_VERSION 
Product availability: All
Platform availability: All

Syntax

#define _PDFEditWriteHFT_LAST_BETA_COMPATIBLE_VERSION 0x000A0000

File: PEWCalls.h
Line: 90
_PDFEditWriteHFT_LATEST_VERSION 
Product availability: All
Platform availability: All

Syntax

#define _PDFEditWriteHFT_LATEST_VERSION 0x000A0000

File: PEWCalls.h
Line: 89
if 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

#define if READER_PLUGIN

File: PEWCalls.h
Line: 167
IN 
Product availability: All
Platform availability: All

Syntax

#define IN

File: PEExpT.h
Line: 69
include 
Product availability: PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

#define include h"

File: PEWCalls.h
Line: 129
kPDEAfterLast 
Product availability: All
Platform availability: All

Syntax

#define kPDEAfterLast (MAXInt32 - 1)

File: PEExpT.h
Line: 1432
kPDEBeforeFirst 
Product availability: All
Platform availability: All

Syntax

#define kPDEBeforeFirst ((ASInt32) -1)

File: PEExpT.h
Line: 1431
name 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

#define name ##SEL,

File: PEWCalls.h
Line: 148
OUT 
Product availability: All
Platform availability: All

Syntax

#define OUT

File: PEExpT.h
Line: 70
PDFEditReadHFT_LATEST_VERSION 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_LATEST_VERSION _PDFEditReadHFT_LATEST_VERSION)

File: PERCalls.h
Line: 94
PDFEditReadHFT_VERSION_10 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_VERSION_10 PDFEditReadHFT_LATEST_VERSION

File: PERCalls.h
Line: 101
PDFEditReadHFT_VERSION_4 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_VERSION_4 0x00040000

File: PERCalls.h
Line: 96
PDFEditReadHFT_VERSION_5 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_VERSION_5 0x00050000

File: PERCalls.h
Line: 97
PDFEditReadHFT_VERSION_6 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_VERSION_6 0x00060000

File: PERCalls.h
Line: 98
PDFEditReadHFT_VERSION_8_1 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_VERSION_8_1 0x00080001

File: PERCalls.h
Line: 99
PDFEditReadHFT_VERSION_9 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFT_VERSION_9 0x00090000

File: PERCalls.h
Line: 100
PDFEditReadHFTName 
Product availability: All
Platform availability: All

Syntax

#define PDFEditReadHFTName "PDFEditRead"

File: PEVers.h
Line: 24
PDFEditWriteHFT_LATEST_VERSION 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_LATEST_VERSION _PDFEditWriteHFT_LATEST_VERSION)

File: PEWCalls.h
Line: 94
PDFEditWriteHFT_VERSION_10 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_10 PDFEditWriteHFT_LATEST_VERSION

File: PEWCalls.h
Line: 103
PDFEditWriteHFT_VERSION_4 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_4 0x00040000

File: PEWCalls.h
Line: 96
PDFEditWriteHFT_VERSION_5 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_5 0x00050000

File: PEWCalls.h
Line: 97
PDFEditWriteHFT_VERSION_6 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_6 0x00060000

File: PEWCalls.h
Line: 98
PDFEditWriteHFT_VERSION_7 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_7 0x00070000

File: PEWCalls.h
Line: 99
PDFEditWriteHFT_VERSION_7_5 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_7_5 0x00070005

File: PEWCalls.h
Line: 100
PDFEditWriteHFT_VERSION_8 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_8 0x00080000

File: PEWCalls.h
Line: 101
PDFEditWriteHFT_VERSION_9 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFT_VERSION_9 0x00090000

File: PEWCalls.h
Line: 102
PDFEditWriteHFTName 
Product availability: All
Platform availability: All

Syntax

#define PDFEditWriteHFTName "PDFEditWrite"

File: PEVers.h
Line: 26
PEX1 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

#define PEX1

File: PEExpT.h
Line: 46
PEX1 
Product availability: PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

#define PEX1 ACEX1

File: PEExpT.h
Line: 49
PEX2 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

#define PEX2 ACCB2

File: PEExpT.h
Line: 47
PEX2 
Product availability: PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

#define PEX2 ACEX2

File: PEExpT.h
Line: 50

Typedefs Detail
PDEBlackPointFlt 
Product availability: All
Platform availability: All

Syntax

typedef PDEXYZColorFlt PDEBlackPointFlt;

A structure describing a black point in a calibrated color space.

See Also


File: PEExpT.h
Line: 1936
PDEColorSpec 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEColorSpec PDEColorSpec;

File: PEExpT.h
Line: 532
PDEColorSpecP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEColorSpec PDEColorSpecP;

File: PEExpT.h
Line: 532
PDEColorValue 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEColorValue PDEColorValue;

File: PEExpT.h
Line: 518
PDEColorValueP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEColorValue PDEColorValueP;

File: PEExpT.h
Line: 518
PDEDash 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEDash PDEDash;

File: PEExpT.h
Line: 555
PDEDashP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEDash PDEDashP;

File: PEExpT.h
Line: 555
PDEDeviceNColorData 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEDeviceNColorData PDEDeviceNColorData;

File: PEExpT.h
Line: 2108
PDEDoc 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEDoc* PDEDoc;

A reference to a PDEDoc.


File: PEExpT.h
Line: 415
PDEEmitStateP 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEEmitState* PDEEmitStateP;

A reference to the state of a writer.


File: PEExpT.h
Line: 372
PDEFilterArray 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEFilterArray PDEFilterArray;

File: PEExpT.h
Line: 851
PDEFilterArrayP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEFilterArray PDEFilterArrayP;

File: PEExpT.h
Line: 851
PDEFilterSpec 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEFilterSpec PDEFilterSpec;

File: PEExpT.h
Line: 831
PDEFilterSpecP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEFilterSpec PDEFilterSpecP;

File: PEExpT.h
Line: 831
PDEGlyphDescription 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGlyphDescription PDEGlyphDescription;

File: PEExpT.h
Line: 1234
PDEGlyphDescriptionP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGlyphDescription PDEGlyphDescriptionP;

File: PEExpT.h
Line: 1234
PDEGlyphRun 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGlyphRun PDEGlyphRun;

File: PEExpT.h
Line: 1253
PDEGlyphRunP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGlyphRun PDEGlyphRunP;

File: PEExpT.h
Line: 1253
PDEGraphicState 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGraphicState PDEGraphicState;

File: PEExpT.h
Line: 703
PDEGraphicStateP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGraphicState PDEGraphicStateP;

File: PEExpT.h
Line: 703
PDEGrayCalFlt 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEGrayCalFlt PDEGrayCalFlt;

File: PEExpT.h
Line: 1956
PDEICCBasedColorData 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEICCBasedColorData PDEICCBasedColorData;

File: PEExpT.h
Line: 2033
PDEIndexedColorData 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDEIndexedColorData PDEIndexedColorData;

File: PEExpT.h
Line: 2056
PDELabCalFlt 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDELabCalFlt PDELabCalFlt;

File: PEExpT.h
Line: 2006
PDEPage 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEPage* PDEPage;

A reference to a PDEPage.


File: PEExpT.h
Line: 420
PDEReader 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEReader* PDEReader;

An object used to read streams of PDEElement objects from page contents.


File: PEExpT.h
Line: 396
PDERGBCalFlt 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDERGBCalFlt PDERGBCalFlt;

File: PEExpT.h
Line: 1986
PDESeparationColorData 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDESeparationColorData PDESeparationColorData;

File: PEExpT.h
Line: 2080
PDESpanItem 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDESpanItem PDESpanItem;

File: PEExpT.h
Line: 1278
PDESpanItemP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDESpanItem PDESpanItemP;

File: PEExpT.h
Line: 1278
PDESpanSet 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDESpanSet PDESpanSet;

File: PEExpT.h
Line: 1289
PDESpanSetP 
Product availability: All
Platform availability: All

Syntax

typedef _t_PDESpanSet PDESpanSetP;

File: PEExpT.h
Line: 1289
PDEState 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEState* PDEState;

A reference to the state of a reader.


File: PEExpT.h
Line: 367
PDEWhitePointFlt 
Product availability: All
Platform availability: All

Syntax

typedef PDEXYZColorFlt PDEWhitePointFlt;

A structure describing a white point in a calibrated color space.

See Also


File: PEExpT.h
Line: 1930
PDEWriter 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEWriter* PDEWriter;

An object used to write streams of PDEElement objects to page content.


File: PEExpT.h
Line: 401

Enumeration Detail
PDEEnumElementsFlags
Product availability: All
Platform availability: All

Syntax

enum PDEEnumElementsFlags {
 kPDEContentIgnoreMarkedContent = 0x0001
}

See Also


File: PEExpT.h
Line: 1491

Elements
kPDEContentIgnoreMarkedContent  

Indicates whether Marked Content is ignored in the enumeration. This may be useful when generating elements purely for display purposes.

PDEGraphicStateWasSetFlags 
Product availability: All
Platform availability: All

Syntax

enum PDEGraphicStateWasSetFlags {
 kPDEFillCSpaceWasSet = 0x0001,
 
 kPDEFillCValueWasSet = 0x0002,
 
 kPDEStrokeCSpaceWasSet = 0x0004,
 
 kPDEStrokeCValueWasSet = 0x0008,
 
 kPDEDashWasSet = 0x0010,
 
 kPDELineWidthWasSet = 0x0020,
 
 kPDEMiterLimitWasSet = 0x0040,
 
 kPDEFlatnessWasSet = 0x0080,
 
 kPDELineCapWasSet = 0x0100,
 
 kPDELineJoinWasSet = 0x0200,
 
 kPDERenderIntentWasSet = 0x0400,
 
 kPDEExtGStateWasSet = 0x0800,
 
 kPDESoftMaskMatrixWasSet = 0x1000
}

See Also


File: PEExpT.h
Line: 562

Elements
kPDEFillCSpaceWasSet  

A fill color space was set corresponding to the cs (setcolorspace) operator.

 
kPDEFillCValueWasSet  

A color fill value was set corresponding to the sc (setcolor) operator.

 
kPDEStrokeCSpaceWasSet  

A color space stroke value was set corresponding to the CS (setcolorspace) operator.

 
kPDEStrokeCValueWasSet  

A color stroke value was set corresponding to the SC (setcolor) operator.

 
kPDEDashWasSet  

A dash specification was set corresponding to the d (setdash) operator.

 
kPDELineWidthWasSet  

The line width was set corresponding to the w (setlinewidth) operator.

 
kPDEMiterLimitWasSet  

The miter limit was set corresponding to the M (setmiterlimit) operator.

 
kPDEFlatnessWasSet  

Line flatness was set corresponding to the i (setflat) operator.

 
kPDELineCapWasSet  

Line cap style was set corresponding to the J (setlinecap) operator.

 
kPDELineJoinWasSet  

Line join style was set corresponding to the j (setlinejoin) operator.

 
kPDERenderIntentWasSet  

A color rendering intent was set corresponding to the Intent key in the image dictionary.

 
kPDEExtGStateWasSet  

An extended graphics state was set corresponding to the gs operator.

 
kPDESoftMaskMatrixWasSet  

The soft mask matrix has been set

PDEType 
Product availability: All
Platform availability: All

Syntax

enum PDEType {
 kPDEContent,
 
 kPDEText,
 
 kPDEPath,
 
 kPDEImage,
 
 kPDEForm,
 
 kPDEPS,
 
 kPDEXObject,
 
 kPDEClip,
 
 kPDEFont,
 
 kPDEColorSpace,
 
 kPDEExtGState,
 
 kPDEPlace,
 
 kPDEContainer,
 
 kPDSysFont,
 
 kPDEPattern,
 
 kPDEDeviceNColors,
 
 kPDEShading,
 
 kPDEGroup,
 
 kPDEUnknown,
 
 kPDEBeginContainer,
 
 kPDEEndContainer,
 
 kPDEBeginGroup,
 
 kPDEEndGroup,
 
 kPDEXGroup,
 
 kPDESoftMask,
 
 kPDSysEncoding,
 
 kPDEDoc,
 
 kPDEPage,
 
 kPDEReader,
 
 kPDEWriter,
 
 kPDETextItem,
 
 kPDEImageFlate,
 
 kPDEImageJPX,
 
 kJPXColorSpace,
 
 kJPXPalette,
 
 kPDELastType
}

See Also


File: PEExpT.h
Line: 1300

Elements
kPDEContent  

PDEContent object

 
kPDEText  

PDEText object

 
kPDEPath  

PDEPath object

 
kPDEImage  

PDEImage object

 
kPDEForm  

PDEForm object

 
kPDEPS  

PDEPS object

 
kPDEXObject  

PDEXObject object

 
kPDEClip  

PDEClip object

 
kPDEFont  

PDEFont object

 
kPDEColorSpace  

PDEColorSpace object

 
kPDEExtGState  

PDEExtGState object

 
kPDEPlace  

PDEPlace object

 
kPDEContainer  

PDEContainer object

 
kPDSysFont  

PDESysFont object

 
kPDEPattern  

PDEPattern object

 
kPDEDeviceNColors  

PDEDevineNColors object

 
kPDEShading  

PDEShading object

 
kPDEGroup  

PDEGroup object

 
kPDEUnknown  

PDEUnknown object

 
kPDEBeginContainer  

PDEBeginContainer object

 
kPDEEndContainer  

PDEEndContainer object

 
kPDEBeginGroup  

PDEBeginGroup object

 
kPDEEndGroup  

PDEEndGroup object

 
kPDEXGroup  

PDEXGroup object

 
kPDESoftMask  

PDESoftMask object

 
kPDSysEncoding  

PDSysEcoding object

 
kPDEDoc  

PDEDoc object

 
kPDEPage  

PDEPage object

 
kPDEReader  

PDEReader object

 
kPDEWriter  

PDEWriter object

 
kPDETextItem  

PDETextItem object

 
kPDEImageFlate  

PDEImageFlate object

 
kPDEImageJPX  

PDEImageJPX object

 
kJPXColorSpace  

JPXColorSpace object

 
kJPXPalette  

JPXPalette object

 
Variables Detail
advanceP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTASFixedPointP advanceP;

File: PERProcs.h
Line: 661
attrs 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INPDEContentAttrsP attrs;

This is the main method for converting a PDEContent into PDF contents and resources.

This method does not change the PDEContent object or its reference count.

The caller of this function is responsible for adding the contents and the resources returned from this method to the Page Object.

See Also

Exceptions

peErrUnknownResType
pageErrErrorParsingImage
pdErrBadResMetrics
peErrWrongPDEObjectType
peErrUnknownPDEColorSpace

Since


File: PEWProcs.h
Line: 103
attrsSize 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INPDEContentAttrsPINASUns32 attrsSize;

File: PEWProcs.h
Line: 104
bboxP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTASFixedRectP bboxP;

File: PERProcs.h
Line: 437
contentsP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INPDEContentAttrsPINASUns32INCosDocINPDEFilterArrayPOUTCosObj* contentsP;

File: PEWProcs.h
Line: 107
count 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASInt32 count;

File: PEWProcs.h
Line: 459
filtersP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INPDEContentAttrsPINASUns32INCosDocINPDEFilterArrayP filtersP;

File: PEWProcs.h
Line: 106
font 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont font;

File: PEWProcs.h
Line: 415
glyphRun 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INPDEGlyphRunP glyphRun;

File: PEWProcs.h
Line: 2915
gPDFEditReadHFT 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

HFT gPDFEditReadHFT;

File: PERCalls.h
Line: 162
gPDFEditReadVersion 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

ASUns32 gPDFEditReadVersion;

File: PERCalls.h
Line: 163
gPDFEditWriteHFT 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

HFT gPDFEditWriteHFT;

File: PEWCalls.h
Line: 185
gPDFEditWriteVersion 
Product availability: Acrobat, Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

ASUns32 gPDFEditWriteVersion;

File: PEWCalls.h
Line: 186
gstateLen 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont INPDEGraphicStatePINASUns32 gstateLen;

File: PEWProcs.h
Line: 417
gstateP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont INPDEGraphicStateP gstateP;

File: PEWProcs.h
Line: 416
index 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32 index;

Gets the bounding box of a character or a text run.

See Also

Exceptions

peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
peErrWrongPDEObjectType
genErrBadParm
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
genErrBadParm
peErrWrongPDEObjectType
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
genErrBadParm
peErrWrongPDEObjectType
peErrWrongPDEObjectType
genErrBadParm
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
peErrWrongPDEObjectType
genErrBadParm

Since

PI_PDFEDIT_READ_VERSION >= 0x00040000Gets the graphics state of a character or a text run.
PI_PDFEDIT_READ_VERSION >= 0x00040000Gets the text state of a character or a text element.
PI_PDFEDIT_READ_VERSION >= 0x00040000Gets the font for a text character or element.
PI_PDFEDIT_READ_VERSION >= 0x00040000Superseded by PDETextGetTextMatrixEx() in Acrobat 10.0.Gets the matrix of a character or a text run.
PI_PDFEDIT_READ_VERSION >= 0x00040000Superseded by PDETextGetStrokeMatrixEx() in Acrobat 10.0.Gets the stroke matrix of a character or a text run.
PI_PDFEDIT_READ_VERSION >= 0x00040000Gets the advance width of a character or a text element. Advance width is returned in either character space or user space. The advance width is the amount by which the current point advances when the character is drawn.Advance width may be horizontal or vertical, depending on the writing style. Thus advanceP has both a horizontal and vertical component.
PI_PDFEDIT_READ_VERSION >= 0x00040000Gets the text for a text run or character.
PI_PDFEDIT_READ_VERSION >= 0x00040000Gets the quad bounding the specified text run or character.The advance portion of the quad is based on the left side bearing and advance width.
PI_PDFEDIT_READ_VERSION >= 0x00040000Tests whether a point is on specified text. It checks if the point is in a bounding box for the PDEText.
PI_PDFEDIT_READ_VERSION >= 0x00040000Tests whether any part of a rectangle is on the specified text.
PI_PDFEDIT_READ_VERSION >= 0x00040000Returns the text state of a character or a text element.
PI_PDFEDIT_READ_VERSION >= 0x00050000Superseded by PDETextGetMatrixEx() in Acrobat 10.0.Returns the matrix of a character or a text element. Unlike PDETextGetTextMatrix(), this function does not take fontSize, hScale, and textRise in the textState into account.
PI_PDFEDIT_READ_VERSION >= 0x00050000Gets the advance width of a character or a text element. Advance width is returned in either character space or user space. The advance width is the amount by which the current point advances when the character is drawn.Advance width may be horizontal or vertical, depending on the writing style. Thus advanceP has both a horizontal and vertical component.
PI_PDFEDIT_READ_VERSION >= 0x00040000Supersedes PDETextGetTextMatrix() in Acrobat 10.0.Gets the matrix of a character or a text run.
PI_PDFEDIT_READ_VERSION >= 0x000A0000Supersedes PDETextGetStrokeMatrix() in Acrobat 10.0.Gets the stroke matrix of a character or a text run.
PI_PDFEDIT_READ_VERSION >= 0x000A0000Supersedes PDETextGetMatrix() in Acrobat 10.0.Returns the matrix of a character or a text element. Unlike PDETextGetTextMatrixEx(), this function does not take fontSize, hScale, and textRise in the textState into account.
PI_PDFEDIT_READ_VERSION >= 0x000A0000

File: PERProcs.h
Line: 436
index 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32 index;

Superseded by PDETextAddEx() in Acrobat 10.0.

Adds a character or a text run to a PDEThe text object.

See Also

Exceptions

pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm
pdErrBadResMetrics
peErrWrongPDEObjectType
genErrBadParm

Since

PI_PDFEDIT_WRITE_VERSION >= 0x00040000Removes characters or text runs from a text object.
PI_PDFEDIT_WRITE_VERSION >= 0x00040000Replaces characters in a text object.This method does not change the number of characters in the text object; extra characters are ignored.
PI_PDFEDIT_WRITE_VERSION >= 0x00040000Superseded by PDETextAddGlyphsEx() in Acrobat 10.0.Adds Unicode text to a PDEText object.
PI_PDFEDIT_WRITE_VERSION >= 0x00070000Supersedes PDETextAddGlyphs() in Acrobat 10.0.Adds Unicode text to a PDEText object.
PI_PDFEDIT_WRITE_VERSION >= 0x000A0000Supersedes PDETextAdd() in Acrobat 10.0.Adds a character or a text run to a PDEThe text object.
PI_PDFEDIT_WRITE_VERSION >= 0x000A0000

File: PEWProcs.h
Line: 412
matrixP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTASFixedMatrixP matrixP;

File: PERProcs.h
Line: 583
numChars 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32 numChars;

File: PEWProcs.h
Line: 1441
pdeElement 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INPDEElement pdeElement;

Adds an element to a clip path.

See Also

Exceptions

peErrWrongPDEObjectType
genErrBadParm

Since


File: PEWProcs.h
Line: 728
point 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASFixedPoint point;

File: PERProcs.h
Line: 1916
quadP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTASFixedQuadP quadP;

File: PERProcs.h
Line: 1504
rect 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASFixedRect rect;

File: PERProcs.h
Line: 1948
resourcesP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INPDEContentAttrsPINASUns32INCosDocINPDEFilterArrayPOUTCosObjOUTCosObj* resourcesP;

File: PEWProcs.h
Line: 108
stateP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTPDEGraphicStateP stateP;

File: PERProcs.h
Line: 472
stateSize 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTPDEGraphicStatePINASUns32 stateSize;

File: PERProcs.h
Line: 473
strokeMatrixP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont INPDEGraphicStatePINASUns32INPDETextStatePINASUns32INASFixedMatrixPINASFixedMatrixP strokeMatrixP;

File: PEWProcs.h
Line: 421
text 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8* text;

File: PEWProcs.h
Line: 413
textBuffer 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32OUTASUns8* textBuffer;

File: PERProcs.h
Line: 696
textBuffer 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8* textBuffer;

File: PEWProcs.h
Line: 1440
textLen 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32 textLen;

File: PEWProcs.h
Line: 414
textMatrixP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont INPDEGraphicStatePINASUns32INPDETextStatePINASUns32INASFixedMatrixP textMatrixP;

File: PEWProcs.h
Line: 420
tstateLen 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont INPDEGraphicStatePINASUns32INPDETextStatePINASUns32 tstateLen;

File: PEWProcs.h
Line: 419
tstateP 
Product availability: Reader
Platform availability: Macintosh, Windows, UNIX

Syntax

INASInt32INASUns8INASInt32IN PDEFont INPDEGraphicStatePINASUns32INPDETextStateP tstateP;

File: PEWProcs.h
Line: 418

Structure Detail
_t_PDEColorSpec
Product availability: All
Platform availability: All

Syntax

struct _t_PDEColorSpec {
 PDEColorSpace space; 
 
 PDEColorValue value; 
}

A structure describing a color specification.


File: PEExpT.h
Line: 525

Elements
space  

The specified PDEColorSpace.

 
value  

The color value.

_t_PDEColorValue 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEColorValue {
 ASFixed color[7]; 
 
 PDEObject colorObj2; 
 
 PDEObject colorObj; 
}

A structure describing a color value.


File: PEExpT.h
Line: 503

Elements
color  

Color value components. For example, a Gray color space has one component, an RGB color space has three components, a CMYK has four components, and so on. Use color[0] for the Separation color space.

 
colorObj2  

Used if the color space is DeviceN.

 
colorObj  

Used for color spaces whose color values do not have numeric values, such as the Pattern color space.

_t_PDEDash 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEDash {
 ASFixed dashPhase; 
 
 ASInt32 dashLen; 
 
 ASFixed dashes[11]; 
}

A structure describing a dash specification, as described in Table 4.8 in the PDF Reference. See Section 4.3.2 for more information on line dash patterns.


File: PEExpT.h
Line: 541

Elements
dashPhase  

The dash phase. The phase is a number that specifies a distance in user space into the dash pattern at which to begin marking the path.

 
dashLen  

The number of entries in the dash array, which is an element of the Border array.

 
dashes  

The dash array, which specifies distances in user space for the lengths of dashes and gaps.

_t_PDEDeviceNColorData 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEDeviceNColorData {
 ASSize_t size; 
 
 ASAtom names; 
 
 ASUns32 nNames; 
 
 PDEColorSpace alt; 
 
 CosObj tintTransform; 
}

A structure describing a DeviceRGB or DeviceCMYK color space.

See Also


File: PEExpT.h
Line: 2088

Elements
size  

The size of the data structure. It must be set to sizeof(PDEDeviceNColorData).

 
names  

The names of the colorants.

 
nNames  

The number of colorants.

 
alt  

The alternate color space.

 
tintTransform  

The tintTransform dictionary or function. See Section 4.5.5 in the PDF Reference for more information.

_t_PDEFilterArray 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEFilterArray {
 ASInt32 numFilters; 
 
 PDEFilterSpec spec[1]; 
}

Filter information for streams.

Although the PDEFilterSpec is declared as a one member array in the header file, more members can be added by dynamically allocating the PDEFilterArray with space for as many filters as you would like to add. In practice, there is seldom need for more than two filters.

See Also


File: PEExpT.h
Line: 844

Elements
numFilters  

The number of filters in the array.

 
spec  

A variable length array of filter specifications.

_t_PDEFilterSpec 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEFilterSpec {
 CosObj decodeParms; 
 
 CosObj encodeParms; 
 
 ASAtom name; 
 
 ASInt16 padding; 
}

The filter element in a filter array.

See Also


File: PEExpT.h
Line: 791

Elements
decodeParms  

Parameters used by the decoding filters specified with the Filter key. It corresponds to the DecodeParms key in the stream dictionary.

It must be set to NULL if PDEFilterSpec is specified but no encode or decode parameters are specified. This can be done by passing CosNewNull for the unused encode and/or decode parameters.

The required decode parameters for DCTDecode are Columns, Rows, and Colors. The parameters should be passed in a CosDict.

 
encodeParms  

Parameters used when encoding the stream. It is required for the DCTDecode filter, but is optional for other filters.

It must be set to NULL if PDEFilterSpec is specified but no encode or decode parameters are specified. This can be done by passing CosNewNull for the unused encode and/or decode parameters.

 
name  

The filter name. The supported filters are:

  • ASCIIHexDecode

  • ASCII85Decode

  • LZWDecode

  • DCTDecode

  • CCITTFaxDecode

  • RunLengthDecode

  • FlateDecode

 
padding  

Reserved - used to align to 32 bits.

_t_PDEGlyphDescription 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEGlyphDescription {
 ASUns32 glyphID; 
 
 ASInt16 charIndices; 
 
 ASInt32 charIndicesLen; 
 
 ASReal xPosition; 
 
 ASReal yPosition; 
}

A data structure used for adding Unicode text.

See Also


File: PEExpT.h
Line: 1216

Elements
glyphID  

The GlyphID of a glyph being added.

 
charIndices  

An array of indices to Unicode characters, from the uniText member of the PDEGlyphRun struct, represented by this glyph.

 
charIndicesLen  

The count of the indices in the charIndices array.

 
xPosition  

The x position of where to place this glyph.

 
yPosition  

The y position of where to place this glyph.

_t_PDEGlyphRun 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEGlyphRun {
 PDEGlyphDescriptionP glyphs; 
 
 ASInt32 glyphLen; 
 
 ASUTF32Val uniText; 
 
 ASInt32 uniTextLen; 
}

A data structure used for adding Unicode text.

See Also


File: PEExpT.h
Line: 1240

Elements
glyphs  

A pointer to the array of PDEGlyphDescription items.

 
glyphLen  

The count of items in the PDEGlyphDescription array.

 
uniText  

An array of Unicode characters in UTF32HE format.

 
uniTextLen  

The count of characters in uniText array.

_t_PDEGraphicState 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEGraphicState {
 ASUns32 wasSetFlags; 
 
 PDEColorSpec fillColorSpec; 
 
 PDEColorSpec strokeColorSpec; 
 
 PDEDash dash; 
 
 ASFixed lineWidth; 
 
 ASFixed miterLimit; 
 
 ASFixed flatness; 
 
 ASInt32 lineCap; 
 
 ASInt32 lineJoin; 
 
 ASAtom renderIntent; 
 
 PDEExtGState extGState; 
 
 ASFixedMatrix softMaskMatrix; 
}

Attributes of a PDEElement or a PDEText sub-element.

See Also


File: PEExpT.h
Line: 639

Elements
wasSetFlags  

PDEGraphicStateWasSetFlags indicating if an attribute has been set.

 
fillColorSpec  

The fill color specification. The default value is DeviceGray, fixedZero.

 
strokeColorSpec  

The stroke color specification. The default value is DeviceGray, fixedZero.

 
dash  

The dash specification. The default value is [0, 0].

 
lineWidth  

The line width corresponding to the w (setlinewidth) operator. The default value is fixedOne.

 
miterLimit  

The miter limit corresponding to the M (setmiterlimit) operator. The default value is fixedTen.

 
flatness  

The line flatness corresponding to the i (setflat) operator. The default value is fixedZero.

 
lineCap  

The line cap style corresponding to the J (setlinecap) operator. The default value is 0.

 
lineJoin  

Line join style corresponding to the j (setlinejoin) operator. The default value is 0.

 
renderIntent  

A color rendering intent corresponding to the Intent key in the image dictionary. The default value is 0.

 
extGState  

An extended graphics flag corresponding to the gs operator. The default value is CosObj, NULL.

 
softMaskMatrix  

The CTM at the time soft mask was established. The default value is identity matrix.

_t_PDEGrayCalFlt 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEGrayCalFlt {
 PDEWhitePointFlt whitePoint; 
 
 PDEBlackPointFlt blackPoint; 
 
 float gamma; 
}

A structure describing a CalGray color space.

Default value: PDEGrayCalFlt calGray = {{0, 0, 0}, {0, 0, 0}, 1};

See Also


File: PEExpT.h
Line: 1946

_t_PDEICCBasedColorData 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEICCBasedColorData {
 ASSize_t size; 
 
 ASStm iccstream; 
 
 ASUns32 nComps; 
 
 PDEColorSpace altCs; 
}

An ICC-based color space.


File: PEExpT.h
Line: 2020

Elements
size  

Set the size to sizeof(PDEICCColorData).

 
iccstream  

A stream containing an ICC Profile.

 
nComps  

The number of color components (1, 3, or 4).

 
altCs  

(Optional) An alternate color space.

_t_PDEIndexedColorData 
Product availability: All
Platform availability: All

Syntax

struct _t_PDEIndexedColorData {
 ASSize_t size; 
 
 PDEColorSpace baseCs; 
 
 ASUns16 hival; 
 
 char* lookup; 
 
 ASUns32 lookupLen; 
}

A structure describing an indexed color space.

See Also


File: PEExpT.h
Line: 2040

Elements
size  

Set the size to sizeof(PDEIndexedColorData).

 
baseCs  

The base color space.

 
hival  

The highest color value.

 
lookup  

Indexed color lookup data.

 
lookupLen  

The number of bytes in the lookup data.

_t_PDELabCalFlt 
Product availability: All
Platform availability: All

Syntax

struct _t_PDELabCalFlt {
 PDEWhitePointFlt whitePoint; 
 
 PDEBlackPointFlt blackPoint; 
 
 PDEColorRangeFlt rangeA; 
 
 PDEColorRangeFlt rangeB; 
}

A structure describing a Lab color space.

Default value: {{0, 0, 0}, {0, 0, 0}, {-100, 100}, {-100, 100}};

See Also


File: PEExpT.h
Line: 1996

_t_PDERGBCalFlt 
Product availability: All
Platform availability: All

Syntax

struct _t_PDERGBCalFlt {
 PDEWhitePointFlt whitePoint; 
 
 PDEBlackPointFlt blackPoint; 
 
 float redGamma; 
 
 float greenGamma; 
 
 float blueGamma; 
 
 float matrix[9]; 
}

A structure describing a CalRGB color space. It is the same as AGMRGBCalFlt (it is only available as part of the PDF Library SDK).

Default value: {{0, 0, 0}, {0, 0, 0}, 1, 1, 1, {1, 0, 0, 0, 1, 0, 0, 0, 1}};

See Also


File: PEExpT.h
Line: 1967

_t_PDESeparationColorData 
Product availability: All
Platform availability: All

Syntax

struct _t_PDESeparationColorData {
 ASSize_t size; 
 
 ASAtom name; 
 
 PDEColorSpace alt; 
 
 CosObj tintTransform; 
}

A structure describing a separation color space.

See Also


File: PEExpT.h
Line: 2063

Elements
size  

The size of the data structure. It must be set to sizeof(PDESeparationColorData).

 
name  

The name of the separation or colorant.

 
alt  

The alternate color space.

 
tintTransform  

The tintTransform dictionary or function. See Section 4.5.5 in the PDF Reference.

_t_PDESpanItem 
Product availability: All
Platform availability: All

Syntax

struct _t_PDESpanItem {
 ASInt32 firstGlyph; 
 
 ASInt32 nGlyphs; 
 
 ASInt32 firstUniChar; 
 
 ASInt32 nUniChars; 
}


File: PEExpT.h
Line: 1258

Elements
firstGlyph  

The index into the glyphs array in a PDEGlyphRun object.

 
nGlyphs  

The number of glyphs in the span starting from firstGlyph. This can be zero, indicating there are no glyphs for this Unicode string. The firstGlyph indicates the glyph that precedes the Unicode string.

 
firstUniChar  

The index into the uniText array in a PDEGlyphRun object.

 
nUniChars  

The number of Unicode characters in the span starting from firstUniChar. This count can be zero, indicating there are no Unicode values for the range of glyphs.

_t_PDESpanSet 
Product availability: All
Platform availability: All

Syntax

struct _t_PDESpanSet {
 PDESpanItemP spans; 
 
 ASInt32 spanCount; 
}


File: PEExpT.h
Line: 1280

Elements
spans  

A pointer to array of spans corresponding to the PDEGlyphRun object.

 
spanCount  

The count of spans in the spans array.

PDEColorRangeFlt 
Product availability: All
Platform availability: All

Syntax

struct PDEColorRangeFlt {
 float min; 
 
 float max; 
}


File: PEExpT.h
Line: 1915

PDEXYZColorFlt 
Product availability: All
Platform availability: All

Syntax

struct PDEXYZColorFlt {
 float x; 
 
 float y; 
 
 float z; 
}


File: PEExpT.h
Line: 1920

Callbacks Detail
PDEAttrEnumProc 
Product availability: All
Platform availability: All

Syntax

ASBool (*PDEAttrEnumProc)(IN void *attrHdrP, IN ASUns32 refCount, IN ASUns16 size, IN void *clientData)

A callback for PDEAttrEnumTable(). It is called once for each attribute in a table.

See Also


File: PEExpT.h
Line: 1909

Method Detail
PDEDefaultGState()
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEDefaultGState(OUTPDEGraphicStateP stateP, INASInt32 stateSize)

Fills out a PDEGraphicStateP structure with the default graphic state.

Parameters

stateP — 

(Filled by the method) A pointer to a PDEGraphicStateP structure with the default graphic state.

 
stateSize — 

The size of the stateP structure in bytes.

Since


File: PERProcs.h
Line: 1627
PDEEnumElements() 
Product availability: All
Platform availability: All

Syntax

void PDEEnumElements(const CosObj* contents, const CosObj* resources, INASUns32 flags, INPDEElementEnumProc enumProc, IN void* enumProcClientData)

Enumerates all the PDEElements in a given stream. It is similar to PDEContentCreateFromCosObj(), but provides enumeration instead of a list of elements.

If marked content is not ignored, each PDEContainer contains a PDEContent list within itself.

Parameters

contents — 

IN/OUT A Cos object that is the source for the content stream. It may be page contents, a Form XObject, a Type 3 font CharProc, or an appearance object from an annotation.

 
resources — 

IN/OUT The object's Resources dictionary. If the Form or Type 3 font or appearance dictionary contains a Resources dictionary, this dictionary must be passed in resources. Otherwise, it must be the page resources object of the page containing the Form or Type 3 font contents object.

 
flags — 

IN/OUT Flags from PDEEnumElementsFlags.

 
enumProc — 

IN/OUT A user-supplied callback to call once for each top-level element. Note that the element in enumProc may only be valid for this method. Use PDEAcquire() if you need to hold on to the element longer than the scope of enumProc.

 
enumProcClientData — 

IN/OUT A pointer to user-supplied data to pass to enumProc each time it is called.

See Also

Exceptions

peErrWrongPDEObjectType
genErrBadParm
peErrPStackUnderflow
peErrCantGetImageDict

Since


File: PERProcs.h
Line: 1682
PDEMergeResourcesDict() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEMergeResourcesDict(OUTCosObj* resDictP, INCosDoc cosDoc, const CosObj* newResP)

Merges two Resources dictionaries in the same CosDoc; you cannot merge two resource dictionaries from different CosDocs.

Both dictionaries and what they reference must be in cosDoc. The objects referenced by newResP are appended to resDictP.

This method only operates on the Cos dictionaries. It assumes there are no resource name conflicts.

This method is useful for adding form resources to page resource dictionaries. This is only necessary if creating PDF 1.1 or earlier files for use with Acrobat 2.1 or earlier. This is unnecessary if creating PDF 1.2 or later documents.

Parameters

resDictP — 

IN/OUT (Filled by the method) The dictionary to which newResP is merged. When the method completes, resDictP is the merged dictionary result.

 
cosDoc — 

IN/OUT The CosDoc containing both dictionaries.

 
newResP — 

IN/OUT The dictionary to merge with resDictP.

Exceptions

genErrBadParm

Since


File: PEWProcs.h
Line: 1200
PDEPurgeCache() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEPurgeCache(INPDDoc doc)

Clears the PDE Cache of this PDDoc. This method is only of interest to clients.

Parameters

doc — 

A PDDoc whose cache is purged.

Since


File: PEWProcs.h
Line: 1453
PDEScratchDocCleanup() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEScratchDocCleanup()

Removes unused objects from the PDFEdit scratch document, which is used to hold representations of PDFEdit resources associated with a specific document.

Since


File: PEWProcs.h
Line: 3450