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_Page_GetPageLabel PtxPdf_Page_GetPageLabelW
51
52#define PtxPdf_Metadata_GetTitle PtxPdf_Metadata_GetTitleW
53#define PtxPdf_Metadata_SetTitle PtxPdf_Metadata_SetTitleW
54#define PtxPdf_Metadata_GetAuthor PtxPdf_Metadata_GetAuthorW
55#define PtxPdf_Metadata_SetAuthor PtxPdf_Metadata_SetAuthorW
56#define PtxPdf_Metadata_GetSubject PtxPdf_Metadata_GetSubjectW
57#define PtxPdf_Metadata_SetSubject PtxPdf_Metadata_SetSubjectW
58#define PtxPdf_Metadata_GetKeywords PtxPdf_Metadata_GetKeywordsW
59#define PtxPdf_Metadata_SetKeywords PtxPdf_Metadata_SetKeywordsW
60#define PtxPdf_Metadata_GetCreator PtxPdf_Metadata_GetCreatorW
61#define PtxPdf_Metadata_SetCreator PtxPdf_Metadata_SetCreatorW
62#define PtxPdf_Metadata_GetProducer PtxPdf_Metadata_GetProducerW
63
64#define PtxPdf_FileReference_Create PtxPdf_FileReference_CreateW
65
66#define PtxPdf_FileReference_GetAssociationRelationship PtxPdf_FileReference_GetAssociationRelationshipW
67#define PtxPdf_FileReference_SetAssociationRelationship PtxPdf_FileReference_SetAssociationRelationshipW
68#define PtxPdf_FileReference_GetDescription PtxPdf_FileReference_GetDescriptionW
69
70#define PtxPdf_FileReference_GetMediaType PtxPdf_FileReference_GetMediaTypeW
71
72#define PtxPdf_FileReference_GetName PtxPdf_FileReference_GetNameW
73
74#else
75#define PtxPdf_Encryption_New PtxPdf_Encryption_NewA
76#define PtxPdf_Encryption_GetUserPassword PtxPdf_Encryption_GetUserPasswordA
77#define PtxPdf_Encryption_SetUserPassword PtxPdf_Encryption_SetUserPasswordA
78#define PtxPdf_Encryption_GetOwnerPassword PtxPdf_Encryption_GetOwnerPasswordA
79#define PtxPdf_Encryption_SetOwnerPassword PtxPdf_Encryption_SetOwnerPasswordA
80
81#define PtxPdf_OptionalContentGroup_GetName PtxPdf_OptionalContentGroup_GetNameA
82
83#define PtxPdf_Document_Open PtxPdf_Document_OpenA
84#define PtxPdf_Document_OpenWithFdf PtxPdf_Document_OpenWithFdfA
85
86#define PtxPdf_Page_GetPageLabel PtxPdf_Page_GetPageLabelA
87
88#define PtxPdf_Metadata_GetTitle PtxPdf_Metadata_GetTitleA
89#define PtxPdf_Metadata_SetTitle PtxPdf_Metadata_SetTitleA
90#define PtxPdf_Metadata_GetAuthor PtxPdf_Metadata_GetAuthorA
91#define PtxPdf_Metadata_SetAuthor PtxPdf_Metadata_SetAuthorA
92#define PtxPdf_Metadata_GetSubject PtxPdf_Metadata_GetSubjectA
93#define PtxPdf_Metadata_SetSubject PtxPdf_Metadata_SetSubjectA
94#define PtxPdf_Metadata_GetKeywords PtxPdf_Metadata_GetKeywordsA
95#define PtxPdf_Metadata_SetKeywords PtxPdf_Metadata_SetKeywordsA
96#define PtxPdf_Metadata_GetCreator PtxPdf_Metadata_GetCreatorA
97#define PtxPdf_Metadata_SetCreator PtxPdf_Metadata_SetCreatorA
98#define PtxPdf_Metadata_GetProducer PtxPdf_Metadata_GetProducerA
99
100#define PtxPdf_FileReference_Create PtxPdf_FileReference_CreateA
101
102#define PtxPdf_FileReference_GetAssociationRelationship PtxPdf_FileReference_GetAssociationRelationshipA
103#define PtxPdf_FileReference_SetAssociationRelationship PtxPdf_FileReference_SetAssociationRelationshipA
104#define PtxPdf_FileReference_GetDescription PtxPdf_FileReference_GetDescriptionA
105
106#define PtxPdf_FileReference_GetMediaType PtxPdf_FileReference_GetMediaTypeA
107
108#define PtxPdf_FileReference_GetName PtxPdf_FileReference_GetNameA
109
110#endif
111
112/******************************************************************************
113 * PageCopyOptions
114 *****************************************************************************/
124
202 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdfForms_FormFieldCopyStrategy iFormFields);
246 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_RemovalStrategy iSignedSignatures);
284 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_CopyStrategy iUnsignedSignatures);
497 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdf_NameConflictResolution iFormFieldConflictResolution);
514 pPageCopyOptions); // Deprecated in Version 1.0. Setting this property has no effect. When copying pages from
515 // multiple documents, layers (optional content groups, OCG) are always merged.
530 TPtxPdf_PageCopyOptions* pPageCopyOptions,
532 iOcgConflictResolution); // Deprecated in Version 1.0. Setting this property has no effect. When copying pages
533 // from multiple documents, layers (optional content groups, OCG) are always merged.
571 TPtxPdf_PageCopyOptions* pPageCopyOptions, TPtxPdfNav_NamedDestinationCopyStrategy iNamedDestinations);
617
618/******************************************************************************
619 * Encryption
620 *****************************************************************************/
634PtxPdf_Encryption_NewA(const char* szUserPassword, const char* szOwnerPassword, TPtxPdf_Permission iPermissions);
648PtxPdf_Encryption_NewW(const WCHAR* szUserPassword, const WCHAR* szOwnerPassword, TPtxPdf_Permission iPermissions);
649
669 char* pBuffer,
670 size_t nBufferSize);
690 WCHAR* pBuffer,
691 size_t nBufferSize);
704 const char* szUserPassword);
717 const WCHAR* szUserPassword);
737PtxPdf_Encryption_GetOwnerPasswordA(TPtxPdf_Encryption* pEncryption, char* pBuffer, size_t nBufferSize);
757PtxPdf_Encryption_GetOwnerPasswordW(TPtxPdf_Encryption* pEncryption, WCHAR* pBuffer, size_t nBufferSize);
770 const char* szOwnerPassword);
783 const WCHAR* szOwnerPassword);
809 TPtxPdf_Permission iPermissions);
810
811/******************************************************************************
812 * PageList
813 *****************************************************************************/
874 TPtxPdf_PageList* pPageList,
875 TPtxPdf_PageCopyOptions* pOptions);
905 int iIndex);
923 int iIndex, int iCount);
941 TPtxPdf_Page* pPage);
959 TPtxPdf_PageList* pInput);
960
961/******************************************************************************
962 * FileReferenceList
963 *****************************************************************************/
1013
1014/******************************************************************************
1015 * OptionalContentGroup
1016 *****************************************************************************/
1036 TPtxPdf_OptionalContentGroup* pOptionalContentGroup, char* pBuffer, size_t nBufferSize);
1056 TPtxPdf_OptionalContentGroup* pOptionalContentGroup, WCHAR* pBuffer, size_t nBufferSize);
1072
1073/******************************************************************************
1074 * OptionalContentGroupList
1075 *****************************************************************************/
1109
1110/******************************************************************************
1111 * Document
1112 *****************************************************************************/
1144PtxPdf_Document_OpenA(const TPtxSys_StreamDescriptor* pStreamDesc, const char* szPassword);
1176PtxPdf_Document_OpenW(const TPtxSys_StreamDescriptor* pStreamDesc, const WCHAR* szPassword);
1212 const TPtxSys_StreamDescriptor* pFdfStreamDesc, const char* szPassword);
1248 const TPtxSys_StreamDescriptor* pFdfStreamDesc, const WCHAR* szPassword);
1284 TPtxPdf_Encryption* pEncryption);
1328 const TPtxSys_StreamDescriptor* pPdfStreamDesc, const TPtxSys_StreamDescriptor* pFdfStreamDesc,
1329 const TPtxPdf_Conformance* pConformance, TPtxPdf_Encryption* pEncryption);
1330
1425 TPtxPdf_Metadata* pMetadata);
1730 TPtxPdf_Permission* pPermissions);
1798
1810/******************************************************************************
1811 * Page
1812 *****************************************************************************/
1836 const TPtxGeomReal_Size* pSize);
1897 TPtxPdf_Page* pPage,
1898 TPtxPdf_PageCopyOptions* pOptions);
1923 const TPtxGeomReal_Rectangle* pRectangle);
1944
2022 TPtxGeomReal_Rectangle* pMediaBox);
2051 TPtxGeomReal_Rectangle* pBleedBox);
2079 TPtxGeomReal_Rectangle* pTrimBox);
2105 TPtxGeomReal_Rectangle* pArtBox);
2265 TPtxPdf_Metadata* pMetadata);
2300 size_t nBufferSize);
2335 size_t nBufferSize);
2336
2337/******************************************************************************
2338 * Metadata
2339 *****************************************************************************/
2408 TPtxPdf_Metadata* pMetadata);
2409
2439 char* pBuffer, size_t nBufferSize);
2469 WCHAR* pBuffer, size_t nBufferSize);
2492 const char* szTitle);
2515 const WCHAR* szTitle);
2545 char* pBuffer, size_t nBufferSize);
2575 WCHAR* pBuffer, size_t nBufferSize);
2598 const char* szAuthor);
2621 const WCHAR* szAuthor);
2651 char* pBuffer, size_t nBufferSize);
2681 WCHAR* pBuffer, size_t nBufferSize);
2704 const char* szSubject);
2727 const WCHAR* szSubject);
2768 char* pBuffer, size_t nBufferSize);
2809 WCHAR* pBuffer, size_t nBufferSize);
2843 const char* szKeywords);
2877 const WCHAR* szKeywords);
2910 char* pBuffer, size_t nBufferSize);
2943 WCHAR* pBuffer, size_t nBufferSize);
2969 const char* szCreator);
2995 const WCHAR* szCreator);
3027 char* pBuffer, size_t nBufferSize);
3059 WCHAR* pBuffer, size_t nBufferSize);
3084 TPtxSys_Date* pCreationDate);
3107 const TPtxSys_Date* pCreationDate);
3132 TPtxSys_Date* pModificationDate);
3156 TPtxSys_StreamDescriptor* pOutStreamDesc);
3184
3185/******************************************************************************
3186 * FileReference
3187 *****************************************************************************/
3236 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pData, const char* szName,
3237 const char* szMediaType, const char* szDescription, const TPtxSys_Date* pModificationDate);
3286 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pData, const WCHAR* szName,
3287 const WCHAR* szMediaType, const WCHAR* szDescription, const TPtxSys_Date* pModificationDate);
3323
3379 TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3435 TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3484 TPtxPdf_FileReference* pFileReference, const char* szAssociationRelationship);
3533 TPtxPdf_FileReference* pFileReference, const WCHAR* szAssociationRelationship);
3560PtxPdf_FileReference_GetDescriptionA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3587PtxPdf_FileReference_GetDescriptionW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3611PtxPdf_FileReference_GetMediaTypeA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3635PtxPdf_FileReference_GetMediaTypeW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3679PtxPdf_FileReference_GetNameA(TPtxPdf_FileReference* pFileReference, char* pBuffer, size_t nBufferSize);
3704PtxPdf_FileReference_GetNameW(TPtxPdf_FileReference* pFileReference, WCHAR* pBuffer, size_t nBufferSize);
3722
3723#ifdef __cplusplus
3724}
3725#endif
3726
3727#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 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_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 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_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:294
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:748
TPtxPdfForms_FormFieldCopyStrategy
Definition PdfTools_Toolbox_Types.h:649
#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:2039
Definition PdfTools_Toolbox_Types.h:2025
Definition PdfTools_Toolbox_Types.h:2178
Structure that groups a set of callbacks that model streams.
Definition PdfTools_Toolbox_PtxSys.h:49