#include <ExportAdapter.h>
Definition at line 19 of file ExportAdapter.h.
◆ ExportAdapter()
Creates an export adapter backed by a core runner.
- Parameters
-
| runner | Core export runner port. |
Definition at line 39 of file ExportAdapter.cpp.
◆ buildExportRequest()
| core::ports::exporting::ExportRequest ui::adapters::ExportAdapter::buildExportRequest |
( |
int | formatIndex, |
|
|
const QString & | path, |
|
|
bool | includeFormulas, |
|
|
const QString & | locale, |
|
|
const QVariantMap & | selectionPayload ) const |
|
nodiscard |
Builds an export request from QML-facing fields.
- Parameters
-
| formatIndex | QML export format index. |
| path | Output path. |
| includeFormulas | Whether formulas should be included. |
| locale | Export locale. |
| selectionPayload | Selected export objects. |
- Returns
- Core export request.
Definition at line 120 of file ExportAdapter.cpp.
◆ runExport()
Runs an export through the core runner.
- Parameters
-
| workspace | Workspace snapshot used as input. |
| request | Export request. |
- Returns
- Export result.
Definition at line 43 of file ExportAdapter.cpp.
The documentation for this class was generated from the following files: