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

Public Types | |
| enum | { kDefaultIID = IID_IDOCUMENTLAYER } |
| enum | IgnoreEnum { kDoNotIgnore = 0, kIgnore = 1, kLeaveUnchanged = 2 } |
Public Member Functions | |
| virtual void | GetName (PMString *pName) const =0 |
| virtual const PMString & | GetName () const =0 |
| virtual void | SetName (const PMString &newName)=0 |
| virtual const UID & | GetColorUID () const =0 |
| virtual void | SetColorUID (const UID &newColor)=0 |
| virtual bool16 | IsLocked () const =0 |
| virtual void | SetLocked (bool16 active)=0 |
| virtual bool16 | IsVisible () const =0 |
| virtual void | SetVisible (bool16 visible)=0 |
| virtual bool16 | IsPrintable () const =0 |
| virtual void | SetPrintable (bool16 print)=0 |
| virtual bool16 | IsGuideLocked () const =0 |
| virtual void | SetGuideLocked (bool16 active)=0 |
| virtual bool16 | IsGuideVisible () const =0 |
| virtual void | SetGuideVisible (bool16 visible)=0 |
| virtual bool16 | IsUILayer () const =0 |
| virtual void | SetUILayer (bool16 uiLayer)=0 |
| virtual bool16 | IsExpendableLayer () const =0 |
| virtual void | SetExpendableLayer (bool16 expendableLayer)=0 |
| virtual void | SetIgnoreTextWrapWhenNotVisible (bool16 bIgnoreWhenNotVisible)=0 |
| virtual bool16 | GetIgnoreTextWrapWhenNotVisible (void) 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 |
Interface to get and set document layer options.
| pure virtual |
Description: Get the color of the layer
| none |
| pure virtual |
Description: Get whether or not text wrap items on this layer will be ignored when the layer is invisible.
| void |
| pure virtual |
Description: Get the name of the layer.
| pName |
| pure virtual |
Description: Get the name of the layer.
| none |
| pure virtual |
Description: return TRUE if the layer can be deleted from the UI (Layers Panel), FALSE otherwise
| none |
| pure virtual |
Description: return TRUE if the layer is write locked, FALSE otherwise
| none |
| pure virtual |
Description: return TRUE if the guides on this layer are visible, FALSE otherwise
| none |
| pure virtual |
Description: return TRUE if the layer is write locked, FALSE otherwise
| none |
| pure virtual |
Description: return TRUE if the layer is printable, FALSE otherwise
| none |
| pure virtual |
Description: return TRUE if the layer appears in the UI (Layers Panel), FALSE otherwise
| none |
| pure virtual |
Description: return TRUE if the layer is visible, FALSE otherwise
| none |
| pure virtual |
Description: Set the color of the layer.
| &newColor |
| pure virtual |
Description: set whether the layer layer can be deleted from the UI or not.
| expendableLayer |
| pure virtual |
Description: set the lock attribute for guides on this layer
| active |
| pure virtual |
Description: set the visible attribute for guides of this layer
| visible |
| pure virtual |
Description: If kTrue, then ignore all text wrap items on this layer when the layer is invisible.
| bIgnoreWhenNotVisible |
| pure virtual |
Description: set the lock attribute this layer
| active |
| pure virtual |
Description: Set the name of the layer
| newName |
| pure virtual |
Description: set the printable attribute of this layer
| - TRUE if layer is printable, FALSE otherwise |
| pure virtual |
Description: set whether the layer appears in the UI or not.
| uiLayer |
| pure virtual |
Description: set the visible attribute of this layer
| none |