[ooo-build-commit] .: scratch/mso-dumper
Radek DoulÃk
rodo at kemper.freedesktop.org
Wed Mar 24 09:59:58 PDT 2010
scratch/mso-dumper/src/pptrecord.py | 15 +++++++++++++++
scratch/mso-dumper/src/pptstream.py | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
New commits:
commit 7deb79ebefa4f1c8fb9e8b124933cf7eeeb6cef5
Author: Radek Doulik <rodo at novell.com>
Date: Wed Mar 24 17:58:46 2010 +0100
[mso-dumper] Display SSSlideInfoAtom
* scratch/mso-dumper/src/pptrecord.py:
* scratch/mso-dumper/src/pptstream.py:
diff --git a/scratch/mso-dumper/src/pptrecord.py b/scratch/mso-dumper/src/pptrecord.py
index 78b7bfb..b9ebfd2 100644
--- a/scratch/mso-dumper/src/pptrecord.py
+++ b/scratch/mso-dumper/src/pptrecord.py
@@ -391,6 +391,21 @@ class ColorScheme(BaseRecordHandler):
"Accent and followed hyperlink"))
# -------------------------------------------------------------------
+# special record handler: ssslide info atom
+
+class SlideInfo(BaseRecordHandler):
+ """SSSlide Info atom."""
+
+ def parseBytes (self):
+ self.appendLine("slide time: %d"%self.readUnsignedInt(4))
+ self.appendLine("sound ref: %d"%self.readUnsignedInt(4))
+ ttype=self.readUnsignedInt(2)
+ self.appendLine("direction: %d"%(ttype & 0xff))
+ self.appendLine("transition type: %d"%(ttype & 0xff00))
+ self.appendLine("flags: %d"%self.readUnsignedInt(2))
+ self.appendLine("speed: %d"%self.readUnsignedInt(1))
+
+# -------------------------------------------------------------------
# special record handlers: ppt97 animation info
class AnimationInfo(BaseRecordHandler):
diff --git a/scratch/mso-dumper/src/pptstream.py b/scratch/mso-dumper/src/pptstream.py
index 3734b4a..ccca3d6 100644
--- a/scratch/mso-dumper/src/pptstream.py
+++ b/scratch/mso-dumper/src/pptstream.py
@@ -223,7 +223,7 @@ recData = {
1014: ["DFF_PST_DocViewInfo"],
1015: ["DFF_PST_SslideLayoutAtom"],
1016: ["DFF_PST_MainMaster"],
- 1017: ["DFF_PST_SSSlideInfoAtom"],
+ 1017: ["DFF_PST_SSSlideInfoAtom", pptrecord.SlideInfo],
1018: ["DFF_PST_SlideViewInfo"],
1019: ["DFF_PST_GuideAtom"],
1020: ["DFF_PST_ViewInfo"],
More information about the ooo-build-commit
mailing list