mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-02-06 05:08:22 +08:00
Merge pull request #347 from j2doll/j2doll/issue204
issue 204 customHeight
This commit is contained in:
commit
8212c68ecb
@ -2285,7 +2285,11 @@ void WorksheetPrivate::loadXmlSheetData(QXmlStreamReader &reader)
|
|||||||
|
|
||||||
if (attributes.hasAttribute(QLatin1String("customHeight"))) {
|
if (attributes.hasAttribute(QLatin1String("customHeight"))) {
|
||||||
info->customHeight =
|
info->customHeight =
|
||||||
attributes.value(QLatin1String("customHeight")) == QLatin1String("1");
|
// attributes.value(QLatin1String("customHeight")) == QLatin1String("1");
|
||||||
|
( attributes.value(QLatin1String("customHeight")) == QLatin1String("1") ||
|
||||||
|
attributes.value(QLatin1String("customHeight")) == QLatin1String("true") );
|
||||||
|
// issue 204 Gorazd
|
||||||
|
|
||||||
// Row height is only specified when customHeight is set
|
// Row height is only specified when customHeight is set
|
||||||
if (attributes.hasAttribute(QLatin1String("ht"))) {
|
if (attributes.hasAttribute(QLatin1String("ht"))) {
|
||||||
info->height = attributes.value(QLatin1String("ht")).toDouble();
|
info->height = attributes.value(QLatin1String("ht")).toDouble();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user