#include <ie_imp_WordPerfect.h>
Public Member Functions | |
| IE_Imp_WordPerfect (PD_Document *pDocument) | |
| virtual | ~IE_Imp_WordPerfect () |
| virtual void | pasteFromBuffer (PD_DocumentRange *pDocRange, UT_uint8 *pData, UT_uint32 lenData, const char *szEncoding=0) |
| virtual void | setDocumentMetaData (const librevenge::RVNGPropertyList &propList) |
| virtual void | startDocument (const librevenge::RVNGPropertyList &propList) |
| virtual void | endDocument () |
| virtual void | defineEmbeddedFont (const librevenge::RVNGPropertyList &) |
| virtual void | definePageStyle (const librevenge::RVNGPropertyList &) |
| virtual void | openPageSpan (const librevenge::RVNGPropertyList &propList) |
| virtual void | closePageSpan () |
| virtual void | openHeader (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeHeader () |
| virtual void | openFooter (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeFooter () |
| virtual void | defineSectionStyle (const librevenge::RVNGPropertyList &) |
| virtual void | openSection (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeSection () |
| virtual void | defineParagraphStyle (const librevenge::RVNGPropertyList &) |
| virtual void | openParagraph (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeParagraph () |
| virtual void | defineCharacterStyle (const librevenge::RVNGPropertyList &) |
| virtual void | openSpan (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeSpan () |
| virtual void | openLink (const librevenge::RVNGPropertyList &) |
| virtual void | closeLink () |
| virtual void | insertTab () |
| virtual void | insertText (const librevenge::RVNGString &text) |
| virtual void | insertSpace () |
| virtual void | insertLineBreak () |
| virtual void | insertField (const librevenge::RVNGPropertyList &) |
| virtual void | openOrderedListLevel (const librevenge::RVNGPropertyList &propList) |
| virtual void | openUnorderedListLevel (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeOrderedListLevel () |
| virtual void | closeUnorderedListLevel () |
| virtual void | openListElement (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeListElement () |
| virtual void | openFootnote (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeFootnote () |
| virtual void | openEndnote (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeEndnote () |
| virtual void | openComment (const librevenge::RVNGPropertyList &) |
| virtual void | closeComment () |
| virtual void | openTextBox (const librevenge::RVNGPropertyList &) |
| virtual void | closeTextBox () |
| virtual void | openTable (const librevenge::RVNGPropertyList &propList) |
| virtual void | openTableRow (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeTableRow () |
| virtual void | openTableCell (const librevenge::RVNGPropertyList &propList) |
| virtual void | closeTableCell () |
| virtual void | insertCoveredTableCell (const librevenge::RVNGPropertyList &) |
| virtual void | closeTable () |
| virtual void | openFrame (const librevenge::RVNGPropertyList &) |
| virtual void | closeFrame () |
| virtual void | openGroup (const librevenge::RVNGPropertyList &) |
| virtual void | closeGroup () |
| virtual void | defineGraphicStyle (const librevenge::RVNGPropertyList &) |
| virtual void | drawRectangle (const librevenge::RVNGPropertyList &) |
| virtual void | drawEllipse (const librevenge::RVNGPropertyList &) |
| virtual void | drawPolygon (const librevenge::RVNGPropertyList &) |
| virtual void | drawPolyline (const librevenge::RVNGPropertyList &) |
| virtual void | drawPath (const librevenge::RVNGPropertyList &) |
| virtual void | drawConnector (const librevenge::RVNGPropertyList &) |
| virtual void | insertBinaryObject (const librevenge::RVNGPropertyList &) |
| virtual void | insertEquation (const librevenge::RVNGPropertyList &) |
Protected Member Functions | |
| virtual UT_Error | _loadFile (GsfInput *input) |
| UT_Error | _appendSection (int numColumns, const float, const float) |
| UT_Error | _appendListSpan (UT_uint32 listTag) |
| UT_Error | _updateDocumentOrderedListDefinition (ABI_ListDefinition *pListDefinition, int iLevel, const char listType, const UT_UTF8String &sTextBeforeNumber, const UT_UTF8String &sTextAfterNumber, int iStartingNumber) |
| UT_Error | _updateDocumentUnorderedListDefinition (ABI_ListDefinition *pListDefinition, int level) |
Private Attributes | |
| float | m_leftPageMargin |
| float | m_rightPageMargin |
| float | m_leftSectionMargin |
| float | m_rightSectionMargin |
| int | m_sectionColumnsCount |
| UT_sint8 | m_headerId |
| UT_sint8 | m_footerId |
| UT_uint32 | m_nextFreeId |
| float | m_topMargin |
| float | m_bottomMargin |
| float | m_leftMarginOffset |
| float | m_rightMarginOffset |
| float | m_textIndent |
| ABI_ListDefinition * | m_pCurrentListDefinition |
| bool | m_bParagraphChanged |
| bool | m_bParagraphInSection |
| bool | m_bInSection |
| bool | m_bSectionChanged |
| bool | m_bRequireBlock |
| int | m_iCurrentListLevel |
| bool | m_bInCell |
| int | m_bHdrFtrOpenCount |
| IE_Imp_WordPerfect::IE_Imp_WordPerfect | ( | PD_Document * | pDocument | ) |
| IE_Imp_WordPerfect::~IE_Imp_WordPerfect | ( | ) | [virtual] |
| UT_Error IE_Imp_WordPerfect::_appendSection | ( | int | numColumns, | |
| const float | marginLeft, | |||
| const float | marginRight | |||
| ) | [protected] |
References IE_Imp::appendStrux(), UT_String::c_str(), m_bInSection, m_bRequireBlock, m_bSectionChanged, PTX_Block, PTX_Section, UT_DEBUGMSG, UT_String_sprintf(), and X_CheckDocumentError.
Referenced by openSection().
| UT_Error IE_Imp_WordPerfect::_loadFile | ( | GsfInput * | input | ) | [protected, virtual] |
Implements IE_Imp.
References abicollab::service::error(), and UT_DEBUGMSG.
| UT_Error IE_Imp_WordPerfect::_updateDocumentOrderedListDefinition | ( | ABI_ListDefinition * | pListDefinition, | |
| int | iLevel, | |||
| const char | listType, | |||
| const UT_UTF8String & | sTextBeforeNumber, | |||
| const UT_UTF8String & | sTextAfterNumber, | |||
| int | iStartingNumber | |||
| ) | [protected] |
| UT_Error IE_Imp_WordPerfect::_updateDocumentUnorderedListDefinition | ( | ABI_ListDefinition * | pListDefinition, | |
| int | level | |||
| ) | [protected] |
References PD_Document::addList(), IE_Imp::getDoc(), PD_Document::getListByID(), ABI_ListDefinition::getListID(), ABI_ListDefinition::getListType(), and UT_DEBUGMSG.
Referenced by openUnorderedListLevel().
| virtual void IE_Imp_WordPerfect::closeComment | ( | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::closeEndnote | ( | ) | [virtual] |
References IE_Imp::appendStrux(), m_bHdrFtrOpenCount, PTX_EndEndnote, and X_CheckDocumentError.
| void IE_Imp_WordPerfect::closeFooter | ( | ) | [virtual] |
References m_bHdrFtrOpenCount.
| void IE_Imp_WordPerfect::closeFootnote | ( | ) | [virtual] |
References IE_Imp::appendStrux(), m_bHdrFtrOpenCount, PTX_EndFootnote, and X_CheckDocumentError.
| virtual void IE_Imp_WordPerfect::closeFrame | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeGroup | ( | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::closeHeader | ( | ) | [virtual] |
References m_bHdrFtrOpenCount.
| virtual void IE_Imp_WordPerfect::closeLink | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeListElement | ( | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::closeOrderedListLevel | ( | ) | [virtual] |
| virtual void IE_Imp_WordPerfect::closePageSpan | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeParagraph | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeSection | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeSpan | ( | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::closeTable | ( | void | ) | [virtual] |
References IE_Imp::appendStrux(), m_bHdrFtrOpenCount, m_bInCell, m_bRequireBlock, PTX_Block, PTX_EndCell, PTX_EndTable, UT_DEBUGMSG, and X_CheckDocumentError.
| virtual void IE_Imp_WordPerfect::closeTableCell | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeTableRow | ( | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::closeTextBox | ( | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::closeUnorderedListLevel | ( | ) | [virtual] |
References m_bHdrFtrOpenCount, m_iCurrentListLevel, UT_ASSERT, and UT_DEBUGMSG.
| virtual void IE_Imp_WordPerfect::defineCharacterStyle | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::defineEmbeddedFont | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::defineGraphicStyle | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::definePageStyle | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::defineParagraphStyle | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::defineSectionStyle | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::drawConnector | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::drawEllipse | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::drawPath | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::drawPolygon | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::drawPolyline | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::drawRectangle | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::endDocument | ( | ) | [virtual] |
References UT_DEBUGMSG.
| virtual void IE_Imp_WordPerfect::insertBinaryObject | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::insertCoveredTableCell | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::insertEquation | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::insertField | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::insertLineBreak | ( | ) | [virtual] |
References IE_Imp::appendSpan(), m_bHdrFtrOpenCount, UT_DEBUGMSG, and X_CheckDocumentError.
| void IE_Imp_WordPerfect::insertSpace | ( | ) | [virtual] |
References IE_Imp::appendSpan(), m_bHdrFtrOpenCount, UT_DEBUGMSG, and X_CheckDocumentError.
| void IE_Imp_WordPerfect::insertTab | ( | ) | [virtual] |
References IE_Imp::appendSpan(), m_bHdrFtrOpenCount, UT_DEBUGMSG, and X_CheckDocumentError.
| void IE_Imp_WordPerfect::insertText | ( | const librevenge::RVNGString & | text | ) | [virtual] |
References IE_Imp::appendSpan(), m_bHdrFtrOpenCount, UT_DEBUGMSG, and X_CheckDocumentError.
| virtual void IE_Imp_WordPerfect::openComment | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::openEndnote | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| void IE_Imp_WordPerfect::openFooter | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References m_bHdrFtrOpenCount.
| void IE_Imp_WordPerfect::openFootnote | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| virtual void IE_Imp_WordPerfect::openFrame | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| virtual void IE_Imp_WordPerfect::openGroup | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::openHeader | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References m_bHdrFtrOpenCount.
| virtual void IE_Imp_WordPerfect::openLink | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::openListElement | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References PD_Document::appendFmtMark(), IE_Imp::appendObject(), IE_Imp::appendSpan(), IE_Imp::appendStrux(), UT_String::c_str(), gchar, IE_Imp::getDoc(), ABI_ListDefinition::getListID(), ABI_ListDefinition::getListLeftOffset(), ABI_ListDefinition::getListMinLabelWidth(), ABI_ListDefinition::getListType(), ABI_ListDefinition::incrementLevelNumber(), m_bHdrFtrOpenCount, m_bRequireBlock, m_iCurrentListLevel, m_pCurrentListDefinition, PP_std_copyProps(), PT_MAX_ATTRIBUTES, PTO_Field, PTX_Block, UT_ASSERT, UT_DEBUGMSG, UT_String_sprintf(), and X_CheckDocumentError.
| void IE_Imp_WordPerfect::openOrderedListLevel | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References _updateDocumentOrderedListDefinition(), ABI_ListDefinition::getLevelNumber(), ABI_ListDefinition::getListID(), ABI_ListDefinition::getOutlineHash(), m_bHdrFtrOpenCount, m_iCurrentListLevel, m_pCurrentListDefinition, ABI_ListDefinition::setListID(), ABI_ListDefinition::setListLeftOffset(), ABI_ListDefinition::setListMinLabelWidth(), ABI_ListDefinition::setListType(), UT_DEBUGMSG, and UT_rand().
| void IE_Imp_WordPerfect::openPageSpan | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References m_bHdrFtrOpenCount, m_bSectionChanged, m_leftPageMargin, m_rightPageMargin, and UT_DEBUGMSG.
| void IE_Imp_WordPerfect::openParagraph | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| void IE_Imp_WordPerfect::openSection | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| void IE_Imp_WordPerfect::openSpan | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References IE_Imp::appendFmt(), UT_String::c_str(), gchar, m_bHdrFtrOpenCount, UT_DEBUGMSG, and X_CheckDocumentError.
| void IE_Imp_WordPerfect::openTable | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| void IE_Imp_WordPerfect::openTableCell | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| void IE_Imp_WordPerfect::openTableRow | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References IE_Imp::appendStrux(), m_bHdrFtrOpenCount, m_bInCell, PTX_EndCell, UT_DEBUGMSG, and X_CheckDocumentError.
| virtual void IE_Imp_WordPerfect::openTextBox | ( | const librevenge::RVNGPropertyList & | ) | [inline, virtual] |
| void IE_Imp_WordPerfect::openUnorderedListLevel | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References _updateDocumentUnorderedListDefinition(), ABI_ListDefinition::getListID(), ABI_ListDefinition::getOutlineHash(), m_bHdrFtrOpenCount, m_iCurrentListLevel, m_pCurrentListDefinition, ABI_ListDefinition::setListID(), ABI_ListDefinition::setListLeftOffset(), ABI_ListDefinition::setListMinLabelWidth(), UT_DEBUGMSG, and UT_rand().
| virtual void IE_Imp_WordPerfect::pasteFromBuffer | ( | PD_DocumentRange * | pDocRange, | |
| UT_uint8 * | pData, | |||
| UT_uint32 | lenData, | |||
| const char * | szEncoding = 0 | |||
| ) | [virtual] |
| void IE_Imp_WordPerfect::setDocumentMetaData | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
| void IE_Imp_WordPerfect::startDocument | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
References UT_DEBUGMSG.
int IE_Imp_WordPerfect::m_bHdrFtrOpenCount [private] |
Referenced by closeEndnote(), closeFooter(), closeFootnote(), closeHeader(), closeOrderedListLevel(), closeTable(), closeUnorderedListLevel(), insertLineBreak(), insertSpace(), insertTab(), insertText(), openEndnote(), openFooter(), openFootnote(), openHeader(), openListElement(), openOrderedListLevel(), openPageSpan(), openParagraph(), openSection(), openSpan(), openTable(), openTableCell(), openTableRow(), and openUnorderedListLevel().
bool IE_Imp_WordPerfect::m_bInCell [private] |
Referenced by closeTable(), openTableCell(), and openTableRow().
bool IE_Imp_WordPerfect::m_bInSection [private] |
Referenced by _appendSection(), and openFootnote().
float IE_Imp_WordPerfect::m_bottomMargin [private] |
Referenced by openParagraph().
bool IE_Imp_WordPerfect::m_bParagraphChanged [private] |
bool IE_Imp_WordPerfect::m_bParagraphInSection [private] |
bool IE_Imp_WordPerfect::m_bRequireBlock [private] |
Referenced by _appendSection(), closeTable(), openEndnote(), openFootnote(), openListElement(), and openParagraph().
bool IE_Imp_WordPerfect::m_bSectionChanged [private] |
Referenced by _appendSection(), openPageSpan(), and openSection().
UT_sint8 IE_Imp_WordPerfect::m_footerId [private] |
UT_sint8 IE_Imp_WordPerfect::m_headerId [private] |
int IE_Imp_WordPerfect::m_iCurrentListLevel [private] |
float IE_Imp_WordPerfect::m_leftMarginOffset [private] |
Referenced by openParagraph().
float IE_Imp_WordPerfect::m_leftPageMargin [private] |
Referenced by openPageSpan(), and openSection().
float IE_Imp_WordPerfect::m_leftSectionMargin [private] |
Referenced by openSection().
UT_uint32 IE_Imp_WordPerfect::m_nextFreeId [private] |
Referenced by closeOrderedListLevel(), openListElement(), openOrderedListLevel(), and openUnorderedListLevel().
float IE_Imp_WordPerfect::m_rightMarginOffset [private] |
Referenced by openParagraph().
float IE_Imp_WordPerfect::m_rightPageMargin [private] |
Referenced by openPageSpan(), and openSection().
float IE_Imp_WordPerfect::m_rightSectionMargin [private] |
Referenced by openSection().
int IE_Imp_WordPerfect::m_sectionColumnsCount [private] |
Referenced by openSection().
float IE_Imp_WordPerfect::m_textIndent [private] |
Referenced by openParagraph().
float IE_Imp_WordPerfect::m_topMargin [private] |
Referenced by openParagraph().
1.7.1