This section lists all changes in the C interface between 3-Heights® PDF Toolbox API and the PDF Toolbox SDK. Interface elements are ordered alphabetically by PDF Toolbox SDK prefix.
Prefix Ptx
Changes to functions that are not related to specific object types:
TPdfErrorCode
[Enum.] TPdfErrorCode → TPtx_ErrorCode |
---|
Removed enum values: -
ePdfErrorInfrastructure ePdfErrorProcessing ePdfErrorFatal
|
Renamed enum value: -
ePdfSuccess → ePdf_Error_Success ePdfError... → ePdf_Error_...
|
TPtx_Sdk
[Class] TPtx_Sdk → TPtx_Sdk |
---|
Related function:
BOOL Ptx_Sdk_Initialize(
const char* szLicense,
const char* szProducerSuffix) |
Related function:
size_t Ptx_Sdk_GetVersion(
char* pBuffer, size_tnBufferSize) |
Related function:
size_t Ptx_Sdk_GetProducerFullName(
char* pBuffer,
size_tnBufferSize) |
See the Sdk functions
TPdfStringMap
[Class] TPdfStringMap → TPtxPdf_StringMap |
---|
Renamed value: PdfStringMap... → PtxPdf_StringMap_...
|
Prefix PtxGeom
TdfRotation
[Enum.] TPdfRotation → TPtxGeom_Rotation |
---|
Renamed values: ePdfRotateNoRotation → ePtxGeom_Rotation_None ePdfRotateClockwise → ePtxGeom_Rotation_Clockwise ePdfRotateUpsideDown → ePtxGeom_Rotation_UpsideDown -
ePdfRotateCounterClockwise → ePtxGeom_Rotation_CounterClockwise
|
TPdfTextAlignment
[Enum.] TPdfTextAlignment → TPtxGeom_HorizontalAlignment |
---|
Renamed value: -
ePdfTextAlignment... → ePtxGeom_HorizontalAlignment_...
|
Prefix PtxGeomInt
TPtxGeomInt_Size
[Struct.] TPtxGeomInt_Size → TPtxGeomInt_Size |
---|
Fields: Used in TPdfImage and TPdfImageMask to substitute the removed related functions PdfImageGetWidth , PdfImageGetHeight , PdfImageMaskGetWidth , and PdfImageMaskGetHeight . |
See Image size and image mask size.
Prefix PtxGeomReal
TPdfPoint
[Struct.] TPdfPoint → TPtxGeomReal_Point |
---|
TPdfRectangle
[Struct.] TPdfRectangle → TPtxGeomReal_Rectangle |
---|
TPdfSize
[Struct.] TPdfSize → PtxGeomReal_Size |
---|
[Class] → [Struct.] TPdfTransformation → TPtxGeomReal_AffineTransform |
---|
- Removed related functions:
PdfNewTransformationIdentity , PdfNewTransformationCopy , and PdfNewTransformation . - Removed related function:
PdfTransformationRotate - Renamed related function:
PdfTransformationRotateAround → PtxGeomReal_AffineTransform_Rotate . - Renamed remaining related functions:
PdfTransformation... → PtxGeomReal_AffineTransform_... - New fields:
-
double dA -
double dB -
double dC -
double dD -
double dE -
double dF
- New related function:
BOOL PtxGeomReal_AffineTransform_GetIdentity( TPtxGeomReal_AffineTransform* pIdentity) . See Affine transform objects should be initialized.
|
See Elements changed to class or struct
Prefix PtxPdf
[Enum.] TPdfConformance → TPtxPdf_Conformance |
---|
- Removed enum value
ePdfUnk - Renamed enum values:
-
ePdfA1b → ePtxPdf_Conformance_PdfA1B ePdfA1a → ePtxPdf_Conformance_PdfA1A ePdfA2b → ePtxPdf_Conformance_PdfA2B ePdfA2u → ePtxPdf_Conformance_PdfA2U ePdfA2a → ePtxPdf_Conformance_PdfA2A ePdfA3b → ePtxPdf_Conformance_PdfA3B ePdfA3u → ePtxPdf_Conformance_PdfA3U ePdfA3a → ePtxPdf_Conformance_PdfA3A
- Renamed remaining enum values
ePdf... → ePtxPdf_Conformance_...
|
TPdfCopyOption
[Enum.] TPdfCopyOption → - |
---|
Substituted by TPtxPdf_PageCopyOptions and TPtxPdfNav_OutlineCopyOptions . See Copy options. |
[Enum.] - → TPtxPdf_CopyStrategy |
---|
Values: -
ePtxPdf_CopyStrategy_Copy ePtxPdf_CopyStrategy_Flatten ePtxPdf_CopyStrategy_Remove Substitutes the removed TPdfCopyOption . |
TPdfDocument
[Class] TPdfDocument → TPtxPdf_Document |
---|
- Renamed related function
PdfDocumentGetOutlineItems → PtxPdf_Document_GetOutline . - Changed return and argument type of related functions
PdfDocumentGetOutputIntent and PdfDocumentSetOutputIntent from TPdfColorSpace to TPtxPdfContent_IccBasedColorSpace . See Color space classes. - Renamed related function
PdfDocumentGetEmbeddedFiles → PtxPdf_Document_GetAllEmbeddedFiles . Changed behavior: Appending is not supported anymore. This is a readonly list of all embedded files and all files in TPdfFileAttachmentAnnotation . See Embedded/Associated/Attached files. - Changed behavior of related function
PdfDocumentGetConformance → PtxPdf_Document_GetConformance for output documents: Always returns the current conformance instead of removed enum value ePdfUnk . - Changed signature of related function
TPdfDocument* PdfDocumentCreate(
TPdfstream* pStreamDesc,
TPdfConformance iConformance,
TPdfEncryptionParams* pEncryption) → TPtxPdf_Document* PtxPdf_Document_Create(
TPtxSys_StreamDescriptor* pStreamDesc,
TPtxPdf_Conformance* pConformance,
TPtxPdf_Encryption* pEncryption) Specifically, a NULL value for the second argument is now legal. See Unknown PDF conformance. - Removed and substituted the following related functions:
PdfDocumentCreateFileReference → PtxPdf_FileReference_Create PdfDocumentCreateMetadata → PtxPdf_Metadata_Create PdfDocumentCreatePage → PtxPdf_Page_Create PdfDocumentCreateCircleAnnotation → PtxPdfAnnots_EllipseAnnotation_Create PdfDocumentCreateCustomStampAnnotation → PtxPdfAnnots_CustomStamp_Create PdfDocumentCreateFileAttachmentAnnotation → PtxPdfAnnots_FileAttachment_Create PdfDocumentCreateFreeDrawingAnnotation → PtxPdfAnnots_InkAnnotation_Create PdfDocumentCreateFreeTextAnnotation → PtxPdfAnnots_FreeText_Create PdfDocumentCreateLineAnnotation → PtxPdfAnnots_LineAnnotation_Create PdfDocumentCreatePolyLineAnnotation → PtxPdfAnnots_PolyLineAnnotation_Create PdfDocumentCreatePolygonAnnotation → PtxPdfAnnots_PolygonAnnotation_Create PdfDocumentCreateSquareAnnotation → PtxPdfAnnots_RectangleAnnotation_Create PdfDocumentCreateStickyNoteAnnotation → PtxPdfAnnots_StickyNote_Create PdfDocumentCreateTextStampAnnotationRaw → PtxPdfAnnots_TextStamp_CreateRaw PdfDocumentCreateAlphaPaint , PdfDocumentCreateBlendingPaint , PdfDocumentCreateSolidPaint → PtxPdfContent_Paint_Create See Unified paint creation.PdfDocumentCreateDeviceColorSpace → PtxPdfContent_ColorSpace_CreateProcessColorSpace PdfDocumentCreateFont → PtxPdfContent_Font_Create PdfDocumentCreateGroup → PtxPdfContent_Group_Create PdfDocumentCreateICCColorSpace → PtxPdfContent_IccBasedColorSpace_Create PdfDocumentCreateImageMask → PtxPdfContent_ImageMask_Create PdfDocumentCreateImage → PtxPdfContent_Image_Create PdfDocumentCreateSystemFont → PtxPdfContent_Font_CreateFromSystem PdfDocumentCreateText → PtxPdfContent_Text_Create PdfDocumentCreateCheckBoxField → PtxPdfForms_CheckBoxField_Create PdfDocumentCreateCombTextField → PtxPdfForms_CombTextField_Create PdfDocumentCreateComboBoxField → PtxPdfForms_ComboBoxField_Create PdfDocumentCreateGeneralTextField → PtxPdfForms_GeneralTextField_Create PdfDocumentCreateListBoxField → PtxPdfForms_ListBoxField_Create PdfDocumentCreateRadioButtonField → PtxPdfForms_RadioButtonField_Create PdfDocumentCreateSubForm → PtxPdfForms_SubForm_Create PdfDocumentCreateNamedDestination → PtxPdfNav_NamedDestination_Create PdfDocumentCreateOutlineItem → PtxPdfNav_OutlineItem_Create PdfDocumentCopyFileReference → PtxPdf_FileReference_Copy PdfDocumentCopyMetadata → PtxPdf_Metadata_Copy PdfDocumentCopyPage → PtxPdf_Page_Copy PdfDocumentCopyAnnotation → PtxPdfAnnots_Annotation_Copy PdfDocumentCopyColorSpace → PtxPdfContent_ColorSpace_Copy PdfDocumentCopyContentElement → PtxPdfContent_ContentElement_Copy PdfDocumentCopyGroupElementWithoutContent → PtxPdfContent_GroupElement_CopyWithoutContent PdfDocumentCopyPageAsGroup → PtxPdfContent_Group_CopyFromPage PdfDocumentCopyFormFieldNode → PtxPdfForms_FormFieldNode_Copy PdfDocumentCopyViewerSettings → PtxPdfNav_ViewerSettings_Copy PdfDocumentCopyOutlineItem → PtxPdfNav_OutlineItem_Copy See Creation and copying methods.
- Renamed remaining related functions
PdfDocument... → PtxPdf_Document_... - New related function
TPtxPdf_FileReferenceList* PtxPdf_Document_GetPlainEmbeddedFiles(
TPtxPdf_Document* ) . This is a list of all embedded files that are neither associated nor contained in a TPdfFileAttachmentAnnotation . See Embedded/Associated/Attached files. - New related function
BOOL PtxPdf_Document_Close(
TPtxPdf_Document*) See Closing and releasing.
|
TPdfEncryptionParams