Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

OXML_Element_Row Class Reference

#include <OXML_Element_Row.h>

Inheritance diagram for OXML_Element_Row:
OXML_Element OXML_ObjectWithAttrProp

List of all members.

Public Member Functions

 OXML_Element_Row (const std::string &id, OXML_Element_Table *table)
virtual ~OXML_Element_Row ()
virtual UT_Error serialize (IE_Exp_OpenXML *exporter)
virtual UT_Error addToPT (PD_Document *pDocument)
UT_Error addChildrenToPT (PD_Document *pDocument)
virtual void setNumCols (UT_sint32 numCols)
void setRowNumber (int row)
int getRowNumber () const
int getCurrentColumnNumber () const
void addCell (const OXML_SharedElement_Cell &cell)
bool incrementBottomVerticalMergeStart (const OXML_SharedElement_Cell &cell)
bool incrementRightHorizontalMergeStart (const OXML_SharedElement_Cell &cell)
void addMissingCell (const OXML_SharedElement_Cell &cell)

Protected Member Functions

UT_Error serializeChildren (IE_Exp_OpenXML *exporter)

Private Member Functions

virtual UT_Error serializeProperties (IE_Exp_OpenXML *exporter)

Private Attributes

UT_sint32 numCols
OXML_Element_Tabletable
std::vector
< OXML_SharedElement_Cell
m_cells
int m_rowNumber
int m_currentColumnNumber
std::vector
< OXML_SharedElement_Cell
m_missingCells

Constructor & Destructor Documentation

OXML_Element_Row::OXML_Element_Row ( const std::string &  id,
OXML_Element_Table table 
)
OXML_Element_Row::~OXML_Element_Row (  )  [virtual]

Member Function Documentation

void OXML_Element_Row::addCell ( const OXML_SharedElement_Cell cell  ) 

References m_cells.

Referenced by OXML_Element_Cell::setRow().

UT_Error OXML_Element_Row::addChildrenToPT ( PD_Document pDocument  ) 
void OXML_Element_Row::addMissingCell ( const OXML_SharedElement_Cell cell  ) 
UT_Error OXML_Element_Row::addToPT ( PD_Document pDocument  )  [virtual]
int OXML_Element_Row::getCurrentColumnNumber (  )  const [inline]

References m_currentColumnNumber.

int OXML_Element_Row::getRowNumber (  )  const [inline]
bool OXML_Element_Row::incrementBottomVerticalMergeStart ( const OXML_SharedElement_Cell cell  ) 
bool OXML_Element_Row::incrementRightHorizontalMergeStart ( const OXML_SharedElement_Cell cell  ) 

References m_cells.

UT_Error OXML_Element_Row::serializeChildren ( IE_Exp_OpenXML exporter  )  [protected]

Reimplemented from OXML_Element.

References OXML_Element::getChildren(), m_missingCells, numCols, table, and UT_OK.

Referenced by serialize().

void OXML_Element_Row::setNumCols ( UT_sint32  numCols  )  [virtual]
void OXML_Element_Row::setRowNumber ( int  row  ) 

Member Data Documentation


The documentation for this class was generated from the following files: