8#include "ExportFileFunctions.h"
9#include "ExportFileRelations.h"
10#include "ExportToFile.h"
12#include "MainWindowModel.h"
14#include "Transformation.h"
16const QString CSV_FILENAME_EXTENSION (
"csv");
17const QString TSV_FILENAME_EXTENSION (
"tsv");
27 QTextStream &str)
const
29 LOG4CPP_INFO_S ((*mainCat)) <<
"ExportToFile::exportToFile";
48 return CSV_FILENAME_EXTENSION;
53 return TSV_FILENAME_EXTENSION;
58 return QString (
"Text CSV (*.%1)")
59 .arg (CSV_FILENAME_EXTENSION);
64 return QString (
"Text TSV (*.%1)")
65 .arg (TSV_FILENAME_EXTENSION);
Storage of one imported image and the data attached to that image.
Strategy class for exporting to a file. This strategy is external to the Document class so that class...
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...
void exportToFile(const DocumentModelExportFormat &modelExportOverride, const Document &document, const MainWindowModel &modelMainWindow, const Transformation &transformation, QTextStream &str) const
Export Document points according to the settings.
QString filterTsv() const
QFileDialog filter for TSV files.
QString filterCsv() const
QFileDialog filter for CSV files.
void exportToFile(const DocumentModelExportFormat &modelExport, const Document &document, const MainWindowModel &modelMainWindow, const Transformation &transformation, QTextStream &str) const
Export Document points according to the settings.
ExportToFile()
Single constructor.
QString fileExtensionTsv() const
File extension for tsv export files.
QString fileExtensionCsv() const
File extension for csv export files.
Model for DlgSettingsMainWindow.