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

Public Types | |
| enum | { kDefaultIID = IID_ITRAPSTYLE } |
| enum | { kImg2Obj_Off = 0, kImg2Obj_On = 1 } |
| enum | { kImg2Img_Off = 0, kImg2Img_On = 1 } |
| enum | { kInternalImg_Off = 0, kInternalImg_On = 1 } |
| enum | { kImgPlacement_Center = 0, kImgPlacement_Choke = 1, kImgPlacement_NeutralDensity = 2, kImgPlacement_Spread = 3 } |
| enum | { kImagemasks_Off = 0, kImagemasks_On = 1 } |
| enum | { kMiterTrapJoin = 0, kRoundTrapJoin = 1, kBevelTrapJoin = 2 } |
| enum | { kMiterTrapEnd = 0, kOverlapTrapEnd = 1 } |
| enum | { kNameFlag = (1 << 0), kImg2ObjFlag = (1 << 1), kInternalImgFlag = (1 << 2), kDfltWidthFlag = (1 << 3), kBlkWidthFlag = (1 << 4), kClrScalingFlag = (1 << 5), kStepTHFlag = (1 << 6), kBlkColorTHFlag = (1 << 7), kBlkDnstyTHFlag = (1 << 8), kSlidingTHFlag = (1 << 9), kImgPlacementFlag = (1 << 10), kImagemasksFlag = (1 << 11), kJoinStyleFlag = (1 << 12), kEndStyleFlag = (1 << 13), kImg2ImgFlag = (1 << 14) } |
Public Member Functions | |
| virtual void | SetName (const PMString &inName)=0 |
| virtual PMString | GetName () const =0 |
| virtual void | SetImg2Obj (int32 inImg2Obj)=0 |
| virtual int32 | GetImg2Obj () const =0 |
| virtual void | SetImg2Img (int32 inImg2Img)=0 |
| virtual int32 | GetImg2Img () const =0 |
| virtual void | SetInternalImg (int32 inInternalImg)=0 |
| virtual int32 | GetInternalImg () const =0 |
| virtual void | SetDfltWidth (const PMReal &inDfltWidth)=0 |
| virtual PMReal | GetDfltWidth () const =0 |
| virtual void | SetBlkWidth (const PMReal &inBlkWidth)=0 |
| virtual PMReal | GetBlkWidth () const =0 |
| virtual void | SetClrScaling (const PMReal &inClrScaling)=0 |
| virtual PMReal | GetClrScaling () const =0 |
| virtual void | SetStepTH (const PMReal &inStepTH)=0 |
| virtual PMReal | GetStepTH () const =0 |
| virtual void | SetBlkColorTH (const PMReal &inBlkColorTH)=0 |
| virtual PMReal | GetBlkColorTH () const =0 |
| virtual void | SetBlkDnstyTH (const PMReal &inBlkDnstyTH)=0 |
| virtual PMReal | GetBlkDnstyTH () const =0 |
| virtual void | SetSlidingTH (const PMReal &inSlidingTH)=0 |
| virtual PMReal | GetSlidingTH () const =0 |
| virtual void | SetImgPlacement (int32 inImgPlacement)=0 |
| virtual int32 | GetImgPlacement () const =0 |
| virtual void | SetImagemasks (int32 inImagemasks)=0 |
| virtual int32 | GetImagemasks () const =0 |
| virtual void | SetTrapJoinStyle (int32 inTrapJoinStyle)=0 |
| virtual int32 | GetTrapJoinStyle () const =0 |
| virtual void | SetTrapEndStyle (int32 inTrapEndStyle)=0 |
| virtual int32 | GetTrapEndStyle () const =0 |
| virtual void | CopyData (const ITrapStyle *inTrapStyle)=0 |
| virtual void | Reset2DefaultValue ()=0 |
| virtual bool16 | GetFlag (int32 inFlag) 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 |
A data interface for the trap style.
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
Trap settings for determining where trap falls when trapping vector graphics to images.
| anonymous enum |
| anonymous enum |
| anonymous enum |
Trap settings for controling the intersection of three-way traps.
| anonymous enum |
| pure virtual |
Copy the trap style from inTrapStyle.
| inTrapStyle | is the source trap style to copy from |
| pure virtual |
Returns the black color threshhold
| pure virtual |
Returns the black density threshhold
| pure virtual |
Returns the black trap width
| pure virtual |
Returns the color scaling factor
| pure virtual |
Returns the default trap width
| pure virtual |
Returns whether or not the specifies property is set.
| inFlag | is one of the enum described immediately above. |
| pure virtual |
Returns the 1-bit image trap setting.
| pure virtual |
Returns the image-to-image trap setting
| pure virtual |
Returns the image-to-object trap setting.
| pure virtual |
Returns the image placement trap setting.
| pure virtual |
Returns true if the trapping within individual images is turned on.
| pure virtual |
Returns the trap style name.
| pure virtual |
Returns the sliding trap threshhold
| pure virtual |
Returns the trap step threshhold
| pure virtual |
Returns the trap end setting.
| pure virtual |
Returns the trap join setting.
| pure virtual |
Reset all trap style settings to default values.
| pure virtual |
Set the black color threshhold
| inBlkColorTH | specifies the black color threshhold |
| pure virtual |
Set the black density threshhold
| inBlkDnstyTH | specifies the black density threshhold |
| pure virtual |
Set the black trap width
| inBlkWidth | specifies the black trap width |
| pure virtual |
Set the color scaling factor
| inClrScaling | specifies the color scaling factor |
| pure virtual |
Set the default trap width
| inDfltWidth | specifies the default trap width |
| pure virtual |
Set the 1-bit image trap setting.
| inImagemasks | specifies the 1-bit image trap setting. |
| pure virtual |
Set the image-to-image trap setting.
| inImg2Img | specifies the image-to-image setting |
| pure virtual |
Set the image-to-object trapping.
| inImg2Obj | specifies the image-to-object trap setting. |
| pure virtual |
Sets the image placement trap setting.
| inImgPlacement | specifies the image placement trap setting |
| pure virtual |
Set the trapping within individual images.
| inInternalImg | specifies whether of not trapping wihtin individual images is on or off. |
| pure virtual |
Set the style name
| inName | is the new style name to set. |
| pure virtual |
Set the sliding trap threshhold
| inSlidingTH | specifies the sliding trap threshhold |
| pure virtual |
Set the trap step threshhold
| inStepTH | specifies the trap step threshhold |
| pure virtual |
Sets the trap end appearance setting.
| inTrapEndStyle | specifies the trap end setting. |
| pure virtual |
Set the trap join appearance setting.
| inTrapJoinStyle | specifies the trap join. |