jovie
#include <xhtml2ssml.h>
Public Member Functions | |
bool | characters (const QString &) |
QString | convertedText () |
bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
bool | readFileConfigEntry (const QString &line) |
bool | startDocument () |
bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
Detailed Description
Definition at line 35 of file xhtml2ssml.h.
Member Function Documentation
bool XHTMLToSSMLParser::characters | ( | const QString & | characters | ) |
text encountered (blah bah blah)
Definition at line 81 of file xhtml2ssml.cpp.
QString XHTMLToSSMLParser::convertedText | ( | ) |
Get the output text that was generated during the parsing.
- Returns
- The converted text.
Definition at line 87 of file xhtml2ssml.cpp.
bool XHTMLToSSMLParser::endElement | ( | const QString & | namespaceURI, |
const QString & | localName, | ||
const QString & | qName | ||
) |
end of an element encountered (</element>)
Definition at line 73 of file xhtml2ssml.cpp.
bool XHTMLToSSMLParser::readFileConfigEntry | ( | const QString & | line | ) |
Parse a line from the configuration file which maps xhtml : ssml equivalent.
It makes entries in the m_xhtml2ssml map accordingly.
- Parameters
-
line A line from a file to parse
- Returns
- true if the syntax of the line was okay and the parsing succeeded - false otherwise.
Definition at line 95 of file xhtml2ssml.cpp.
bool XHTMLToSSMLParser::startDocument | ( | ) |
No need to reimplement constructor.
Document parsing begin. Init stuff here.
The document parsing starts
Read the file which maps xhtml tags -> ssml tags. Look at the file for more information.
Maybe call processEvents() to prevent GUI blockages?
Definition at line 36 of file xhtml2ssml.cpp.
bool XHTMLToSSMLParser::startElement | ( | const QString & | namespaceURI, |
const QString & | localName, | ||
const QString & | qName, | ||
const QXmlAttributes & | atts | ||
) |
start of an element encountered (<element foo="bar">)
Definition at line 57 of file xhtml2ssml.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.