libodsstream
|
Public Member Functions | |
virtual void | close ()=0 |
virtual void | writeSheet (const QString &sheetName)=0 |
open a new sheet | |
virtual void | writeLine ()=0 |
open a new line | |
virtual void | writeCell (const char *cell_text)=0 |
write a text cell | |
virtual void | writeCell (const QString &cell_text)=0 |
write a text cell | |
virtual void | writeEmptyCell ()=0 |
write an empty cell | |
virtual void | writeCell (std::size_t number)=0 |
write an unsigned integer in a cell | |
virtual void | writeCell (int number)=0 |
write an integer in a cell | |
virtual void | writeCell (float number)=0 |
write a float in a cell | |
virtual void | writeCell (double number)=0 |
write a double in a cell | |
virtual void | writeCellPercentage (double value)=0 |
write a double as a percentage | |
virtual void | writeCell (bool true_or_false)=0 |
write a boolean in a cell | |
virtual void | writeCell (const QDate &date)=0 |
write a date in a cell | |
virtual void | writeCell (const QDateTime &datetime)=0 |
write a timestamp in a cell | |
virtual void | writeCell (const QUrl &url_link, const QString &text)=0 |
write a text cell with an URL link | |
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 | |
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) | |
virtual void | writeCellVariant (const QVariant &var) |
write a cell for a given QVariant | |
|
virtual |
apply solor scale conditional format on a cell range
Reimplemented in OdsDocWriter.
void CalcWriterInterface::clearTableCellStyleRef | ( | ) |
clear cell style definition in the stream. the default style will be applied.
|
pure virtual |
Implemented in OdsDocWriter.
|
virtual |
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.
|
virtual |
build table cell style reference with a style definition
style | OdsTableCellStyle |
Reimplemented in OdsDocWriter.
|
pure virtual |
set annotation to write in the next cell
annotation | any comment on this cell |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
virtual |
set ODS table settings of the current sheet (table)
Reimplemented in OdsDocWriter.
|
virtual |
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 in OdsDocWriter.
|
pure virtual |
write a boolean in a cell
true_or_false | boolean to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a text cell
cell_text | cell text |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a date in a cell
date | date to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a timestamp in a cell
datetime | timestamp to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a text cell
cell_text | cell text |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a text cell with an URL link
url_link | URL link |
text | text to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a double in a cell
number | double to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a float in a cell
number | float to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write an integer in a cell
number | integer to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write an unsigned integer in a cell
number | integer to write |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
write a double as a percentage
number | double to write must be a ratio (0.5 == 50%) |
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
virtual |
write a cell for a given QVariant
QVariant | variable to write |
|
pure virtual |
write an empty cell
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
open a new line
Implemented in OdsDocWriter, and TsvDirectoryWriter.
|
pure virtual |
open a new sheet
sheetName | the sheet name |
Implemented in OdsDocWriter, TsvDirectoryWriter, TsvOutputStream, and ZipTsvOutputStream.