InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DynPnPanelManager Class Reference
Inheritance diagram for DynPnPanelManager:
CPMUnknown< IDynPnPanelManager >IDynPnPanelManagerIPMUnknown

Public Member Functions

 DynPnPanelManager (IPMUnknown *boss)
 
virtual int32 GetPanelsCreatedCount ()
 
virtual ErrorCode Create (const PMString &name)
 
virtual ErrorCode Destroy (const PMString &name)
 
virtual bool16 IsShowing (const PMString &name)
 
virtual void ReadWrite (IPMStream *stream, ImplementationID implementation)
 
- Public Member Functions inherited from CPMUnknown< IDynPnPanelManager >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Protected Member Functions

UID StartupSomePalette (const PMString &name)
 
void DestroyDynamicPanel (const UID &panelUID)
 
- Protected Member Functions inherited from CPMUnknown< IDynPnPanelManager >
 CPMUnknown (IPMUnknown *boss)
 

Additional Inherited Members

- Public Types inherited from IDynPnPanelManager
enum  { kDefaultIID = IID_IDynPnPANELMANAGER }
 
- Static Public Member Functions inherited from IDynPnPanelManager
static IDynPnPanelManagerQueryDynamicPanelManager ()
 
- Protected Attributes inherited from CPMUnknown< IDynPnPanelManager >
HelperInterface fHelperInterface
 

Detailed Description

Implements IDynPnPanelManager; responsible for managing lifetime of our dynamically created panels.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * DynPnPanelManager::DynPnPanelManager (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.

Member Function Documentation

ErrorCode DynPnPanelManager::Create (const PMStringname)
virtual

Create a panel with given name

Parameters
name
Returns
ErrorCode

Implements IDynPnPanelManager.

ErrorCode DynPnPanelManager::Destroy (const PMStringname)
virtual

Destroy the named panel

Parameters
nameidentifies the panel to destroy
Returns
kSuccess on success, kFailure otherwise

Implements IDynPnPanelManager.

void DynPnPanelManager::DestroyDynamicPanel (const UIDpanelUID)
protected

Method to destroy panel by UID

Parameters
panelUIDidentifies panel to destroy
int32 DynPnPanelManager::GetPanelsCreatedCount ()
virtual

Accessor for the count of (persistent) panels created

Returns
int32

Implements IDynPnPanelManager.

bool16 DynPnPanelManager::IsShowing (const PMStringname)
virtual

Determine if named panel is showing

Parameters
namespecifies the panel whose visibility we're interested in
Returns
bool16

Implements IDynPnPanelManager.

void DynPnPanelManager::ReadWrite (IPMStreamstream,
ImplementationID implementation 
)
virtual

Serialise to or deserialise from given stream

Parameters
stream
implementation
UID DynPnPanelManager::StartupSomePalette (const PMStringname)
protected

Method to start palette by name

Parameters
nameidentifies palette to start
Returns
interface ptr on created palette, if it could be created, or nil if we couldnt start named palette