Strategy class for exporting to a file. This strategy is external to the Document class so that class is simpler. More...
#include <ExportFileRelations.h>
Public Member Functions | |
ExportFileRelations () | |
Single constructor. | |
void | exportToFile (const DocumentModelExportFormat &modelExportOverride, const Document &document, const MainWindowModel &modelMainWindow, const Transformation &transformation, QTextStream &str, unsigned int &numWritesSoFar) const |
Export Document points according to the settings. | |
Friends | |
class | TestExport |
Strategy class for exporting to a file. This strategy is external to the Document class so that class is simpler.
Definition at line 25 of file ExportFileRelations.h.
void ExportFileRelations::exportToFile | ( | const DocumentModelExportFormat & | modelExportOverride, | |
const Document & | document, | |||
const MainWindowModel & | modelMainWindow, | |||
const Transformation & | transformation, | |||
QTextStream & | str, | |||
unsigned int & | numWritesSoFar | |||
) | 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 223 of file ExportFileRelations.cpp.