mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-30 05:02:52 +08:00
parent
35c6d274cb
commit
fda6b806e2
@ -7,10 +7,6 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE_XLSX
|
||||
|
||||
const int XLSX_ROW_MAX = 1048576;
|
||||
const int XLSX_COLUMN_MAX = 16384;
|
||||
const int XLSX_STRING_MAX = 32767;
|
||||
|
||||
class QXLSX_EXPORT CellReference
|
||||
{
|
||||
public:
|
||||
@ -29,7 +25,6 @@ public:
|
||||
~CellReference();
|
||||
|
||||
QString toString(bool row_abs = false, bool col_abs = false) const;
|
||||
static CellReference fromString(const QString &cell);
|
||||
bool isValid() const;
|
||||
inline void setRow(int row) { _row = row; }
|
||||
inline void setColumn(int col) { _column = col; }
|
||||
@ -47,7 +42,7 @@ public:
|
||||
|
||||
inline bool operator>(const CellReference &other) const
|
||||
{
|
||||
return _row > other._row || _column != other._column;
|
||||
return _row > other._row || _column != other._column;
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -42,6 +42,12 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE_XLSX
|
||||
|
||||
namespace {
|
||||
const int XLSX_ROW_MAX = 1048576;
|
||||
const int XLSX_COLUMN_MAX = 16384;
|
||||
const int XLSX_STRING_MAX = 32767;
|
||||
} // namespace
|
||||
|
||||
WorksheetPrivate::WorksheetPrivate(Worksheet *p, Worksheet::CreateFlag flag)
|
||||
: AbstractSheetPrivate(p, flag)
|
||||
, windowProtection(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user