OdsFilter
Public Methods
|
OdsFilter() |
|
endColumn() const |
|
endRow() const |
|
fileInfoString(const QString &fileName) |
|
firstColumn() const |
|
load(XmlStreamReader *) override |
|
parse(const QString &fileName, QTreeWidgetItem *root) |
|
preview(const QString &sheetName, int lines) |
|
readDataFromFile(const QString &fileName, AbstractDataSource *=nullptr, ImportMode=ImportMode::Replace) override |
|
save(QXmlStreamWriter *) const override |
|
selectedSheetNames() const |
|
setCurrentSheetName(const QString &) |
|
setEndColumn(int) |
|
setEndRow(int) |
|
setFirstRowAsColumnNames(const bool) |
|
setSelectedSheetNames(const QStringList &) |
|
setStartColumn(int) |
|
setStartRow(int) |
|
startColumn() const |
|
startRow() const |
|
write(const QString &fileName, AbstractDataSource *) override |
Detailed Description
-
class OdsFilter : public AbstractFileFilter
Public Functions
-
virtual void write(const QString &fileName, AbstractDataSource*) override
write
Writing the content of the datasource to the file with filename
fileName- Parameters:
fileName –
-
virtual void save(QXmlStreamWriter*) const override
Saves as XML.
-
void setStartRow(int)
Sets the startRow to row.
- Parameters:
row – the row to be set
-
int startRow() const
Returns startRow.
- Returns:
The startRow
-
void setEndRow(int)
Sets the endRow to row.
- Parameters:
row – the row to be set
-
int endRow() const
Returns endRow.
- Returns:
The endRow
-
void setStartColumn(int)
Sets the startColumn to column.
- Parameters:
column – the column to be set
-
int startColumn() const
Returns startColumn.
- Returns:
The startColumn
-
void setEndColumn(int)
Sets the endColumn to column.
- Parameters:
column – the column to be set
-
int endColumn() const
Returns endColumn.
- Returns:
The endColumn
-
virtual void write(const QString &fileName, AbstractDataSource*) override