Swap the position of applyFill and applyBorder

Follow the order used by Excel 2007
This commit is contained in:
Debao Zhang
2013-12-24 16:10:44 +08:00
parent 2ec533df7c
commit 9435a7e9d1
+2 -2
View File
@@ -580,10 +580,10 @@ void Styles::writeCellXfs(QXmlStreamWriter &writer)
writer.writeAttribute(QStringLiteral("applyNumberFormat"), QStringLiteral("1"));
if (format.hasFontData())
writer.writeAttribute(QStringLiteral("applyFont"), QStringLiteral("1"));
if (format.hasBorderData())
writer.writeAttribute(QStringLiteral("applyBorder"), QStringLiteral("1"));
if (format.hasFillData())
writer.writeAttribute(QStringLiteral("applyFill"), QStringLiteral("1"));
if (format.hasBorderData())
writer.writeAttribute(QStringLiteral("applyBorder"), QStringLiteral("1"));
if (format.hasAlignmentData())
writer.writeAttribute(QStringLiteral("applyAlignment"), QStringLiteral("1"));