KD Reports  1.9
KDReportsXmlElementHandlerV2.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2011-2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDReports OR LicenseRef-KDAB-KDReports-US
8 **
9 ** Licensees holding valid commercial KD Reports licenses may use this file in
10 ** accordance with the KD Reports Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 
17 #ifndef KDREPORTSXMLELEMENTHANDLERV2_H
18 #define KDREPORTSXMLELEMENTHANDLERV2_H
19 
20 #include "KDReportsXmlElementHandler.h"
21 #include "KDReportsVariableType.h"
22 #include <QTextOption>
23 
24 namespace KDReports {
25 
26 class HLineElement;
27 
33 class KDREPORTS_EXPORT XmlElementHandlerV2 : public XmlElementHandler //krazy:exclude=dpointer
34 {
35 public:
37  ~XmlElementHandlerV2() override;
38 
42  virtual bool variable( KDReports::VariableType &type, QDomElement& xmlElement );
43 
49  virtual bool vspace( int &size, QDomElement& xmlElement );
50 
56  virtual bool hLineElement( KDReports::HLineElement& hLineElement, QDomElement& xmlElement );
57 
62  virtual bool paragraphMargin( qreal &left, qreal &top, qreal &right, qreal &bottom, const QDomElement& xmlElement );
63 
68  virtual bool tabs(QList<QTextOption::Tab> &tabs, const QDomElement& xmlElement );
69 };
70 
71 }
72 
73 #endif // KDREPORTSXMLELEMENTHANDLERV2_H
VariableType
Definition: KDReportsVariableType.h:29
Definition: KDReportsXmlElementHandler.h:80
Definition: KDReportsAbstractTableElement.h:30
Definition: KDReportsHLineElement.h:36
Definition: KDReportsXmlElementHandlerV2.h:33
Definition: KDReportsAbstractTableElement.h:24

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/

https://www.kdab.com/development-resources/qt-tools/kd-reports/