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

Public Member Functions

 NewCdlChartCmd (IPMUnknown *boss)
 
bool16 LowMemIsOK () const
 
- 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 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

void Do ()
 
PMStringCreateName ()
 
void SetUpTarget ()
 
- Protected Member Functions inherited from Command
virtual void DoNotify ()
 
virtual void SetCommandState (CommandState state)
 
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

A command to place candle chart page item with stock market data.

Constructor & Destructor Documentation

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

Browse the file system for a comma separated values file.

Parameters
outFileis the CSV file that opens.
Returns
kTrue if a CSV file is found, otherwise kFalse.

Member Function Documentation

PMString * NewCdlChartCmd::CreateName (void )
protectedvirtual

Gives the name that shows up under the Edit menu and allows the user to undo or redo the command.

Returns
pointer to a PMString allocated using the new operator. Deleted by caller.
See Also
Command::CreateName

Reimplemented from Command.

void NewCdlChartCmd::Do (void )
protectedvirtual

Place candle chart page item.

See Also
Command::Do

Implements Command.

bool16 NewCdlChartCmd::LowMemIsOK (void ) const
inlinevirtual
Returns
kFalse don't use this command if memory is low.

Reimplemented from Command.

void NewCdlChartCmd::SetUpTarget ()
protectedvirtual

Point the command target to the workspace. Default targeting via item list doesn't work with this command.

See Also
Command::SetUpTarget

Reimplemented from Command.