Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(workbook): fix abs path /xl/worksheets/sheet1.xml -> xl/worksheets/sheet1.xml #332

Closed
wants to merge 1 commit into from

Conversation

stolen-programmer
Copy link

fix abs path /xl/worksheets/sheet1.xml -> xl/worksheets/sheet1.xml

@@ -192,6 +192,9 @@ class QXLSX_EXPORT Worksheet : public AbstractSheet
private:
void saveToXmlFile(QIODevice *device) const override;
bool loadFromXmlFile(QIODevice *device) override;

public:
const QList<CellRange> &editRegion() const;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to:
QList editRegion() const;
as const & return in Qt containers is not needed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also since this is plublic plese move upwards and leave a description documenting it

// 跨多列
if (pos.column() - cellRange.firstColumn() < -1 ||
pos.column() - cellRange.lastColumn() > 1 || // 跨多列
// 跨多行
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please leave comments in english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants