13 #include <QTextStream> 27 QTextStream &str)
const 31 unsigned int numWritesSoFar = 0;
62 return QString (
"Text CSV (*.%1)")
68 return QString (
"Text TSV (*.%1)")
void exportToFile(const DocumentModelExportFormat &modelExport, const Document &document, const MainWindowModel &modelMainWindow, const Transformation &transformation, QTextStream &str) const
Export Document points according to the settings.
#define LOG4CPP_INFO_S(logger)
QString filterCsv() const
QFileDialog filter for CSV files.
Strategy class for exporting to a file. This strategy is external to the Document class so that class...
const QString TSV_FILENAME_EXTENSION("tsv")
Model for DlgSettingsMainWindow.
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.
Storage of one imported image and the data attached to that image.
log4cpp::Category * mainCat
QString fileExtensionTsv() const
File extension for tsv export files.
const QString CSV_FILENAME_EXTENSION("csv")
Strategy class for exporting to a file. This strategy is external to the Document class so that class...
QString fileExtensionCsv() const
File extension for csv export files.
QString filterTsv() const
QFileDialog filter for TSV files.
ExportToFile()
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.