src/docrecord.py | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 84d7f263439818d9a6b069bdd33cd55cdf6a7fe3 Author: Miklos Vajna <vmik...@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] _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits