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

Public Types | |
| enum | { kDefaultIID = IID_IPREFLIGHTARTWORKOPICONTEXT } |
Public Member Functions | |
| virtual int32 | GetDepth () const =0 |
| virtual bool | IsOPINode () 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 |
This interface provides OPI context for a marking operation, group, or context. It's quite minimal because the only thing it reports is its presence; ie if there is such a context, then the artwork is drawn within OPI.
You probably never need to use this interface unless you're walking the artwork context stack directly (see IPreflightArtworkContext). Normally you'd simply call IPreflightArtworkContext::GetOPIContextDepth() to see if one of these contexts exists.
| pure virtual |
Get the OPI depth; that is, how deep within nested OPI structures this node is. Typically this is either 0 or 1, but in theory they could be nested at export time.
| pure virtual |
Determine whether this particular node is an OPI context node.