QGIS API Documentation
3.12.1-București (121cc00ff0)
src
gui
layout
qgslayoutpdfexportoptionsdialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgslayoutpdfexportoptionsdialog.h
3
-------------------------------------
4
begin : August 2019
5
copyright : (C) 2019 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSLAYOUTPDFEXPORTOPTIONSDIALOG_H
19
#define QGSLAYOUTPDFEXPORTOPTIONSDIALOG_H
20
21
// We don't want to expose this in the public API
22
#define SIP_NO_FILE
23
24
#include <QDialog>
25
#include "qgis_gui.h"
26
#include "ui_qgspdfexportoptions.h"
27
28
#include "
qgsrendercontext.h
"
29
37
class
GUI_EXPORT
QgsLayoutPdfExportOptionsDialog
:
public
QDialog,
private
Ui::QgsPdfExportOptionsDialog
38
{
39
Q_OBJECT
40
41
public
:
42
48
QgsLayoutPdfExportOptionsDialog
( QWidget *parent =
nullptr
, Qt::WindowFlags flags =
nullptr
);
49
51
void
setTextRenderFormat(
QgsRenderContext::TextRenderFormat
format );
53
QgsRenderContext::TextRenderFormat
textRenderFormat()
const
;
55
void
setForceVector(
bool
force );
57
bool
forceVector()
const
;
59
void
enableGeoreferencingOptions(
bool
enabled );
61
void
setGeoreferencingEnabled(
bool
enabled );
63
bool
georeferencingEnabled()
const
;
65
void
setMetadataEnabled(
bool
enabled );
67
bool
metadataEnabled()
const
;
69
void
setRasterTilingDisabled(
bool
disabled );
71
bool
rasterTilingDisabled()
const
;
73
void
setGeometriesSimplified(
bool
enabled );
75
bool
geometriesSimplified()
const
;
76
78
void
setExportGeoPdf(
bool
enabled );
80
bool
exportGeoPdf()
const
;
81
83
void
setUseOgcBestPracticeFormat(
bool
enabled );
85
bool
useOgcBestPracticeFormat()
const
;
86
88
void
setExportGeoPdfFeatures(
bool
enabled );
90
bool
exportGeoPdfFeatures()
const
;
91
93
void
setExportThemes(
const
QStringList &themes );
95
QStringList exportThemes()
const
;
96
97
private
slots:
98
99
void
showHelp();
100
101
private
:
102
103
bool
mGeopdfAvailable =
true
;
104
105
};
106
107
#endif // QGSLAYOUTPDFEXPORTOPTIONSDIALOG_H
QgsLayoutPdfExportOptionsDialog
A dialog for customizing the properties of an exported PDF file from a layout.
Definition:
qgslayoutpdfexportoptionsdialog.h:37
qgsrendercontext.h
QgsRenderContext::TextRenderFormat
TextRenderFormat
Options for rendering text.
Definition:
qgsrendercontext.h:87
Generated on Sat Mar 21 2020 00:00:36 for QGIS API Documentation by
1.8.13