summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorAttila Szűcs <szucs.attila3@nisz.hu>2021-09-22 13:19:23 +0200
committerLászló Németh <nemeth@numbertext.org>2021-10-13 16:57:35 +0200
commit537cb82be8fa021fd9382cca874645c75daaef20 (patch)
tree3e3f7921626f91deaad2625199ce78dea433cdef /include/oox
parent73f26b73aaf562bf934249460480b4a60937a438 (diff)
tdf#144642 XLSX import: round down row height to 0.75 pt
like table layout of MSO does, e.g. 20 pt to 19.5 pt. Changing table row height is only for interoperability. To avoid of regressions, apply this workaround only for documents created in MSO. Note: likely this is an old adjustment for low-resolution monitors, where 0.75 is the factor between 96 ppi of Windows resolution and (originally) 72 ppi of monitor resolutions. Co-authored-by: Tibor Nagy (NISZ) Change-Id: Ie1e2c781d21174a877b18cd3250eb445222bd1c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122428 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/core/xmlfilterbase.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx
index 7c1cada284d2..15de6ce680c9 100644
--- a/include/oox/core/xmlfilterbase.hxx
+++ b/include/oox/core/xmlfilterbase.hxx
@@ -246,6 +246,7 @@ public:
static FastParser* createParser();
bool isMSO2007Document() const;
+ bool isMSODocument() const;
/// Signal that an MSO 2007-created SmartArt was found, need to warn the
/// user about it.
@@ -281,6 +282,7 @@ private:
sal_Int32 mnRelId;
sal_Int32 mnMaxDocId;
bool mbMSO2007;
+ bool mbMSO;
protected:
bool mbMissingExtDrawing;
};