struct CCL::ITextTable

Overview

#include <itextbuilder.h>

struct ITextTable: public CCL::IUnknown
{
    // structs

    struct ICell;
    struct IRow;

    // methods

    virtual tresult CCL_API construct (int rowCount, int columnCount) = 0;
    virtual void CCL_API getSize (int& rowCount, int& columnCount) const = 0;
    virtual void CCL_API setTitle (const Text::Chunk& chunk) = 0;
    virtual StringRef CCL_API getTitle () const = 0;
    virtual IRow&CCL_API getRow (int row) = 0;
    IRow& operator [] (int row);
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual tresult CCL_API construct (int rowCount, int columnCount) = 0

Construct table with given number of rows/columns.

virtual void CCL_API getSize (int& rowCount, int& columnCount) const = 0

Get size of table.

virtual void CCL_API setTitle (const Text::Chunk& chunk) = 0

Set title of table.

virtual StringRef CCL_API getTitle () const = 0

Get title of table.

virtual IRow&CCL_API getRow (int row) = 0

Access row by index.