ooo-build r13931 - in trunk: . scratch/sc-xlsutil/src



Author: kyoshida
Date: Thu Sep 18 04:03:40 2008
New Revision: 13931
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13931&view=rev

Log:
2008-09-17  Kohei Yoshida  <kyoshida novell com>

	* scratch/sc-xlsutil/src/record.py: added record handler for SXVIEWEX9
	record (Pivot Table Extensions).


Modified:
   trunk/ChangeLog
   trunk/scratch/sc-xlsutil/src/record.py

Modified: trunk/scratch/sc-xlsutil/src/record.py
==============================================================================
--- trunk/scratch/sc-xlsutil/src/record.py	(original)
+++ trunk/scratch/sc-xlsutil/src/record.py	Thu Sep 18 04:03:40 2008
@@ -439,7 +439,10 @@
 class SXViewEx9(BaseRecordHandler):
 
     def parseBytes (self):
-        pass
+        rt = globals.getSignedInt(self.bytes[0:2])
+        self.appendLine("record type: 0x%4.4X (always 0x0810)"%rt)
+        autoFmtId = globals.getSignedInt(self.bytes[12:14])
+        self.appendLine("autoformat index: %d"%autoFmtId)
 
 class SXAddlInfo(BaseRecordHandler):
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]