Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

IE_Imp_DocBook Class Reference

#include <ie_imp_DocBook.h>

Inheritance diagram for IE_Imp_DocBook:
IE_Imp_XML IE_Imp UT_XML::Listener

List of all members.

Public Member Functions

 IE_Imp_DocBook (PD_Document *pDocument)
virtual ~IE_Imp_DocBook ()
void startElement (const gchar *name, const gchar **atts)
void endElement (const gchar *name)
void charData (const gchar *s, int len)

Static Public Member Functions

static bool RecognizeContents (const char *szBuf, UT_uint32 iNumbytes)
static bool RecognizeSuffix (const char *szSuffix)
static UT_Error StaticConstructor (PD_Document *pDocument, IE_Imp **ppie)
static bool GetDlgLabels (const char **pszDesc, const char **pszSuffixList, IEFileType *ft)
static bool SupportsFileType (IEFileType ft)

Protected Member Functions

void createList (void)
void createTitle (void)
void createImage (const char *name, const gchar **atts)
void requireBlock (void)
const gchar ** getCondition (const gchar **atts)
UT_uint32 tagTop (void)

Protected Attributes

int m_iCurListID
int m_iBlockDepth
int m_iDataDepth
int m_iListDepth
int m_iFootnotes
int m_iImages
int m_iSectionDepth
int m_iTitleDepth
UT_sint32 m_iNoteID
UT_GenericVector< fl_AutoNum * > m_utvTitles
bool m_bMustAddTitle
bool m_bRequiredBlock
bool m_bTitleAdded
bool m_bMustNumber
bool m_bWroteBold
bool m_bWroteEntryPara
bool m_bInFrame
bool m_bInIndex
bool m_bInMath
bool m_bInMeta
bool m_bInNote
bool m_bInTable
bool m_bInTOC
bool m_bReadBook
UT_NumberStack m_utnsTagStack
UT_UTF8String m_sectionRole
ie_Tablem_TableHelperStack

Constructor & Destructor Documentation

IE_Imp_DocBook::IE_Imp_DocBook ( PD_Document pDocument  ) 
IE_Imp_DocBook::~IE_Imp_DocBook (  )  [virtual]

Member Function Documentation

void IE_Imp_DocBook::endElement ( const gchar *  name  )  [virtual]

Reimplemented from IE_Imp_XML.

References IE_Imp_XML::_getInlineDepth(), IE_Imp_XML::_mapNameToToken(), IE_Imp_XML::_popInlineFmt(), IE_Imp_XML::_PS_Block, IE_Imp_XML::_PS_Cell, IE_Imp_XML::_PS_DataItem, IE_Imp_XML::_PS_DataSec, IE_Imp_XML::_PS_Doc, IE_Imp_XML::_PS_Field, IE_Imp_XML::_PS_Init, IE_Imp_XML::_PS_List, IE_Imp_XML::_PS_ListSec, IE_Imp_XML::_PS_Meta, IE_Imp_XML::_PS_MetaData, IE_Imp_XML::_PS_Revision, IE_Imp_XML::_PS_RevisionSec, IE_Imp_XML::_PS_Sec, IE_Imp_XML::_PS_Table, IE_Imp::appendFmt(), IE_Imp::appendObject(), IE_Imp::appendSpan(), IE_Imp::appendStrux(), m_bInFrame, m_bInIndex, m_bInMath, m_bInMeta, m_bInNote, m_bInTable, m_bInTOC, m_bMustAddTitle, m_bMustNumber, m_bReadBook, m_bRequiredBlock, m_bTitleAdded, IE_Imp_XML::m_bWhiteSignificant, m_bWroteBold, m_bWroteEntryPara, m_iBlockDepth, m_iDataDepth, m_iListDepth, m_iNoteID, m_iSectionDepth, m_iTitleDepth, IE_Imp_XML::m_lenCharDataSeen, IE_Imp_XML::m_parseState, m_utnsTagStack, IE_Imp_XML::m_vecInlineFmt, UT_NumberStack::pop(), PTO_Hyperlink, PTX_Block, PTX_EndCell, PTX_EndFootnote, PTX_EndFrame, PTX_EndTable, PTX_EndTOC, TokenTableSize, TT_ABBREVIATION, TT_ABSTRACT, TT_ACKNO, TT_ACRONYM, TT_ALT, TT_APPENDIX, TT_APPENDIXINFO, TT_APPLICATION, TT_AREA, TT_AREASET, TT_AREASPEC, TT_ARTICLE, TT_ARTICLEINFO, TT_ARTPAGENUMS, TT_ATTRIBUTION, TT_AUTHOR, TT_AUTHORBLURB, TT_AUTHORGROUP, TT_AUTHORINITIALS, TT_BIBLIOCOVERAGE, TT_BIBLIODIV, TT_BIBLIOENTRY, TT_BIBLIOGRAPHY, TT_BIBLIOMISC, TT_BIBLIOMIXED, TT_BIBLIOMSET, TT_BIBLIORELATION, TT_BIBLIOSET, TT_BIBLIOSOURCE, TT_BLOCK, TT_BLOCKQUOTE, TT_BOOKINFO, TT_BOOKMARK, TT_BRIDGEHEAD, TT_CHAPTER, TT_CHAPTERINFO, TT_CITETITLE, TT_CMDSYNOPSIS, TT_COL, TT_COLLAB, TT_COLLABNAME, TT_COLOPHON, TT_COLSPEC, TT_COMMAND, TT_COPYRIGHT, TT_DATE, TT_DEDICATION, TT_DOCUMENT, TT_EDITION, TT_EDITOR, TT_EMAIL, TT_EMPHASIS, TT_ENTRY, TT_ENTRYTBL, TT_EPIGRAPH, TT_EQUATION, TT_FIGURE, TT_FIRSTNAME, TT_FOOTNOTE, TT_FOOTNOTEREF, TT_FORMALPARA, TT_FUNCSYNOPSIS, TT_GLOSSARY, TT_GRAPHIC, TT_GRAPHICCO, TT_HOLDER, TT_HONORIFIC, TT_IMAGEDATA, TT_IMAGEOBJECT, TT_INDEX, TT_INDEXDIV, TT_INDEXENTRY, TT_INDEXINFO, TT_INDEXTERM, TT_INVPARTNUMBER, TT_ISSUENUM, TT_ITEMIZEDLIST, TT_ITERMSET, TT_KEYWORD, TT_KEYWORDSET, TT_LEGALNOTICE, TT_LINEAGE, TT_LINK, TT_LISTITEM, TT_MEDIAOBJECT, TT_MEDIAOBJECTCO, TT_ORDEREDLIST, TT_OTHER, TT_OTHERNAME, TT_PAGEBREAK, TT_PART, TT_PARTINFO, TT_PARTINTRO, TT_PHRASE, TT_PLAINTEXT, TT_PREFACE, TT_PREFACEINFO, TT_PRIMARY, TT_PRIMARYIE, TT_PRINTHISTORY, TT_PRODUCTNAME, TT_PRODUCTNUMBER, TT_PUBDATE, TT_PUBLISHER, TT_PUBLISHERNAME, TT_QUOTE, TT_REFENTRY, TT_REFSYNOPSISDIV, TT_REVDESCRIPTION, TT_REVHISTORY, TT_REVISION, TT_REVNUMBER, TT_REVREMARK, TT_ROW, TT_SCREEN, TT_SCREENINFO, TT_SCREENSHOT, TT_SECONDARY, TT_SECONDARYIE, TT_SECTION, TT_SECTIONINFO, TT_SEE, TT_SEEALSO, TT_SEEIE, TT_SEG, TT_SEGLISTITEM, TT_SEGMENTEDLIST, TT_SET, TT_SGMLTAG, TT_SUBJECT, TT_SUBJECTSET, TT_SUBJECTTERM, TT_SUBSCRIPT, TT_SUPERSCRIPT, TT_SURNAME, TT_SYNOPSIS, TT_TABLE, TT_TBODY, TT_TERTIARY, TT_TERTIARYIE, TT_TEXTOBJECT, TT_TFOOT, TT_TGROUP, TT_THEAD, TT_TITLE, TT_TOC, TT_TOCBACK, TT_TOCCHAP, TT_TOCFRONT, TT_TOCLEVEL1, TT_TOCLEVEL2, TT_TOCLEVEL3, TT_TOCLEVEL4, TT_TOCLEVEL5, TT_TOCPART, TT_ULINK, TT_VARIABLELIST, TT_VARNAME, TT_VIDEODATA, TT_VIDEOOBJECT, TT_VOLUMENUM, TT_YEAR, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_TODO, X_CheckDocument, X_CheckError, X_EatIfAlreadyError, X_VerifyParseState, and xxx_UT_DEBUGMSG.

const gchar** IE_Imp_DocBook::getCondition ( const gchar **  atts  )  [protected]
static bool IE_Imp_DocBook::GetDlgLabels ( const char **  pszDesc,
const char **  pszSuffixList,
IEFileType ft 
) [static]
static bool IE_Imp_DocBook::RecognizeContents ( const char *  szBuf,
UT_uint32  iNumbytes 
) [static]
static bool IE_Imp_DocBook::RecognizeSuffix ( const char *  szSuffix  )  [static]
void IE_Imp_DocBook::requireBlock ( void   )  [protected]
void IE_Imp_DocBook::startElement ( const gchar *  name,
const gchar **  atts 
) [virtual]

Reimplemented from IE_Imp_XML.

References IE_Imp_XML::_getXMLPropValue(), IE_Imp_XML::_mapNameToToken(), IE_Imp_XML::_PS_Block, IE_Imp_XML::_PS_Cell, IE_Imp_XML::_PS_DataSec, IE_Imp_XML::_PS_Doc, IE_Imp_XML::_PS_Field, IE_Imp_XML::_PS_Init, IE_Imp_XML::_PS_List, IE_Imp_XML::_PS_ListSec, IE_Imp_XML::_PS_Meta, IE_Imp_XML::_PS_MetaData, IE_Imp_XML::_PS_Revision, IE_Imp_XML::_PS_RevisionSec, IE_Imp_XML::_PS_Sec, IE_Imp_XML::_PS_Table, IE_Imp_XML::_pushInlineFmt(), IE_Imp::appendFmt(), IE_Imp::appendObject(), IE_Imp::appendSpan(), IE_Imp::appendStrux(), createImage(), createTitle(), FREEP, gchar, id, m_bInFrame, m_bInIndex, m_bInMath, m_bInMeta, m_bInNote, m_bInTable, m_bInTOC, m_bMustAddTitle, m_bMustNumber, m_bTitleAdded, IE_Imp_XML::m_bWhiteSignificant, m_bWroteBold, m_iBlockDepth, m_iDataDepth, m_iFootnotes, m_iListDepth, m_iNoteID, m_iSectionDepth, m_iTitleDepth, IE_Imp_XML::m_parseState, m_sectionRole, m_utnsTagStack, IE_Imp_XML::m_vecInlineFmt, PTO_Bookmark, PTO_Field, PTO_Hyperlink, PTX_Block, PTX_Section, PTX_SectionCell, PTX_SectionFootnote, PTX_SectionFrame, PTX_SectionTable, PTX_SectionTOC, UT_NumberStack::push(), requireBlock(), tagTop(), TokenTableSize, TT_ABBREVIATION, TT_ABSTRACT, TT_ACKNO, TT_ACRONYM, TT_ALT, TT_APPENDIX, TT_APPENDIXINFO, TT_APPLICATION, TT_AREA, TT_AREASET, TT_AREASPEC, TT_ARTICLE, TT_ARTICLEINFO, TT_ARTPAGENUMS, TT_ATTRIBUTION, TT_AUTHOR, TT_AUTHORBLURB, TT_AUTHORGROUP, TT_AUTHORINITIALS, TT_BIBLIOCOVERAGE, TT_BIBLIODIV, TT_BIBLIOENTRY, TT_BIBLIOGRAPHY, TT_BIBLIOMISC, TT_BIBLIOMIXED, TT_BIBLIOMSET, TT_BIBLIORELATION, TT_BIBLIOSET, TT_BIBLIOSOURCE, TT_BLOCK, TT_BLOCKQUOTE, TT_BOOKINFO, TT_BOOKMARK, TT_BRIDGEHEAD, TT_CHAPTER, TT_CHAPTERINFO, TT_CITETITLE, TT_CMDSYNOPSIS, TT_COL, TT_COLLAB, TT_COLLABNAME, TT_COLOPHON, TT_COLSPEC, TT_COMMAND, TT_COPYRIGHT, TT_DATE, TT_DEDICATION, TT_DOCUMENT, TT_EDITION, TT_EDITOR, TT_EMAIL, TT_EMPHASIS, TT_ENTRY, TT_ENTRYTBL, TT_EPIGRAPH, TT_EQUATION, TT_FIGURE, TT_FIRSTNAME, TT_FOOTNOTE, TT_FOOTNOTEREF, TT_FORMALPARA, TT_FUNCSYNOPSIS, TT_GLOSSARY, TT_GRAPHIC, TT_GRAPHICCO, TT_HOLDER, TT_HONORIFIC, TT_IMAGEDATA, TT_IMAGEOBJECT, TT_INDEX, TT_INDEXDIV, TT_INDEXENTRY, TT_INDEXINFO, TT_INDEXTERM, TT_INVPARTNUMBER, TT_ISSUENUM, TT_ITEMIZEDLIST, TT_ITERMSET, TT_KEYWORD, TT_KEYWORDSET, TT_LEGALNOTICE, TT_LINEAGE, TT_LINK, TT_LISTITEM, TT_MEDIAOBJECT, TT_MEDIAOBJECTCO, TT_ORDEREDLIST, TT_OTHER, TT_OTHERNAME, TT_PAGEBREAK, TT_PART, TT_PARTINFO, TT_PARTINTRO, TT_PHRASE, TT_PLAINTEXT, TT_PREFACE, TT_PREFACEINFO, TT_PRIMARY, TT_PRIMARYIE, TT_PRINTHISTORY, TT_PRODUCTNAME, TT_PRODUCTNUMBER, TT_PUBDATE, TT_PUBLISHER, TT_PUBLISHERNAME, TT_QUOTE, TT_REFENTRY, TT_REFSYNOPSISDIV, TT_REVDESCRIPTION, TT_REVHISTORY, TT_REVISION, TT_REVNUMBER, TT_REVREMARK, TT_ROW, TT_SCREEN, TT_SCREENINFO, TT_SCREENSHOT, TT_SECONDARY, TT_SECONDARYIE, TT_SECTION, TT_SECTIONINFO, TT_SEE, TT_SEEALSO, TT_SEEIE, TT_SEG, TT_SEGLISTITEM, TT_SEGMENTEDLIST, TT_SET, TT_SGMLTAG, TT_SUBJECT, TT_SUBJECTSET, TT_SUBJECTTERM, TT_SUBSCRIPT, TT_SUPERSCRIPT, TT_SURNAME, TT_SYNOPSIS, TT_TABLE, TT_TBODY, TT_TERTIARY, TT_TERTIARYIE, TT_TEXTOBJECT, TT_TFOOT, TT_TGROUP, TT_THEAD, TT_TITLE, TT_TOC, TT_TOCBACK, TT_TOCCHAP, TT_TOCFRONT, TT_TOCLEVEL1, TT_TOCLEVEL2, TT_TOCLEVEL3, TT_TOCLEVEL4, TT_TOCLEVEL5, TT_TOCPART, TT_ULINK, TT_VARIABLELIST, TT_VARNAME, TT_VIDEODATA, TT_VIDEOOBJECT, TT_VOLUMENUM, TT_YEAR, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_SHOULD_NOT_HAPPEN, UT_TODO, UT_UTF8String_sprintf(), UT_UTF8String::utf8_str(), X_CheckError, X_EatIfAlreadyError, X_VerifyParseState, and xxx_UT_DEBUGMSG.

static UT_Error IE_Imp_DocBook::StaticConstructor ( PD_Document pDocument,
IE_Imp **  ppie 
) [static]
static bool IE_Imp_DocBook::SupportsFileType ( IEFileType  ft  )  [static]
UT_uint32 IE_Imp_DocBook::tagTop ( void   )  [protected]

References m_utnsTagStack, and UT_NumberStack::viewTop().

Referenced by charData(), and startElement().


Member Data Documentation

bool IE_Imp_DocBook::m_bInFrame [protected]

Referenced by endElement(), and startElement().

bool IE_Imp_DocBook::m_bInIndex [protected]

Referenced by endElement(), and startElement().

bool IE_Imp_DocBook::m_bInMath [protected]

Referenced by endElement(), and startElement().

bool IE_Imp_DocBook::m_bInMeta [protected]

Referenced by endElement(), and startElement().

bool IE_Imp_DocBook::m_bInNote [protected]

Referenced by endElement(), and startElement().

bool IE_Imp_DocBook::m_bInTable [protected]

Referenced by endElement(), and startElement().

bool IE_Imp_DocBook::m_bInTOC [protected]

Referenced by charData(), endElement(), and startElement().

bool IE_Imp_DocBook::m_bReadBook [protected]

Referenced by charData(), and endElement().

Referenced by endElement(), and requireBlock().

bool IE_Imp_DocBook::m_bWroteBold [protected]

Referenced by endElement(), and startElement().

Referenced by endElement(), and requireBlock().

Referenced by createList(), and createTitle().

Referenced by endElement(), and startElement().

Referenced by startElement().

int IE_Imp_DocBook::m_iImages [protected]

Referenced by createImage().

Referenced by endElement(), and startElement().

Referenced by endElement(), and startElement().


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