#include <OXML_Element_Cell.h>
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] |
UT_Error OXML_Element_Cell::addToPT | ( | PD_Document * | pDocument | ) | [virtual] |
Reimplemented from OXML_Element.
References OXML_Element::addChildrenToPT(), PD_Document::appendStrux(), gchar, OXML_ObjectWithAttrProp::getAttributesWithProps(), OXML_Element::getChildren(), OXML_ObjectWithAttrProp::getProperty(), OXML_Element::getTag(), m_iBottom, m_iLeft, m_iRight, m_iTop, PTX_EndCell, PTX_SectionCell, OXML_ObjectWithAttrProp::setProperty(), startsHorizontalMerge(), startsVerticalMerge(), UT_ERROR, UT_OK, and UT_std_string_sprintf().
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] |
Reimplemented from OXML_Element.
References IE_Exp_OpenXML::finishCell(), OXML_Element::serializeChildren(), serializeProperties(), IE_Exp_OpenXML::startCell(), and UT_OK.
UT_Error OXML_Element_Cell::serializeProperties | ( | IE_Exp_OpenXML * | exporter | ) | [private, virtual] |
References OXML_Element_Table::addMissingCell(), IE_Exp_OpenXML::finishCellBorderProperties(), IE_Exp_OpenXML::finishCellProperties(), gchar, getBottom(), OXML_Element::getChildren(), OXML_Element_Table::getColumnWidth(), getLeft(), OXML_ObjectWithAttrProp::getProperty(), getRight(), OXML_Element_Row::getRowNumber(), OXML_Element::getTag(), getTop(), m_iLeft, m_iRight, m_row, m_table, OXML_Element_Cell(), IE_Exp_OpenXML::setBackgroundColor(), IE_Exp_OpenXML::setColumnWidth(), IE_Exp_OpenXML::setGridSpan(), IE_Exp_OpenXML::setTableBorder(), IE_Exp_OpenXML::setVerticalMerge(), size, IE_Exp_OpenXML::startCellBorderProperties(), IE_Exp_OpenXML::startCellProperties(), TARGET_DOCUMENT, and UT_OK.
Referenced by serialize().
void OXML_Element_Cell::setHorizontalMergeStart | ( | bool | start | ) |
References m_startHorizontalMerge.
void OXML_Element_Cell::setLastHorizontalContinuationCell | ( | const OXML_SharedElement_Cell & | cell | ) |
References gchar, m_horizontalTail, and OXML_ObjectWithAttrProp::setProperty().
void OXML_Element_Cell::setLastVerticalContinuationCell | ( | const OXML_SharedElement_Cell & | cell | ) |
References gchar, m_verticalTail, and OXML_ObjectWithAttrProp::setProperty().
void OXML_Element_Cell::setRow | ( | OXML_Element_Row * | row | ) |
References OXML_Element_Row::addCell(), and m_row.
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().
Referenced by setLastHorizontalContinuationCell().
UT_sint32 OXML_Element_Cell::m_iBottom [private] |
Referenced by addToPT(), getBottom(), and setBottom().
UT_sint32 OXML_Element_Cell::m_iLeft [private] |
Referenced by addToPT(), getLeft(), serializeProperties(), and setLeft().
UT_sint32 OXML_Element_Cell::m_iRight [private] |
Referenced by addToPT(), getRight(), serializeProperties(), and setRight().
UT_sint32 OXML_Element_Cell::m_iTop [private] |
OXML_Element_Row* OXML_Element_Cell::m_row [private] |
Referenced by serializeProperties(), and setRow().
bool OXML_Element_Cell::m_startHorizontalMerge [private] |
Referenced by setHorizontalMergeStart(), and startsHorizontalMerge().
bool OXML_Element_Cell::m_startVerticalMerge [private] |
Referenced by setVerticalMergeStart(), and startsVerticalMerge().
OXML_Element_Table* OXML_Element_Cell::m_table [private] |
Referenced by serializeProperties().
Referenced by setLastVerticalContinuationCell().