◆ addColorScale()
void OdsDocWriter::addColorScale |
( |
const OdsColorScale & |
ods_color_scale | ) |
|
|
overridevirtual |
◆ close()
void OdsDocWriter::close |
( |
| ) |
|
|
overridevirtual |
ends the document creation. It is required to obtain a correct output
Implements CalcWriterInterface.
◆ getOdsCellCoordinate()
QString OdsDocWriter::getOdsCellCoordinate |
( |
| ) |
|
|
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
- Returns
- QString with ODS cell coordinate of the form : "classeur.A5"
Reimplemented from CalcWriterInterface.
◆ getTableCellStyleRef()
get a table cell style reference with a style definition
- Parameters
-
- Returns
- OdsTableCellStyleRef pointer on a style reference
Reimplemented from CalcWriterInterface.
◆ setCellAnnotation()
void OdsDocWriter::setCellAnnotation |
( |
const QString & |
annotation | ) |
|
|
overridevirtual |
set annotation to write in the next cell
- Parameters
-
annotation | any comment on this cell |
Implements CalcWriterInterface.
◆ setCurrentOdsTableSettings()
void OdsDocWriter::setCurrentOdsTableSettings |
( |
const OdsTableSettings & |
settings | ) |
|
|
overridevirtual |
◆ setTableCellStyleRef()
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
- Parameters
-
style_ref | OdsTableCellStyleRef |
Reimplemented from CalcWriterInterface.
◆ writeCell() [1/10]
void OdsDocWriter::writeCell |
( |
bool |
value | ) |
|
|
overridevirtual |
◆ writeCell() [2/10]
void OdsDocWriter::writeCell |
( |
const char * |
cell_text | ) |
|
|
overridevirtual |
◆ writeCell() [3/10]
void OdsDocWriter::writeCell |
( |
const QDate & |
date | ) |
|
|
overridevirtual |
adds a new cell containing a date
- Parameters
-
- Exceptions
-
XMLStreamException | |
DatatypeConfigurationException | |
Implements CalcWriterInterface.
◆ writeCell() [4/10]
void OdsDocWriter::writeCell |
( |
const QDateTime & |
date | ) |
|
|
overridevirtual |
adds a new cell containing a timestamp
- Parameters
-
- Exceptions
-
XMLStreamException | |
DatatypeConfigurationException | |
Implements CalcWriterInterface.
◆ writeCell() [5/10]
void OdsDocWriter::writeCell |
( |
const QString & |
text | ) |
|
|
overridevirtual |
◆ writeCell() [6/10]
void OdsDocWriter::writeCell |
( |
const QUrl & |
theUri, |
|
|
const QString & |
text |
|
) |
| |
|
overridevirtual |
NOT WORKING, adds a new cell containing a duration
- Parameters
-
- Exceptions
-
XMLStreamException | |
DatatypeConfigurationException | adds a new cell containing a text inside an href link |
- Parameters
-
- Exceptions
-
Implements CalcWriterInterface.
◆ writeCell() [7/10]
void OdsDocWriter::writeCell |
( |
double |
value | ) |
|
|
overridevirtual |
◆ writeCell() [8/10]
void OdsDocWriter::writeCell |
( |
float |
value | ) |
|
|
overridevirtual |
◆ writeCell() [9/10]
void OdsDocWriter::writeCell |
( |
int |
value | ) |
|
|
overridevirtual |
◆ writeCell() [10/10]
void OdsDocWriter::writeCell |
( |
std::size_t |
value | ) |
|
|
overridevirtual |
◆ writeCellPercentage()
void OdsDocWriter::writeCellPercentage |
( |
double |
value | ) |
|
|
overridevirtual |
◆ writeEmptyCell()
void OdsDocWriter::writeEmptyCell |
( |
| ) |
|
|
overridevirtual |
◆ writeLine()
void OdsDocWriter::writeLine |
( |
| ) |
|
|
overridevirtual |
◆ writeSheet()
void OdsDocWriter::writeSheet |
( |
const QString & |
sheetName | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: