|
odsstream
|
Public Member Functions | |
| virtual void | close ()=0 |
| virtual void | writeSheet (const QString &sheetName)=0 |
| open a new sheet More... | |
| virtual void | writeLine ()=0 |
| open a new line | |
| 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 | |
| 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 ([[maybe_unused]] const OdsTableCellStyle &style) |
| virtual void | setTableCellStyleRef ([[maybe_unused]] OdsTableCellStyleRef style_ref) |
| void | clearTableCellStyleRef () |
| virtual void | setCellAnnotation (const QString &annotation)=0 |
| set annotation to write in the next cell More... | |
| virtual void | addColorScale ([[maybe_unused]] 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 More... | |
| virtual void | setCurrentOdsTableSettings ([[maybe_unused]] const OdsTableSettings &settings) |
| set ODS table settings of the current sheet (table) | |
|
inline |
clear cell style definition in the stream. the default style will be applied.
|
inlinevirtual |
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 in OdsDocWriter.
|
inlinevirtual |
build table cell style reference with a style definition
| style | OdsTableCellStyle |
|
pure virtual |
set annotation to write in the next cell
| annotation | any comment on this cell |
Implemented in OdsDocWriter.
|
inlinevirtual |
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 |
|
pure virtual |
write a boolean in a cell
| true_or_false | boolean to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a text cell
| cell_text | cell text |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a date in a cell
| date | date to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a timestamp in a cell
| datetime | timestamp to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a text cell
| cell_text | cell text |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a text cell with an URL link
| url_link | URL link |
| text | text to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a double in a cell
| number | double to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a float in a cell
| number | float to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write an integer in a cell
| number | integer to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write an unsigned integer in a cell
| number | integer to write |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
write a double as a percentage
| number | double to write must be a ratio (0.5 == 50%) |
Implemented in TsvDirectoryWriter, and OdsDocWriter.
|
pure virtual |
open a new sheet
| sheetName | the sheet name |
Implemented in TsvOutputStream, TsvDirectoryWriter, and OdsDocWriter.