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 |
apply solor scale conditional format on a cell range More... | |
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 |
set ODS table settings of the current sheet (table) More... | |
![]() | |
virtual void | close ()=0 |
virtual void | writeSheet (const QString &sheetName)=0 |
open a new sheet More... | |
virtual void | writeLine ()=0 |
open a new line More... | |
virtual void | writeCell (const char *cell_text)=0 |
write a text cell More... | |
virtual void | writeCell (const QString &cell_text)=0 |
write a text cell More... | |
virtual void | writeEmptyCell ()=0 |
write an empty cell More... | |
virtual void | writeCell (std::size_t number)=0 |
write an unsigned integer in a cell More... | |
virtual void | writeCell (int number)=0 |
write an integer in a cell More... | |
virtual void | writeCell (float number)=0 |
write a float in a cell More... | |
virtual void | writeCell (double number)=0 |
write a double in a cell More... | |
virtual void | writeCellPercentage (double value)=0 |
write a double as a percentage More... | |
virtual void | writeCell (bool true_or_false)=0 |
write a boolean in a cell More... | |
virtual void | writeCell (const QDate &date)=0 |
write a date in a cell More... | |
virtual void | writeCell (const QDateTime &datetime)=0 |
write a timestamp in a cell More... | |
virtual void | writeCell (const QUrl &url_link, const QString &text)=0 |
write a text cell with an URL link More... | |
virtual OdsTableCellStyleRef | getTableCellStyleRef (const OdsTableCellStyle &style) |
virtual void | setTableCellStyleRef (OdsTableCellStyleRef style_ref) |
void | clearTableCellStyleRef () |
virtual void | setCellAnnotation (const QString &annotation)=0 |
set annotation to write in the next cell More... | |
virtual void | addColorScale (const OdsColorScale &ods_color_scale) |
apply solor scale conditional format on a cell range More... | |
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 More... | |
virtual void | setCurrentOdsTableSettings (const OdsTableSettings &settings) |
set ODS table settings of the current sheet (table) More... | |
|
overridevirtual |
apply solor scale conditional format on a cell range
Reimplemented from CalcWriterInterface.
|
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.
|
overridevirtual |
get a table cell style reference with a style definition
style | OdsTableCellStyle |
Reimplemented from CalcWriterInterface.
|
overridevirtual |
set annotation to write in the next cell
annotation | any comment on this cell |
Implements CalcWriterInterface.
|
overridevirtual |
set ODS table settings of the current sheet (table)
Reimplemented from CalcWriterInterface.
|
overridevirtual |
set the cell table style. This is applied to in the stream to following cells. This ends by using an other style reference or by using setTableCellStyleRef function
style_ref | OdsTableCellStyleRef |
Reimplemented from 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.