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

Public Member Functions | |
| virtual void | CopyPrefs (IPDFExportPrefs const *prefsToCopy)=0 |
| virtual void | SetPDFExLaunchAcrobat (int32 launchAcrobat)=0 |
| virtual void | SetPDFExReaderSpreads (int32 readerSpreads)=0 |
| virtual void | SetPDFExThumbnails (int32 thumbnails)=0 |
| virtual void | SetPDFExLinearized (int32 linearized)=0 |
| virtual void | SetPDFExEmbedFonts (int32 embedFonts)=0 |
| virtual void | SetPDFExSubsetFonts (int32 subsetFonts)=0 |
| virtual void | SetPDFExSubsetFontsThreshold (int32 subsetFontsThreshold)=0 |
| virtual void | SetPDFExColorSpace (int32 colorSpace)=0 |
| virtual void | SetPDFExIncludeICCProfiles (int32 includeICCProfiles)=0 |
| virtual void | SetPDFExOutputOPI (int32 outputOPI)=0 |
| virtual void | SetPDFExBitmapSampling (int32 bitmapSampling)=0 |
| virtual void | SetPDFExCompressLineArtAndText (int32 compressLineArtAndText)=0 |
| virtual void | SetPDFExSampleColorImages (int32 sampleColorImages)=0 |
| virtual void | SetPDFExSampleGrayImages (int32 sampleGrayImages)=0 |
| virtual void | SetPDFExSampleMonoImages (int32 sampleMonoImages)=0 |
| virtual void | SetPDFExSampleColorImagesXRes (int32 colorImagesXRes)=0 |
| virtual void | SetPDFExSampleColorImagesYRes (int32 colorImagesYRes)=0 |
| virtual void | SetPDFExSampleGrayImagesXRes (int32 grayImagesXRes)=0 |
| virtual void | SetPDFExSampleGrayImagesYRes (int32 grayImagesYRes)=0 |
| virtual void | SetPDFExSampleMonoImagesXRes (int32 monoImagesXRes)=0 |
| virtual void | SetPDFExSampleMonoImagesYRes (int32 monoImagesYRes)=0 |
| virtual void | SetPDFExCompressColorImages (int32 compressColorImages)=0 |
| virtual void | SetPDFExCompressGrayImages (int32 compressGrayImages)=0 |
| virtual void | SetPDFExCompressMonoImages (int32 compressMonoImages)=0 |
| virtual void | SetPDFExBleed (int32 bleed)=0 |
| virtual void | SetPDFExBleedMarks (int32 bleedMarks)=0 |
| virtual void | SetPDFExCropMarks (int32 cropMarks)=0 |
| virtual void | SetPDFExRegistrationMarks (int32 registrationMarks)=0 |
| virtual void | SetPDFExColorBars (int32 colorBars)=0 |
| virtual void | SetPDFExPageInfo (int32 pageInfo)=0 |
| virtual void | SetPDFExPrinterMarksOffset (PMReal printerMarksOffset)=0 |
| virtual void | SetPDFExErrorControl (int32 errorControl)=0 |
| virtual void | SetPDFExDisallowImageCrop (int32 disallowImageCrop)=0 |
| virtual void | SetPDFExOmitPDF (int32 omitPDF)=0 |
| virtual void | SetPDFExOmitEPS (int32 omitEPS)=0 |
| virtual void | SetPDFExOmitBitmapImages (int32 omitBitmapImages)=0 |
| virtual void | SetAddStructure (bool16 add)=0 |
| virtual int32 | GetPDFExLaunchAcrobat () const =0 |
| virtual int32 | GetPDFExReaderSpreads () const =0 |
| virtual int32 | GetPDFExThumbnails () const =0 |
| virtual int32 | GetPDFExLinearized () const =0 |
| virtual int32 | GetPDFExEmbedFonts () const =0 |
| virtual int32 | GetPDFExSubsetFonts () const =0 |
| virtual int32 | GetPDFExSubsetFontsThreshold () const =0 |
| virtual int32 | GetPDFExColorSpace () const =0 |
| virtual int32 | GetPDFExIncludeICCProfiles () const =0 |
| virtual int32 | GetPDFExOutputOPI () const =0 |
| virtual int32 | GetPDFExBitmapSampling () const =0 |
| virtual int32 | GetPDFExCompressLineArtAndText () const =0 |
| virtual int32 | GetPDFExSampleColorImages () const =0 |
| virtual int32 | GetPDFExSampleGrayImages () const =0 |
| virtual int32 | GetPDFExSampleMonoImages () const =0 |
| virtual int32 | GetPDFExSampleColorImagesXRes () const =0 |
| virtual int32 | GetPDFExSampleColorImagesYRes () const =0 |
| virtual int32 | GetPDFExSampleGrayImagesXRes () const =0 |
| virtual int32 | GetPDFExSampleGrayImagesYRes () const =0 |
| virtual int32 | GetPDFExSampleMonoImagesXRes () const =0 |
| virtual int32 | GetPDFExSampleMonoImagesYRes () const =0 |
| virtual int32 | GetPDFExCompressColorImages () const =0 |
| virtual int32 | GetPDFExCompressGrayImages () const =0 |
| virtual int32 | GetPDFExCompressMonoImages () const =0 |
| virtual int32 | GetPDFExBleed () const =0 |
| virtual int32 | GetPDFExBleedMarks () const =0 |
| virtual int32 | GetPDFExCropMarks () const =0 |
| virtual int32 | GetPDFExRegistrationMarks () const =0 |
| virtual int32 | GetPDFExColorBars () const =0 |
| virtual int32 | GetPDFExPageInfo () const =0 |
| virtual PMReal | GetPDFExPrinterMarksOffset () const =0 |
| virtual int32 | GetPDFExErrorControl () const =0 |
| virtual int32 | GetPDFExDisallowImageCrop () const =0 |
| virtual int32 | GetPDFExOmitPDF () const =0 |
| virtual int32 | GetPDFExOmitEPS () const =0 |
| virtual int32 | GetPDFExOmitBitmapImages () const =0 |
| virtual bool16 | GetAddStructure () const =0 |
| virtual void | SetPDFExAcrobatCompatibilityLevel (int32 appVersion)=0 |
| virtual int32 | GetPDFExAcrobatCompatibilityLevel () const =0 |
| virtual void | SetPDFExResolution (int32 resolution)=0 |
| virtual int32 | GetPDFExResolution () const =0 |
| virtual void | SetPDFExDstProfileSelectorAndName (int32 selector, const PMString &name)=0 |
| virtual int32 | GetPDFExDstProfileSelector () const =0 |
| virtual PMString | GetPDFExDstProfileName () const =0 |
| virtual PMString | GetEffectiveDstProfileName () const =0 |
| virtual void | SetPDFExIncHyperLinks (int32 incHyperLinks)=0 |
| virtual int32 | GetPDFExIncHyperLinks () const =0 |
| virtual void | SetPDFExMarkLineWeight (const PMReal &markLineWeight)=0 |
| virtual PMReal | GetPDFExMarkLineWeightJ () const =0 |
| virtual PMReal | GetPDFExMarkLineWeight () const =0 |
| virtual void | SetPDFExBleedTop (const PMReal &bleedTop)=0 |
| virtual PMReal | GetPDFExBleedTop () const =0 |
| virtual void | SetPDFExBleedInside (const PMReal &bleedInside)=0 |
| virtual PMReal | GetPDFExBleedInside () const =0 |
| virtual void | SetPDFExBleedBottom (const PMReal &bleedBottom)=0 |
| virtual PMReal | GetPDFExBleedBottom () const =0 |
| virtual void | SetPDFExBleedOutside (const PMReal &bleedOutside)=0 |
| virtual PMReal | GetPDFExBleedOutside () const =0 |
| virtual void | SetPDFExSpotOverPrint (int32 spotOverPrint)=0 |
| virtual int32 | GetPDFExSpotOverPrint () const =0 |
| virtual UID | GetPDFExFlattenerStyle () const =0 |
| virtual void | SetPDFExFlattenerStyleName (const PMString &strStyle)=0 |
| virtual PMString | GetPDFExFlattenerStyleName () const =0 |
| virtual void | SetPDFExIgnoreFlattenerSpreadOverrides (bool16 ignore)=0 |
| virtual bool16 | GetPDFExIgnoreFlattenerSpreadOverrides () const =0 |
| virtual void | SetIncludeBookmarks (bool32 add)=0 |
| virtual bool32 | GetIncludeBookmarks () const =0 |
| virtual void | SetNonprintingObjects (bool32 checked)=0 |
| virtual bool32 | GetNonprintingObjects () const =0 |
| virtual void | SetVisibleGuidesGrids (bool32 checked)=0 |
| virtual bool32 | GetVisibleGuidesGrids () const =0 |
| virtual void | SetPDFExStandardsCompliance (int32 standardLevel)=0 |
| virtual int32 | GetPDFExStandardsCompliance (void) const =0 |
| virtual void | SetPDFExOutputConditionName (PMString name)=0 |
| virtual PMString | GetPDFExOutputConditionName () const =0 |
| virtual PMString | GetEffectivePDFXOutputConditionName () const =0 |
| virtual void | SetPDFExOCRegistryName (PMString name)=0 |
| virtual PMString | GetPDFExOCRegistryName () const =0 |
| virtual PMString | GetEffectivePDFXOCRegistryName () const =0 |
| virtual void | SetPDFExAddInteractiveElements (bool16 addIElems)=0 |
| virtual bool16 | GetPDFExAddInteractiveElements () const =0 |
| virtual IGenericSettings * | GetSettings (bool16 fShowSecurity=kFalse, bool16 bShowDescriptionAndWarnings=kFalse, IDocument *iDoc=nil) const =0 |
| virtual void | SetProgress (RangeProgressBar *pProgress)=0 |
| virtual RangeProgressBar * | GetProgress () const =0 |
| virtual void | SetPageMarkFile (const PMString &pageMarkFile)=0 |
| virtual PMString | GetPageMarkFile () const =0 |
| virtual void | SetIncludeLayers (bool32 includeLayers)=0 |
| virtual bool32 | GetIncludeLayers () const =0 |
| virtual void | SetExportLayers (const int32 exportLayers)=0 |
| virtual int32 | GetExportLayers () const =0 |
| virtual void | SetCompressColorAbove (int32 dpi)=0 |
| virtual int32 | GetCompressColorAbove () const =0 |
| virtual void | SetCompressGrayAbove (int32 dpi)=0 |
| virtual int32 | GetCompressGrayAbove () const =0 |
| virtual void | SetCompressMonochromeAbove (int32 dpi)=0 |
| virtual int32 | GetCompressMonochromeAbove () const =0 |
| virtual void | SetColorTileSize (int32 dpi)=0 |
| virtual int32 | GetColorTileSize () const =0 |
| virtual void | SetGrayTileSize (int32 dpi)=0 |
| virtual int32 | GetGrayTileSize () const =0 |
| virtual void | SetUseDocumentBleed (bool32 documentBleed)=0 |
| virtual bool32 | GetUseDocumentBleed () const =0 |
| virtual void | SetIncludeSlug (bool32 includeSlug)=0 |
| virtual bool32 | GetIncludeSlug () const =0 |
| virtual void | SetContentToEmbed (int32 contentToEmbed)=0 |
| virtual int32 | GetContentToEmbed () const =0 |
| virtual void | SetCompressionType (int32 compressionType)=0 |
| virtual int32 | GetCompressionType () const =0 |
| virtual void | SetPDFXProfileSelectorAndName (int32 selector, const PMString &name)=0 |
| virtual int32 | GetPDFXProfileSelector () const =0 |
| virtual PMString | GetPDFXProfileName () const =0 |
| virtual PMString | GetEffectivePDFXProfileName () const =0 |
| virtual void | SetTranslatedDescription (const PMString &desc, int32 langid)=0 |
| virtual PMString | GetTranslatedDescription (int32 langid)=0 |
| virtual void | SetOutputConditionHumanReadable (const PMString &id)=0 |
| virtual PMString | GetOutputConditionHumanReadable () const =0 |
| virtual ErrorCode | ReadJobOptionsDataFromDisk (const IDFile &presetFile)=0 |
| virtual ErrorCode | WriteJobOptionsDataToDisk (const IDFile &presetFile)=0 |
| virtual PDFSettings * | GetJobOptionsData () const =0 |
| virtual bool16 | IsPresetUsable () const =0 |
| virtual POSObject * | GetWarningList (IDocument const *document) const =0 |
| virtual PMString | GetPresetFilename () const =0 |
| virtual void | SetUIName (PMString const &name)=0 |
| virtual PMString | GetUIName () const =0 |
| virtual uint64 | GetTimeStamp () const =0 |
| virtual void | ReadWrite (IPMStream *iPMStream, ImplementationID prop)=0 |
| virtual void | SetPresetFilename (PMString const &filename)=0 |
| virtual bool16 | IsModified () const =0 |
| virtual bool32 | FixUpSettings (IDocument *iDoc=nil, bool32 clearDirty=kFalse)=0 |
| virtual PDFSettings * | GetPristineJobOptionsData () const =0 |
| virtual PMReal | GetFlattenerRasterVectorBalance () const =0 |
| virtual PMReal | GetFlattenerLineArtTextResolution () const =0 |
| virtual PMReal | GetFlattenerGradientResolution () const =0 |
| virtual bool32 | GetFlattenerClipComplexRegions () const =0 |
| virtual bool32 | GetFlattenerConvertStrokesToOutlines () const =0 |
| virtual bool32 | GetFlattenerConvertTextToOutlines () const =0 |
| virtual void | SetMagnification (int32 magnification)=0 |
| virtual int32 | GetMagnification () const =0 |
| virtual void | SetPageLayout (int32 pageLayout)=0 |
| virtual int32 | GetPageLayout () const =0 |
| virtual void | SetOpenInFullScreenMode (bool16 fullScreen)=0 |
| virtual bool16 | GetOpenInFullScreenMode () const =0 |
| virtual void | SetDisplayTitle (int32 title)=0 |
| virtual int32 | GetDisplayTitle () const =0 |
| virtual void | SetDefaultDocumentLanguage (const PMString &language)=0 |
| virtual PMString | GetDefaultDocumentLanguage () const =0 |
| virtual void | SetExportSinglePagesPDF (bool16 exportSinglePages)=0 |
| virtual bool16 | GetExportSinglePagesPDF () const =0 |
| virtual void | SetSinglePagesPDFSuffix (PMString singlePagesSuffix)=0 |
| virtual PMString | GetSinglePagesPDFSuffix () const =0 |
| virtual void | SetExportHiddenSpread (bool16 exportHiddenSpread)=0 |
| virtual bool16 | GetExportHiddenSpread () 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 |
IPDFExportPrefs contains the PDF export preferences.
| pure virtual |
Copy the specified preferences to this object.
| prefsToCopy | is a pointer to the preferences to copy. |
| pure virtual |
Make the PDF preferences consistent for a document's CMS state.
FixUpSettings is meant to ensure that settings are in a consistent state, especially with regards to color conversion and color management options. It is called at various points in the export process, typically where we've read in a set of settings from a .joboptions file on disk. InDesign will also call this at various places in the UI and scripting code to ensure that changes made don't put things into an inconsistent state.
The document parameter to FixUpSettings is used to determine two things: First, whether CMS is on in the specified document; and second, what the current CMYK and RGB working profiles are. If the default nil value is used, InDesign uses profiles from the workspace and makes the assumption that CMS is on. InDesign uses this information to apply various heuristics. At a 10K foot level, it:
1) Applies some basic fix ups related to obsolete keys or bogus entries. This is most relevant when a joboptions file is read in from disk, particularly when the source for that joboptions file is Distiller or an obsolete CS app. It is usually not necessary if the source is a CS app or if entries in the settings are programmatically edited.
2) Fills in any default values that may be missing. Again, this is most common for files read in from disk any is usually not required if entries are explicitly modified.
3) Determines whether we should honor the so-called 'private dict' settings used by CS apps or the 'official' ones that Distiller uses.
The third item is the most important. The problem is that Distiller and the CS apps differ in the way CMS works and the joboptions parameters used to configure it. As a result, CS apps must at times approximate the behavior implied by the Distiller settings. The private dict settings reduce the problem somewhat by standardizing treatment of CMS- related options across CS apps, but present a different problem in that CS apps must be able to determine if a joboptions file has been edited in a way to invalidates the private settings. FixUpSettings accomplishes that.
The recommendation is that a call to FixUpSettings be made after programmatically editing an IPDFExportPrefs instance, particularly with options related to color conversion or color management. Whenever possible, this should include a pointer to the document to be exported to ensure the correct working profiles are used and any necessary corrections are made. It is also recommended - but not required - that a call to IsPresetUsable be made to ensure that the settings instance is in a usable state.
| iDoc | [IN, OPTIONAL] The associated document to use with these settings. A nil value (the default) indicates that there is no associated document and that the settings should behave as if CMS were on, using default profiles (as the preset editor does). |
| clearDirty | [IN, OPTIONAL]. A value of true clears the use modified flag (makes IsModified return false). |
| pure virtual |
Get Tagged PDF preference.
| pure virtual |
Get the color tile size.
| pure virtual |
Get the color resolution threshold.
| pure virtual |
Get the gray resolution threshold.
| pure virtual |
Get compression type.
| pure virtual |
Get the monochrome resolution threshold.
| pure virtual |
Get interactive content to embed. NOTE: as of CS5, GetContentToEmbed is obsolete since Export to PDF for Print does not output interactive elements. Instead use the IInteractivePDFExportFacade.
| pure virtual |
Gets the default document language for the PDF being exported.
| pure virtual |
Gets the display title for the PDF being exported.
| pure virtual |
Get destination profile name. This returns the resulting profile after mapping the selector value to an actual profile.
| pure virtual |
Get the output condition registry name. This returns the known condition associated with an output intent profile identified by the selector value.
| pure virtual |
Get the output condition identifier. Returns a known condition if the effective output intent profile maps to one. Otherwise the name specfied in the preset is returned.
| pure virtual |
Get PDF/X profile name. This applies when the selector is use name. It returns the mapped profile if the selector references document or working space rather than using a name directly.
| pure virtual |
Gets whether to export the document with hidden spreads or not.
| pure virtual |
Get which layers will export
| pure virtual |
Gets whether to export the document in single pages PDF.
| pure virtual |
Get the flattener clip complex regions state (GetFlattenerFlags - IFlattenerSettings::kFlOptkClipComplexRegions).
| pure virtual |
Get the flattener convert strokes to outlines state (GetFlattenerFlags - IFlattenerSettings::kFlOptkConvertStrokeToFill).
| pure virtual |
Get the flattener convert text to outlines state (GetFlattenerFlags - IFlattenerSettings::kFlOptUseTextOutlines).
| pure virtual |
Get the flattener gradient resolution (GetFlattenerInternalDPI).
| pure virtual |
Get the flattener line art text resolution (GetFlattenerExternalDPI).
| pure virtual |
The following flattener settings get methods are used to create a flattener preset when the PDF preset is added to the PDF preset list. When you change the flattener name with SetPDFExFlattenerStyleName all these settings are changed to match the settings in the flattener style list. If there is no associated flattener setting, the default values are returned.Get the flattener raster vector balance (GetFlattenerLevel).
| pure virtual |
Get the gray tile size.
| pure virtual |
Get include bookmarks preference.
| pure virtual |
Get the include layers preference.
| pure virtual |
Get include slug preference.
| pure virtual |
Get the associated job options data.
| pure virtual |
Gets the initial magnification setting.
| pure virtual |
Get include non-printing objects preference.
| pure virtual |
Gets whether to open the PDF in full screen mode.
| pure virtual |
Get the output condition name.
| pure virtual |
Gets the page layout for the PDF being exported.
| pure virtual |
Get the page mark file.
| pure virtual |
Get Acrobat compatibility level.
| pure virtual |
Get the include interactive elements preference. NOTE: As of CS5, Export to PDF for Print does not export interactive elements. To export create an interactive PDF, use Export PDF (Interactive). The GetPDFExAddInteractiveElements preference here now maps to the Interactive Elements choice in the UI. If TRUE, interactive elements are drawn as 'Appearance Only'. If FALSE, interactive elements are set to 'Do Not Include'.
| pure virtual |
Not used.
| pure virtual |
Get whether to include bleed.
| pure virtual |
Get bleed bottom offset preference.
| pure virtual |
Get bleed inside offset preference.
| pure virtual |
Get include bleed marks preference.
| pure virtual |
Get bleed outside offset preference.
| pure virtual |
Get bleed top offset preference.
| pure virtual |
Get include color bars preference.
| pure virtual |
Get the PDF color space.
| pure virtual |
Get compression strategy to use for color images.
| pure virtual |
Get compression strategy to use for gray images.
| pure virtual |
Get compress line art and text preference.
| pure virtual |
Get compression strategy to use for monochrome images.
| pure virtual |
Get include copy marks preference.
| pure virtual |
Get image crop to frame preference.
| pure virtual |
Set destination profile name. This applies when the destination selector is use name. Deprecated for InDesign 5.0. See SetPDFExDstProfileSelectorAndName
| name | of the profile. virtual void SetPDFExDstProfileName(const PMString &name) = 0;Get destination profile name. This applies when the destination selector is use name. |
| pure virtual |
Set destination profile selector. Deprecated for InDesign 5.0. See SetPDFExDstProfileSelectorAndName
| selector | value. See kExportPDFDestProfile... values. virtual void SetPDFExDstProfileSelector(int32 selector) = 0;Get destination profile selector. |
| pure virtual |
Not used.
| pure virtual |
Get error control preference.
| pure virtual |
Get flattener preset UID for the associated flattener preset name.
| pure virtual |
Get the associated flattener preset name.
| pure virtual |
Get the preference to ignore flattener spread overrides.
| pure virtual |
Get include hyperlinks preference.
| pure virtual |
Get the include ICC profile preference.
| pure virtual |
Deprecated.
| pure virtual |
Get linearized preference.
| pure virtual |
Get mark line weight preference. This call will return the closest value to a legal value based on system locale. A valid Japanese value (J is a superset of R - see call above) will only be returned if the system locale is J.
| pure virtual |
Get mark line weight preference including Japanese. This is done to allow scripting to get the same value as the put. Previously the put did not restrict the value to match the system locale but the get did (J has metric values in addition to Roman). If a script put a J value it would be stored but was returned as the nearest matching R value if the locale was R. The DOM now controls the legality of the enum, not the scripting methods. Bug #1147387.
| pure virtual |
Get the output condition registry name.
| pure virtual |
Get omit bitmap images for OPI preference.
| pure virtual |
Get omit EPS for OPI preference.
| pure virtual |
Get omit PDF for OPI preference.
| pure virtual |
Get the output condition identifier.
| pure virtual |
Not used.
| pure virtual |
Get include page information preference.
| pure virtual |
Get crop mark offset preference.
| pure virtual |
Get reader spreads preference.
| pure virtual |
Get include registration marks preference.
| pure virtual |
Get image resolution.
| pure virtual |
Get down sample color image preference.
| pure virtual |
Get color down sample resolution preference.
| pure virtual |
Get color down sample resolution preference.
| pure virtual |
Get down sample gray image preference.
| pure virtual |
Get gray sample resolution preference.
| pure virtual |
Get gray sample resolution preference.
| pure virtual |
Get down sample monochrome image preference.
| pure virtual |
Get monochrome sample resolution preference.
| pure virtual |
Get monochrome sample resolution preference.
| pure virtual |
Get spot over print preference.
| pure virtual |
Get the standard compliance level.
| pure virtual |
Not used.
| pure virtual |
Get the glyph percentage threshold.
| pure virtual |
Get thumbnail generation preference.
| pure virtual |
Set PDF/X profile name. This applies when the selector is use name. Deprecated for InDesign 5.0. See SetPDFXProfileSelectorAndName
| name | of the profile. virtual void SetPDFXProfileName(const PMString &name) = 0;Get PDF/X profile name. This applies when the selector is use name. |
| pure virtual |
Set PDF/X profile selector. Deprecated for InDesign 5.0. See SetPDFXProfileSelectorAndName
| selector | value. See kExportPDFDestProfile... values. |
virtual void SetPDFXProfileSelector(int32 selector) = 0;Get PDF/X profile selector.
| pure virtual |
Get the associated preset filename without directory or extension information.
There are three types of preset names.
| pure virtual |
Get the pristine job option preferences. These settings reflect the preferences on disk before fixups.
| pure virtual |
Get the progress bar.
| pure virtual |
Get the associated IGenericSettings interface.
| pure virtual |
Gets the suffix to be used in PDF file names when exporting single pages PDF.
| pure virtual |
Get the associated preset file's modified time stamp.
| pure virtual |
Get the description string for the specified language.
| langid | of the string. |
| pure virtual |
Get the UI name for these preferences.
| pure virtual |
Get the use document bleed preference.
| pure virtual |
Get include visible guides and grids preference.
| pure virtual |
Get the associated warning list object.
| document. | The document used to determine working profiles. When it is non-nil, the CMS on/off state is looked up and applies to the warnings. When nil, CMS is treated as if it is on. |
| pure virtual |
Determine whether the user has modified the settings. This is reflected in the UI when (modified) is appended to the preset name.
| pure virtual |
Determine whether these preferences are valid.
| pure virtual |
Read the preferences from the given PDF preset file to this object.
| presetFile | is the preset file to read. |
| pure virtual |
Method to stream in/out the preferences.
| iPMStream | is the stream to read/write. |
| prop | is the implementation ID. |
| pure virtual |
Set whether to generate Tagged PDF.
| add | is true to generate Tagged PDF. |
| pure virtual |
Set the color tile size to use with JPEG2000 compression.
| dpi | is the tile size, a value from kMinJPG2000TileSize to kMaxJPG2000TileSize. |
| pure virtual |
Set the color resolution threshold. Images above this resolution are compressed.
| dpi | is the resolution to use. It is a value from the image resolution (see SetPDFExSampleColorImagesXRes) to ten times the image resolution. |
| pure virtual |
Set the gray resolution threshold. Images above this resolution are compressed.
| dpi | is the resolution to use. It is a value from the image resolution (see SetPDFExSampleGrayImagesXRes) to ten times the image resolution. |
| pure virtual |
Set the compression type to apply to the PDF file.
| compressionType | is kCompressNone, kCompressStructure. kCompressObjects is not used. |
| pure virtual |
Set the monochrome resolution threshold. Images above this resolution are compressed.
| dpi | is the resolution to use. It is a value from the image resolution (see SetPDFExSampleMonoImagesXRes) to ten times the image resolution. |
| pure virtual |
Set interactive content to embed. NOTE: as of CS5, SetContentToEmbed is obsolete since Export to PDF for Print does not output interactive elements. Instead use the IInteractivePDFExportFacade.
| contentToEmbed | is kUseObjectSettings, kLinkAll, or kEmbedAll. |
| pure virtual |
Sets the default document language for the PDF being exported.
| pure virtual |
Sets the display title for the PDF being exported.
| title,: | One of the DisplayTitle enum specifying the title to use. |
| pure virtual |
Sets whether to export document with hidden spreads.
| exportHiddenSpread | Boolean. If kTrue, document is exported with hidden spreads. |
| pure virtual |
Set which layers will export
| exportLayers | IN one of kExportAllLayers, kExportVisibleLayers, kExportVisiblePrintableLayers |
| pure virtual |
Sets whether to export document in single pages PDF.
| exportSinglePages | Boolean. If kTrue, document is exported in single pages PDF. |
| pure virtual |
Set the gray tile size to use with JPEG2000 compression.
| dpi | is the tile size, a value from kMinJPG2000TileSize to kMaxJPG2000TileSize. |
| pure virtual |
Set include bookmarks preference.
| add | is true to include bookmarks in the PDF. |
| pure virtual |
Set the include layers in the PDF file.
| includeLayers | is true to include layers. |
| pure virtual |
Set include slug preference.
| includeSlug | is true to include the slug area in the PDF. |
| pure virtual |
Sets the initial magnification when the PDF is opened.
| Magnification,: | One of the Magnification enum specifying the initial magnification to use. |
| pure virtual |
Set include non-printing objects preference.
| checked | is true to include non-printing objects in the PDF. |
| pure virtual |
Sets whether to open the PDF in full screen mode.
| fullScreen | Boolean. If kTrue, PDF is opened in full screen mode. |
| pure virtual |
Set the output condition name.
| id | is the output condition name. |
| pure virtual |
Sets the page layout for the PDF being exported.
| PageLayout,: | One of the PageLayout enum specifying the page layout to use. |
| pure virtual |
Set the name of the page mark file to use.
| pageMarkFile | is the name of the page mark file. |
There are three special names.
For the other cases, pass the file name part without the path and extension. Page mark files reside in the common Adobe PrintSpt folder.
| pure virtual |
Set Acrobat compatibility level.
| appVersion | is kPDFVersion12, kPDFVersion13, kPDFVersion14, kPDFVersion15, kPDFVersion16, or kPDFVersion17. kPDFVersion12 is for interoperbility only. |
| pure virtual |
Set the include interactive elements preference. NOTE: As of CS5, Export to PDF for Print does not export interactive elements. To export create an interactive PDF, use Export PDF (Interactive). The SetPDFExAddInteractiveElements preference here now maps to the Interactive Elements choice in the UI. If TRUE, interactive elements are drawn as 'Appearance Only'. If FALSE, interactive elements are set to 'Do Not Include'.
| addIElems | is true to include interactive elements. |
| pure virtual |
Not used.
| pure virtual |
Set whether to include the bleed area in the PDF file.
| bleed | is either kExportBleedON or kExportBleedOFF. |
| pure virtual |
Set bleed bottom offset preference.
| bleedBottom | is the bottom offset. |
| pure virtual |
Set bleed inside offset preference.
| bleedInside | is the inside offset. |
| pure virtual |
Set whether to include the bleed marks in the PDF file.
| bleedMarks | is either kExportBleedMarksON or kExportBleedMarksOFF. |
| pure virtual |
Set bleed outside offset preference.
| bleedOutside | is the outside offset. |
| pure virtual |
Set bleed top offset preference.
| bleedTop | is the top offset. |
| pure virtual |
Set whether to include the color bars in the PDF file.
| colorBars | is either kExportColorBarsON or kExportColorBarsOFF. |
| pure virtual |
Set PDF color space preference. This is the color space used when exporting.
| colorSpace | is one of the following values: kExportPDFColorSpaceRGB, kExportPDFColorSpaceCMYK, kExportPDFColorSpaceDIC, kExportPDFColorSpacePassthru, kExportPDFRepurposeColorSpaceRGB, kExportPDFRepurposeColorSpaceCMYK, |
| pure virtual |
Set the compression strategy to use for color images.
| compressColorImages | see kExportCompressImages... values above. |
| pure virtual |
Set the compression strategy to use for gray images.
| compressGrayImages | see kExportCompressImages... values above. |
| pure virtual |
Set compress line art and text preference. This controls whether the PDF content streams are compressed.
| compressLineArtAndText | is either kExportCompressLineArtAndTextON or kExportCompressLineArtAndTextOFF. |
| pure virtual |
Set the compression strategy to use for monochrome images.
| compressMonoImages | see kExportCompressImages... values above. |
| pure virtual |
Set whether to include the crop marks in the PDF file.
| cropMarks | is either kExportCropMarksON or kExportCropMarksOFF. |
| pure virtual |
Set whether to crop the image to the frame or to include the complete image.
| disallowImageCrop | is either kExportDisallowImageCropON, or kExportDisallowImageCropOFF. |
| pure virtual |
Set destination profile selector and name
This is an atomic setter which replaces both the SetPDFExDstProfileSelector and SetPDFExDstProfileName interfaces which were available until InDesign 4.0. Both values must be kept in sync for proper interchange with Distiller's edits to .joboptions files.
| selector | value. See kExportPDFDestProfile... values. |
| name | of the profile. This value is ignored if using a selector other than kExportPDFDestProfileUseName. The effective profile is set instead. |
| pure virtual |
Not used. InDesign embeds fonts unless they are missing or protected.
| pure virtual |
Set how errors and warnings are displayed when exporting to PDF.
| errorControl | is one of kExportErrorControlWarnAndContinue, kExportErrorControlIgnore, or kExportErrorControlCancelJob. |
| pure virtual |
Set the associated flattener preset name.
| strStyle | is the name of a flattener preset. |
| pure virtual |
Set the preference to ignore flattener spread overrides.
| ignore | is true to ignore flattener spread overrides. |
| pure virtual |
Set include hyperlinks preference.
| incHyperLinks | either kExportIncHyperLinksON or kExportIncHyperLinksOFF. |
| pure virtual |
Set the include ICC profiles preference.
| includeICCProfiles | is one of the following values: kExportIncludeICCProfilesON, kExportIncludeICCProfilesOFF, kExportIncludeTaggedSourceProfiles, kExportIncludeRGBAndTaggedCMYKSourceProfiles, |
| pure virtual |
Deprecated. Set the launch Acrobat after exporting preference. Use IPDFPostProcessPrefs::SetViewAfterExport off the workspace instead.
| launchAcrobat | is either kExportLaunchAcrobatON or kExportLaunchAcrobatOFF. |
| pure virtual |
Set linearized preference. When true the PDF file is linearized.
| linearized | is either kExportLinearizedON or kExportLinearizedOFF. |
| pure virtual |
Set mark line weight preference.
| markLineWeight | one of the following values: 0.125 0.25 0.50 (0.05 / 25.4) * 72.0) (0.07 / 25.4) * 72.0) (0.10 / 25.4) * 72.0) (0.15 / 25.4) * 72.0) (0.20 / 25.4) * 72.0) (0.30 / 25.4) * 72.0) |
| pure virtual |
Set the output condition registry name.
| name | of the output condition registry. |
| pure virtual |
Set the omit bitmap images for OPI preference.
| omitBitmapImages | is either kExportOmitBitmapImagesON, or kExportOmitBitmapImagesON. |
| pure virtual |
Set the omit EPS images for OPI preference.
| omitEPS | is either kExportOmitEPSON, or kExportOmitEPSOFF. |
| pure virtual |
Set the omit PDF images for OPI preference.
| omitPDF | is either kExportOmitPDFON, or kExportOmitPDFOFF. |
| pure virtual |
Set the output condition identifier.
| name | of the output condition identifier. |
| pure virtual |
Not used.
| pure virtual |
Set whether to include the page information in the PDF file.
| pageInfo | is either kExportPageInfoON or kExportPageInfoOFF. |
| pure virtual |
Set the distance between the crop marks and the image area.
| printerMarksOffset | distance value. |
| pure virtual |
Set the reader spreads preference. When true each PDF page is an InDesign spread.
| readerSpreads | is either kExportReaderSpreadsON or kExportReaderSpreadsOFF. |
| pure virtual |
Set whether to include the registration marks in the PDF file.
| registrationMarks | is either kExportRegistrationMarksON or kExportRegistrationMarksOFF. |
| pure virtual |
Set image resolution.
| resolution | 72 to 4000. |
| pure virtual |
Set color subsampling preference. This controls the type of subsampling done for color images.
| sampleColorImages | is one of the following: kExportSampleImagesNone, kExportSampleImagesByDownsampling, kExportSampleImagesBySubsampling, kExportSampleImagesByBicubicDownsampling. |
| pure virtual |
Set the resolution of down sampled color images.
| colorImagesXRes | is a value from kMinSampleColorImageRes to kMaxSampleColorImageRes. |
| pure virtual |
Set the resolution of down sampled color images.
| colorImagesYRes | is a value from kMinSampleColorImageRes to kMaxSampleColorImageRes. |
| pure virtual |
Set gray subsampling preference. This controls the type of subsampling done for gray images.
| sampleGrayImages | is one of the following: kExportSampleImagesNone, kExportSampleImagesByDownsampling, kExportSampleImagesBySubsampling, kExportSampleImagesByBicubicDownsampling. |
| pure virtual |
Set the resolution of down sampled gray images.
| grayImagesXRes | is a value from kMinSampleGrayImageRes to kMaxSampleGrayImageRes. |
| pure virtual |
Set the resolution of down sampled gray images.
| grayImagesYRes | is a value from kMinSampleGrayImageRes to kMaxSampleGrayImageRes. |
| pure virtual |
Set monochrome subsampling preference. This controls the type of subsampling done for monochrome images.
| sampleMonoImages | is one of the following: kExportSampleImagesNone, kExportSampleImagesByDownsampling, kExportSampleImagesBySubsampling, kExportSampleImagesByBicubicDownsampling. |
| pure virtual |
Set the resolution of down sampled monochrome images.
| monoImagesXRes | is a value from kMinSampleMonoImageRes to kMaxSampleMonoImageRes. |
| pure virtual |
Set the resolution of down sampled monochrome images.
| monoImagesYRes | is a value from kMinSampleMonoImageRes to kMaxSampleMonoImageRes. |
| pure virtual |
Set spot over print preference.
| spotOverPrint | is kExportLegacy, kExportSimulatePress, or kExportSimulateScreen. |
| pure virtual |
Set standard compliance level to use in the PDF.
| standardLevel | is the standard compliance level. One of these values: kExportNoStandardsCompliance, kExportPDFX1a2001, kExportPDFX32002, kExportPDFX1a2003, kExportPDFX32003, kExportPDFA, kExportPDFA value is for interoperbility display only. kExportPDFX42010. |
| pure virtual |
Not used. InDesign subsets fonts it embeds depending on the threshold.
| pure virtual |
Set subset fonts threshold preference. This controls whether to embed a subset font or the complete font in the PDF file.
| subsetFontsThreshold | glyph percentage. When the precent of glyphs of the font used in the PDF file exceeds the specified percentage, the completed font is embedded, otherwise a subsetted version is embedded. |
| pure virtual |
Set the thumbnails preference. When true thumbnails are written to the PDF file.
| thumbnails | is either kExportThumbnailsON or kExportThumbnailsOFF. |
| pure virtual |
Set PDFX Output Intent profile selector and name
This is an atomic setter which replaces both the SetPDFXProfileSelector and SetPDFXProfileName interfaces which were available until InDesign 4.0. Both values must be kept in sync for proper interchange with Distiller's edits to .joboptions files.
| selector | value. See kExportPDFDestProfile... values. |
| name | of the profile. This value is ignored if using a selector other than kExportPDFDestProfileUseName. The effective profile is set instead. |
| pure virtual |
Set the associated preset filename without path or extension information. Internal use only!
| filename | is the filename to use. |
| pure virtual |
Set the progress bar to use.
| pProgress | is the progress bar. |
| pure virtual |
Sets the suffix to be used in PDF file names when exporting single pages PDF.
| singlePagesSuffix | PMString. |
| pure virtual |
Set the description string.
| desc | is the description string. |
| langid | is the language of the string. |
typedef enum { kLanguageENU = 1, kLanguageJPN, kLanguageDEU, kLanguageFRA, kLanguagePTB, kLanguageDAN, kLanguageNLD, kLanguageESP, kLanguageSUO, kLanguageITA, kLanguageNOR, kLanguageSVE, kLanguageCHS, kLanguageCHT, kLanguageKOR } LanguageID;
| pure virtual |
Set the UI name for these preferences.
| name | of these preferences. |
| pure virtual |
Set the use document bleed preference.
| documentBleed | is true to use the document bleed values. |
| pure virtual |
Set include visible guides and grids preference.
| checked | is true to include visible guides and grids in the PDF. |
| pure virtual |
Write a PDF preset file using current preferences.
| presetFile | is the preset file to write. |