#define IN
#define OUT
#define PEX1
ACCB1
#define PEX1
ACEX1
#define PEX2
ACCB2
#define PEX2
ACEX2
#define kPDEAfterLast
(
MAXInt32
-
1
)
#define kPDEBeforeFirst
(
(
ASInt32
)
-
1
)
#define kPDFStateSetAll
(
(
ASUns32
)
-
1
)
kPDCodePageWinEastEuropeanRoman = 1250 | |
kPDCodePageWinCyrillic = 1251 | |
kPDCodePageWinGreek = 1253 | |
kPDCodePageWinTurkish = 1254 | |
kPDCodePageWinHebrew = 1255 | |
kPDCodePageWinArabic = 1256 | |
kPDCodePageWinBaltic = 1257 | |
kPDCodePageMacCentralEuropean = - 9994 | |
kPDCodePageMacCroatian = - 9993 | |
kPDCodePageMacRomanian = - 9992 | |
kPDCodePageMacCyrillic = - 9991 | |
kPDCodePageMacUkrainian = - 9990 | |
kPDCodePageMacGreek = - 9989 | |
kPDCodePageMacTurkish = - 9988 | |
kPDCodePageMacHebrew = - 9987 | |
kPDCodePageMacArabic = - 9986 |
kPDEContentIgnoreMarkedContent = 0x0001 | Indicates whether Marked Content is ignored in the enumeration. This may be useful when generating elements purely for display purposes.
|
kPDEContentParsingAForm = 2 |
kPDEFillCSpaceWasSet = 0x0001 | A fill color space was set corresponding to the cs (
setcolorspace ) operator. |
kPDEFillCValueWasSet = 0x0002 | A color fill value was set corresponding to the sc (
setcolor ) operator. |
kPDEStrokeCSpaceWasSet = 0x0004 | A color space stroke value was set corresponding to the CS (
setcolorspace ) operator. |
kPDEStrokeCValueWasSet = 0x0008 | A color stroke value was set corresponding to the SC (
setcolor ) operator. |
kPDEDashWasSet = 0x0010 | A dash specification was set corresponding to the d (
setdash ) operator. |
kPDELineWidthWasSet = 0x0020 | The line width was set corresponding to the w (
setlinewidth ) operator. |
kPDEMiterLimitWasSet = 0x0040 | The miter limit was set corresponding to the M (
setmiterlimit ) operator. |
kPDEFlatnessWasSet = 0x0080 | Line flatness was set corresponding to the i (
setflat ) operator. |
kPDELineCapWasSet = 0x0100 | Line cap style was set corresponding to the J (
setlinecap ) operator. |
kPDELineJoinWasSet = 0x0200 | Line join style was set corresponding to the j (
setlinejoin ) operator. |
kPDERenderIntentWasSet = 0x0400 | A color rendering intent was set corresponding to the Intent key in the image dictionary.
|
kPDEExtGStateWasSet = 0x0800 | An extended graphics state was set corresponding to the gs operator.
|
kPDESoftMaskMatrixWasSet = 0x1000 | The soft mask matrix has been set
|
kPDEStateWasSetByPDEParse = 0x01000000 |
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 | PDSysFont object
|
kPDEPattern | PDEPattern object
|
kPDEDeviceNColors | PDEDeviceNColors 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 | PDSysEncoding 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
|
kPDEGraphicFont | |
kPDELastType |
typedef
float
ASFloat
;
typedef
struct
_t_PDEDoc
*
PDEDoc
;
typedef
struct
_t_PDEEmitState
*
PDEEmitStateP
;
typedef
struct
_t_PDEPage
*
PDEPage
;
typedef
struct
_t_PDEReader
*
PDEReader
;
typedef
struct
_t_PDEState
*
PDEState
;
typedef
struct
_t_PDEWriter
*
PDEWriter
;
| |
The specified PDEColorSpace.
| |
The color value.
| |
|
| |
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. | |
Used if the color space is DeviceN.
| |
Used for color spaces whose color values do not have numeric values, such as the Pattern color space.
| |
|
A structure describing a dash specification. See the description of the dash specification ("D") in the Graphics State Parameter Dictionaries in the ISO 32000-1:2008, Document Management-Portable Document Format-Part 1: PDF 1.7, section 8.10, page 128.
You can find this document on the web store of the International Standards Organization (ISO).
For more information on dash patterns, see table 56, on page 127.
| |
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.
| |
The number of entries in the dash array, which is an element of the Border array.
| |
The dash array, which specifies distances in user space for the lengths of dashes and gaps.
| |
|
A structure describing a dash specification. See the description of the dash specification ("D") in the Graphics State Parameter Dictionaries in the ISO 32000-1:2008, Document Management-Portable Document Format-Part 1: PDF 1.7, section 8.10, page 128.
You can find this document on the web store of the International Standards Organization (ISO).
For more information on dash patterns, see table 56, on page 127.
| |
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.
| |
The number of entries in the dash array, which is an element of the Border array.
| |
The dash array, which specifies distances in user space for the lengths of dashes and gaps.
| |
|
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.
| |
The number of filters in the array.
| |
A variable length array of filter specifications.
| |
|
| |
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
The required decode parameters for DCTDecode are | |
Parameters used when encoding the stream. It is required for the DCTDecode filter, but is optional for other filters. It must be set to | |
| |
Reserved- used to align to 32 bits.
| |
|
| |
The GlyphID of a glyph being added.
| |
An array of indices to Unicode characters, from the
uniText member of the PDEGlyphRun struct , represented by this glyph. | |
The count of the indices in the
charIndices array. | |
The x position of where to place this glyph.
| |
The y position of where to place this glyph.
| |
|
| |
A pointer to the array of PDEGlyphDescription items.
| |
The count of items in the PDEGlyphDescription array.
| |
An array of Unicode characters in UTF32HE format.
| |
The count of characters in uniText array.
| |
|
| |
PDEGraphicStateWasSetFlags indicating if an attribute has been set.
| |
The fill color specification. The default value is DeviceGray, fixedZero.
| |
The stroke color specification. The default value is DeviceGray, fixedZero.
| |
The dash specification. The default value is
[0, 0] . | |
The line width corresponding to the w (
setlinewidth ) operator. The default value is fixedOne . | |
The miter limit corresponding to the M (
setmiterlimit ) operator. The default value is fixedTen. | |
The line flatness corresponding to the i (
setflat ) operator. The default value is fixedZero. | |
The line cap style corresponding to the J (
setlinecap ) operator. The default value is 0 . | |
Line join style corresponding to the j (
setlinejoin ) operator. The default value is 0 . | |
A color rendering intent corresponding to the Intent key in the image dictionary. The default value is
RelativeColorimetric . | |
The CTM at the time soft mask was established. The default value is identity matrix.
| |
|
| |
PDEGraphicStateWasSetFlags indicating if an attribute has been set.
| |
The fill color specification. The default value is DeviceGray, fixedZero.
| |
The stroke color specification. The default value is DeviceGray, fixedZero.
| |
The dash specification. The default value is
[0, 0] . | |
The line width corresponding to the w (
setlinewidth ) operator. The default value is 1 . | |
The miter limit corresponding to the M (
setmiterlimit ) operator. The default value is 10 . | |
The line flatness corresponding to the i (
setflat ) operator. The default value is 0 . | |
The line cap style corresponding to the J (
setlinecap ) operator. The default value is 0 . | |
Line join style corresponding to the j (
setlinejoin ) operator. The default value is 0 . | |
A color rendering intent corresponding to the Intent key in the image dictionary. The default value is
RelativeColorimetric . | |
The CTM at the time soft mask was established. The default value is identity matrix.
| |
|
Note: Non-NULL objects in the graphic state, such as the fill and stroke color spaces, have their reference counts incremented by this method. Be sure to release these non- NULL objects when disposing of stateP
.
void
PDEDefaultGState(
OUT
PDEGraphicStateP
stateP
,
IN
ASInt32
stateSize
);
stateP | (Filled by the method) A pointer to a PDEGraphicState structure with the default graphic state.
|
stateSize | The size of the
stateP structure in bytes. |
Note: Non-NULL objects in the graphic state, such as the fill and stroke color spaces, have their reference counts incremented by this method. Be sure to release these non- NULL objects when disposing of stateP
.
void
PDEDefaultGStateEx(
OUT
PDEGraphicStateExP
stateP
,
IN
ASInt32
stateSize
);
stateP | (Filled by the method) A pointer to a PDEGraphicStateEx structure with the default graphic state.
|
stateSize | The size of the
stateP structure in bytes. |
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 was useful for adding form resources to page resource dictionaries, but that is no longer necessary.
Note: Since PDFEdit resolves resource names across PDEContent objects, this routine is safe for using with PDFEdit methods. This method may be unsafe if you modify streams and dictionaries outside of the PDFEdit API.
void
PDEMergeResourcesDict(
OUT
CosObj
*
resDictP
,
IN
CosDoc
cosDoc
,
IN
const
CosObj
*
newResP
);
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 . |
Note: It is not recommended that you call this method directly; it is provided only for backwards compatibility.
void
PDEPurgeCache(
IN
PDDoc
doc
);
doc | A PDDoc whose cache is purged.
|
void
PDEScratchDocCleanup(
void
);