InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightArtworkOPIContext Class Referenceabstract

#include <IPreflightArtworkOPIContext.h>

Inheritance diagram for IPreflightArtworkOPIContext:
IPMUnknown

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 IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

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.

Member Function Documentation

virtual int32 IPreflightArtworkOPIContext::GetDepth () const
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.

virtual bool IPreflightArtworkOPIContext::IsOPINode () const
pure virtual

Determine whether this particular node is an OPI context node.