![]() | InDesign SDK 20.5 |
#include <IXMLExportOptions.h>

Public Types | |
| enum | { kDefaultIID = IID_IXMLEXPORTOPTIONS } |
| enum | ImageType { kImageBest = 0, kImageJPEG, kImageGIF, kImagePNG } |
| enum | JPEGEncoding { kJPEGBaseline = 0, kJPEGProgressive } |
| enum | JPEGQuality { kJPEGLowQuality = 0, kJPEGMediumQuality, kJPEGGoodQuality, kJPEGMaxQuality } |
| enum | PaletteType { kAdaptivePalette = 0, kMacPalette, kWebPalette, kWinPalette } |
| enum | UntaggedTablesFormat { kNone = 0, kCALS } |
| enum | FrameOfReference { kSpread, kItem, kGraphicFrame, kGraphicFrameWithoutStyle } |
| typedef enum IXMLExportOptions::ImageType | ImageType |
Public Member Functions | |
| virtual bool16 | GetExportFromSelected () const =0 |
| virtual void | SetExportFromSelected (bool16 exportFromSelected)=0 |
| virtual IXMLOutStream::eEncodingType | GetEncodingType () const =0 |
| virtual void | SetEncodingType (IXMLOutStream::eEncodingType encodingType)=0 |
| virtual void | EnableOptimizedImages (bool8 enable)=0 |
| virtual void | EnableFormattedImages (bool8 enable)=0 |
| virtual void | EnableCopyOriginals (bool8 enable)=0 |
| virtual void | SetImageType (ImageType type)=0 |
| virtual void | SetJPEGOptions (JPEGEncoding encode, JPEGQuality quality)=0 |
| virtual void | SetGIFOptions (PaletteType palette, bool8 interlaced)=0 |
| virtual void | SetPNGOptions (uint32 compressionLevel)=0 |
| virtual bool8 | IsEnabledOptimizedImages (void) const =0 |
| virtual bool8 | IsEnabledFormattedImages (void) const =0 |
| virtual bool8 | IsEnabledCopyOriginals () const =0 |
| virtual ImageType | GetImageType (void) const =0 |
| virtual void | GetJPEGOptions (JPEGEncoding *encode, JPEGQuality *quality) const =0 |
| virtual void | GetGIFOptions (PaletteType *palette, bool8 *interlaced) const =0 |
| virtual void | GetPNGOptions (uint32 *compressionLevel) const =0 |
| virtual void | SetImagePPI (const PMReal &resolution)=0 |
| virtual PMReal | GetImagePPI () const =0 |
| virtual FrameOfReference | GetFrameOfReference () const =0 |
| virtual void | SetFrameOfReference (FrameOfReference x)=0 |
| virtual bool16 | GetExportRuby () const =0 |
| virtual void | SetExportRuby (bool16 exportRuby)=0 |
| virtual bool16 | GetExcludeDTD () const =0 |
| virtual void | SetExcludeDTD (bool16 excludeDTD)=0 |
| virtual UntaggedTablesFormat | GetExportUntaggedTablesFormat () const =0 |
| virtual void | SetExportUntaggedTablesFormat (UntaggedTablesFormat exportUntaggedTables)=0 |
| virtual bool16 | GetRunScriptOnExport () const =0 |
| virtual void | SetRunScriptOnExport (bool16 runScript)=0 |
| virtual IDFile | GetXSLTScriptFileName () const =0 |
| virtual void | SetXSLTScriptFileName (IDFile fileName)=0 |
| virtual bool16 | GetExportCharacterReferences () const =0 |
| virtual void | SetExportCharacterReferences (bool16 exportReferences)=0 |
| virtual void | Copy (IXMLExportOptions *otherOptions)=0 |
| virtual void | SetImageScale (PMReal xScale=1.0, PMReal yScale=1.0)=0 |
| virtual void | GetImageScale (PMReal &xScale, PMReal &yScale) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface for export preferences. To change preferences from client code, use kChangeXMLExportOptionsCmdBoss rather than calling mutators on this interface.
| typedef enum IXMLExportOptions::ImageType IXMLExportOptions::ImageType |
Supported image types.
When rasterizing, the frame of reference for that rasterization.
Supported image types.
JPEGEncoding
JPEGQuality
PaletteType (GIF)
| pure virtual |
Set the state stored on this interface based off another similar interface
| otherOptions | interface whose state we'll copy over to this |
| pure virtual |
Mutator for image setting; see IXMLExportUtils for information
| enable |
| pure virtual |
| pure virtual |
| pure virtual |
Accessor for encoding type
| pure virtual |
Acccessor for property whether to exclude a DTD reference on export
| pure virtual |
Accessor for property specifying whether to export special characters as entities.
| pure virtual |
Acccessor for property specifying whether to export from selection
| pure virtual |
Acccessor for property whether to export ruby with the W3C markup
| pure virtual |
Acccessor for property specifying the format to use when exporting untagged tables.
| pure virtual |
Accessor for rasterization frame of reference.
| pure virtual |
Accessor for GIF parameters stored on this interface
| palette | [OUT] |
| interlaced | [OUT] |
| pure virtual |
Accessor for retrieving desired resolution set in SetImagePPI().
Get xScale of the image
| xScale | exported image's xScale |
| yScale | exported image's yScale |
| pure virtual |
Accessor for ImageType stored on this interface
| pure virtual |
Accessor for JPEG parameters stored on this interface
| encode | [OUT] |
| quality | [OUT] |
| pure virtual |
Accessor for PNG parameters stored on this interface
| compressionLevel | [OUT] |
| pure virtual |
Acccessor for property specifying whether to run an XSLT script during export. This goes along with GetXSLTScriptFileName.
| pure virtual |
Acccessor for property specifying where the XSLT script is located. This goes along with GetRunScriptOnExport.
| pure virtual |
Accessor for property stored on this interface
| pure virtual |
Accessor for property stored on this interface
| pure virtual |
Accessor for property stored on this interface
| pure virtual |
Mutator for encoding type stored on this interface
| encodingType | specify a new encoding type to store on this interface |
| pure virtual |
Mutator for property whether to exclude a DTD reference on export
| exclude | DTD kTrue if excluding DTD on export |
| pure virtual |
Mutator for property specifying whether to export special characters as references.
| exportReference | kTrue to export references. |
| pure virtual |
Mutator for property specifying whether to export from selection
| exportFromSelected | kTrue if should be exporting from selection |
| pure virtual |
Mutator for property whether to export ruby with the W3C markup
| exportRuby | kTrue if exporting ruby |
| pure virtual |
Mutator for property specifying the format to use when exporting untagged tables.
| exportUntaggedTables | The format to use when exporting untagged tables. |
| pure virtual |
Mutator for rasterization frame of reference.
| pure virtual |
Mutator for image setting; GIF parameters
| palette | kind of palette (from PaletteType) to create on export |
| interlaced | whether interlaced GIFs created on export |
| pure virtual |
Mutator for specifying the desired export resolution for graphic types like jpeg and png. Actual output resolution may differ dependent on source image.
| resolution | desired resolution (dpi) |
| pure virtual |
Set xScale, ysScale for the image which are exported.
| xScale | exported image's xScale |
| yScale | exported image's yscale |
| pure virtual |
Mutator for image setting
| type | specify how exported images should be represented |
| pure virtual |
Mutator for image setting; JPEG parameters
| encode | what variant of JPEG encoding schemes to choose |
| quality | specifies quality level to use for exported JPEGs |
| pure virtual |
Mutator for image setting; PNG parameters
| compressionLevel | 0..9 are allowed levels of compression with 9 being the highest compression. |
| pure virtual |
Mutator for property specifying whether to run an XSLT script during export. This goes along with SetXSLTScriptFileName.
| runScript | kTrue if should be Running a Script |
| pure virtual |
Mutator for property specifying where the XSLT script is located. This goes along with SetRunScriptOnExport.
| fileName | The filename of the script to run |