Strategy class for exporting to a file. This strategy is external to the Document class so that class is simpler. More...
#include <ExportFileFunctions.h>
Public Member Functions | |
ExportFileFunctions () | |
Single constructor. | |
void | exportToFile (const DocumentModelExportFormat &modelExportOverride, const Document &document, const MainWindowModel &modelMainWindow, const Transformation &transformation, QTextStream &str) const |
Export Document points according to the settings. |
Strategy class for exporting to a file. This strategy is external to the Document class so that class is simpler.
Definition at line 24 of file ExportFileFunctions.h.
void ExportFileFunctions::exportToFile | ( | const DocumentModelExportFormat & | modelExportOverride, | |
const Document & | document, | |||
const MainWindowModel & | modelMainWindow, | |||
const Transformation & | transformation, | |||
QTextStream & | str | |||
) | const |
Export Document points according to the settings.
The DocumentModelExportFormat inside the Document is ignored so DlgSettingsExport can supply its own DocumentModelExportFormat when previewing what would be exported.
Definition at line 120 of file ExportFileFunctions.cpp.