InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SnpGetTableParcel Class Reference

Public Member Functions

 SnpGetTableParcel ()
 
virtual ~SnpGetTableParcel ()
 
ErrorCode DoIterateParcels (const InterfacePtr< ITableModel > &tableModel, const GridArea &focusGridArea, IActiveContext *ac)
 
PMString GetBoundsAsSystemString (const PMRect &bounds)
 

Detailed Description

  • Iterates the parcels in the cell focus GridArea.

Constructor & Destructor Documentation

SnpGetTableParcel::SnpGetTableParcel ()

Constructor.

virtual SnpGetTableParcel::~SnpGetTableParcel ()
inlinevirtual

Destructor.

Member Function Documentation

ErrorCode SnpGetTableParcel::DoIterateParcels (const InterfacePtr< ITableModel > & tableModel,
const GridAreafocusGridArea,
IActiveContextac 
)

Shows how to iterate through parcels within a table model.

Parameters
tableModelThe table model which you want to look at
focusGridAreaThe focus area of the table you want to examine. Examines all of the parcels that correspond to cells in the given area.
acThe current active context.
Returns
kSuccess on success, kFailure otherwise.
PMString SnpGetTableParcel::GetBoundsAsSystemString (const PMRectbounds)

Return the bounds of a PMRect as a PMString.

Parameters
boundsA PMRect to examine.
Returns
PMString representation of the PMRect passed in, so it's human-readable.