#include <ie_Table.h>
Public Member Functions | |
ie_imp_table_control (PD_Document *pDoc) | |
virtual | ~ie_imp_table_control (void) |
UT_sint32 | getNestDepth (void) |
void | OpenTable (void) |
UT_sint32 | OpenCell (void) |
void | CloseTable (void) |
void | CloseCell (void) |
ie_imp_table * | getTable (void) const |
bool | NewRow (void) |
void | SaveRowInfo (void) |
void | RemoveRowInfo (void) |
Private Attributes | |
std::stack< ie_imp_table * > | m_sLastTable |
PD_Document * | m_pDoc |
ie_imp_table_control::ie_imp_table_control | ( | PD_Document * | pDoc | ) |
Class to hold a stack of tables for nested tables.
References m_sLastTable.
ie_imp_table_control::~ie_imp_table_control | ( | void | ) | [virtual] |
void ie_imp_table_control::CloseCell | ( | void | ) |
References ie_imp_table::CloseCell(), and m_sLastTable.
void ie_imp_table_control::CloseTable | ( | void | ) |
References ie_imp_table::buildTableStructure(), m_sLastTable, ie_imp_table::wasTableUsed(), ie_imp_table::writeAllCellPropsInDoc(), and ie_imp_table::writeTablePropsInDoc().
Referenced by IE_Imp_RTF::CloseTable(), and NewRow().
UT_sint32 ie_imp_table_control::getNestDepth | ( | void | ) |
References m_sLastTable.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_RTF::OpenTable(), and IE_Imp_RTF::TranslateKeywordID().
ie_imp_table * ie_imp_table_control::getTable | ( | void | ) | const |
References m_sLastTable.
Referenced by IE_Imp_RTF::getTable(), and NewRow().
bool ie_imp_table_control::NewRow | ( | void | ) |
References ie_imp_table::appendRow(), UT_GenericVector< T >::clear(), ie_imp_table::CloseCell(), CloseTable(), ie_imp_cell::getCellSDH(), UT_GenericVector< T >::getItemCount(), PD_Document::getLastStruxOfType(), UT_GenericVector< T >::getNthItem(), ie_imp_table::getRow(), getTable(), ie_imp_table::getVecOfCellsOnRow(), PD_Document::insertStruxNoUpdateBefore(), ie_imp_table::isAutoFit(), m_pDoc, ie_imp_table::NewRow(), OpenTable(), PTX_EndTable, PTX_SectionTable, ie_imp_table::removeRow(), ie_imp_table::setAutoFit(), ie_imp_table::setTableSDH(), UT_ASSERT_HARMLESS, UT_DEBUGMSG, and UT_SHOULD_NOT_HAPPEN.
Referenced by IE_Imp_RTF::HandleRow().
UT_sint32 ie_imp_table_control::OpenCell | ( | void | ) |
References m_sLastTable, and ie_imp_table::OpenCell().
void ie_imp_table_control::OpenTable | ( | void | ) |
References m_pDoc, and m_sLastTable.
Referenced by NewRow(), and IE_Imp_RTF::OpenTable().
void ie_imp_table_control::RemoveRowInfo | ( | void | ) |
void ie_imp_table_control::SaveRowInfo | ( | void | ) |
PD_Document* ie_imp_table_control::m_pDoc [private] |
Referenced by NewRow(), and OpenTable().
std::stack<ie_imp_table*> ie_imp_table_control::m_sLastTable [private] |
Referenced by CloseCell(), CloseTable(), getNestDepth(), getTable(), ie_imp_table_control(), OpenCell(), OpenTable(), and ~ie_imp_table_control().