mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-16 04:42:53 +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"))) {
|
||||
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
|
||||
if (attributes.hasAttribute(QLatin1String("ht"))) {
|
||||
info->height = attributes.value(QLatin1String("ht")).toDouble();
|
||||
|
Loading…
x
Reference in New Issue
Block a user