|
| QgsLayoutExporter (QgsLayout *layout) |
| Constructor for QgsLayoutExporter, for the specified layout. More...
|
|
virtual | ~QgsLayoutExporter () |
|
void | computeWorldFileParameters (const QRectF ®ion, double &a, double &b, double &c, double &d, double &e, double &f, double dpi=-1) const |
| Computes the world file parameters for a specified region of the layout. More...
|
|
void | computeWorldFileParameters (double &a, double &b, double &c, double &d, double &e, double &f, double dpi=-1) const |
| Compute world file parameters. More...
|
|
QString | errorFile () const |
| Returns the file name corresponding to the last error encountered during an export. More...
|
|
ExportResult | exportToImage (const QString &filePath, const QgsLayoutExporter::ImageExportSettings &settings) |
| Exports the layout to the filePath, using the specified export settings. More...
|
|
ExportResult | exportToPdf (const QString &filePath, const QgsLayoutExporter::PdfExportSettings &settings) |
| Exports the layout as a PDF to the filePath, using the specified export settings. More...
|
|
ExportResult | exportToSvg (const QString &filePath, const QgsLayoutExporter::SvgExportSettings &settings) |
| Exports the layout as an SVG to the filePath, using the specified export settings. More...
|
|
bool | georeferenceOutput (const QString &file, QgsLayoutItemMap *referenceMap=nullptr, const QRectF &exportRegion=QRectF(), double dpi=-1) const |
| Georeferences a file (image of PDF) exported from the layout. More...
|
|
QMap< QString, QgsLabelingResults * > | labelingResults () |
| Returns the labeling results for all map items included in the export. More...
|
|
QgsLayout * | layout () const |
| Returns the layout linked to this exporter. More...
|
|
ExportResult | print (QPrinter &printer, const QgsLayoutExporter::PrintExportSettings &settings) |
| Prints the layout to a printer, using the specified export settings. More...
|
|
void | renderPage (QPainter *painter, int page) const |
| Renders a full page to a destination painter. More...
|
|
QImage | renderPageToImage (int page, QSize imageSize=QSize(), double dpi=-1) const |
| Renders a full page to an image. More...
|
|
void | renderRegion (QPainter *painter, const QRectF ®ion) const |
| Renders a region from the layout to a painter. More...
|
|
QImage | renderRegionToImage (const QRectF ®ion, QSize imageSize=QSize(), double dpi=-1) const |
| Renders a region of the layout to an image. More...
|
|
QMap< QString, QgsLabelingResults * > | takeLabelingResults () |
| Takes the labeling results for all map items included in the export. More...
|
|