17 #ifndef KDREPORTSXMLPARSER_H
18 #define KDREPORTSXMLPARSER_H
36 #include <QtCore/QHash>
45 class XmlElementHandler;
46 class AbstractTableElement;
56 : m_textValues(textValues)
57 , m_imageValues(imageValues)
58 , m_xmlElementHandler(xmlHandler)
60 , m_errorDetails(details)
73 QString extractText(
const QDomElement &element, QString *
id,
const QAbstractItemModel *currentModel =
nullptr,
int currentRow = -1)
const;
74 QImage extractImage(
const QDomElement &element, QString *pId)
const;
75 bool testForErrorAndFillErrorDetails();
76 void error(
const QString &errorString);
78 QHash<QString, QString> m_textValues;
79 QHash<QString, QImage> m_imageValues;