summaryrefslogtreecommitdiff
path: root/msodumper/xlsrecord.py
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2014-09-16 15:30:44 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2014-09-16 15:30:44 -0400
commit4d583770dd9dfb6ee16b9864d97adedad0833292 (patch)
treef78e2afa10adf8051d464c62cf21396a17cb64bb /msodumper/xlsrecord.py
parent55071d1b98419a506a7f67cbfa44d0bd595af5cf (diff)
Bit more on parsing FEATURE11 record. I'll leave the rest for later.
Diffstat (limited to 'msodumper/xlsrecord.py')
-rw-r--r--msodumper/xlsrecord.py18
1 files changed, 18 insertions, 0 deletions
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."""