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

Public Types | |
| enum | { kDefaultIID = IID_ISVGEXPORTPREFERENCES } |
| enum | ImageFormat { kDefaultImageFormat, kJPEGImageFormat, kGIFImageFormat, kPNGImageFormat } |
| enum | JPEGQuality { kJPEGQualityHigh, kJPEGQualityMedHigh, kJPEGQualityMed, kJPEGQualityMedLow, kJPEGQualityLow } |
| enum | GIFPaletteType { kWebPalette, kMacPalette, kWinPalette, kExactPalette, kAdaptivePalette } |
| enum | ExportBitmapSampling { kHiResSampling, kLowResSampling } |
| enum | FontSubsetting { kSubsetNone, kSubsetGlyphsOnly, kSubsetCommonEnglishOnly, kSubsetGlyphsPlusEnglish, kSubsetCommonRomanOnly, kSubsetGlyphsPlusRoman, kSubsetEntire } |
| enum | ImageSampling { kNoSampling, kSubSampling, kDownSampling } |
| enum | RenderingStyle { kProgressiveRendering, kBatchRendering } |
| enum | FileEncoding { kASCIIEncoding, kUTF8Encoding, kUTF16Encoding } |
| enum | StyleFormat { kInlineStyleFormat, kEntityStyleFormat, kCSSStyleFormat, kInlineFormat } |
| enum | PageRangeFormat { kAllPages, kRange } |
Public Member Functions | |
| virtual bool16 | GetEmbedImages () const =0 |
| virtual void | SetEmbedImages (bool16 embed)=0 |
| virtual ImageFormat | GetImageFormat () const =0 |
| virtual void | SetImageFormat (ImageFormat format)=0 |
| virtual JPEGQuality | GetJPEGQuality () const =0 |
| virtual void | SetJPEGQuality (JPEGQuality quality)=0 |
| virtual GIFPaletteType | GetGIFPaletteType () const =0 |
| virtual void | SetGIFPaletteType (GIFPaletteType palette)=0 |
| virtual bool16 | GetInterlacedGIF () const =0 |
| virtual void | SetInterlacedGIF (bool16 interlace)=0 |
| virtual ExportBitmapSampling | GetExportBitmapSampling () const =0 |
| virtual void | SetExportBitmapSampling (ExportBitmapSampling sampling)=0 |
| virtual bool16 | GetEmbedFonts () const =0 |
| virtual void | SetEmbedFonts (bool16 embed)=0 |
| virtual FontSubsetting | GetFontSubsetting () const =0 |
| virtual void | SetFontSubsetting (FontSubsetting subset)=0 |
| virtual bool16 | GetOutputReadersSpreads () const =0 |
| virtual void | SetOutputReadersSpreads (bool16 output)=0 |
| virtual ImageSampling | GetImageSampling () const =0 |
| virtual void | SetImageSampling (ImageSampling sampling)=0 |
| virtual uint32 | GetRealPrecision () const =0 |
| virtual void | SetRealPrecision (uint32 precision)=0 |
| virtual RenderingStyle | GetRenderingStyle () const =0 |
| virtual void | SetRenderingStyle (RenderingStyle style)=0 |
| virtual FileEncoding | GetFileEncoding () const =0 |
| virtual void | SetFileEncoding (FileEncoding encoding)=0 |
| virtual StyleFormat | GetStyleFormat () const =0 |
| virtual void | SetStyleFormat (StyleFormat format)=0 |
| virtual PageRangeFormat | GetPageRangeFormat () const =0 |
| virtual void | SetPageRangeFormat (PageRangeFormat format)=0 |
| virtual PMString const & | GetPageRange () const =0 |
| virtual void | SetPageRange (PMString const &range)=0 |
| virtual UID | GetFlattenerStyle () const =0 |
| virtual void | SetFlattenerStyle (UID const &style)=0 |
| virtual bool16 | GetIgnoreFlattenerSpreadOverrides () const =0 |
| virtual void | SetIgnoreFlattenerSpreadOverrides (bool16 ignore)=0 |
| virtual bool16 | GetFlattenOutput () const =0 |
| virtual void | SetFlattenOutput (bool16 flatten)=0 |
| virtual bool16 | GetUseNativeXP () const =0 |
| virtual void | SetUseNativeXP (bool16 useNativeXP)=0 |
| virtual void | Copy (ISVGExportPreferences const *other)=0 |
| virtual bool16 | GetPageItemExport () const =0 |
| virtual void | SetPageItemExport (bool16 pageitemExport)=0 |
| virtual void | EnableDisableContent (bool16 inEnableStroke)=0 |
| virtual void | EnableDisableFill (bool16 inEnableFill)=0 |
| virtual void | EnableDisableStroke (bool16 inEnableFill)=0 |
| virtual bool16 | IsContentEnabled () const =0 |
| virtual bool16 | IsStrokeEnabled () const =0 |
| virtual bool16 | IsFillEnabled () const =0 |
| virtual void | EnableWriteXMLHeader (bool16 enable)=0 |
| virtual bool16 | IsWriteXMLHeaderEnabled () 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 defining preferences to be used when exporting to SVG
Bitmap sampling options
File encoding options
Font subsetting options
Export palette types used for GIF images
Preferred image format. Actual format used may differ if rasterization requires capabilities not found in specified format (eg. JPEG can't be used if require transparency)
Image sampling options
JPEG quality levels
Page range formats
SVG rendering styles
SVG Style formats
| pure virtual |
Copies one set of prefs into another
Note: use a command to actually set this!
| other | IN The preferences to copy |
| pure virtual |
Gets embed fonts flag
| pure virtual |
Gets bitmap sampling
| pure virtual |
Gets file encoding option
| pure virtual |
Gets flattener style
| pure virtual |
Gets flatten output flag
| pure virtual |
Gets font subsetting option
| pure virtual |
Gets GIF palette type
| pure virtual |
Gets ignore spread overrides flag
| pure virtual |
Gets preferred image format
| pure virtual |
Gets image sampling option
| pure virtual |
Gets GIF interlacing
| pure virtual |
Gets JPEG compression quality
| pure virtual |
Gets reader's spreads setting
| pure virtual |
Gets pageitem export flag
| pure virtual |
Gets page range as a string
| pure virtual |
Gets page range format
| pure virtual |
Gets real precision
| pure virtual |
Gets rendering style
| pure virtual |
Gets style format
| pure virtual |
Gets use native XP flag
| pure virtual |
Sets embed fonts flag
| embed | IN New embed setting |
| pure virtual |
Sets embed images flag
| embed | IN If kTrue, images are embedded. |
| pure virtual |
Sets bitmap sampling
| sampling | IN New sampling setting |
| pure virtual |
Sets file encoding option
| encoding | IN New encoding option |
| pure virtual |
Sets flattener style
| style | IN New flattener style UID |
| pure virtual |
Sets flatten output flag
| flatten | IN New flatten output flag |
| pure virtual |
Sets font subsetting option
| subset | IN New font subsetting option |
| pure virtual |
Sets GIF palette type
| palette | IN New GIF palette type |
| pure virtual |
Sets ignore spread overrides flag
| ignore | IN New ignore spread overrides flag |
| pure virtual |
Sets preferred image format
| format | IN Preferred image format |
| pure virtual |
Sets image sampling option
| sampling | IN New sampling option |
| pure virtual |
Sets GIF interlacing
| interlace | IN New GIF interlace setting |
| pure virtual |
Sets JPEG compression quality
| quality | IN New compression quality |
| pure virtual |
Sets reader's spreads setting
| output | IN New reader's spreads setting |
| pure virtual |
Sets pageitem export flag
| pageitemExport | IN New pageitem export flag |
| pure virtual |
Sets page range as a string
| range | IN New page range string |
| pure virtual |
Sets page range format
| format | IN New page range format |
| pure virtual |
Sets real precision. Must be between 1 and 7, inclusive
| precision | IN New real precision |
| pure virtual |
Sets rendering style
| style | IN New rendering style |
| pure virtual |
Sets style format
| format | IN New style format |
| pure virtual |
Sets use native XP flag
| useNativeXP | IN New use native XP flag |