QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
#include <qgsabstractgeopdfexporter.h>
Public Attributes | |
QString | author |
Metadata author tag. More... | |
QDateTime | creationDateTime |
Metadata creation datetime. More... | |
QString | creator |
Metadata creator tag. More... | |
QMap< QString, QString > | customLayerTreeGroups |
Optional map of map layer ID to custom logical layer tree group in created PDF file. More... | |
double | dpi = 300 |
Output DPI. More... | |
QList< QgsAbstractGeoPdfExporter::GeoReferencedSection > | georeferencedSections |
List of georeferenced sections. More... | |
bool | includeFeatures = true |
true if feature vector information (such as attributes) should be exported. More... | |
QMap< QString, bool > | initialLayerVisibility |
Optional map of map layer ID to initial visibility state. More... | |
QgsAbstractMetadataBase::KeywordMap | keywords |
Metadata keyword map. More... | |
QMap< QString, QString > | layerIdToPdfLayerTreeNameMap |
Optional map of map layer ID to custom layer tree name to show in the created PDF file. More... | |
QStringList | layerOrder |
Optional list of layer IDs, in the order desired to appear in the generated GeoPDF file. More... | |
QSizeF | pageSizeMm |
Page size, in millimeters. More... | |
QString | producer |
Metadata producer tag. More... | |
QString | subject |
Metadata subject tag. More... | |
QString | title |
Metadata title tag. More... | |
bool | useIso32000ExtensionFormatGeoreferencing = true |
true if ISO3200 extension format georeferencing should be used. More... | |
bool | useOgcBestPracticeFormatGeoreferencing = false |
true if OGC "best practice" format georeferencing should be used. More... | |
Definition at line 197 of file qgsabstractgeopdfexporter.h.
QString QgsAbstractGeoPdfExporter::ExportDetails::author |
Metadata author tag.
Definition at line 209 of file qgsabstractgeopdfexporter.h.
QDateTime QgsAbstractGeoPdfExporter::ExportDetails::creationDateTime |
Metadata creation datetime.
Definition at line 218 of file qgsabstractgeopdfexporter.h.
QString QgsAbstractGeoPdfExporter::ExportDetails::creator |
Metadata creator tag.
Definition at line 215 of file qgsabstractgeopdfexporter.h.
QMap< QString, QString > QgsAbstractGeoPdfExporter::ExportDetails::customLayerTreeGroups |
Optional map of map layer ID to custom logical layer tree group in created PDF file.
E.g. if the map contains "layer1": "Environment", "layer2": "Environment", "layer3": "Transport" then the created PDF file will have entries in its layer tree for "Environment" and "Transport", and toggling "Environment" will toggle BOTH layer1 and layer2.
Layers which are not included in this group will always have their own individual layer tree entry created for them automatically.
Definition at line 261 of file qgsabstractgeopdfexporter.h.
double QgsAbstractGeoPdfExporter::ExportDetails::dpi = 300 |
Output DPI.
Definition at line 203 of file qgsabstractgeopdfexporter.h.
QList< QgsAbstractGeoPdfExporter::GeoReferencedSection > QgsAbstractGeoPdfExporter::ExportDetails::georeferencedSections |
List of georeferenced sections.
Definition at line 206 of file qgsabstractgeopdfexporter.h.
bool QgsAbstractGeoPdfExporter::ExportDetails::includeFeatures = true |
true
if feature vector information (such as attributes) should be exported.
Definition at line 249 of file qgsabstractgeopdfexporter.h.
QMap< QString, bool > QgsAbstractGeoPdfExporter::ExportDetails::initialLayerVisibility |
Optional map of map layer ID to initial visibility state.
If a layer ID is not present in this, it will default to being initially visible when opening the PDF.
Definition at line 276 of file qgsabstractgeopdfexporter.h.
QgsAbstractMetadataBase::KeywordMap QgsAbstractGeoPdfExporter::ExportDetails::keywords |
Metadata keyword map.
Definition at line 227 of file qgsabstractgeopdfexporter.h.
QMap< QString, QString > QgsAbstractGeoPdfExporter::ExportDetails::layerIdToPdfLayerTreeNameMap |
Optional map of map layer ID to custom layer tree name to show in the created PDF file.
Definition at line 268 of file qgsabstractgeopdfexporter.h.
QStringList QgsAbstractGeoPdfExporter::ExportDetails::layerOrder |
Optional list of layer IDs, in the order desired to appear in the generated GeoPDF file.
Layers appearing earlier in the list will show earlier in the GeoPDF layer tree list.
Definition at line 285 of file qgsabstractgeopdfexporter.h.
QSizeF QgsAbstractGeoPdfExporter::ExportDetails::pageSizeMm |
Page size, in millimeters.
Definition at line 200 of file qgsabstractgeopdfexporter.h.
QString QgsAbstractGeoPdfExporter::ExportDetails::producer |
Metadata producer tag.
Definition at line 212 of file qgsabstractgeopdfexporter.h.
QString QgsAbstractGeoPdfExporter::ExportDetails::subject |
Metadata subject tag.
Definition at line 221 of file qgsabstractgeopdfexporter.h.
QString QgsAbstractGeoPdfExporter::ExportDetails::title |
Metadata title tag.
Definition at line 224 of file qgsabstractgeopdfexporter.h.
bool QgsAbstractGeoPdfExporter::ExportDetails::useIso32000ExtensionFormatGeoreferencing = true |
true
if ISO3200 extension format georeferencing should be used.
This is a recommended setting which results in Geospatial PDF files compatible with the built-in Acrobat geospatial tools.
Definition at line 235 of file qgsabstractgeopdfexporter.h.
bool QgsAbstractGeoPdfExporter::ExportDetails::useOgcBestPracticeFormatGeoreferencing = false |
true
if OGC "best practice" format georeferencing should be used.
Definition at line 244 of file qgsabstractgeopdfexporter.h.