msodumper/formula.py | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 6ad04a4ce0d3024e9afc53b9351093e3b4ae366d
Author: Markus Mohrhard <[email protected]>
Date: Mon Dec 29 06:39:45 2014 +0100
improve formula support
diff --git a/msodumper/formula.py b/msodumper/formula.py
index 8ecece5..4827295 100644
--- a/msodumper/formula.py
+++ b/msodumper/formula.py
@@ -221,6 +221,9 @@ class PtgAtt(PtgBase):
# PtgAttSemi: volatile
self.attName = 'volatile'
self.strm.readBytes(2) # ignore bytes
+ elif attType == 0x10:
+ self.attName = 'sum'
+ self.strm.readBytes(2) # ignore bytes
else:
raise FormulaParserError("unknown attribute token type
(0x%2.2X)"%attType)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits