InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
HidTxtModelCreateCmd Class Reference
Inheritance diagram for HidTxtModelCreateCmd:
CommandICommandIPMUnknown

Public Member Functions

 HidTxtModelCreateCmd (IPMUnknown *boss)
 
virtual ~HidTxtModelCreateCmd ()
 
- Public Member Functions inherited from Command
 Command (IPMUnknown *boss)
 
virtual void GetName (PMString *name) const
 
virtual void SetName (const PMString &newName)
 
virtual bool16 IsNameRequired () const
 
virtual const UIDListGetItemList () const
 
virtual const UIDListGetItemListReference () const
 
virtual void SetItemList (const UIDList &newItemList)
 
virtual void DoImmediate (bool16 isDynamic=kFalse)
 
virtual void LWDoImmediate ()
 
virtual void DoDynamic ()
 
virtual CommandState GetCommandState () const
 
virtual bool16 IsDone () const
 
virtual bool16 CanJoin (const ICommand *pNewCmd) const
 
virtual void SetCreatorID (int32 creatorID)
 
virtual int32 GetCreatorID () const
 
virtual bool16 LowMemIsOK () const
 
virtual const TargetGetTarget () const
 
virtual Undoability GetUndoability () const
 
virtual void SetUndoability (Undoability newUndoability)
 
virtual void SetActive (bool16 isActive)
 
virtual bool16 IsActive () const
 
virtual bool8 IsLWProcessed () const
 

Protected Member Functions

virtual void Do ()
 
virtual void DoNotify ()
 
virtual PMStringCreateName ()
 
- Protected Member Functions inherited from Command
virtual void SetCommandState (CommandState state)
 
virtual void SetUpTarget ()
 
virtual void PreVerify (CommandState state)
 
virtual void PostVerify (CommandState state)
 
void SetTarget (const Target &newTarget)
 
void SetTarget (PredefinedTarget newTarget)
 
void SetTarget (IDataBase *db)
 

Additional Inherited Members

- Public Types inherited from Command
enum  CommandDummyArg { kItemList = 1 }
 
- Protected Types inherited from Command
enum  PredefinedTarget { kSessionWorkspaceTarget, kSessionTarget }
 
- Protected Attributes inherited from Command
UIDList fItemList
 

Detailed Description

Command implementation that creates hidden text.

Constructor & Destructor Documentation

HidTxtModelCreateCmd::HidTxtModelCreateCmd (IPMUnknownboss)

Constructor.

Parameters
bossrefers to boss class on which this interface is aggregated
HidTxtModelCreateCmd::~HidTxtModelCreateCmd ()
virtual

Destructor.

Member Function Documentation

PMString * HidTxtModelCreateCmd::CreateName (void )
protectedvirtual
Returns
the command name.

Reimplemented from Command.

void HidTxtModelCreateCmd::Do (void )
protectedvirtual

Inserts a kTextChar_ZeroSpaceNoBreak at the given TextIndex as an anchor character for the hidden text, it creates a kHidTxtModelBoss object to represent the hidden text then associates the kHidTxtModelBoss object with the anchor character by calling IHidTxtModel::AttachToTextModel.

Implements Command.

void HidTxtModelCreateCmd::DoNotify (void )
protectedvirtual

Notify.

Reimplemented from Command.