|
QGIS API Documentation 4.1.0-Master (01362494303)
|
#include <qgsabstractgeopdfexporter.h>
Public Attributes | |
| QString | author |
| Metadata author tag. | |
| QDateTime | creationDateTime |
| Metadata creation datetime. | |
| QString | creator |
| Metadata creator tag. | |
| QMap< QString, QString > | customLayerTreeGroups |
| Optional map of map layer ID to custom logical layer tree group in created PDF file. | |
| double | dpi = 300 |
| Output DPI. | |
| QList< QgsAbstractGeospatialPdfExporter::GeoReferencedSection > | georeferencedSections |
| List of georeferenced sections. | |
| bool | includeFeatures = true |
true if feature vector information (such as attributes) should be exported. | |
| QMap< QString, bool > | initialLayerVisibility |
| Optional map of map layer ID to initial visibility state. | |
| QgsAbstractMetadataBase::KeywordMap | keywords |
| Metadata keyword map. | |
| QMap< QString, QString > | layerIdToPdfLayerTreeNameMap |
| Optional map of map layer ID to custom layer tree name to show in the created PDF file. | |
| QStringList | layerOrder |
| Optional list of layer IDs, in the order desired to appear in the generated Geospatial PDF file. | |
| QStringList | layerTreeGroupOrder |
| Specifies the ordering of layer tree groups in the generated Geospatial PDF file. | |
| QSet< QString > | mutuallyExclusiveGroups |
| Contains a list of group names which should be considered as mutually exclusive. | |
| QSizeF | pageSizeMm |
| Page size, in millimeters. | |
| QString | producer |
| Metadata producer tag. | |
| QString | subject |
| Metadata subject tag. | |
| QString | title |
| Metadata title tag. | |
| bool | useIso32000ExtensionFormatGeoreferencing = true |
true if ISO32000 extension format georeferencing should be used. | |
| bool | useLayerTreeConfig = false |
If set to true, the layer tree from the QGIS project should be used when creating a Geospatial PDF. | |
| bool | useOgcBestPracticeFormatGeoreferencing = false |
true if OGC "best practice" format georeferencing should be used. | |
Definition at line 263 of file qgsabstractgeopdfexporter.h.
| QString QgsAbstractGeospatialPdfExporter::ExportDetails::author |
Metadata author tag.
Definition at line 275 of file qgsabstractgeopdfexporter.h.
| QDateTime QgsAbstractGeospatialPdfExporter::ExportDetails::creationDateTime |
Metadata creation datetime.
Definition at line 284 of file qgsabstractgeopdfexporter.h.
| QString QgsAbstractGeospatialPdfExporter::ExportDetails::creator |
Metadata creator tag.
Definition at line 281 of file qgsabstractgeopdfexporter.h.
| QMap< QString, QString > QgsAbstractGeospatialPdfExporter::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.
If ExportDetails::useLayerTreeConfig is true then this option has no effect.
Definition at line 334 of file qgsabstractgeopdfexporter.h.
| double QgsAbstractGeospatialPdfExporter::ExportDetails::dpi = 300 |
Output DPI.
Definition at line 269 of file qgsabstractgeopdfexporter.h.
| QList< QgsAbstractGeospatialPdfExporter::GeoReferencedSection > QgsAbstractGeospatialPdfExporter::ExportDetails::georeferencedSections |
List of georeferenced sections.
Definition at line 272 of file qgsabstractgeopdfexporter.h.
| bool QgsAbstractGeospatialPdfExporter::ExportDetails::includeFeatures = true |
true if feature vector information (such as attributes) should be exported.
Definition at line 318 of file qgsabstractgeopdfexporter.h.
| QMap< QString, bool > QgsAbstractGeospatialPdfExporter::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.
If ExportDetails::useLayerTreeConfig is true then this option has no effect.
Definition at line 353 of file qgsabstractgeopdfexporter.h.
| QgsAbstractMetadataBase::KeywordMap QgsAbstractGeospatialPdfExporter::ExportDetails::keywords |
Metadata keyword map.
Definition at line 293 of file qgsabstractgeopdfexporter.h.
| QMap< QString, QString > QgsAbstractGeospatialPdfExporter::ExportDetails::layerIdToPdfLayerTreeNameMap |
Optional map of map layer ID to custom layer tree name to show in the created PDF file.
If ExportDetails::useLayerTreeConfig is true then this option has no effect.
Definition at line 343 of file qgsabstractgeopdfexporter.h.
| QStringList QgsAbstractGeospatialPdfExporter::ExportDetails::layerOrder |
Optional list of layer IDs, in the order desired to appear in the generated Geospatial PDF file.
Layers appearing earlier in the list will show earlier in the Geospatial PDF layer tree list.
If ExportDetails::useLayerTreeConfig is true then this option has no effect.
Definition at line 366 of file qgsabstractgeopdfexporter.h.
| QStringList QgsAbstractGeospatialPdfExporter::ExportDetails::layerTreeGroupOrder |
Specifies the ordering of layer tree groups in the generated Geospatial PDF file.
Groups appearing earlier in the list will show earlier in the Geospatial PDF layer tree list.
If ExportDetails::useLayerTreeConfig is true then this option has no effect.
Definition at line 380 of file qgsabstractgeopdfexporter.h.
| QSet< QString > QgsAbstractGeospatialPdfExporter::ExportDetails::mutuallyExclusiveGroups |
Contains a list of group names which should be considered as mutually exclusive.
If ExportDetails::useLayerTreeConfig is true then this option has no effect.
Definition at line 389 of file qgsabstractgeopdfexporter.h.
| QSizeF QgsAbstractGeospatialPdfExporter::ExportDetails::pageSizeMm |
Page size, in millimeters.
Definition at line 266 of file qgsabstractgeopdfexporter.h.
| QString QgsAbstractGeospatialPdfExporter::ExportDetails::producer |
Metadata producer tag.
Definition at line 278 of file qgsabstractgeopdfexporter.h.
| QString QgsAbstractGeospatialPdfExporter::ExportDetails::subject |
Metadata subject tag.
Definition at line 287 of file qgsabstractgeopdfexporter.h.
| QString QgsAbstractGeospatialPdfExporter::ExportDetails::title |
Metadata title tag.
Definition at line 290 of file qgsabstractgeopdfexporter.h.
| bool QgsAbstractGeospatialPdfExporter::ExportDetails::useIso32000ExtensionFormatGeoreferencing = true |
true if ISO32000 extension format georeferencing should be used.
This is a recommended setting which results in Geospatial PDF files that use PDF 2.0 Geospatial Features (ISO 32000-2:2017). Compatible with the built-in Acrobat geospatial tools
Definition at line 302 of file qgsabstractgeopdfexporter.h.
| bool QgsAbstractGeospatialPdfExporter::ExportDetails::useLayerTreeConfig = false |
If set to true, the layer tree from the QGIS project should be used when creating a Geospatial PDF.
In that case, layer/group names, order, and visibility from the QGIS project will be reflected in the output PDF.
When active, other settings like layerOrder, customLayerTreeGroups, layerTreeGroupOrder, initialLayerVisibility, mutuallyExclusiveGroups, and layerIdToPdfLayerTreeNameMap have no effect.
Definition at line 408 of file qgsabstractgeopdfexporter.h.
| bool QgsAbstractGeospatialPdfExporter::ExportDetails::useOgcBestPracticeFormatGeoreferencing = false |
true if OGC "best practice" format georeferencing should be used.
Definition at line 313 of file qgsabstractgeopdfexporter.h.