XLSXFilter
Public Methods
|
XLSXFilter() |
|
endColumn() const |
|
endRow() const |
|
fileInfoString(const QString &fileName) |
|
firstColumn() const |
|
isValidCellReference(const QString &cellRefString) |
|
load(XmlStreamReader *) override |
|
parse(const QString &fileName, QTreeWidgetItem *root) |
|
previewForCurrentDataRegion(int lines, bool *okToMatrix) |
|
readDataFromFile(const QString &fileName, AbstractDataSource *=nullptr, ImportMode=ImportMode::Replace) override |
|
save(QXmlStreamWriter *) const override |
|
setColumnNamesAsFirstRow(bool) |
|
setCurrentRange(const QString &) |
|
setCurrentSheet(const QString &) |
|
setDataExportStartPos(const QString &) |
|
setEndColumn(const int) |
|
setEndRow(const int) |
|
setExportAsNewSheet(bool) |
|
setFirstRowAsColumnNames(bool) |
|
setOverwriteData(bool) |
|
setSheetToAppendTo(const QString &sheetName) |
|
setStartColumn(const int) |
|
setStartRow(const int) |
|
sheets() const |
|
sheets(const QString &fileName, bool *ok=nullptr) |
|
startColumn() const |
|
startRow() const |
|
write(const QString &fileName, AbstractDataSource *) override |
Detailed Description
-
class XLSXFilter : 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(const int)
Sets the startRow to row.
- Parameters:
row – the row to be set
-
int startRow() const
Returns startRow.
- Returns:
The startRow
-
void setEndRow(const int)
Sets the endRow to row.
- Parameters:
row – the row to be set
-
int endRow() const
Returns endRow.
- Returns:
The endRow
-
void setStartColumn(const int)
Sets the startColumn to column.
- Parameters:
column – the column to be set
-
int startColumn() const
Returns startColumn.
- Returns:
The startColumn
-
void setEndColumn(const 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