kviewshell
XMLParser.cpp File Reference
#include "XMLParser.h"#include "XMLTags.h"#include "ByteStream.h"#include "GOS.h"#include "DjVuDocument.h"#include "DjVuText.h"#include "DjVuAnno.h"#include "DjVuFile.h"#include "DjVuImage.h"#include "debug.h"#include <stdio.h>#include <ctype.h>#include <stdlib.h>

Go to the source code of this file.
Functions | |
| static const GMap< GUTF8String, GMapArea::BorderType > & | BorderTypeMap (void) |
| static unsigned long | convertToColor (const GUTF8String &s) |
| static void | intList (GUTF8String coords, GList< int > &retval) |
| static bool | make_child_layer (DjVuTXT::Zone &parent, const lt_XMLTags &tag, ByteStream &bs, const int height, const double ws, const double hs) |
| template<class TYPE > | |
| static TYPE | max (TYPE a, TYPE b) |
| template<class TYPE > | |
| static TYPE | min (TYPE a, TYPE b) |
| static GP< ByteStream > | OCRcallback (const GUTF8String &value, const GP< DjVuImage > &image) |
| static GP< ByteStream > | OCRcallback (void *const xarg, lt_XMLParser::mapOCRcallback *const xcallback, const GUTF8String &value=GUTF8String(), const GP< DjVuImage > &image=0) |
Variables | |
| static const char | areatag [] = "AREA" |
| static const char | bodytag [] = "BODY" |
| static const char | hiddentexttag [] = "HIDDENTEXT" |
| static const char | linetag [] = "LINE" |
| static const char | maptag [] = "MAP" |
| static const char | metadatatag [] = "METADATA" |
| static const char | mimetype [] = "image/x.djvu" |
| static const char | objecttag [] = "OBJECT" |
| static const char | pagecolumntag [] = "PAGECOLUMN" |
| static const char | paragraphtag [] = "PARAGRAPH" |
| static const char | paramtag [] = "PARAM" |
| static const char | regiontag [] = "REGION" |
| static const char | wordtag [] = "WORD" |
Function Documentation
| static const GMap<GUTF8String,GMapArea::BorderType>& BorderTypeMap | ( | void | ) | [static] |
Definition at line 228 of file XMLParser.cpp.
| static unsigned long convertToColor | ( | const GUTF8String & | s | ) | [static] |
Definition at line 246 of file XMLParser.cpp.
| static void intList | ( | GUTF8String | coords, | |
| GList< int > & | retval | |||
| ) | [static] |
Definition at line 178 of file XMLParser.cpp.
| static bool make_child_layer | ( | DjVuTXT::Zone & | parent, | |
| const lt_XMLTags & | tag, | |||
| ByteStream & | bs, | |||
| const int | height, | |||
| const double | ws, | |||
| const double | hs | |||
| ) | [static] |
Definition at line 787 of file XMLParser.cpp.
| static TYPE max | ( | TYPE | a, | |
| TYPE | b | |||
| ) | [inline, static] |
Definition at line 776 of file XMLParser.cpp.
| static TYPE min | ( | TYPE | a, | |
| TYPE | b | |||
| ) | [inline, static] |
Definition at line 781 of file XMLParser.cpp.
| static GP<ByteStream> OCRcallback | ( | const GUTF8String & | value, | |
| const GP< DjVuImage > & | image | |||
| ) | [inline, static] |
Definition at line 160 of file XMLParser.cpp.
| static GP< ByteStream > OCRcallback | ( | void *const | xarg, | |
| lt_XMLParser::mapOCRcallback *const | xcallback, | |||
| const GUTF8String & | value = GUTF8String(), |
|||
| const GP< DjVuImage > & | image = 0 | |||
| ) | [static] |
Definition at line 1093 of file XMLParser.cpp.
Variable Documentation
const char areatag[] = "AREA" [static] |
Definition at line 91 of file XMLParser.cpp.
const char bodytag[] = "BODY" [static] |
Definition at line 90 of file XMLParser.cpp.
const char hiddentexttag[] = "HIDDENTEXT" [static] |
Definition at line 100 of file XMLParser.cpp.
const char linetag[] = "LINE" [static] |
Definition at line 96 of file XMLParser.cpp.
const char maptag[] = "MAP" [static] |
Definition at line 92 of file XMLParser.cpp.
const char metadatatag[] = "METADATA" [static] |
Definition at line 101 of file XMLParser.cpp.
const char mimetype[] = "image/x.djvu" [static] |
Definition at line 89 of file XMLParser.cpp.
const char objecttag[] = "OBJECT" [static] |
Definition at line 93 of file XMLParser.cpp.
const char pagecolumntag[] = "PAGECOLUMN" [static] |
Definition at line 99 of file XMLParser.cpp.
const char paragraphtag[] = "PARAGRAPH" [static] |
Definition at line 97 of file XMLParser.cpp.
const char paramtag[] = "PARAM" [static] |
Definition at line 94 of file XMLParser.cpp.
const char regiontag[] = "REGION" [static] |
Definition at line 98 of file XMLParser.cpp.
const char wordtag[] = "WORD" [static] |
Definition at line 95 of file XMLParser.cpp.
KDE 3.5 API Reference