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_OptionalContentGroup_GetName PtxPdf_OptionalContentGroup_GetNameW
46
47#define PtxPdf_Document_Open PtxPdf_Document_OpenW
48#define PtxPdf_Document_OpenWithFdf PtxPdf_Document_OpenWithFdfW
49
50#define PtxPdf_Document_GetLanguage PtxPdf_Document_GetLanguageW
51#define PtxPdf_Document_SetLanguage PtxPdf_Document_SetLanguageW
52
53#define PtxPdf_Page_GetPageLabel PtxPdf_Page_GetPageLabelW
54
55#define PtxPdf_Metadata_GetTitle PtxPdf_Metadata_GetTitleW
56#define PtxPdf_Metadata_SetTitle PtxPdf_Metadata_SetTitleW
57#define PtxPdf_Metadata_GetAuthor PtxPdf_Metadata_GetAuthorW
58#define PtxPdf_Metadata_SetAuthor PtxPdf_Metadata_SetAuthorW
59#define PtxPdf_Metadata_GetSubject PtxPdf_Metadata_GetSubjectW
60#define PtxPdf_Metadata_SetSubject PtxPdf_Metadata_SetSubjectW
61#define PtxPdf_Metadata_GetKeywords PtxPdf_Metadata_GetKeywordsW
62#define PtxPdf_Metadata_SetKeywords PtxPdf_Metadata_SetKeywordsW
63#define PtxPdf_Metadata_GetCreator PtxPdf_Metadata_GetCreatorW
64#define PtxPdf_Metadata_SetCreator PtxPdf_Metadata_SetCreatorW
65#define PtxPdf_Metadata_GetProducer PtxPdf_Metadata_GetProducerW
66
67#define PtxPdf_FileReference_Create PtxPdf_FileReference_CreateW
68
69#define PtxPdf_FileReference_GetAssociationRelationship PtxPdf_FileReference_GetAssociationRelationshipW
70#define PtxPdf_FileReference_SetAssociationRelationship PtxPdf_FileReference_SetAssociationRelationshipW
71#define PtxPdf_FileReference_GetDescription PtxPdf_FileReference_GetDescriptionW
72
73#define PtxPdf_FileReference_GetMediaType PtxPdf_FileReference_GetMediaTypeW
74
75#define PtxPdf_FileReference_GetName PtxPdf_FileReference_GetNameW
76
77#else
78#define PtxPdf_Encryption_New PtxPdf_Encryption_NewA
79#define PtxPdf_Encryption_GetUserPassword PtxPdf_Encryption_GetUserPasswordA
80#define PtxPdf_Encryption_SetUserPassword PtxPdf_Encryption_SetUserPasswordA
81#define PtxPdf_Encryption_GetOwnerPassword PtxPdf_Encryption_GetOwnerPasswordA
82#define PtxPdf_Encryption_SetOwnerPassword PtxPdf_Encryption_SetOwnerPasswordA
83
84#define PtxPdf_OptionalContentGroup_GetName PtxPdf_OptionalContentGroup_GetNameA
85
86#define PtxPdf_Document_Open PtxPdf_Document_OpenA
87#define PtxPdf_Document_OpenWithFdf PtxPdf_Document_OpenWithFdfA
88
89#define PtxPdf_Document_GetLanguage PtxPdf_Document_GetLanguageA
90#define PtxPdf_Document_SetLanguage PtxPdf_Document_SetLanguageA
91
92#define PtxPdf_Page_GetPageLabel PtxPdf_Page_GetPageLabelA
93
94#define PtxPdf_Metadata_GetTitle PtxPdf_Metadata_GetTitleA
95#define PtxPdf_Metadata_SetTitle PtxPdf_Metadata_SetTitleA
96#define PtxPdf_Metadata_GetAuthor PtxPdf_Metadata_GetAuthorA
97#define PtxPdf_Metadata_SetAuthor PtxPdf_Metadata_SetAuthorA
98#define PtxPdf_Metadata_GetSubject PtxPdf_Metadata_GetSubjectA
99#define PtxPdf_Metadata_SetSubject PtxPdf_Metadata_SetSubjectA
100#define PtxPdf_Metadata_GetKeywords PtxPdf_Metadata_GetKeywordsA
101#define PtxPdf_Metadata_SetKeywords PtxPdf_Metadata_SetKeywordsA
102#define PtxPdf_Metadata_GetCreator PtxPdf_Metadata_GetCreatorA
103#define PtxPdf_Metadata_SetCreator PtxPdf_Metadata_SetCreatorA
104#define PtxPdf_Metadata_GetProducer PtxPdf_Metadata_GetProducerA
105
106#define PtxPdf_FileReference_Create PtxPdf_FileReference_CreateA
107
108#define PtxPdf_FileReference_GetAssociationRelationship PtxPdf_FileReference_GetAssociationRelationshipA
109#define PtxPdf_FileReference_SetAssociationRelationship PtxPdf_FileReference_SetAssociationRelationshipA
110#define PtxPdf_FileReference_GetDescription PtxPdf_FileReference_GetDescriptionA
111
112#define PtxPdf_FileReference_GetMediaType PtxPdf_FileReference_GetMediaTypeA
113
114#define PtxPdf_FileReference_GetName PtxPdf_FileReference_GetNameA
115
116#endif
117
118/******************************************************************************
119 * PageCopyOptions
120 *****************************************************************************/
130
208 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdfForms_FormFieldCopyStrategy iFormFields);
252 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_RemovalStrategy iSignedSignatures);
290 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_CopyStrategy iUnsignedSignatures);
503 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_NameConflictResolution iFormFieldConflictResolution);
520 pPageCopyOptions); // Deprecated in Version 1.0. Setting this property has no effect. When copying pages from
521 // multiple documents, layers (optional content groups, OCG) are always merged.
536 TPtxPdf_PageCopyOptions* pPageCopyOptions,
538 iOcgConflictResolution); // Deprecated in Version 1.0. Setting this property has no effect. When copying pages
539 // from multiple documents, layers (optional content groups, OCG) are always merged.
577 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdfNav_NamedDestinationCopyStrategy iNamedDestinations);
623
624/******************************************************************************
625 * Encryption
626 *****************************************************************************/
647PtxPdf_Encryption_NewA(const char* szUserPassword, const char* szOwnerPassword, TPtxPdf_Permission iPermissions);
668PtxPdf_Encryption_NewW(const WCHAR* szUserPassword, const WCHAR* szOwnerPassword, TPtxPdf_Permission iPermissions);
669
692 char* pBuffer,
693 size_t nBufferSize);
716 WCHAR* pBuffer,
717 size_t nBufferSize);
733 const char* szUserPassword);
749 const WCHAR* szUserPassword);
771PtxPdf_Encryption_GetOwnerPasswordA(TPtxPdf_Encryption* pEncryption, char* pBuffer, size_t nBufferSize);
793PtxPdf_Encryption_GetOwnerPasswordW(TPtxPdf_Encryption* pEncryption, WCHAR* pBuffer, size_t nBufferSize);
808 const char* szOwnerPassword);
823 const WCHAR* szOwnerPassword);
859 TPtxPdf_Permission iPermissions);
860
861/******************************************************************************
862 * PageList
863 *****************************************************************************/
924 TPtxPdf_PageList* pPageList,
925 TPtxPdf_PageCopyOptions* pOptions);
955 int iIndex);
973 int iIndex, int iCount);
991 TPtxPdf_Page* pPage);
1009 TPtxPdf_PageList* pInput);
1010
1011/******************************************************************************
1012 * FileReferenceList
1013 *****************************************************************************/
1063
1064/******************************************************************************
1065 * OptionalContentGroup
1066 *****************************************************************************/
1086 TPtxPdf_OptionalContentGroup* pOptionalContentGroup, char* pBuffer, size_t nBufferSize);
1106 TPtxPdf_OptionalContentGroup* pOptionalContentGroup, WCHAR* pBuffer, size_t nBufferSize);
1122
1123/******************************************************************************
1124 * OptionalContentGroupList
1125 *****************************************************************************/
1159
1160/******************************************************************************
1161 * Document
1162 *****************************************************************************/
1194PtxPdf_Document_OpenA(const TPtxSys_StreamDescriptor* pStreamDesc, const char* szPassword);
1226PtxPdf_Document_OpenW(const TPtxSys_StreamDescriptor* pStreamDesc, const WCHAR* szPassword);
1262 const TPtxSys_StreamDescriptor* pFdfStreamDesc, const char* szPassword);
1298 const TPtxSys_StreamDescriptor* pFdfStreamDesc, const WCHAR* szPassword);
1334 TPtxPdf_Encryption* pEncryption);
1378 const TPtxSys_StreamDescriptor* pPdfStreamDesc, const TPtxSys_StreamDescriptor* pFdfStreamDesc,
1379 const TPtxPdf_Conformance* pConformance, TPtxPdf_Encryption* pEncryption);
1380
1407 char* pBuffer, size_t nBufferSize);
1434 WCHAR* pBuffer, size_t nBufferSize);
1454 const char* szLanguage);
1474 const WCHAR* szLanguage);
1569 TPtxPdf_Metadata* pMetadata);
1874 TPtxPdf_Permission* pPermissions);
1942
1954/******************************************************************************
1955 * Page
1956 *****************************************************************************/
1980 const TPtxGeomReal_Size* pSize);
2041 TPtxPdf_Page* pPage,
2042 TPtxPdf_PageCopyOptions* pOptions);
2067 const TPtxGeomReal_Rectangle* pRectangle);
2088
2166 TPtxGeomReal_Rectangle* pMediaBox);
2195 TPtxGeomReal_Rectangle* pBleedBox);
2223 TPtxGeomReal_Rectangle* pTrimBox);
2249 TPtxGeomReal_Rectangle* pArtBox);
2409 TPtxPdf_Metadata* pMetadata);
2444 size_t nBufferSize);
2479 size_t nBufferSize);
2480
2481/******************************************************************************
2482 * Metadata
2483 *****************************************************************************/
2552 TPtxPdf_Metadata* pMetadata);
2553
2583 char* pBuffer, size_t nBufferSize);
2613 WCHAR* pBuffer, size_t nBufferSize);
2636 const char* szTitle);
2659 const WCHAR* szTitle);
2689 char* pBuffer, size_t nBufferSize);
2719 WCHAR* pBuffer, size_t nBufferSize);
2742 const char* szAuthor);
2765 const WCHAR* szAuthor);
2795 char* pBuffer, size_t nBufferSize);
2825 WCHAR* pBuffer, size_t nBufferSize);
2848 const char* szSubject);
2871 const WCHAR* szSubject);
2912 char* pBuffer, size_t nBufferSize);
2953 WCHAR* pBuffer, size_t nBufferSize);
2987 const char* szKeywords);
3021 const WCHAR* szKeywords);
3054 char* pBuffer, size_t nBufferSize);
3087 WCHAR* pBuffer, size_t nBufferSize);
3113 const char* szCreator);
3139 const WCHAR* szCreator);
3171 char* pBuffer, size_t nBufferSize);
3203 WCHAR* pBuffer, size_t nBufferSize);
3228 TPtxSys_Date* pCreationDate);
3251 const TPtxSys_Date* pCreationDate);
3276 TPtxSys_Date* pModificationDate);
3300 TPtxSys_StreamDescriptor* pOutStreamDesc);
3328
3329/******************************************************************************
3330 * FileReference
3331 *****************************************************************************/
3380 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pData, const char* szName,
3381 const char* szMediaType, const char* szDescription, const TPtxSys_Date* pModificationDate);
3430 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pData, const WCHAR* szName,
3431 const WCHAR* szMediaType, const WCHAR* szDescription, const TPtxSys_Date* pModificationDate);
3467
3523 TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3579 TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3628 TPtxPdf_FileReference* pFileReference, const char* szAssociationRelationship);
3677 TPtxPdf_FileReference* pFileReference, const WCHAR* szAssociationRelationship);
3704PtxPdf_FileReference_GetDescriptionA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3731PtxPdf_FileReference_GetDescriptionW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3755PtxPdf_FileReference_GetMediaTypeA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3779PtxPdf_FileReference_GetMediaTypeW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3823PtxPdf_FileReference_GetNameA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3848PtxPdf_FileReference_GetNameW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3866
3867#ifdef __cplusplus
3868}
3869#endif
3870
3871#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 TPtxGeom_Rotation PDFTOOLS_TOOLBOX_CALL PtxPdf_Page_GetRotation(TPtxPdf_Page *pPage)
The current page rotation.
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 int PDFTOOLS_TOOLBOX_CALL PtxPdf_OptionalContentGroupList_GetCount(TPtxPdf_OptionalContentGroupList *pOptionalContentGroupList)
Get the number of elements in the list.
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 size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetLanguageW(TPtxPdf_Document *pDocument, WCHAR *pBuffer, size_t nBufferSize)
the default language for the document. A language identifier specifying the natural language for all ...
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_OptionalContentGroup *PDFTOOLS_TOOLBOX_CALL PtxPdf_OptionalContentGroupList_Get(TPtxPdf_OptionalContentGroupList *pOptionalContentGroupList, int iIndex)
Returns the element at the specified position in the given list.
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 TPtxPdf_OptionalContentGroupList *PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_GetOptionalContentGroups(TPtxPdf_Document *pDocument)
The optional content groups (layers) of the document.
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_Document_GetLanguageA(TPtxPdf_Document *pDocument, char *pBuffer, size_t nBufferSize)
the default language for the document. A language identifier specifying the natural language for all ...
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 size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_OptionalContentGroup_GetNameA(TPtxPdf_OptionalContentGroup *pOptionalContentGroup, char *pBuffer, size_t nBufferSize)
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 BOOL PDFTOOLS_TOOLBOX_CALL PtxPdf_Document_SetLanguageA(TPtxPdf_Document *pDocument, const char *szLanguage)
the default language for the document. A language identifier specifying the natural language for all ...
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 size_t PDFTOOLS_TOOLBOX_CALL PtxPdf_OptionalContentGroup_GetNameW(TPtxPdf_OptionalContentGroup *pOptionalContentGroup, WCHAR *pBuffer, size_t nBufferSize)
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 TPtxPdf_OcgState PDFTOOLS_TOOLBOX_CALL PtxPdf_OptionalContentGroup_GetState(TPtxPdf_OptionalContentGroup *pOptionalContentGroup)
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_Document_SetLanguageW(TPtxPdf_Document *pDocument, const WCHAR *szLanguage)
the default language for the document. A language identifier specifying the natural language for all ...
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:
TPtxPdf_OcgState
Definition PdfTools_Toolbox_Types.h:317
TPtxGeom_Rotation
Definition PdfTools_Toolbox_Types.h:109
TPtxPdf_Permission
Definition PdfTools_Toolbox_Types.h:129
TPtxPdf_NameConflictResolution
Definition PdfTools_Toolbox_Types.h:299
TPtxPdf_Conformance
Definition PdfTools_Toolbox_Types.h:174
TPtxPdf_CopyStrategy
Definition PdfTools_Toolbox_Types.h:253
TPtxPdf_RemovalStrategy
Definition PdfTools_Toolbox_Types.h:280
TPtxPdfNav_NamedDestinationCopyStrategy
Definition PdfTools_Toolbox_Types.h:775
TPtxPdfForms_FormFieldCopyStrategy
Definition PdfTools_Toolbox_Types.h:676
#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:2139
Definition PdfTools_Toolbox_Types.h:2125
Definition PdfTools_Toolbox_Types.h:2278
Structure that groups a set of callbacks that model streams.
Definition PdfTools_Toolbox_PtxSys.h:49