KD Reports  1.8
KDReportsXmlElementHandlerV2.h
1 /****************************************************************************
2 ** Copyright (C) 2011-2020 Klaralvdalens Datakonsult AB. All rights reserved.
3 **
4 ** This file is part of the KD Reports library.
5 **
6 ** Licensees holding valid commercial KD Reports licenses may use this file in
7 ** accordance with the KD Reports Commercial License Agreement provided with
8 ** the Software.
9 **
10 **
11 ** This file may be distributed and/or modified under the terms of the
12 ** GNU Lesser General Public License version 2.1 and version 3 as published by the
13 ** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
14 **
15 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 **
18 ** Contact info@kdab.com if any conditions of this licensing are not
19 ** clear to you.
20 **
21 **********************************************************************/
22 
23 #ifndef KDREPORTSXMLELEMENTHANDLERV2_H
24 #define KDREPORTSXMLELEMENTHANDLERV2_H
25 
26 #include "KDReportsXmlElementHandler.h"
27 #include "KDReportsVariableType.h"
28 #include <QTextOption>
29 
30 namespace KDReports {
31 
32 class HLineElement;
33 
39 class KDREPORTS_EXPORT XmlElementHandlerV2 : public XmlElementHandler //krazy:exclude=dpointer
40 {
41 public:
43  virtual ~XmlElementHandlerV2();
44 
48  virtual bool variable( KDReports::VariableType &type, QDomElement& xmlElement );
49 
55  virtual bool vspace( int &size, QDomElement& xmlElement );
56 
62  virtual bool hLineElement( KDReports::HLineElement& hLineElement, QDomElement& xmlElement );
63 
68  virtual bool paragraphMargin( qreal &left, qreal &top, qreal &right, qreal &bottom, const QDomElement& xmlElement );
69 
74  virtual bool tabs(QList<QTextOption::Tab> &tabs, const QDomElement& xmlElement );
75 };
76 
77 }
78 
79 #endif // KDREPORTSXMLELEMENTHANDLERV2_H
VariableType
Definition: KDReportsVariableType.h:35
Definition: KDReportsXmlElementHandler.h:86
Definition: KDReportsAbstractTableElement.h:36
Definition: KDReportsHLineElement.h:42
Definition: KDReportsXmlElementHandlerV2.h:39
Definition: KDReportsAbstractTableElement.h:30

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/