#include <ie_Table.h>
| ie_PartTable::ie_PartTable | ( | PD_Document * | pDoc | ) |
Class to hold a particular table and cell.
References xxx_UT_DEBUGMSG.
| ie_PartTable::~ie_PartTable | ( | void | ) | [virtual] |
References xxx_UT_DEBUGMSG.
| void ie_PartTable::_clearAll | ( | void | ) | [private] |
Clears both the Table and Cell properties stored in the class.
References _clearAllCell(), m_apiTable, m_iNumCols, m_iNumRows, m_TableAttProp, and m_TableSDH.
Referenced by setDoc(), and setTableApi().
| void ie_PartTable::_clearAllCell | ( | void | ) | [private] |
Clears just the cell properties stored in the class.
References m_apiCell, m_bIsCellJustOpenned, m_CellAttProp, m_iBot, m_iLeft, m_iPrevBot, m_iPrevLeft, m_iPrevRight, m_iPrevTop, m_iRight, m_iTop, and xxx_UT_DEBUGMSG.
Referenced by _clearAll(), and setCellApi().
| void ie_PartTable::_setRowsCols | ( | void | ) | [private] |
Calculate the number of rows and columns in this table Do this by scanning through the table struxes in the Piece Table
References PD_Document::getRowsColsFromTableSDH(), m_iNumCols, m_iNumRows, m_pDoc, m_TableSDH, and PD_MAX_REVISION.
Referenced by setTableApi().
| UT_sint32 ie_PartTable::getBot | ( | void | ) |
The bot attach row of the current cell in the current Table.
References m_iBot.
Referenced by ie_Table::getBot().
| PT_AttrPropIndex ie_PartTable::getCellAPI | ( | void | ) | const [inline] |
Referenced by ie_Table::getCellAPI().
| const char * ie_PartTable::getCellProp | ( | const char * | pProp | ) |
Return the value of the property named *pProp of the current cell.
References gchar, PP_AttrProp::getProperty(), and m_CellAttProp.
Referenced by ie_Table::getCellProp(), and setCellApi().
| UT_sint32 ie_PartTable::getCurRow | ( | void | ) | const [inline] |
Referenced by ie_Table::getCurRow().
| UT_sint32 ie_PartTable::getLeft | ( | void | ) |
The left attach column of the current cell in the current Table.
References m_iLeft.
Referenced by ie_Table::getLeft().
| UT_sint32 ie_PartTable::getNumCols | ( | void | ) |
Number of columns in the Table.
References m_iNumCols.
Referenced by ie_Table::getNumCols(), and ie_Table::getPrevNumRightMostVMerged().
| UT_sint32 ie_PartTable::getNumRows | ( | void | ) |
| UT_sint32 ie_PartTable::getPrevRight | ( | void | ) | [inline] |
Referenced by ie_Table::getPrevNumRightMostVMerged().
| UT_sint32 ie_PartTable::getRight | ( | void | ) |
The right attach column of the current cell in the current Table.
References m_iRight.
Referenced by ie_Table::getPrevNumRightMostVMerged(), and ie_Table::getRight().
| PT_AttrPropIndex ie_PartTable::getTableAPI | ( | void | ) | const [inline] |
Referenced by ie_Table::getTableAPI().
| const char * ie_PartTable::getTableProp | ( | const char * | pProp | ) |
Return the value of the property named *pProp of the current Table.
References gchar, PP_AttrProp::getProperty(), and m_TableAttProp.
Referenced by ie_Table::getTableProp().
| pf_Frag_Strux* ie_PartTable::getTableSDH | ( | void | ) | [inline] |
Referenced by ie_Table::getTableSDH(), and ie_Table::setCellRowCol().
| UT_sint32 ie_PartTable::getTop | ( | void | ) |
The top attach row of the current cell in the current Table.
References m_iTop.
Referenced by ie_Table::getTop(), and ie_Table::OpenCell().
| void ie_PartTable::incCurRow | ( | void | ) | [inline] |
Referenced by ie_Table::incCurRow().
| bool ie_PartTable::isCellJustOpenned | ( | void | ) |
References m_bIsCellJustOpenned.
Referenced by ie_Table::isCellJustOpenned().
| void ie_PartTable::setCellApi | ( | PT_AttrPropIndex | iApi | ) |
Sets the api of the current cell and all the class cell properties derived from it.
References _clearAllCell(), PD_Document::getAttrProp(), getCellProp(), m_apiCell, m_CellAttProp, m_iBot, m_iLeft, m_iNumCols, m_iNumRows, m_iPrevBot, m_iPrevLeft, m_iPrevRight, m_iPrevTop, m_iRight, m_iTop, m_pDoc, UT_return_if_fail, and xxx_UT_DEBUGMSG.
Referenced by ie_Table::CloseCell(), ie_Table::OpenCell(), and ie_Table::setCellRowCol().
| void ie_PartTable::setCellJustOpenned | ( | bool | b | ) |
References m_bIsCellJustOpenned.
Referenced by ie_Table::OpenCell(), and ie_Table::setCellJustOpenned().
| void ie_PartTable::setDoc | ( | PD_Document * | pDoc | ) |
Sets the document pointer
References _clearAll(), and m_pDoc.
| void ie_PartTable::setTableApi | ( | pf_Frag_Strux * | sdh, | |
| PT_AttrPropIndex | iApi | |||
| ) |
Sets the Attribute/Property index of the Table in the class. This is used to find a pointer to the pp_AttrProp class associated with the index.
References _clearAll(), _setRowsCols(), PD_Document::getAttrProp(), m_apiTable, m_pDoc, m_TableAttProp, m_TableSDH, and UT_return_if_fail.
Referenced by ie_Table::OpenTable().
PT_AttrPropIndex ie_PartTable::m_apiCell [private] |
Referenced by _clearAllCell(), and setCellApi().
PT_AttrPropIndex ie_PartTable::m_apiTable [private] |
Referenced by _clearAll(), and setTableApi().
bool ie_PartTable::m_bIsCellJustOpenned [private] |
Referenced by _clearAllCell(), isCellJustOpenned(), and setCellJustOpenned().
const PP_AttrProp* ie_PartTable::m_CellAttProp [private] |
Referenced by _clearAllCell(), getCellProp(), and setCellApi().
UT_sint32 ie_PartTable::m_iBot [private] |
Referenced by _clearAllCell(), getBot(), and setCellApi().
UT_sint32 ie_PartTable::m_iCurRow [private] |
UT_sint32 ie_PartTable::m_iLeft [private] |
Referenced by _clearAllCell(), getLeft(), and setCellApi().
UT_sint32 ie_PartTable::m_iNumCols [private] |
Referenced by _clearAll(), _setRowsCols(), getNumCols(), and setCellApi().
UT_sint32 ie_PartTable::m_iNumRows [private] |
Referenced by _clearAll(), _setRowsCols(), getNumRows(), and setCellApi().
UT_sint32 ie_PartTable::m_iPrevBot [private] |
Referenced by _clearAllCell(), and setCellApi().
UT_sint32 ie_PartTable::m_iPrevLeft [private] |
Referenced by _clearAllCell(), and setCellApi().
UT_sint32 ie_PartTable::m_iPrevRight [private] |
Referenced by _clearAllCell(), and setCellApi().
UT_sint32 ie_PartTable::m_iPrevTop [private] |
Referenced by _clearAllCell(), and setCellApi().
UT_sint32 ie_PartTable::m_iRight [private] |
Referenced by _clearAllCell(), getRight(), and setCellApi().
UT_sint32 ie_PartTable::m_iTop [private] |
Referenced by _clearAllCell(), getTop(), and setCellApi().
PD_Document* ie_PartTable::m_pDoc [private] |
Referenced by _setRowsCols(), setCellApi(), setDoc(), and setTableApi().
const PP_AttrProp* ie_PartTable::m_TableAttProp [private] |
Referenced by _clearAll(), getTableProp(), and setTableApi().
pf_Frag_Strux* ie_PartTable::m_TableSDH [private] |
Referenced by _clearAll(), _setRowsCols(), and setTableApi().
1.7.1