filters

KWord13Parser Class Reference

List of all members.

Detailed Description

Definition at line 79 of file kword13parser.h.


Public Member Functions

 KWord13Parser (KWord13Document *kwordDocument)
virtual ~KWord13Parser (void)

Protected Member Functions

virtual bool startElement (const QString &, const QString &, const QString &name, const QXmlAttributes &attributes)
virtual bool endElement (const QString &, const QString &, const QString &qName)
virtual bool characters (const QString &ch)
virtual bool warning (const QXmlParseException &exception)
virtual bool error (const QXmlParseException &exception)
virtual bool fatalError (const QXmlParseException &exception)
bool startElementFormatOneProperty (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementLayoutProperty (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementName (const QString &, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementFormat (const QString &, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementLayout (const QString &, const QXmlAttributes &, KWord13StackItem *stackItem)
bool startElementParagraph (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementFrame (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementFrameset (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementDocumentAttributes (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem, const KWord13StackItemType &allowedParentType, const KWord13StackItemType &newType)
bool startElementKey (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
bool startElementAnchor (const QString &name, const QXmlAttributes &attributes, KWord13StackItem *stackItem)
QString calculatePictureKey (const QString &filename, const QString &year, const QString &month, const QString &day, const QString &hour, const QString &minute, const QString &second, const QString &microsecond) const

Protected Attributes

QString indent
KWord13StackItemStack parserStack
KWord13Documentm_kwordDocument
KWord13Paragraphm_currentParagraph
KWord13Layoutm_currentLayout
KWord13Formatm_currentFormat

Member Function Documentation

QString KWord13Parser::calculatePictureKey ( const QString &  filename,
const QString &  year,
const QString &  month,
const QString &  day,
const QString &  hour,
const QString &  minute,
const QString &  second,
const QString &  microsecond 
) const [protected]

Get a picture key out of the individual <KEY> attributes.

Note:
The generated key is different that one of the class KoPictureKey

Definition at line 866 of file kword13parser.cpp.

bool KWord13Parser::characters ( const QString &  ch  )  [protected, virtual]

Process element's characters (between opening and closing tags).

Definition at line 759 of file kword13parser.cpp.

bool KWord13Parser::endElement ( const QString &  ,
const QString &  ,
const QString &  qName 
) [protected, virtual]

Process closing tag.

Definition at line 656 of file kword13parser.cpp.

bool KWord13Parser::startElement ( const QString &  ,
const QString &  ,
const QString &  name,
const QXmlAttributes &  attributes 
) [protected, virtual]

Process opening tag.

Definition at line 491 of file kword13parser.cpp.

bool KWord13Parser::startElementAnchor ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <ANCHOR>.

Definition at line 453 of file kword13parser.cpp.

bool KWord13Parser::startElementDocumentAttributes ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem,
const KWord13StackItemType &  allowedParentType,
const KWord13StackItemType &  newType 
) [protected]

Process opening tag of some elements that are children of <DOC> and which only define document properties.

Definition at line 393 of file kword13parser.cpp.

bool KWord13Parser::startElementFormat ( const QString &  ,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <FORMAT>.

Definition at line 159 of file kword13parser.cpp.

bool KWord13Parser::startElementFormatOneProperty ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process children of <FORMAT id="1">.

Definition at line 56 of file kword13parser.cpp.

bool KWord13Parser::startElementFrame ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <FRAME>.

Definition at line 282 of file kword13parser.cpp.

bool KWord13Parser::startElementFrameset ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <FRAMESET>.

Definition at line 316 of file kword13parser.cpp.

bool KWord13Parser::startElementKey ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <KEY>.

Definition at line 416 of file kword13parser.cpp.

bool KWord13Parser::startElementLayout ( const QString &  ,
const QXmlAttributes &  ,
KWord13StackItem stackItem 
) [protected]

Process <LAYOUT> and <STYLE>.

Definition at line 231 of file kword13parser.cpp.

bool KWord13Parser::startElementLayoutProperty ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process children of <LAYOUT> (with exceptions).

Definition at line 114 of file kword13parser.cpp.

bool KWord13Parser::startElementName ( const QString &  ,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <NAME>.

Definition at line 141 of file kword13parser.cpp.

bool KWord13Parser::startElementParagraph ( const QString &  name,
const QXmlAttributes &  attributes,
KWord13StackItem stackItem 
) [protected]

Process <PARAGRAPH>.

Definition at line 260 of file kword13parser.cpp.


Member Data Documentation

Current format.

Definition at line 133 of file kword13parser.h.

Current layout (or style).

Definition at line 132 of file kword13parser.h.

Current paragraph.

Definition at line 131 of file kword13parser.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys