16#ifndef QGSLAYOUTGEOPDFEXPORTER_H
17#define QGSLAYOUTGEOPDFEXPORTER_H
23#include <QTemporaryDir>
28class QgsGeoPdfRenderedFeatureHandler;
81 VectorComponentDetail componentDetailForLayerId(
const QString &layerId )
override;
84 QHash< QgsLayoutItemMap *, QgsGeoPdfRenderedFeatureHandler * > mMapHandlers;
86 QMap< QString, bool > mInitialLayerVisibility;
87 QMap< QString, QString > mCustomLayerTreeGroups;
88 QStringList mLayerOrder;
90 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.
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.