Pdftools SDK
Loading...
Searching...
No Matches
PdfTools_PdfToolsDocumentAssembly.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * File: PdfTools_PdfToolsDocumentAssembly.h
4 *
5 * Description: Sub Header file for Pdftools SDK
6 *
7 * Author: PDF Tools AG
8 *
9 * Copyright: Copyright (C) 2023 - 2024 PDF Tools AG, Switzerland
10 * All rights reserved.
11 *
12 *****************************************************************************/
13
14#ifndef PDFTOOLS_PDFTOOLSDOCUMENTASSEMBLY_H__
15#define PDFTOOLS_PDFTOOLSDOCUMENTASSEMBLY_H__
16
17#ifndef PDFTOOLS_CALL
18#if defined(WIN32)
19#define PDFTOOLS_CALL __stdcall
20#else
21#define PDFTOOLS_CALL
22#endif
23#endif
24
25#include "PdfTools_Types.h"
27
28#ifdef __cplusplus
29extern "C"
30{
31#endif
32
33#ifdef _UNICODE
34#else
35#endif
36
37/******************************************************************************
38 * PageCopyOptions
39 *****************************************************************************/
51
231 TPdfToolsDocumentAssembly_CopyStrategy iUnsignedSignatures);
323 TPdfToolsDocumentAssembly_PageCopyOptions* pPageCopyOptions, BOOL bCopyOutlineItems);
367 TPdfToolsDocumentAssembly_PageCopyOptions* pPageCopyOptions, BOOL bCopyAssociatedFiles);
415 TPdfToolsDocumentAssembly_PageCopyOptions* pPageCopyOptions, BOOL bCopyLogicalStructure);
463 TPdfToolsDocumentAssembly_NameConflictResolution iFormFieldConflictResolution);
555 TPdfToolsDocumentAssembly_PageCopyOptions* pPageCopyOptions, BOOL bOptimizeResources);
556
557/******************************************************************************
558 * DocumentCopyOptions
559 *****************************************************************************/
571
611 TPdfToolsDocumentAssembly_DocumentCopyOptions* pDocumentCopyOptions, BOOL bCopyMetadata);
651 TPdfToolsDocumentAssembly_DocumentCopyOptions* pDocumentCopyOptions, BOOL bCopyOutputIntent);
691 TPdfToolsDocumentAssembly_DocumentCopyOptions* pDocumentCopyOptions, BOOL bCopyViewerSettings);
735 TPdfToolsDocumentAssembly_DocumentCopyOptions* pDocumentCopyOptions, BOOL bCopyEmbeddedFiles);
736
737/******************************************************************************
738 * DocumentAssembler
739 *****************************************************************************/
772 TPdfToolsPdf_OutputOptions* pOutOptions,
773 const TPdfToolsPdf_Conformance* pConformance);
774
825 const int* pFirstPage, const int* pLastPage, TPdfToolsDocumentAssembly_DocumentCopyOptions* pDocumentCopyOptions,
850
863
864#ifdef __cplusplus
865}
866#endif
867
868#endif /* PDFTOOLS_PDFTOOLSDOCUMENTASSEMBLY_H__ */
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetNamedDestinations(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy strategy for named destinations.
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_CopyStrategy PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetLinks(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy strategy for links.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_GetCopyOutputIntent(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetLinks(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_CopyStrategy iLinks)
Copy strategy for links.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetUnsignedSignatures(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_CopyStrategy iUnsignedSignatures)
Copy strategy for unsigned signature fields.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetOptimizeResources(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Find and merge redundant resources.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentAssembler_Append(TPdfToolsDocumentAssembly_DocumentAssembler *pDocumentAssembler, TPdfToolsPdf_Document *pInDoc, const int *pFirstPage, const int *pLastPage, TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions, TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetCopyLogicalStructure(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy the logical structure and tagging information.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_SetCopyMetadata(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions, BOOL bCopyMetadata)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetCopyOutlineItems(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, BOOL bCopyOutlineItems)
Copy outline items (bookmarks).
PDFTOOLS_EXPORT TPdfToolsPdf_Document *PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentAssembler_Assemble(TPdfToolsDocumentAssembly_DocumentAssembler *pDocumentAssembler)
Assemble the input documents The input documents appended with PdfToolsDocumentAssembly_DocumentAssem...
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_SetCopyOutputIntent(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions, BOOL bCopyOutputIntent)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetCopyLogicalStructure(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, BOOL bCopyLogicalStructure)
Copy the logical structure and tagging information.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_SetCopyEmbeddedFiles(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions, BOOL bCopyEmbeddedFiles)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetCopyAssociatedFiles(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, BOOL bCopyAssociatedFiles)
Copy associated files.
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_CopyStrategy PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetFormFields(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy strategy for form fields.
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_CopyStrategy PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetAnnotations(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy strategy for annotations.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_SetCopyViewerSettings(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions, BOOL bCopyViewerSettings)
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_RemovalStrategy PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetSignedSignatures(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Removal strategy for signed signature fields.
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_DocumentCopyOptions *PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_New(void)
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_PageCopyOptions *PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_New(void)
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_NameConflictResolution PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetFormFieldConflictResolution(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Resolution of conflicting form field names.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetCopyOutlineItems(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy outline items (bookmarks).
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_GetCopyEmbeddedFiles(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions)
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_DocumentAssembler *PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentAssembler_New(const TPdfToolsSys_StreamDescriptor *pOutStreamDesc, TPdfToolsPdf_OutputOptions *pOutOptions, const TPdfToolsPdf_Conformance *pConformance)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_GetCopyViewerSettings(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions)
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetNamedDestinations(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy iNamedDestinations)
Copy strategy for named destinations.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetOptimizeResources(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, BOOL bOptimizeResources)
Find and merge redundant resources.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetFormFieldConflictResolution(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_NameConflictResolution iFormFieldConflictResolution)
Resolution of conflicting form field names.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentCopyOptions_GetCopyMetadata(TPdfToolsDocumentAssembly_DocumentCopyOptions *pDocumentCopyOptions)
#define PDFTOOLS_CALL
Definition PdfTools_PdfToolsDocumentAssembly.h:21
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetAnnotations(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_CopyStrategy iAnnotations)
Copy strategy for annotations.
PDFTOOLS_EXPORT TPdfToolsDocumentAssembly_CopyStrategy PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetUnsignedSignatures(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy strategy for unsigned signature fields.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_GetCopyAssociatedFiles(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions)
Copy associated files.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetFormFields(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_CopyStrategy iFormFields)
Copy strategy for form fields.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_DocumentAssembler_Close(TPdfToolsDocumentAssembly_DocumentAssembler *pObject)
Close object.
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsDocumentAssembly_PageCopyOptions_SetSignedSignatures(TPdfToolsDocumentAssembly_PageCopyOptions *pPageCopyOptions, TPdfToolsDocumentAssembly_RemovalStrategy iSignedSignatures)
Removal strategy for signed signature fields.
#define PDFTOOLS_EXPORT
Definition PdfTools_Platform.h:138
TPdfToolsPdf_Conformance
Definition PdfTools_Types.h:193
struct TPdfToolsDocumentAssembly_DocumentAssembler TPdfToolsDocumentAssembly_DocumentAssembler
The class for splitting or merging PDF documents.
Definition PdfTools_Types.h:2340
struct TPdfToolsPdf_OutputOptions TPdfToolsPdf_OutputOptions
The parameters for document-level features of output PDFs Output options are used in many operations ...
Definition PdfTools_Types.h:2217
struct TPdfToolsDocumentAssembly_DocumentCopyOptions TPdfToolsDocumentAssembly_DocumentCopyOptions
Definition PdfTools_Types.h:2336
TPdfToolsDocumentAssembly_NameConflictResolution
Definition PdfTools_Types.h:322
TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy
Definition PdfTools_Types.h:304
struct TPdfToolsDocumentAssembly_PageCopyOptions TPdfToolsDocumentAssembly_PageCopyOptions
Definition PdfTools_Types.h:2331
TPdfToolsDocumentAssembly_RemovalStrategy
Definition PdfTools_Types.h:288
TPdfToolsDocumentAssembly_CopyStrategy
Definition PdfTools_Types.h:267
#define BOOL
Definition PdfTools_Types.h:18
struct TPdfToolsPdf_Document TPdfToolsPdf_Document
The PDF document PDF documents are either opened using PdfToolsPdf_Document_Open or the result of an ...
Definition PdfTools_Types.h:2224
Structure that groups a set of callbacks that model streams.
Definition PdfTools_PdfToolsSys.h:44