Pdftools SDK
Loading...
Searching...
No Matches
include
PdfTools_PdfToolsOptimizationProfiles.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* File: PdfTools_PdfToolsOptimizationProfiles.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_PDFTOOLSOPTIMIZATIONPROFILES_H__
15
#define PDFTOOLS_PDFTOOLSOPTIMIZATIONPROFILES_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
"
26
#include "
PdfTools_PdfToolsSys.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
30
{
31
#endif
32
33
#ifdef _UNICODE
34
#else
35
#endif
36
37
/******************************************************************************
38
* Profile
39
*****************************************************************************/
53
PDFTOOLS_EXPORT
TPdfToolsOptimization_ImageRecompressionOptions
*
PDFTOOLS_CALL
54
PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions
(
TPdfToolsOptimizationProfiles_Profile
* pProfile);
68
PDFTOOLS_EXPORT
TPdfToolsOptimization_FontOptions
*
PDFTOOLS_CALL
69
PdfToolsOptimizationProfiles_Profile_GetFontOptions
(
TPdfToolsOptimizationProfiles_Profile
* pProfile);
83
PDFTOOLS_EXPORT
TPdfToolsOptimization_RemovalOptions
*
PDFTOOLS_CALL
84
PdfToolsOptimizationProfiles_Profile_GetRemovalOptions
(
TPdfToolsOptimizationProfiles_Profile
* pProfile);
101
PDFTOOLS_EXPORT
BOOL
PDFTOOLS_CALL
102
PdfToolsOptimizationProfiles_Profile_GetCopyMetadata
(
TPdfToolsOptimizationProfiles_Profile
* pProfile);
119
PDFTOOLS_EXPORT
BOOL
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_Profile_SetCopyMetadata
(
120
TPdfToolsOptimizationProfiles_Profile
* pProfile,
BOOL
bCopyMetadata);
121
135
PDFTOOLS_EXPORT
TPdfToolsOptimizationProfiles_ProfileType
PDFTOOLS_CALL
136
PdfToolsOptimizationProfiles_Profile_GetType
(
TPdfToolsOptimizationProfiles_Profile
* pProfile);
137
/******************************************************************************
138
* Web
139
*****************************************************************************/
149
PDFTOOLS_EXPORT
TPdfToolsOptimizationProfiles_Web
*
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_Web_New
(
void
);
150
177
PDFTOOLS_EXPORT
BOOL
PDFTOOLS_CALL
178
PdfToolsOptimizationProfiles_Web_GetResolutionDPI
(
TPdfToolsOptimizationProfiles_Web
* pWeb,
double
* pResolutionDPI);
204
PDFTOOLS_EXPORT
BOOL
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_Web_SetResolutionDPI
(
205
TPdfToolsOptimizationProfiles_Web
* pWeb,
const
double
* pResolutionDPI);
206
207
/******************************************************************************
208
* Print
209
*****************************************************************************/
219
PDFTOOLS_EXPORT
TPdfToolsOptimizationProfiles_Print
*
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_Print_New
(
void
);
220
221
/******************************************************************************
222
* Archive
223
*****************************************************************************/
233
PDFTOOLS_EXPORT
TPdfToolsOptimizationProfiles_Archive
*
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_Archive_New
(
void
);
234
235
/******************************************************************************
236
* MinimalFileSize
237
*****************************************************************************/
247
PDFTOOLS_EXPORT
TPdfToolsOptimizationProfiles_MinimalFileSize
*
PDFTOOLS_CALL
248
PdfToolsOptimizationProfiles_MinimalFileSize_New
(
void
);
249
277
PDFTOOLS_EXPORT
BOOL
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_MinimalFileSize_GetResolutionDPI
(
278
TPdfToolsOptimizationProfiles_MinimalFileSize
* pMinimalFileSize,
double
* pResolutionDPI);
305
PDFTOOLS_EXPORT
BOOL
PDFTOOLS_CALL
PdfToolsOptimizationProfiles_MinimalFileSize_SetResolutionDPI
(
306
TPdfToolsOptimizationProfiles_MinimalFileSize
* pMinimalFileSize,
const
double
* pResolutionDPI);
307
308
#ifdef __cplusplus
309
}
310
#endif
311
312
#endif
/* PDFTOOLS_PDFTOOLSOPTIMIZATIONPROFILES_H__ */
PdfToolsOptimizationProfiles_Profile_GetType
PDFTOOLS_EXPORT TPdfToolsOptimizationProfiles_ProfileType PDFTOOLS_CALL PdfToolsOptimizationProfiles_Profile_GetType(TPdfToolsOptimizationProfiles_Profile *pProfile)
Get actual derived type of base type TPdfToolsOptimizationProfiles_Profile.
PdfToolsOptimizationProfiles_MinimalFileSize_SetResolutionDPI
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsOptimizationProfiles_MinimalFileSize_SetResolutionDPI(TPdfToolsOptimizationProfiles_MinimalFileSize *pMinimalFileSize, const double *pResolutionDPI)
The target resolution of images in DPI.
PdfToolsOptimizationProfiles_Web_New
PDFTOOLS_EXPORT TPdfToolsOptimizationProfiles_Web *PDFTOOLS_CALL PdfToolsOptimizationProfiles_Web_New(void)
PdfToolsOptimizationProfiles_Web_SetResolutionDPI
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsOptimizationProfiles_Web_SetResolutionDPI(TPdfToolsOptimizationProfiles_Web *pWeb, const double *pResolutionDPI)
The target resolution of images in DPI.
PdfToolsOptimizationProfiles_MinimalFileSize_New
PDFTOOLS_EXPORT TPdfToolsOptimizationProfiles_MinimalFileSize *PDFTOOLS_CALL PdfToolsOptimizationProfiles_MinimalFileSize_New(void)
PdfToolsOptimizationProfiles_Web_GetResolutionDPI
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsOptimizationProfiles_Web_GetResolutionDPI(TPdfToolsOptimizationProfiles_Web *pWeb, double *pResolutionDPI)
The target resolution of images in DPI.
PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions
PDFTOOLS_EXPORT TPdfToolsOptimization_ImageRecompressionOptions *PDFTOOLS_CALL PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions(TPdfToolsOptimizationProfiles_Profile *pProfile)
The image recompression options.
PdfToolsOptimizationProfiles_Archive_New
PDFTOOLS_EXPORT TPdfToolsOptimizationProfiles_Archive *PDFTOOLS_CALL PdfToolsOptimizationProfiles_Archive_New(void)
PdfToolsOptimizationProfiles_Profile_GetCopyMetadata
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsOptimizationProfiles_Profile_GetCopyMetadata(TPdfToolsOptimizationProfiles_Profile *pProfile)
Whether to copy metadata Copy document information dictionary and XMP metadata. Default: TRUE.
PdfToolsOptimizationProfiles_MinimalFileSize_GetResolutionDPI
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsOptimizationProfiles_MinimalFileSize_GetResolutionDPI(TPdfToolsOptimizationProfiles_MinimalFileSize *pMinimalFileSize, double *pResolutionDPI)
The target resolution of images in DPI.
PdfToolsOptimizationProfiles_Print_New
PDFTOOLS_EXPORT TPdfToolsOptimizationProfiles_Print *PDFTOOLS_CALL PdfToolsOptimizationProfiles_Print_New(void)
PdfToolsOptimizationProfiles_Profile_SetCopyMetadata
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsOptimizationProfiles_Profile_SetCopyMetadata(TPdfToolsOptimizationProfiles_Profile *pProfile, BOOL bCopyMetadata)
Whether to copy metadata Copy document information dictionary and XMP metadata. Default: TRUE.
PDFTOOLS_CALL
#define PDFTOOLS_CALL
Definition
PdfTools_PdfToolsOptimizationProfiles.h:21
PdfToolsOptimizationProfiles_Profile_GetRemovalOptions
PDFTOOLS_EXPORT TPdfToolsOptimization_RemovalOptions *PDFTOOLS_CALL PdfToolsOptimizationProfiles_Profile_GetRemovalOptions(TPdfToolsOptimizationProfiles_Profile *pProfile)
The parameters defining the optional data to remove or flatten.
PdfToolsOptimizationProfiles_Profile_GetFontOptions
PDFTOOLS_EXPORT TPdfToolsOptimization_FontOptions *PDFTOOLS_CALL PdfToolsOptimizationProfiles_Profile_GetFontOptions(TPdfToolsOptimizationProfiles_Profile *pProfile)
The font optimization options.
PdfTools_PdfToolsSys.h
PDFTOOLS_EXPORT
#define PDFTOOLS_EXPORT
Definition
PdfTools_Platform.h:138
PdfTools_Types.h
TPdfToolsOptimizationProfiles_Web
struct TPdfToolsOptimizationProfiles_Web TPdfToolsOptimizationProfiles_Web
The optimization profile suitable for electronic document exchange.
Definition
PdfTools_Types.h:2395
TPdfToolsOptimizationProfiles_Archive
struct TPdfToolsOptimizationProfiles_Archive TPdfToolsOptimizationProfiles_Archive
The optimization profile suitable for archiving.
Definition
PdfTools_Types.h:2435
TPdfToolsOptimizationProfiles_MinimalFileSize
struct TPdfToolsOptimizationProfiles_MinimalFileSize TPdfToolsOptimizationProfiles_MinimalFileSize
The optimization profile producing a minimal file size.
Definition
PdfTools_Types.h:2463
TPdfToolsOptimizationProfiles_ProfileType
TPdfToolsOptimizationProfiles_ProfileType
Type and subtype enumeration of TPdfToolsOptimizationProfiles_Profile.
Definition
PdfTools_Types.h:1856
TPdfToolsOptimization_RemovalOptions
struct TPdfToolsOptimization_RemovalOptions TPdfToolsOptimization_RemovalOptions
The parameters defining the optional data to remove or flatten.
Definition
PdfTools_Types.h:2364
TPdfToolsOptimization_ImageRecompressionOptions
struct TPdfToolsOptimization_ImageRecompressionOptions TPdfToolsOptimization_ImageRecompressionOptions
The parameters for image recompression.
Definition
PdfTools_Types.h:2344
TPdfToolsOptimizationProfiles_Profile
struct TPdfToolsOptimizationProfiles_Profile TPdfToolsOptimizationProfiles_Profile
The base class for PDF optimization profiles The profile defines the optimization parameters suitable...
Definition
PdfTools_Types.h:2375
TPdfToolsOptimizationProfiles_Print
struct TPdfToolsOptimizationProfiles_Print TPdfToolsOptimizationProfiles_Print
The optimization profile suitable for printing.
Definition
PdfTools_Types.h:2414
TPdfToolsOptimization_FontOptions
struct TPdfToolsOptimization_FontOptions TPdfToolsOptimization_FontOptions
The parameters for font optimization.
Definition
PdfTools_Types.h:2348
BOOL
#define BOOL
Definition
PdfTools_Types.h:18
Generated by
1.10.0