[Libreoffice-commits] .: src/docrecord.py
Miklos Vajna
vmiklos at kemper.freedesktop.org
Thu Dec 13 02:00:27 PST 2012
src/docrecord.py | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 84d7f263439818d9a6b069bdd33cd55cdf6a7fe3
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Thu Dec 13 10:59:54 2012 +0100
dump sprmSBrcTop / Left / Bottom / Right
diff --git a/src/docrecord.py b/src/docrecord.py
index cc53b04..71602de 100644
--- a/src/docrecord.py
+++ b/src/docrecord.py
@@ -352,6 +352,8 @@ class Sprm(DOCDirStream):
self.operand = self.getuInt32()
elif self.getOperandSize() == 7:
self.operand = self.getuInt64() & 0x0fffffff
+ elif self.getOperandSize() == 9:
+ self.operand = self.getuInt64(pos = self.pos + 1)
else:
self.operand = "todo"
@@ -377,6 +379,8 @@ class Sprm(DOCDirStream):
if self.spra == 6: # variable
if self.sprm == 0xd634:
return 7
+ elif self.sprm in [0xd234, 0xd235, 0xd236, 0xd237]: # sprmSBrcTop / Left / Bottom / Right
+ return 9
raise Exception()
return self.operandSizeMap[self.spra]
More information about the Libreoffice-commits
mailing list