| Layer | PDFEdit_Layer |
| Object | PDSysEncoding |
A PDSysEncoding is a subclass of PDEElement that provides system encoding for a PDF file.
| Typedef | ||
|---|---|---|
| PDSysEncoding
A PDEElement that provides system encoding for a PDF file.
|
||
| Enumeration | ||
|---|---|---|
| Method | ||
|---|---|---|
|
PDSysEncoding PDSysEncodingCreateFromBaseName(INASAtom baseEncName, IN const char** diffEnc)
Create an encoding object from the base name.
|
||
|
PDSysEncoding PDSysEncodingCreateFromCMapName(INASAtom cmapName)
Create an encoding object from a PDF CMap name.
|
||
|
PDSysEncoding PDSysEncodingCreateFromCMapStream(INCosObj cmapStream)
Creates an encoding object from a given PDF CMap stream.
|
||
|
Create an encoding object from a code page.
|
||
|
ASInt16 PDSysEncodingGetWMode(INPDSysEncoding sysEnc)
Returns writing mode. 0 for horizontal writing and 1 for vertical writing.
|
||
|
ASBool PDSysEncodingIsIdentity(INPDSysEncoding sysEnc)
Returns true for Identity-H or Identity-V encoding, false otherwise.
|
||
|
ASBool PDSysEncodingIsMultiByte(INPDSysEncoding sysEnc)
Returns true for CMap encoding, false otherwise.
|
||
|
IN/OUT An object of type PDSysEncoding.
|
||
| PDSysEncoding |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
typedef struct _t_PDSysEncoding* PDSysEncoding;
A PDEElement that provides system encoding for a PDF file.
See Also
| File: PEExpT.h |
| Line: 410 |
| PDSysEncodingCodePage |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
enum PDSysEncodingCodePage {
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
}
| File: PEExpT.h |
| Line: 2282 |
| PDSysEncodingCreateFromBaseName | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
PDSysEncoding PDSysEncodingCreateFromBaseName(INASAtom baseEncName, IN const char** diffEnc)
Create an encoding object from the base name.
Call PDERelease() to dispose of the returned PDSysEncoding object when finished with it.
Parameters
baseEncName — | IN/OUT The base encoding. See Section 5.5.5 in the PDF Reference. |
|
diffEnc — | IN/OUT An array of 256 |
An object of type PDSysEncoding. |
See Also
Exceptions
Since
| File: PEWProcs.h |
| Line: 2321 |
| PDSysEncodingCreateFromCMapName | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
PDSysEncoding PDSysEncodingCreateFromCMapName(INASAtom cmapName)
Create an encoding object from a PDF CMap name.
Call PDERelease() to dispose of the returned PDSysEncoding object when finished with it.
Parameters
cmapName — | The CMap name. |
An object of type PDSysEncoding. |
See Also
Exceptions
Since
| File: PEWProcs.h |
| Line: 2333 |
| PDSysEncodingCreateFromCMapStream | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
PDSysEncoding PDSysEncodingCreateFromCMapStream(INCosObj cmapStream)
Creates an encoding object from a given PDF CMap stream.
Call
PDERelease()
to dispose of the returned PDSysEncoding object when it is no longer needed.
Parameters
cmapStream — | The CMap stream from which to create the encoding object. |
The encoding object to be created. |
See Also
Since
| File: PEWProcs.h |
| Line: 3590 |
| PDSysEncodingCreateFromCodePage | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
PDSysEncoding PDSysEncodingCreateFromCodePage(INASInt32 codePage, INASInt16 wMode)
Create an encoding object from a code page.
Call PDERelease() to dispose of the returned PDSysEncoding object when finished with it.
Parameters
codePage — | The code page character-mapping construct. See Code Page Values. |
|
wMode — |
|
An object of type PDSysEncoding. |
See Also
Exceptions
Since
| File: PEWProcs.h |
| Line: 2596 |
| PDSysEncodingGetWMode | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
ASInt16 PDSysEncodingGetWMode(INPDSysEncoding sysEnc)
Returns writing mode. 0 for horizontal writing and 1 for vertical writing.
Parameters
sysEnc — | IN/OUT An object of type PDSysEncoding. |
|
Exceptions
Since
| File: PERProcs.h |
| Line: 2496 |
| PDSysEncodingIsIdentity | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
ASBool PDSysEncodingIsIdentity(INPDSysEncoding sysEnc)
Returns true for Identity-H or Identity-V encoding, false otherwise.
Parameters
sysEnc — | IN/OUT An object of type PDSysEncoding. |
See above. |
Exceptions
Since
| File: PERProcs.h |
| Line: 2508 |
| PDSysEncodingIsMultiByte | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
ASBool PDSysEncodingIsMultiByte(INPDSysEncoding sysEnc)
Returns true for CMap encoding, false otherwise.
Parameters
sysEnc — | IN/OUT An object of type PDSysEncoding. |
See above. |
Exceptions
Since
| File: PERProcs.h |
| Line: 2519 |
| PDSysEncodingSetIsUTF16 | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
void PDSysEncodingSetIsUTF16(INPDSysEncoding sysEnc, INASBool isUTF16)
Parameters
sysEnc — | IN/OUT An object of type PDSysEncoding. |
|
isUTF16 — |
Exceptions
Since
| File: PEWProcs.h |
| Line: 4299 |