Add custom number format support

This commit is contained in:
Debao Zhang
2013-10-15 17:27:20 +08:00
parent 9e1a510761
commit b4d9c5f2dd
10 changed files with 203 additions and 12 deletions
+7 -2
View File
@@ -129,8 +129,10 @@ public:
~Format();
int numberFormat() const;
void setNumberFormat(int format);
int numberFormatIndex() const;
void setNumberFormatIndex(int format);
QString numberFormat() const;
void setNumberFormat(const QString &format);
int fontSize() const;
void setFontSize(int size);
@@ -210,6 +212,9 @@ private:
friend class WorksheetPrivate;
Format();
bool numFmtIndexValid() const;
void setNumFmt(int index, const QString &string);
bool fontIndexValid() const;
int fontIndex() const;
void setFontIndex(int index);