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

Classes | |
| class | FlattenSettings |
Public Member Functions | |
| virtual IXPManager * | QueryXPManager (IDocument *iDoc)=0 |
| virtual IXPManager * | QueryXPManager (IDataBase *iDB)=0 |
| virtual bool32 | IsOPPEnabledInView (IControlView *iView)=0 |
| virtual AGMPort * | CreateFlattener (UIDRef pageRef, UID flatStyleUID, uint32 xpcfFlags, IXPUtils::FlattenOutputMode mode, const PMRect &pgBounds, IXPUtils::FlattenSettings *returnSettings=nil, void *pAGMFlattenerSettings=nil, AGMColorSpace *preferredBlendSpace=nil)=0 |
| virtual void | ReleaseBlendSpace (AGMColorSpace *theBlendSpace)=0 |
| virtual AGMColorProfile * | CreateAntistitchingProfile (AGMColorProfile *profBlend, AGMColorProfile *profDevice, AGMColorProfile *profCMYK=nil, AGMColorProfile *profProof=nil)=0 |
| virtual void | ReleaseProfile (AGMColorProfile *)=0 |
| virtual IFlattenerSettings * | QueryFlattenerSettings (IWorkspace *pWorkspace, UID uidFlatStyle)=0 |
| virtual bool16 | GetFlattenerSettings (IWorkspace *pWorkspace, UID uidFlatStyle, bool16 bIgnoreSpreadOverrides, UIDRef &uidPageItem, InterfacePtr< IFlattenerSettings > &pSettings, InterfacePtr< IFlattenerSettings > &pOverrides)=0 |
| virtual bool16 | SetupViewPortAttrs (IWorkspace *pWorkspace, UID uidFlatStyle, bool32 bIgnoreOverrides, UIDRef const &uidPage, IViewPortAttributes *iAttr)=0 |
| virtual AGMPaint * | CreateImagePaintServer (_t_AGMImageRecord *imgRec, PMMatrix *m, int32 flags, AGMColorSpace *theSpace)=0 |
| virtual void | ReleasePaintServer (AGMPaint *agmPaint)=0 |
| virtual UIDList * | GetGraphicsAffectedByTransparency (UIDRef spreadRef, const PMString &styleName=PMString(), bool32 ignoreSpreadOverrides=kFalse)=0 |
| virtual bool32 | IsStrokeTransparent (IPMUnknown *item)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Utilities related to transparency.
| pure virtual |
Obtains a paint server from an image. Useful for creating alpha Servers.
| imgRec | IN The image you want to turn into a paint server. NOTE: This method makes a copy of the image data, so you can dispose your buffers if you want immediately following this call. |
| m | IN The matrix that is attached to the paint server. |
| flags | IN Image flags; not currently documented. Set to 0 for now. |
| theSpace | IN The colorspace for the image. If you pass nil for this argument your paint server will be uncalibrated. |
| pure virtual |
Utility for retrieving the flattener settings for the specified workspace, and the override settings for the specified page item if applicable.
| pure virtual |
Obtains a list of all placed graphics in the specified spread that are affected by transparency. Useful for when you want to do automated OPI swapping. The 'styleName' and 'ignoreSpreadOverrides' allow you to match conditions used in a given export or print scenario, or the flattener preview itself.
NOTE: This can be an expensive operation if the spread contains a lot of objects.
| spreadRef | IN The spread you want to inspect. |
| styleName | IN The name of the flattener style to use. If empty string, will use High Quality style. |
| ignoreSpreadOverrides | IN Whether to ignore spread overrides. |
| pure virtual |
Examines the attributes on the given page item for the presence of any that would make the stroke transparent and thus reveal the fill beneath it. This is important for retarding the fill path adjustment that occurs for solid strokes.
In particular the method returns true if the stroke is less than 100% opaque; has a blend mode other than normal; or has a feather (of any flavor) applied. This criteria may be adjusted in the future based on feature additions/changes.
| item | IN An interface pointer identifying the object (page item). |
| pure virtual |
Retrieves the specified global flattener style definition.
| pure virtual |
Releases a paint server created via CreateImagePaint.
| agmPaint | IN The paint server you want to release. |
| pure virtual |
Initializes the flattener output resolution appropriately for the specified view port.