16#ifndef QGSLAYOUTGEOPDFEXPORTER_H
17#define QGSLAYOUTGEOPDFEXPORTER_H
23#include <QTemporaryDir>
28class QgsGeoPdfRenderedFeatureHandler;
96 VectorComponentDetail componentDetailForLayerId(
const QString &layerId )
override;
99 QHash< QgsLayoutItemMap *, QgsGeoPdfRenderedFeatureHandler * > mMapHandlers;
101 QMap< QString, bool > mInitialLayerVisibility;
102 QMap< QString, QString > mCustomLayerTreeGroups;
103 QStringList mLayerOrder;
104 QStringList mLayerTreeGroupOrder;
106 friend class TestQgsLayoutGeoPdfExport;
Abstract base class for GeoPDF exporters.
Handles GeoPDF export specific setup, cleanup and processing steps.
QMap< QString, bool > initialLayerVisibility() const
Optional map of map layer ID to initial visibility state.
QStringList layerTreeGroupOrder() const
Specifies the ordering of layer tree groups in the generated GeoPDF file.
QMap< QString, QString > customLayerTreeGroups() const
Returns any custom layer tree groups defined in the layer's settings.
QStringList layerOrder() const
Optional list of map layer IDs in the order they should be shown in the generated GeoPDF layer tree.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.