Public Member Functions | List of all members

Parse a <layout> tag describing report classes. More...

#include <oofriXML.h>

Inheritance diagram for OOF_XMLrepLayoutParser:
Inheritance graph
Collaboration diagram for OOF_XMLrepLayoutParser:
Collaboration graph

Public Member Functions

virtual void charData (const XML_Char *s, int len)
 char Data call back. More...
virtual void endElement (const XML_Char *name)
 OOF_XMLrepLayoutParser (OOF_XMLrepParser *, dbConnect *)
 parse a <layout> tag to create an oofRep. More...
virtual void startElement (const XML_Char *name, const XML_Char **atts)
 startElement call back. More...
virtual ~OOF_XMLrepLayoutParser ()

Detailed Description

Parse a <layout> tag describing report classes.

This is the one totally vital tag - without it a report can't be built.

See also

Definition at line 132 of file oofriXML.h.

Constructor & Destructor Documentation

OOF_XMLrepLayoutParser::OOF_XMLrepLayoutParser ( OOF_XMLrepParser parent,
dbConnect inDB 

parse a <layout> tag to create an oofRep.

This is the only mandatory parser in reading a file.

Definition at line 750 of file oofriXML.cpp.

OOF_XMLrepLayoutParser::~OOF_XMLrepLayoutParser ( )

Definition at line 761 of file oofriXML.cpp.

Member Function Documentation

void OOF_XMLrepLayoutParser::charData ( const XML_Char *  s,
int  len 

char Data call back.

Ignores data between elements. Called multiple times for each line inside an element.

Definition at line 924 of file oofriXML.cpp.

References oofString::append(), eInBlock, eInColumn, eInHeader, eInLayoutBand, oofString::length(), and oofString::utf8To8BitAscii().

void OOF_XMLrepLayoutParser::endElement ( const XML_Char *  name)
void OOF_XMLrepLayoutParser::startElement ( const XML_Char *  name,
const XML_Char **  atts 

startElement call back.

elements checked in order decreasing frequency of use

Definition at line 855 of file oofriXML.cpp.

References oofString::clear(), eInColumn, eInCustomCode, eInFirstPageFooter, eInFirstPageHeader, eInFooter, eInFooterBreak, eInHeader, eInHeaderBreak, and eInWidth.

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