Public Member Functions | Private Member Functions | Private Attributes

OXML_Element_Cell Class Reference

#include <OXML_Element_Cell.h>

Inheritance diagram for OXML_Element_Cell:
OXML_Element OXML_ObjectWithAttrProp

List of all members.

Public Member Functions

 OXML_Element_Cell (const std::string &id, OXML_Element_Table *table, UT_sint32 left, UT_sint32 right, UT_sint32 top, UT_sint32 bottom)
virtual ~OXML_Element_Cell ()
virtual UT_Error serialize (IE_Exp_OpenXML *exporter)
virtual UT_Error addToPT (PD_Document *pDocument)
UT_sint32 getLeft () const
UT_sint32 getRight () const
UT_sint32 getTop () const
UT_sint32 getBottom () const
void setLeft (UT_sint32 left)
void setRight (UT_sint32 right)
void setTop (UT_sint32 top)
void setBottom (UT_sint32 bottom)
void setRow (OXML_Element_Row *row)
void setVerticalMergeStart (bool start)
void setHorizontalMergeStart (bool start)
bool startsVerticalMerge () const
bool startsHorizontalMerge () const
void setLastHorizontalContinuationCell (const OXML_SharedElement_Cell &cell)
void setLastVerticalContinuationCell (const OXML_SharedElement_Cell &cell)

Private Member Functions

virtual UT_Error serializeProperties (IE_Exp_OpenXML *exporter)

Private Attributes

UT_sint32 m_iLeft
UT_sint32 m_iRight
UT_sint32 m_iTop
UT_sint32 m_iBottom
bool m_startVerticalMerge
bool m_startHorizontalMerge
OXML_Element_Tablem_table
OXML_Element_Rowm_row
OXML_SharedElement_Cell m_horizontalTail
OXML_SharedElement_Cell m_verticalTail

Constructor & Destructor Documentation

OXML_Element_Cell::OXML_Element_Cell ( const std::string &  id,
OXML_Element_Table table,
UT_sint32  left,
UT_sint32  right,
UT_sint32  top,
UT_sint32  bottom 
)

Referenced by serializeProperties().

OXML_Element_Cell::~OXML_Element_Cell (  )  [virtual]

Member Function Documentation

UT_sint32 OXML_Element_Cell::getBottom (  )  const [inline]

References m_iBottom.

Referenced by serializeProperties().

UT_sint32 OXML_Element_Cell::getLeft (  )  const [inline]

References m_iLeft.

Referenced by serializeProperties().

UT_sint32 OXML_Element_Cell::getRight (  )  const [inline]

References m_iRight.

Referenced by serializeProperties().

UT_sint32 OXML_Element_Cell::getTop (  )  const [inline]

References m_iTop.

Referenced by serializeProperties().

UT_Error OXML_Element_Cell::serialize ( IE_Exp_OpenXML exporter  )  [virtual]
void OXML_Element_Cell::setBottom ( UT_sint32  bottom  ) 

References m_iBottom.

void OXML_Element_Cell::setHorizontalMergeStart ( bool  start  ) 
void OXML_Element_Cell::setLastHorizontalContinuationCell ( const OXML_SharedElement_Cell cell  ) 
void OXML_Element_Cell::setLastVerticalContinuationCell ( const OXML_SharedElement_Cell cell  ) 
void OXML_Element_Cell::setLeft ( UT_sint32  left  ) 

References m_iLeft.

void OXML_Element_Cell::setRight ( UT_sint32  right  ) 

References m_iRight.

void OXML_Element_Cell::setRow ( OXML_Element_Row row  ) 
void OXML_Element_Cell::setTop ( UT_sint32  top  ) 

References m_iTop.

void OXML_Element_Cell::setVerticalMergeStart ( bool  start  ) 

References m_startVerticalMerge.

bool OXML_Element_Cell::startsHorizontalMerge (  )  const [inline]

References m_startHorizontalMerge.

Referenced by addToPT().

bool OXML_Element_Cell::startsVerticalMerge (  )  const [inline]

References m_startVerticalMerge.

Referenced by addToPT().


Member Data Documentation


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