[Libreoffice-commits] mso-dumper.git: msodumper/xlsrecord.py
Kohei Yoshida
kohei.yoshida at gmail.com
Tue Sep 16 12:32:07 PDT 2014
msodumper/xlsrecord.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
New commits:
commit 4d583770dd9dfb6ee16b9864d97adedad0833292
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Tue Sep 16 15:30:44 2014 -0400
Bit more on parsing FEATURE11 record. I'll leave the rest for later.
diff --git a/msodumper/xlsrecord.py b/msodumper/xlsrecord.py
index c3f5588..8c2a607 100644
--- a/msodumper/xlsrecord.py
+++ b/msodumper/xlsrecord.py
@@ -2845,6 +2845,16 @@ class TableFeatureType(object):
self.lem = strm.readUnsignedInt(4) # table edit mode
self.rgbHashParam = strm.readBytes(16)
self.rgbName = strm.readXLUnicodeString()
+ self.cFieldData = strm.readUnsignedInt(2)
+ if self.fLoadCSPName:
+ self.cSPName = strm.readXLUnicodeString()
+ if self.fLoadEntryId:
+ self.entryId = strm.readXLUnicodeString()
+
+ # TODO : fieldData
+ # TODO : idDeleted
+ # TODO : idChanged
+ # TODO : cellInvalid
def appendLines (self, hdl):
hdl.appendLineString("source type", SourceType.toString(self.lt))
@@ -2879,6 +2889,14 @@ class TableFeatureType(object):
# TODO : dump more data
hdl.appendLineString("table name", self.rgbName)
+ hdl.appendLineInt("column count", self.cFieldData)
+
+ if self.fLoadCSPName:
+ hdl.appendLineString("cryptographic service provider name", self.cSPName)
+ if self.fLoadEntryId:
+ hdl.appendLineString("unique table identifier", self.entryId)
+
+
class FeatureHeader(BaseRecordHandler):
"""Beginning of a collection of records."""
More information about the Libreoffice-commits
mailing list