#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ut_types.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_path.h"
#include "ut_string.h"
#include "ut_std_string.h"
#include "xap_App.h"
#include "xap_Frame.h"
#include "ie_impexp_DocBook.h"
#include "ie_imp_DocBook.h"
#include "ie_impGraphic.h"
#include "ie_types.h"
#include "fg_GraphicRaster.h"
#include "pd_Document.h"
#include "ut_growbuf.h"
#include "ut_png.h"
Classes | |
struct | _TokenTable |
Defines | |
#define | TokenTableSize ((sizeof(s_Tokens)/sizeof(s_Tokens[0]))) |
#define | X_TestParseState(ps) ((m_parseState==(ps))) |
#define | X_VerifyParseState(ps) |
#define | X_CheckDocument(b) |
#define | X_CheckError(v) |
#define | X_EatIfAlreadyError() do { if (m_error) { UT_DEBUGMSG(("Already failed...\n")); return; } } while (0) |
#define | CHAPTER_HEADING 1 |
#define | SECTION1_HEADING 2 |
#define | SECTION2_HEADING 3 |
#define | SECTION3_HEADING 4 |
#define | SECTION4_HEADING 5 |
#define | SECTION5_HEADING 6 |
#define | SECTION6_HEADING 7 |
Variables | |
static IE_SuffixConfidence | IE_Imp_DocBook_Sniffer__SuffixConfidence [] |
static struct xmlToIdMapping | s_Tokens [] |
#define CHAPTER_HEADING 1 |
Referenced by IE_Imp_DocBook::createTitle().
#define SECTION1_HEADING 2 |
Referenced by IE_Imp_DocBook::createTitle().
#define SECTION2_HEADING 3 |
Referenced by IE_Imp_DocBook::createTitle().
#define SECTION3_HEADING 4 |
Referenced by IE_Imp_DocBook::createTitle().
#define SECTION4_HEADING 5 |
Referenced by IE_Imp_DocBook::createTitle().
#define SECTION5_HEADING 6 |
Referenced by IE_Imp_DocBook::createTitle().
#define SECTION6_HEADING 7 |
Referenced by IE_Imp_DocBook::createTitle().
Referenced by IE_Imp_DocBook::endElement(), and IE_Imp_DocBook::startElement().
#define X_CheckDocument | ( | b | ) |
do { if (!(b)) \ { UT_DEBUGMSG(("DOM: X_CheckDocument failed: %s\n", #b)); \ m_error = UT_IE_BOGUSDOCUMENT; \ return; } } while (0)
Referenced by IE_Imp_DocBook::endElement().
#define X_CheckError | ( | v | ) |
do { if (!(v)) \ { UT_DEBUGMSG(("DOM: X_CheckError failed: %s\n", #v)); \ m_error = UT_ERROR; \ return; } } while (0)
Referenced by IE_Imp_KWord_1::charData(), IE_Imp_DocBook::charData(), IE_Imp_DocBook::createImage(), IE_Imp_DocBook::createTitle(), IE_Imp_KWord_1::endElement(), IE_Imp_DocBook::endElement(), IE_Imp_DocBook::requireBlock(), IE_Imp_KWord_1::startElement(), and IE_Imp_DocBook::startElement().
#define X_EatIfAlreadyError | ( | ) | do { if (m_error) { UT_DEBUGMSG(("Already failed...\n")); return; } } while (0) |
#define X_TestParseState | ( | ps | ) | ((m_parseState==(ps))) |
#define X_VerifyParseState | ( | ps | ) |
do { if (!(X_TestParseState(ps))) \ { UT_DEBUGMSG(("DOM: X_VerifyParseState failed: %s\n", #ps)); \ m_error = UT_IE_BOGUSDOCUMENT; \ return; } } while (0)
Referenced by IE_Imp_DocBook::endElement(), and IE_Imp_DocBook::startElement().
{ { "dbk", UT_CONFIDENCE_PERFECT }, { "xml", UT_CONFIDENCE_PERFECT }, { "", UT_CONFIDENCE_ZILCH } }
struct xmlToIdMapping s_Tokens[] [static] |