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

Public Member Functions

ErrorCode InspectTable (int32 tchoice, const InterfacePtr< ITableSuite > &tableSuite)
 
ErrorCode InspectSelectionInTable (int32 sitchoice, const InterfacePtr< ITableSuite > &tableSuite)
 
 _SnpRunnerInspectTableModel ()
 
virtual ~_SnpRunnerInspectTableModel ()
 
bool16 CanRun (ISnpRunnableContext *runnableContext)
 
ErrorCode Run (ISnpRunnableContext *runnableContext)
 
virtual
ISnipRunSuite::eSnpRunContextType 
GetContext (void)
 
- Public Member Functions inherited from SnpRunnable
 SnpRunnable (ConstCString name)
 
virtual ~SnpRunnable ()
 
virtual ConstCString GetName () const
 
virtual ConstCString GetDescription () const
 
virtual ConstCString GetPreconditions () const
 
virtual ConstCString GetCategories () const
 
virtual ErrorCode RunUnitTest (ISnpRunnableContext *runnableContext)
 
virtual bool16 CanLoad () const
 
virtual ErrorCode SetupContext (ISnpRunnableContext *runnableContext)
 

Additional Inherited Members

- Protected Member Functions inherited from SnpRunnable
virtual void SetDescription (ConstCString description)
 
virtual void SetPreconditions (ConstCString preconditions)
 
virtual void SetCategories (ConstCString categories)
 

Detailed Description

Makes the snippet SnpInspectTableModel available to the SnippetRunner framework.

Constructor & Destructor Documentation

_SnpRunnerInspectTableModel::_SnpRunnerInspectTableModel ()

Constructor.

_SnpRunnerInspectTableModel::~_SnpRunnerInspectTableModel ()
virtual

Destructor.

Member Function Documentation

bool16 _SnpRunnerInspectTableModel::CanRun (ISnpRunnableContextrunnableContext)
virtual

Return kTrue if the snippet can run.

Parameters
runnableContextsee ISnpRunnableContext for documentation.
Returns
kTrue if snippet can run, kFalse otherwise

Implements SnpRunnable.

virtual ISnipRunSuite::eSnpRunContextType _SnpRunnerInspectTableModel::GetContext (void )
inlinevirtual

get the snippet context

Returns
eSnpRunContextType for this snippet

Implements SnpRunnable.

ErrorCode _SnpRunnerInspectTableModel::InspectSelectionInTable (int32 sitchoice,
const InterfacePtr< ITableSuite > & tableSuite 
)

Inspect selection in table.

Parameters
sitchoiceSpecifies index of refined selection inspection.
tableSuiteSupplied ITableSuite*.
Returns
kSuccess on success, other ErrorCode otherwise.
ErrorCode _SnpRunnerInspectTableModel::InspectTable (int32 tchoice,
const InterfacePtr< ITableSuite > & tableSuite 
)

Inspect table containing selection.

Parameters
tchoiceSpecifies index of refined table inspection.
tableSuiteSupplied ITableSuite*.
Returns
kSuccess on success, other ErrorCode otherwise.
ErrorCode _SnpRunnerInspectTableModel::Run (ISnpRunnableContextrunnableContext)
virtual

Run the snippet.

Parameters
runnableContextsee ISnpRunnableContext for documentation.
Returns
kSuccess on success, other ErrorCode otherwise.

Implements SnpRunnable.