odsstream
|
Public Member Functions | |
OdsDocWriter (const QString &filename) | |
OdsDocWriter (QIODevice *device) | |
void | close () override |
void | writeSheet (const QString &sheetName) override |
void | writeLine () override |
void | writeCell (const char *) override |
write a text cell More... | |
void | writeCell (const QString &) override |
void | writeEmptyCell () override |
void | writeCell (std::size_t) override |
void | writeCell (int) override |
void | writeCell (float) override |
void | writeCell (double) override |
void | writeCellPercentage (double value) override |
void | writeCell (bool) override |
void | writeCell (const QDate &) override |
void | writeCell (const QDateTime &) override |
void | writeCell (const QUrl &, const QString &) override |
OdsTableCellStyleRef | getTableCellStyleRef (const OdsTableCellStyle &style) override |
void | setTableCellStyleRef (OdsTableCellStyleRef style_ref) override |
void | setCellAnnotation (const QString &annotation) override |
set annotation to write in the next cell More... | |
void | addColorScale (const OdsColorScale &ods_color_scale) override |
QString | getOdsCellCoordinate () override |
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 More... | |
void | setCurrentOdsTableSettings (const OdsTableSettings &settings) override |
![]() | |
virtual OdsTableCellStyleRef | getTableCellStyleRef ([[maybe_unused]] const OdsTableCellStyle &style) |
virtual void | setTableCellStyleRef ([[maybe_unused]] OdsTableCellStyleRef style_ref) |
void | clearTableCellStyleRef () |
virtual void | addColorScale ([[maybe_unused]] const OdsColorScale &ods_color_scale) |
apply solor scale conditional format on a cell range More... | |
virtual void | setCurrentOdsTableSettings ([[maybe_unused]] const OdsTableSettings &settings) |
set ODS table settings of the current sheet (table) | |
|
overridevirtual |
ends the document creation. It is required to obtain a correct output
Implements CalcWriterInterface.
|
overridevirtual |
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
Reimplemented from CalcWriterInterface.
|
override |
get a table cell style reference with a style definition
style | OdsTableCellStyle |
|
overridevirtual |
set annotation to write in the next cell
annotation | any comment on this cell |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing a boolean
value |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
|
overridevirtual |
adds a new cell containing a date
date |
XMLStreamException | |
DatatypeConfigurationException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing a timestamp
date |
XMLStreamException | |
DatatypeConfigurationException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new text cell to the document
text |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
NOT WORKING, adds a new cell containing a duration
duration |
XMLStreamException | |
DatatypeConfigurationException | adds a new cell containing a text inside an href link |
theUri | |
text |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing a double
value |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing a float
value |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing an integer
value |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing an integer
value |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
adds a new cell containing a percentage
value |
XMLStreamException |
Implements CalcWriterInterface.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
adds a new datasheet to the document
sheetName |
XMLStreamException |
Implements CalcWriterInterface.