PDF Toolbox
Loading...
Searching...
No Matches
PdfTools_Toolbox_PtxPdf.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * File: PdfTools_Toolbox_PtxPdf.h
4 *
5 * Description: Sub Header file for Toolbox SDK
6 *
7 * Author: PDF Tools AG
8 *
9 * Copyright: Copyright (C) 2024 - 2024 PDF Tools AG, Switzerland
10 * All rights reserved.
11 *
12 * Notice: By downloading and using this artifact, you accept PDF Tools AG's
13 * [license agreement](https://www.pdf-tools.com/license-agreement/),
14 * [privacy policy](https://www.pdf-tools.com/privacy-policy/),
15 * and allow PDF Tools AG to track your usage data.
16 *
17 *****************************************************************************/
18
19#ifndef PDFTOOLS_TOOLBOX_PTXPDF_H__
20#define PDFTOOLS_TOOLBOX_PTXPDF_H__
21
22#ifndef PDFTOOLS_TOOLBOX_CALL
23#if defined(WIN32)
24#define PDFTOOLS_TOOLBOX_CALL __stdcall
25#else
26#define PDFTOOLS_TOOLBOX_CALL
27#endif
28#endif
29
32
33#ifdef __cplusplus
34extern "C"
35{
36#endif
37
38#ifdef _UNICODE
39#define PtxPdf_Encryption_New PtxPdf_Encryption_NewW
40#define PtxPdf_Encryption_GetUserPassword PtxPdf_Encryption_GetUserPasswordW
41#define PtxPdf_Encryption_SetUserPassword PtxPdf_Encryption_SetUserPasswordW
42#define PtxPdf_Encryption_GetOwnerPassword PtxPdf_Encryption_GetOwnerPasswordW
43#define PtxPdf_Encryption_SetOwnerPassword PtxPdf_Encryption_SetOwnerPasswordW
44
45#define PtxPdf_Document_Open PtxPdf_Document_OpenW
46#define PtxPdf_Document_OpenWithFdf PtxPdf_Document_OpenWithFdfW
47
48#define PtxPdf_Page_GetPageLabel PtxPdf_Page_GetPageLabelW
49
50#define PtxPdf_Metadata_GetTitle PtxPdf_Metadata_GetTitleW
51#define PtxPdf_Metadata_SetTitle PtxPdf_Metadata_SetTitleW
52#define PtxPdf_Metadata_GetAuthor PtxPdf_Metadata_GetAuthorW
53#define PtxPdf_Metadata_SetAuthor PtxPdf_Metadata_SetAuthorW
54#define PtxPdf_Metadata_GetSubject PtxPdf_Metadata_GetSubjectW
55#define PtxPdf_Metadata_SetSubject PtxPdf_Metadata_SetSubjectW
56#define PtxPdf_Metadata_GetKeywords PtxPdf_Metadata_GetKeywordsW
57#define PtxPdf_Metadata_SetKeywords PtxPdf_Metadata_SetKeywordsW
58#define PtxPdf_Metadata_GetCreator PtxPdf_Metadata_GetCreatorW
59#define PtxPdf_Metadata_SetCreator PtxPdf_Metadata_SetCreatorW
60#define PtxPdf_Metadata_GetProducer PtxPdf_Metadata_GetProducerW
61
62#define PtxPdf_FileReference_Create PtxPdf_FileReference_CreateW
63
64#define PtxPdf_FileReference_GetAssociationRelationship PtxPdf_FileReference_GetAssociationRelationshipW
65#define PtxPdf_FileReference_SetAssociationRelationship PtxPdf_FileReference_SetAssociationRelationshipW
66#define PtxPdf_FileReference_GetDescription PtxPdf_FileReference_GetDescriptionW
67
68#define PtxPdf_FileReference_GetMediaType PtxPdf_FileReference_GetMediaTypeW
69
70#define PtxPdf_FileReference_GetName PtxPdf_FileReference_GetNameW
71
72#else
73#define PtxPdf_Encryption_New PtxPdf_Encryption_NewA
74#define PtxPdf_Encryption_GetUserPassword PtxPdf_Encryption_GetUserPasswordA
75#define PtxPdf_Encryption_SetUserPassword PtxPdf_Encryption_SetUserPasswordA
76#define PtxPdf_Encryption_GetOwnerPassword PtxPdf_Encryption_GetOwnerPasswordA
77#define PtxPdf_Encryption_SetOwnerPassword PtxPdf_Encryption_SetOwnerPasswordA
78
79#define PtxPdf_Document_Open PtxPdf_Document_OpenA
80#define PtxPdf_Document_OpenWithFdf PtxPdf_Document_OpenWithFdfA
81
82#define PtxPdf_Page_GetPageLabel PtxPdf_Page_GetPageLabelA
83
84#define PtxPdf_Metadata_GetTitle PtxPdf_Metadata_GetTitleA
85#define PtxPdf_Metadata_SetTitle PtxPdf_Metadata_SetTitleA
86#define PtxPdf_Metadata_GetAuthor PtxPdf_Metadata_GetAuthorA
87#define PtxPdf_Metadata_SetAuthor PtxPdf_Metadata_SetAuthorA
88#define PtxPdf_Metadata_GetSubject PtxPdf_Metadata_GetSubjectA
89#define PtxPdf_Metadata_SetSubject PtxPdf_Metadata_SetSubjectA
90#define PtxPdf_Metadata_GetKeywords PtxPdf_Metadata_GetKeywordsA
91#define PtxPdf_Metadata_SetKeywords PtxPdf_Metadata_SetKeywordsA
92#define PtxPdf_Metadata_GetCreator PtxPdf_Metadata_GetCreatorA
93#define PtxPdf_Metadata_SetCreator PtxPdf_Metadata_SetCreatorA
94#define PtxPdf_Metadata_GetProducer PtxPdf_Metadata_GetProducerA
95
96#define PtxPdf_FileReference_Create PtxPdf_FileReference_CreateA
97
98#define PtxPdf_FileReference_GetAssociationRelationship PtxPdf_FileReference_GetAssociationRelationshipA
99#define PtxPdf_FileReference_SetAssociationRelationship PtxPdf_FileReference_SetAssociationRelationshipA
100#define PtxPdf_FileReference_GetDescription PtxPdf_FileReference_GetDescriptionA
101
102#define PtxPdf_FileReference_GetMediaType PtxPdf_FileReference_GetMediaTypeA
103
104#define PtxPdf_FileReference_GetName PtxPdf_FileReference_GetNameA
105
106#endif
107
108/******************************************************************************
109 * PageCopyOptions
110 *****************************************************************************/
120
198 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdfForms_FormFieldCopyStrategy iFormFields);
242 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_RemovalStrategy iSignedSignatures);
280 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_CopyStrategy iUnsignedSignatures);
493 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_NameConflictResolution iFormFieldConflictResolution);
510 pPageCopyOptions); // Deprecated in Version 3.3. Setting this property has no effect. When copying pages from
511 // multiple documents, layers (optional content groups, OCG) are always merged.
526 TPtxPdf_PageCopyOptions* pPageCopyOptions,
528 iOcgConflictResolution); // Deprecated in Version 3.3. Setting this property has no effect. When copying pages
529 // from multiple documents, layers (optional content groups, OCG) are always merged.
567 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdfNav_NamedDestinationCopyStrategy iNamedDestinations);
613
614/******************************************************************************
615 * Encryption
616 *****************************************************************************/
630PtxPdf_Encryption_NewA(const char* szUserPassword, const char* szOwnerPassword, TPtxPdf_Permission iPermissions);
644PtxPdf_Encryption_NewW(const WCHAR* szUserPassword, const WCHAR* szOwnerPassword, TPtxPdf_Permission iPermissions);
645
665 char* pBuffer,
666 size_t nBufferSize);
686 WCHAR* pBuffer,
687 size_t nBufferSize);
700 const char* szUserPassword);
713 const WCHAR* szUserPassword);
733PtxPdf_Encryption_GetOwnerPasswordA(TPtxPdf_Encryption* pEncryption, char* pBuffer, size_t nBufferSize);
753PtxPdf_Encryption_GetOwnerPasswordW(TPtxPdf_Encryption* pEncryption, WCHAR* pBuffer, size_t nBufferSize);
766 const char* szOwnerPassword);
779 const WCHAR* szOwnerPassword);
805 TPtxPdf_Permission iPermissions);
806
807/******************************************************************************
808 * PageList
809 *****************************************************************************/
870 TPtxPdf_PageList* pPageList,
871 TPtxPdf_PageCopyOptions* pOptions);
901 int iIndex);
919 int iIndex, int iCount);
937 TPtxPdf_Page* pPage);
955 TPtxPdf_PageList* pInput);
956
957/******************************************************************************
958 * FileReferenceList
959 *****************************************************************************/
1009
1010/******************************************************************************
1011 * Document
1012 *****************************************************************************/
1044PtxPdf_Document_OpenA(const TPtxSys_StreamDescriptor* pStreamDesc, const char* szPassword);
1076PtxPdf_Document_OpenW(const TPtxSys_StreamDescriptor* pStreamDesc, const WCHAR* szPassword);
1112 const TPtxSys_StreamDescriptor* pFdfStreamDesc, const char* szPassword);
1148 const TPtxSys_StreamDescriptor* pFdfStreamDesc, const WCHAR* szPassword);
1184 TPtxPdf_Encryption* pEncryption);
1228 const TPtxSys_StreamDescriptor* pPdfStreamDesc, const TPtxSys_StreamDescriptor* pFdfStreamDesc,
1229 const TPtxPdf_Conformance* pConformance, TPtxPdf_Encryption* pEncryption);
1230
1308 TPtxPdf_Metadata* pMetadata);
1613 TPtxPdf_Permission* pPermissions);
1681
1693/******************************************************************************
1694 * Page
1695 *****************************************************************************/
1719 const TPtxGeomReal_Size* pSize);
1780 TPtxPdf_Page* pPage,
1781 TPtxPdf_PageCopyOptions* pOptions);
1806 const TPtxGeomReal_Rectangle* pRectangle);
1827
1892 TPtxGeomReal_Rectangle* pMediaBox);
1921 TPtxGeomReal_Rectangle* pBleedBox);
1949 TPtxGeomReal_Rectangle* pTrimBox);
1975 TPtxGeomReal_Rectangle* pArtBox);
2135 TPtxPdf_Metadata* pMetadata);
2170 size_t nBufferSize);
2205 size_t nBufferSize);
2206
2207/******************************************************************************
2208 * Metadata
2209 *****************************************************************************/
2278 TPtxPdf_Metadata* pMetadata);
2279
2309 char* pBuffer, size_t nBufferSize);
2339 WCHAR* pBuffer, size_t nBufferSize);
2362 const char* szTitle);
2385 const WCHAR* szTitle);
2415 char* pBuffer, size_t nBufferSize);
2445 WCHAR* pBuffer, size_t nBufferSize);
2468 const char* szAuthor);
2491 const WCHAR* szAuthor);
2521 char* pBuffer, size_t nBufferSize);
2551 WCHAR* pBuffer, size_t nBufferSize);
2574 const char* szSubject);
2597 const WCHAR* szSubject);
2638 char* pBuffer, size_t nBufferSize);
2679 WCHAR* pBuffer, size_t nBufferSize);
2713 const char* szKeywords);
2747 const WCHAR* szKeywords);
2780 char* pBuffer, size_t nBufferSize);
2813 WCHAR* pBuffer, size_t nBufferSize);
2839 const char* szCreator);
2865 const WCHAR* szCreator);
2897 char* pBuffer, size_t nBufferSize);
2929 WCHAR* pBuffer, size_t nBufferSize);
2954 TPtxSys_Date* pCreationDate);
2977 const TPtxSys_Date* pCreationDate);
3002 TPtxSys_Date* pModificationDate);
3026 TPtxSys_StreamDescriptor* pOutStreamDesc);
3054
3055/******************************************************************************
3056 * FileReference
3057 *****************************************************************************/
3106 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pData, const char* szName,
3107 const char* szMediaType, const char* szDescription, const TPtxSys_Date* pModificationDate);
3156 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pData, const WCHAR* szName,
3157 const WCHAR* szMediaType, const WCHAR* szDescription, const TPtxSys_Date* pModificationDate);
3193
3249 TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3305 TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3354 TPtxPdf_FileReference* pFileReference, const char* szAssociationRelationship);
3403 TPtxPdf_FileReference* pFileReference, const WCHAR* szAssociationRelationship);
3430PtxPdf_FileReference_GetDescriptionA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3457PtxPdf_FileReference_GetDescriptionW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3481PtxPdf_FileReference_GetMediaTypeA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3505PtxPdf_FileReference_GetMediaTypeW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3549PtxPdf_FileReference_GetNameA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3574PtxPdf_FileReference_GetNameW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3592
3593#ifdef __cplusplus
3594}
3595#endif
3596
3597#endif /* PDFTOOLS_TOOLBOX_PTXPDF_H__ */
#define PDFTOOLS_TOOLBOX_EXPORT
Definition PdfTools_Toolbox_Platform.h:143
unsigned short WCHAR
Definition PdfTools_Toolbox_Platform.h:95
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetPageLabelW(TPtxPdf_Page *pPage, WCHAR *pBuffer, size_t nBufferSize)
Page label.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetSize(TPtxPdf_Page *pPage, TPtxGeomReal_Size *pSize)
the visible size of the page (crop box).
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_SetViewerSettings(TPtxPdf_Document *pDocument, TPtxPdfNav_ViewerSettings *pViewerSettings)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetAnnotations(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdf_CopyStrategy iAnnotations)
Copy strategy for annotations.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetTrimBox(TPtxPdf_Page *pPage, TPtxGeomReal_Rectangle *pTrimBox)
The trim box of the page.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetBleedBox(TPtxPdf_Page *pPage, TPtxGeomReal_Rectangle *pBleedBox)
The bleed box of the page.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetMediaTypeW(TPtxPdf_FileReference *pFileReference, WCHAR *pBuffer, size_t nBufferSize)
The file's MIME type.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetUnsignedSignatures(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdf_CopyStrategy iUnsignedSignatures)
Copy strategy for unsigned signature fields.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetAssociationRelationshipW(TPtxPdf_FileReference *pFileReference, WCHAR *pBuffer, size_t nBufferSize)
The file's association relationship This property is NULL if the file is not associated with any obje...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_WidgetList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetWidgets(TPtxPdf_Page *pPage)
the list of this page's form field widgets. Adding to this list results in an error:
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetKeywordsA(TPtxPdf_Metadata *pMetadata, char *pBuffer, size_t nBufferSize)
Keywords associated with the document or resource.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Document *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_OpenA(const TPtxSys_StreamDescriptor *pStreamDesc, const char *szPassword)
Open a PDF document. Documents opened with this method are read-only and cannot be modified.
PDFTOOLS_TOOLBOX_EXPORT TPtx_StringMap *PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetCustomEntries(TPtxPdf_Metadata *pMetadata)
The custom entries in the document information dictionary.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfNav_OutlineItemList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetOutline(TPtxPdf_Document *pDocument)
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Conformance PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetConformance(TPtxPdf_Document *pDocument)
the claimed conformance of the document. This method only returns the claimed conformance level,...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetArtBox(TPtxPdf_Page *pPage, TPtxGeomReal_Rectangle *pArtBox)
The art box of the page.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetTitleA(TPtxPdf_Metadata *pMetadata, char *pBuffer, size_t nBufferSize)
The title of the document or resource. This property corresponds to the "dc:title" entry in the XMP m...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Encryption *PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_NewA(const char *szUserPassword, const char *szOwnerPassword, TPtxPdf_Permission iPermissions)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetPermissions(TPtxPdf_Document *pDocument, TPtxPdf_Permission *pPermissions)
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetCreatorW(TPtxPdf_Metadata *pMetadata, WCHAR *pBuffer, size_t nBufferSize)
The original application that created the document.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Page *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Size *pSize)
Create an empty page The page is associated with the given target document but not yet part of it....
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetKeywordsA(TPtxPdf_Metadata *pMetadata, const char *szKeywords)
Keywords associated with the document or resource.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetCreatorA(TPtxPdf_Metadata *pMetadata, char *pBuffer, size_t nBufferSize)
The original application that created the document.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfContent_IccBasedColorSpace *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetOutputIntent(TPtxPdf_Document *pDocument)
the output intent of the document. The output intent specifies a color profile that characterizes the...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_RemovalStrategy PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetSignedSignatures(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Removal strategy for signed signature fields.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetNamedDestinations(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdfNav_NamedDestinationCopyStrategy iNamedDestinations)
Copy strategy for named destinations.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_Rotate(TPtxPdf_Page *pPage, TPtxGeom_Rotation iRotate)
Rotate the page by a multiple of 90 degrees.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_GetOwnerPasswordW(TPtxPdf_Encryption *pEncryption, WCHAR *pBuffer, size_t nBufferSize)
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Metadata *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetMetadata(TPtxPdf_Page *pPage)
the metadata of the page.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetProducerA(TPtxPdf_Metadata *pMetadata, char *pBuffer, size_t nBufferSize)
The application that created the PDF.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_CopyStrategy PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetUnsignedSignatures(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy strategy for unsigned signature fields.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_IsLinearized(TPtxPdf_Document *pDocument)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_SetUserPasswordA(TPtxPdf_Encryption *pEncryption, const char *szUserPassword)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_SetAssociationRelationshipW(TPtxPdf_FileReference *pFileReference, const WCHAR *szAssociationRelationship)
The file's association relationship This property is NULL if the file is not associated with any obje...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetTitleW(TPtxPdf_Metadata *pMetadata, WCHAR *pBuffer, size_t nBufferSize)
The title of the document or resource. This property corresponds to the "dc:title" entry in the XMP m...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetMediaBox(TPtxPdf_Page *pPage, TPtxGeomReal_Rectangle *pMediaBox)
The media box of the page.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetFormFields(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdfForms_FormFieldCopyStrategy iFormFields)
Copy strategy for form fields and widgets.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_UpdateSize(TPtxPdf_Page *pPage, const TPtxGeomReal_Rectangle *pRectangle)
Update the page size to a specified rectangle. Note that all page-related coordinates are normalized ...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetSignedSignatures(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdf_RemovalStrategy iSignedSignatures)
Removal strategy for signed signature fields.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_Close(TPtxPdf_Document *pObject)
Close object.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetSubjectW(TPtxPdf_Metadata *pMetadata, WCHAR *pBuffer, size_t nBufferSize)
The subject of the document or resource. This property corresponds to the "dc:description" entry in t...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetCreationDate(TPtxPdf_Metadata *pMetadata, const TPtxSys_Date *pCreationDate)
The date and time the document or resource was originally created. This property corresponds to the "...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetCreatorA(TPtxPdf_Metadata *pMetadata, const char *szCreator)
The original application that created the document.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetCopyOutlineItems(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy outline items (bookmarks).
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Document *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_OpenW(const TPtxSys_StreamDescriptor *pStreamDesc, const WCHAR *szPassword)
Open a PDF document. Documents opened with this method are read-only and cannot be modified.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetKeywordsW(TPtxPdf_Metadata *pMetadata, WCHAR *pBuffer, size_t nBufferSize)
Keywords associated with the document or resource.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Document *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_OpenWithFdfW(const TPtxSys_StreamDescriptor *pPdfStreamDesc, const TPtxSys_StreamDescriptor *pFdfStreamDesc, const WCHAR *szPassword)
Open a PDF document together with an FDF file. Documents opened with this method are read-only and ca...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetDescriptionW(TPtxPdf_FileReference *pFileReference, WCHAR *pBuffer, size_t nBufferSize)
The file's description For embedded files, this is the description of the file presented to the user ...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReference *PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdf_FileReference *pFileReference)
Copy a file reference object Copy a file reference object from an input document to the given pTarget...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReference *PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_CreateW(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pData, const WCHAR *szName, const WCHAR *szMediaType, const WCHAR *szDescription, const TPtxSys_Date *pModificationDate)
Create a new file reference object The newly created file reference object belongs to the document bu...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetFormFieldConflictResolution(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdf_NameConflictResolution iFormFieldConflictResolution)
Resolution of conflicting form field names.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetMediaTypeA(TPtxPdf_FileReference *pFileReference, char *pBuffer, size_t nBufferSize)
The file's MIME type.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetAuthorW(TPtxPdf_Metadata *pMetadata, const WCHAR *szAuthor)
The name of the person who created the document or resource. This property corresponds to the "dc:cre...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetLinks(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdf_CopyStrategy iLinks)
Copy strategy for links.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfNav_NamedDestinationCopyStrategy PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetNamedDestinations(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy strategy for named destinations.
#define PDFTOOLS_TOOLBOX_CALL
Definition PdfTools_Toolbox_PtxPdf.h:26
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_GetUserPasswordA(TPtxPdf_Encryption *pEncryption, char *pBuffer, size_t nBufferSize)
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdf_PageList_GetCount(TPtxPdf_PageList *pPageList)
Get the number of elements in the list.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetSubjectA(TPtxPdf_Metadata *pMetadata, char *pBuffer, size_t nBufferSize)
The subject of the document or resource. This property corresponds to the "dc:description" entry in t...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Document *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_CreateWithFdf(const TPtxSys_StreamDescriptor *pPdfStreamDesc, const TPtxSys_StreamDescriptor *pFdfStreamDesc, const TPtxPdf_Conformance *pConformance, TPtxPdf_Encryption *pEncryption)
Create a new PDF document and an associated FDF. Documents with created with this method are writable...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetPageLabelA(TPtxPdf_Page *pPage, char *pBuffer, size_t nBufferSize)
Page label.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetOptimizeResources(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Find and merge redundant resources.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetCopyAssociatedFiles(TPtxPdf_PageCopyOptions *pPageCopyOptions, BOOL bCopyAssociatedFiles)
Copy associated files.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_CopyStrategy PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetLinks(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy strategy for links.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_PageCopyOptions *PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_New(void)
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNodeMap *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetFormFields(TPtxPdf_Document *pDocument)
The form fields of the document This list contains all AcroForm form fields that belong to this docum...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Metadata *PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_Create(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pXmp)
Create a new metadata object The newly created metadata object is associated with the target document...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfAnnots_AnnotationList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetAnnotations(TPtxPdf_Page *pPage)
the list of this page's annotations. Adding to this list results in an error:
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_NameConflictResolution PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetFormFieldConflictResolution(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Resolution of conflicting form field names.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_SetOwnerPasswordW(TPtxPdf_Encryption *pEncryption, const WCHAR *szOwnerPassword)
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReferenceList_GetCount(TPtxPdf_FileReferenceList *pFileReferenceList)
Get the number of elements in the list.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReferenceList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetAllEmbeddedFiles(TPtxPdf_Document *pDocument)
plain embedded, associated, and attached files
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetXmp(TPtxPdf_Metadata *pMetadata, TPtxSys_StreamDescriptor *pOutStreamDesc)
The XMP metadata.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FormFieldCopyStrategy PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetFormFields(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy strategy for form fields and widgets.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Page *PDFTOOLS_TOOLBOX_CALL PtxPdf_PageList_Get(TPtxPdf_PageList *pPageList, int iIndex)
Returns the element at the specified position in the given list.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetOptimizeResources(TPtxPdf_PageCopyOptions *pPageCopyOptions, BOOL bOptimizeResources)
Find and merge redundant resources.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetCreatorW(TPtxPdf_Metadata *pMetadata, const WCHAR *szCreator)
The original application that created the document.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetAuthorW(TPtxPdf_Metadata *pMetadata, WCHAR *pBuffer, size_t nBufferSize)
The name of the person who created the document or resource. This property corresponds to the "dc:cre...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_SignatureFieldList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetSignatureFields(TPtxPdf_Document *pDocument)
The signature fields of the document Signature fields are a special kind of form fields,...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Document *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_OpenWithFdfA(const TPtxSys_StreamDescriptor *pPdfStreamDesc, const TPtxSys_StreamDescriptor *pFdfStreamDesc, const char *szPassword)
Open a PDF document together with an FDF file. Documents opened with this method are read-only and ca...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReferenceList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetPlainEmbeddedFiles(TPtxPdf_Document *pDocument)
plain embedded files
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Document *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_Create(const TPtxSys_StreamDescriptor *pStreamDesc, const TPtxPdf_Conformance *pConformance, TPtxPdf_Encryption *pEncryption)
Create a new PDF document. Documents with created with this method are writable and can be modified.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetModificationDate(TPtxPdf_FileReference *pFileReference, TPtxSys_Date *pModificationDate)
The file's date of last modification.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetCopyAssociatedFiles(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy associated files.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetCopyLogicalStructure(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy the logical structure and tagging information.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfNav_ViewerSettings *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetViewerSettings(TPtxPdf_Document *pDocument)
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_GetOwnerPasswordA(TPtxPdf_Encryption *pEncryption, char *pBuffer, size_t nBufferSize)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_SetMetadata(TPtxPdf_Document *pDocument, TPtxPdf_Metadata *pMetadata)
the metadata of the document. If the document is writable, the metadata object will be writable too a...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfContent_Content *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetContent(TPtxPdf_Page *pPage)
the page content. If the page is writable, the content object can be used to apply new content on the...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_NameConflictResolution PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetOcgConflictResolution(TPtxPdf_PageCopyOptions *pPageCopyOptions)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetAuthorA(TPtxPdf_Metadata *pMetadata, const char *szAuthor)
The name of the person who created the document or resource. This property corresponds to the "dc:cre...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Metadata *PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdf_Metadata *pMetadata)
Copy a metadata object Copy a metadata object from an input document to the given pTargetDocument....
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Metadata *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetMetadata(TPtxPdf_Document *pDocument)
the metadata of the document. If the document is writable, the metadata object will be writable too a...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_SetOwnerPasswordA(TPtxPdf_Encryption *pEncryption, const char *szOwnerPassword)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetCopyLogicalStructure(TPtxPdf_PageCopyOptions *pPageCopyOptions, BOOL bCopyLogicalStructure)
Copy the logical structure and tagging information.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_PageList *PDFTOOLS_TOOLBOX_CALL PtxPdf_PageList_GetRange(TPtxPdf_PageList *pPageList, int iIndex, int iCount)
Get range of elements.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_SetUserPasswordW(TPtxPdf_Encryption *pEncryption, const WCHAR *szUserPassword)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetCreationDate(TPtxPdf_Metadata *pMetadata, TPtxSys_Date *pCreationDate)
The date and time the document or resource was originally created. This property corresponds to the "...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_GetUserPasswordW(TPtxPdf_Encryption *pEncryption, WCHAR *pBuffer, size_t nBufferSize)
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReferenceList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetAssociatedFiles(TPtxPdf_Document *pDocument)
document-associated files
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageList_Add(TPtxPdf_PageList *pPageList, TPtxPdf_Page *pPage)
Add an element to the end of the list.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetKeywordsW(TPtxPdf_Metadata *pMetadata, const WCHAR *szKeywords)
Keywords associated with the document or resource.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetProducerW(TPtxPdf_Metadata *pMetadata, WCHAR *pBuffer, size_t nBufferSize)
The application that created the PDF.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetOcgConflictResolution(TPtxPdf_PageCopyOptions *pPageCopyOptions, TPtxPdf_NameConflictResolution iOcgConflictResolution)
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_PageList *PDFTOOLS_TOOLBOX_CALL PtxPdf_PageList_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdf_PageList *pPageList, TPtxPdf_PageCopyOptions *pOptions)
Copy a page list Copy pages from an input document to the given pTargetDocument. The returned list is...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReference *PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_CreateA(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pData, const char *szName, const char *szMediaType, const char *szDescription, const TPtxSys_Date *pModificationDate)
Create a new file reference object The newly created file reference object belongs to the document bu...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetAuthorA(TPtxPdf_Metadata *pMetadata, char *pBuffer, size_t nBufferSize)
The name of the person who created the document or resource. This property corresponds to the "dc:cre...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetNameA(TPtxPdf_FileReference *pFileReference, char *pBuffer, size_t nBufferSize)
The file name For embedded files, this is the name presented to the user in a the list of embedded fi...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_GetModificationDate(TPtxPdf_Metadata *pMetadata, TPtxSys_Date *pModificationDate)
The date and time the document or resource was most recently modified. This property corresponds to t...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_SetMetadata(TPtxPdf_Page *pPage, TPtxPdf_Metadata *pMetadata)
the metadata of the page.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_CopyStrategy PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_GetAnnotations(TPtxPdf_PageCopyOptions *pPageCopyOptions)
Copy strategy for annotations.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetSubjectA(TPtxPdf_Metadata *pMetadata, const char *szSubject)
The subject of the document or resource. This property corresponds to the "dc:description" entry in t...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetDescriptionA(TPtxPdf_FileReference *pFileReference, char *pBuffer, size_t nBufferSize)
The file's description For embedded files, this is the description of the file presented to the user ...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetData(TPtxPdf_FileReference *pFileReference, TPtxSys_StreamDescriptor *pOutStreamDesc)
The file's stream.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetSubjectW(TPtxPdf_Metadata *pMetadata, const WCHAR *szSubject)
The subject of the document or resource. This property corresponds to the "dc:description" entry in t...
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetAssociationRelationshipA(TPtxPdf_FileReference *pFileReference, char *pBuffer, size_t nBufferSize)
The file's association relationship This property is NULL if the file is not associated with any obje...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_FileReference *PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReferenceList_Get(TPtxPdf_FileReferenceList *pFileReferenceList, int iIndex)
Returns the element at the specified position in the given list.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageCopyOptions_SetCopyOutlineItems(TPtxPdf_PageCopyOptions *pPageCopyOptions, BOOL bCopyOutlineItems)
Copy outline items (bookmarks).
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfNav_Destination *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetOpenDestination(TPtxPdf_Document *pDocument)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetTitleW(TPtxPdf_Metadata *pMetadata, const WCHAR *szTitle)
The title of the document or resource. This property corresponds to the "dc:title" entry in the XMP m...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Page *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdf_Page *pPage, TPtxPdf_PageCopyOptions *pOptions)
Copy a page Copy a page object from an input document to the given pTargetDocument....
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Permission PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_GetPermissions(TPtxPdf_Encryption *pEncryption)
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_GetNameW(TPtxPdf_FileReference *pFileReference, WCHAR *pBuffer, size_t nBufferSize)
The file name For embedded files, this is the name presented to the user in a the list of embedded fi...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReference_SetAssociationRelationshipA(TPtxPdf_FileReference *pFileReference, const char *szAssociationRelationship)
The file's association relationship This property is NULL if the file is not associated with any obje...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_SetOpenDestination(TPtxPdf_Document *pDocument, TPtxPdfNav_Destination *pOpenDestination)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_SetOutputIntent(TPtxPdf_Document *pDocument, TPtxPdfContent_IccBasedColorSpace *pOutputIntent)
the output intent of the document. The output intent specifies a color profile that characterizes the...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_FileReferenceList_Add(TPtxPdf_FileReferenceList *pFileReferenceList, TPtxPdf_FileReference *pFileReference)
Add an element to the end of the list.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_PageList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetPages(TPtxPdf_Document *pDocument)
the pages of the document. If the document is writable, it is possible to append new pages to the end...
PDFTOOLS_TOOLBOX_EXPORT TPtxPdf_Encryption *PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_NewW(const WCHAR *szUserPassword, const WCHAR *szOwnerPassword, TPtxPdf_Permission iPermissions)
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_PageList_AddRange(TPtxPdf_PageList *pPageList, TPtxPdf_PageList *pInput)
Add range of elements to th end of the list.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Metadata_SetTitleA(TPtxPdf_Metadata *pMetadata, const char *szTitle)
The title of the document or resource. This property corresponds to the "dc:title" entry in the XMP m...
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Encryption_SetPermissions(TPtxPdf_Encryption *pEncryption, TPtxPdf_Permission iPermissions)
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfNav_LinkList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetLinks(TPtxPdf_Page *pPage)
the list of this page's links. Adding to this list results in an error:
TPtxGeom_Rotation
Definition PdfTools_Toolbox_Types.h:104
TPtxPdf_Permission
Definition PdfTools_Toolbox_Types.h:122
TPtxPdf_NameConflictResolution
Definition PdfTools_Toolbox_Types.h:276
TPtxPdf_Conformance
Definition PdfTools_Toolbox_Types.h:165
TPtxPdf_CopyStrategy
Definition PdfTools_Toolbox_Types.h:239
TPtxPdf_RemovalStrategy
Definition PdfTools_Toolbox_Types.h:260
TPtxPdfNav_NamedDestinationCopyStrategy
Definition PdfTools_Toolbox_Types.h:730
TPtxPdfForms_FormFieldCopyStrategy
Definition PdfTools_Toolbox_Types.h:631
#define BOOL
Definition PdfTools_Toolbox_Types.h:23
Description of a file A file description is used for embedded files.
A list of annotations When a list of PtxPdf_Page_GetAnnotations is obtained from a page that belongs ...
Represents the content of a page or a group. The class has no methods on its own, but can be modified...
Definition PdfTools_Toolbox_Types.h:2007
Definition PdfTools_Toolbox_Types.h:1993
Definition PdfTools_Toolbox_Types.h:2146
Structure that groups a set of callbacks that model streams.
Definition PdfTools_Toolbox_PtxSys.h:49