#include <PageParser.h>
|
enum | RootTags {
tag_root,
tag_page,
tag_meta,
tag_meta_creator,
tag_meta_created,
tag_meta_changed,
attr_imageFilename,
attr_imageWidth,
attr_imageHeight,
attr_text_type,
attr_xmlns,
attr_xsi,
attr_schemaLocation,
tag_end
} |
|
Enumerator |
---|
tag_root |
|
tag_page |
|
tag_meta |
|
tag_meta_creator |
|
tag_meta_created |
|
tag_meta_changed |
|
attr_imageFilename |
|
attr_imageWidth |
|
attr_imageHeight |
|
attr_text_type |
|
attr_xmlns |
|
attr_xsi |
|
attr_schemaLocation |
|
tag_end |
|
rdf::PageXmlParser::PageXmlParser |
( |
| ) |
|
QString rdf::PageXmlParser::imagePathToXmlPath |
( |
const QString & |
path | ) |
|
|
static |
QSharedPointer< PageElement > rdf::PageXmlParser::page |
( |
| ) |
const |
QSharedPointer< PageElement > rdf::PageXmlParser::parse |
( |
const QString & |
xmlPath | ) |
const |
|
protected |
void rdf::PageXmlParser::parseMetadata |
( |
QXmlStreamReader & |
reader, |
|
|
QSharedPointer< PageElement > |
page |
|
) |
| const |
|
protected |
Parses the metadata of a PAGE XML.
- Parameters
-
reader | The XML reader. |
page | The page element. |
void rdf::PageXmlParser::parseRegion |
( |
QXmlStreamReader & |
reader, |
|
|
QSharedPointer< Region > |
parent |
|
) |
| const |
|
protected |
Parses all regions from a PAGE XML hierarchically.
- Parameters
-
reader | The XML Reader. |
parent | The parent of the region which is parsed next. |
void rdf::PageXmlParser::read |
( |
const QString & |
xmlPath | ) |
|
void rdf::PageXmlParser::setPage |
( |
QSharedPointer< PageElement > |
page | ) |
|
QString rdf::PageXmlParser::tagName |
( |
const RootTags & |
tag | ) |
const |
void rdf::PageXmlParser::write |
( |
const QString & |
xmlPath, |
|
|
const QSharedPointer< PageElement > |
pageElement |
|
) |
| |
void rdf::PageXmlParser::writeMetaData |
( |
QXmlStreamWriter & |
writer | ) |
const |
|
protected |
QByteArray rdf::PageXmlParser::writePageElement |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following files: