InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IObjectExportOptionsSuite.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Mainak Ghosh
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// ADOBE CONFIDENTIAL
16
//
17
// Copyright 2010 Adobe Systems Incorporated. All rights reserved.
18
//
19
// NOTICE: Adobe permits you to use, modify, and distribute this
20
// file in accordance with the terms of the Adobe license agreement
21
// accompanying it. If you have received this file from a source
22
// other than Adobe, then your use, modification, or distribution of
23
// it requires the prior written permission of Adobe.
24
//
25
//========================================================================================
26
27
#ifndef __IObjectExportOptionSuite__
28
#define __IObjectExportOptionSuite__
29
30
#include "GenericID.h"
31
#include "IObjectExportOptionsData.h"
32
#include "ISVGExportOptionsData.h"
33
39
class
IObjectExportOptionsSuite
:
public
IPMUnknown
40
{
41
public
:
42
enum
{kDefaultIID = IID_IOBJECTEXPORTOPTIONSSUITE};
43
48
virtual
bool16
CanApplyObjectExportOptions
(
void
)
const
= 0;
49
54
virtual
void
GetObjectExportOptions
(
IObjectExportOptionsData
*objExpOptsData)
const
= 0;
55
60
virtual
bool16
CanApplySVGExportOptions
(
void
)
const
= 0;
61
66
virtual
void
GetSVGExportOptions
(
ISVGExportOptionsData
*svgExpOptsData)
const
= 0;
67
68
73
virtual
void
ApplyAltTextSourceType
(
IObjectExportOptions::TextSourceType
sourceType) = 0;
74
79
virtual
void
ApplyCustomAltText
(
const
PMString
& customText) = 0;
80
86
virtual
void
ApplyAltTextMetadataProperty
(
const
PMString
& nsPrefix,
const
PMString
& propertyPath) = 0;
87
92
virtual
void
ApplyActualTextSourceType
(
IObjectExportOptions::TextSourceType
sourceType) = 0;
93
98
virtual
void
ApplyCustomActualText
(
const
PMString
& customText) = 0;
99
105
virtual
void
ApplyActualTextMetadataProperty
(
const
PMString
& nsPrefix,
const
PMString
& propertyPath) = 0;
106
111
virtual
void
ApplyTagType
(
IObjectExportOptions::TagType
tagType) = 0;
112
117
virtual
void
ApplyCustomImageConversion
(bool16 custom) = 0;
118
123
virtual
void
ApplyImageType
(
IXMLExportOptions::ImageType
type) = 0;
124
125
130
virtual
void
ApplyImageResolution
(
const
PMReal
&resolution) = 0;
131
136
virtual
void
ApplyJPEGEncoding
(
IXMLExportOptions::JPEGEncoding
encoding) = 0;
137
142
virtual
void
ApplyJPEGQuality
(
IXMLExportOptions::JPEGQuality
quality) = 0;
143
148
virtual
void
ApplyGIFPaletteType
(
IXMLExportOptions::PaletteType
palette) = 0;
149
154
virtual
void
ApplyGIFInterlaced
(bool16 interlaced) = 0;
155
160
virtual
void
ApplyCustomLayout
(bool16 layout) = 0;
161
166
virtual
void
ApplyCustomLayoutType
(
IObjectExportOptions::CustomLayoutType
customLayoutType) = 0;
167
172
virtual
void
ApplyImageAlignment
(
IObjectExportOptions::ImageAlignment
align) = 0;
173
178
virtual
void
ApplyImageSpaceBefore
(
const
PMReal
&before) = 0;
179
184
virtual
void
ApplyImageSpaceAfter
(
const
PMReal
&after) = 0;
185
190
virtual
void
ApplyUseImagePageBreak
(bool16 usePageBreak) = 0;
191
196
virtual
void
ApplyImagePageBreak
(
IObjectExportOptions::ImagePageBreak
pageBreak) = 0;
197
204
virtual
ErrorCode
GetTextFromStructure
(bool16 alt,
PMString
&structureText)
const
= 0;
205
213
virtual
ErrorCode
GetTextFromMetadata
(
const
PMString
&nsPrefix,
const
PMString
&propertyPath,
PMString
&metadataText)
const
= 0;
214
219
virtual
void
ApplyUseOriginalImage
(bool16 useOriginal) = 0;
220
226
virtual
void
ApplyEpubType
(
const
PMString
&eType) = 0;
227
228
/* OBSOLETE: Do not use. Use CustomSizeType based APIs instead. */
229
/* Obsolete block starts */
230
235
virtual
void
ApplyCustomWidthType
(
IObjectExportOptions::CustomWidthType
customWidthType) = 0;
236
241
virtual
void
ApplyCustomHeightType
(
IObjectExportOptions::CustomHeightType
customHeightType) = 0;
242
247
virtual
void
ApplyCustomWidth
(
const
PMString
&width) = 0;
248
253
virtual
void
ApplyCustomHeight
(
const
PMString
&height) = 0;
254
/* Obsolete block ends */
255
256
261
virtual
void
ApplyCustomSizeType
(
IObjectExportOptions::CustomSizeType
customSizeType) = 0;
262
267
virtual
void
ApplyCustomSize
(
const
PMString
&sizeString) = 0;
268
273
virtual
void
ApplyCustomContentConversion
(bool16 custom) = 0;
274
279
virtual
void
ApplySVGExportType
(ISVGAttributes::EPubExportSVGStrategy type) = 0;
280
288
virtual
void
ApplyOnAllSVGs
(bool16 value, ISVGAttributes::EPubExportSVGStrategy type) = 0;
289
};
290
291
#endif
tmpdoxygeninput
IObjectExportOptionsSuite.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1