KD Reports API Documentation  2.0
KDReportsLayoutHelper_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2007-2022 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 KDREPORTSLAYOUTHELPER_H
18 #define KDREPORTSLAYOUTHELPER_H
19 
20 //
21 // W A R N I N G
22 // -------------
23 //
24 // This file is not part of the KD Reports API. It exists purely as an
25 // implementation detail. This header file may change from version to
26 // version without notice, or even be removed.
27 //
28 // We mean it.
29 //
30 //
31 
32 #include "KDReportsGlobal.h"
33 #include <QTextFormat>
34 #include <QtCore/QtGlobal> // qreal
35 
36 namespace KDReports {
37 
41 KDREPORTS_EXPORT qreal mmToPixels(qreal mm);
42 KDREPORTS_EXPORT qreal pixelsToPointsMultiplier(double resolution);
43 
44 static const int ResizableImageProperty = QTextFormat::UserProperty + 5984;
45 
46 }
47 
48 #endif /* KDREPORTSLAYOUTHELPER_H */
KDReports::ResizableImageProperty
static const int ResizableImageProperty
Definition: KDReportsLayoutHelper_p.h:58
KDReports::mmToPixels
KDREPORTS_EXPORT qreal mmToPixels(qreal mm)
Definition: KDReportsLayoutHelper.cpp:23
KDReportsGlobal.h
KDREPORTS_EXPORT
#define KDREPORTS_EXPORT
Definition: KDReportsGlobal.h:29
KDReports
Definition: KDReportsAbstractReportLayout_p.h:30
KDReports::pixelsToPointsMultiplier
KDREPORTS_EXPORT qreal pixelsToPointsMultiplier(double resolution)
Definition: KDReportsLayoutHelper.cpp:29

© 2007-2021 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/
Generated on Sat Jan 8 2022 02:38:32 for KD Reports API Documentation by doxygen 1.8.17