odsstream
|
#include <ziptsvoutputstream.h>
Public Member Functions | |
ZipTsvOutputStream (const QString &zipfilename) | |
virtual | ~ZipTsvOutputStream () |
virtual void | writeSheet (const QString &sheetName) override |
open a new sheet | |
void | close () override |
![]() | |
TsvDirectoryWriter (const QDir &directory) | |
void | writeLine () override |
open a new line | |
void | writeCell (const char *) override |
write a text cell | |
void | writeCell (const QString &) override |
write a text cell | |
void | writeEmptyCell () override |
write an empty cell | |
void | writeCell (std::size_t) override |
write an unsigned integer in a cell | |
void | writeCell (int) override |
write an integer in a cell | |
void | writeCell (float) override |
write a float in a cell | |
void | writeCell (double) override |
write a double in a cell | |
void | writeCellPercentage (double value) override |
write a double as a percentage | |
void | writeCell (bool) override |
write a boolean in a cell | |
void | writeCell (const QDate &) override |
write a date in a cell | |
void | writeCell (const QDateTime &) override |
write a timestamp in a cell | |
void | writeCell (const QUrl &, const QString &) override |
write a text cell with an URL link | |
void | setCellAnnotation (const QString &annotation) override |
set annotation to write in the next cell | |
void | setSeparator (TsvSeparator separator) |
sets the separator to use between values (cells) | |
TsvSeparator | getSeparator () const |
get the separator used between values (cells) | |
bool | setQuoteStrings (bool quote_strings) |
set a flag to quote strings | |
bool | isQuoteStrings () const |
tells if the quote string flag is enabled | |
bool | setFlushLines (bool flushOk) |
enable a physical flush on device at each new line enables this if you want to ensure that each line is written. This costs a little overhead | |
bool | isFlushLines () const |
tells if the flush lines flag is enabled | |
![]() | |
virtual OdsTableCellStyleRef | getTableCellStyleRef (const OdsTableCellStyle &style) |
virtual void | setTableCellStyleRef (OdsTableCellStyleRef style_ref) |
void | clearTableCellStyleRef () |
virtual void | addColorScale (const OdsColorScale &ods_color_scale) |
apply solor scale conditional format on a cell range | |
virtual QString | getOdsCellCoordinate () |
get the last written cell coordinate in ODS coordinate format get the coordinate of the last written cell or an empty string if the writer is not an OdsDocWriter | |
virtual void | setCurrentOdsTableSettings (const OdsTableSettings &settings) |
set ODS table settings of the current sheet (table) | |
Additional Inherited Members | |
![]() | |
void | writeRawCell (const QString &text) |
void | initializeSheet () |
![]() | |
QString | m_separator = "\t" |
QString | _end_of_line = "\n" |
QTextStream * | mpa_otxtstream = nullptr |
unsigned int | numFloatPrecision = 12 |
ZipTsvOutputStream::ZipTsvOutputStream | ( | const QString & | zipfilename | ) |
Default constructor
|
virtual |
Destructor
|
overridevirtual |
Reimplemented from TsvDirectoryWriter.
|
overridevirtual |