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

Public Types | |
| enum | { kDefaultIID = IID_IEPSATTRIBUTES } |
| enum | DrawEPSOption { kDrawEPSNormal, kDrawEPSGrayBox, kDrawEPSProxy, kDrawEPSDispList } |
Public Member Functions | |
| virtual void | SetBoundingBox (const PMRect &bbox)=0 |
| virtual void | SetTargetRes (const PMReal &targetRes)=0 |
| virtual void | SetAddProcessColors (const bool16 bAddProColor)=0 |
| virtual void | SetImportDCS (const bool16 bImportDCS)=0 |
| virtual void | SetReadOPI (const bool16 bReadOPI)=0 |
| virtual void | SetCreateFrame (const bool16 bCreateFrame)=0 |
| virtual void | SetEPSFlags (const EPSPSFlags flags)=0 |
| virtual void | SetDrawEPSOption (DrawEPSOption drawOption)=0 |
| virtual PMRect | GetBoundingBox () const =0 |
| virtual PMReal | GetTargetRes () const =0 |
| virtual bool16 | GetAddProcessColors () const =0 |
| virtual bool16 | GetImportDCS () const =0 |
| virtual bool16 | GetReadOPI () const =0 |
| virtual bool16 | GetCreateFrame () const =0 |
| virtual EPSPSFlags | GetEPSFlags () const =0 |
| virtual DrawEPSOption | GetDrawEPSOption () const =0 |
| virtual const UIDList * | CreateUsedColorUIDList (const UIDList *pUIDList)=0 |
| virtual void | AppendToUsedColorUIDList (const UID colorUID)=0 |
| virtual const UIDList * | GetUsedColorUIDList () const =0 |
| virtual void | ReplaceUsedColorUID (const UID, const UID)=0 |
| virtual K2Vector< PMString > * | GetEPSOriginalyImportedColorNameList ()=0 |
| virtual PMString | GetEPSColorName (const PMString &)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Primarily this interface holds the settings that were used when the EPS was imported. These settings are reused when the link is updated.
| pure virtual |
Append a color swatch UID to the colors used list on the EPS
| colorUID | the UID of the swatch color to append |
| pure virtual |
The following 4 methods are used to manage the color swatches used by the EPS. Create/Append methods are only used during import. The two Get methods are to get the used color UID list and to get the name of the color originally imported. If the returned UIDList is nil, then there aren't any color used in the EPS.Creates a UIDList of color swatches used by the EPS. The existing list, if any, is deleted and a new list is created. If a valid list is passed in, the new list contains it as its single entry; otherwise, the new list is empty.
| pUIDList | IN Swatch UID list to create, or nil if the list is to be created empty |
| pure virtual |
Get add process colors - currently unsupported don't use.
| pure virtual |
Get the bounding box.
| pure virtual |
Get whether to create frame from clipping path.
| pure virtual |
Get the EPS draw option - see DrawEPSOption enum in this header file for more information.
Given the original color name, return the current swatch name mapped to this swatch. In none of the color used were merged, then the name returned should be the same as the name given.
| PMString& | the original color name |
| pure virtual |
Get the EPSFlags about the EPS - see EPSPSFlags enum in this header file for more information.
Get the list of color names originally imported. Pointer may be nil if no colors imported. Caller needs to call delete on the returned string list.
| pure virtual |
Get import nested DCS - currently unsupported don't use.
| pure virtual |
Get whether to read nested OPI comments.
| pure virtual |
Get the target display resolution.
| pure virtual |
Replace a used color UID with a new used color UID - this API is not supported - don't use
| UID | the from color UID |
| UID | the to color UID |
| pure virtual |
Set add process colors - currently unsupported don't use.
| bAddProColor | IN whether to add the process colors |
| pure virtual |
Set the bounding box.
| bbox | IN the bounding box of the EPS |
| pure virtual |
Set whether to create frame from clipping path.
| bCreateFrame | IN kTrue to create frame from clipping path, kFalse otherwise |
| pure virtual |
Set the EPS draw option - see DrawEPSOption enum in this header file for more information.
| drawOption | IN the draw option to use |
| pure virtual |
Set the information about the EPS - see EPSPSFlags enum in this header file for more information.
| flags | IN the EPSPSFlags settings |
| pure virtual |
Set import nested DCS - currently unsupported don't use.
| bImportDCS | IN whether to import the nested DCS |
| pure virtual |
Set whether to read nested OPI comments.
| bReadOPI | IN kTrue to read OPI comments in EPS, kFalse otherwise |
| pure virtual |
Set the target display resolution.
| targetRes | IN the target display resolution |