OdsFilter

Public Methods

void

OdsFilter()

int

endColumn() const

int

endRow() const

QString

fileInfoString(const QString &fileName)

int

firstColumn() const

bool

load(XmlStreamReader *) override

bool

parse(const QString &fileName, QTreeWidgetItem *root)

QVector< QStringList >

preview(const QString &sheetName, int lines)

void

readDataFromFile(const QString &fileName, AbstractDataSource *=nullptr, ImportMode=ImportMode::Replace) override

void

save(QXmlStreamWriter *) const override

const QStringList

selectedSheetNames() const

void

setCurrentSheetName(const QString &)

void

setEndColumn(int)

void

setEndRow(int)

void

setFirstRowAsColumnNames(const bool)

void

setSelectedSheetNames(const QStringList &)

void

setStartColumn(int)

void

setStartRow(int)

int

startColumn() const

int

startRow() const

void

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