poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1173158 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java
Date Tue, 20 Sep 2011 14:13:08 GMT
Author: sergey
Date: Tue Sep 20 14:13:08 2011
New Revision: 1173158

URL: http://svn.apache.org/viewvc?rev=1173158&view=rev
Log:
add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java?rev=1173158&r1=1173157&r2=1173158&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java Tue Sep 20 14:13:08
2011
@@ -78,6 +78,9 @@ public class FieldIterator
         else if ( type.equals( "BorderCode" ) )
             result = "new BorderCode(data, 0x" + Integer.toHexString( offset )
                     + " + offset)";
+        else if ( type.equals( "Colorref" ) )
+            result = "new Colorref(data, 0x" + Integer.toHexString( offset )
+                    + " + offset)";
         else if ( type.equals( "DateAndTime" ) )
             result = "new DateAndTime(data, 0x" + Integer.toHexString( offset )
                     + " + offset)";
@@ -123,6 +126,9 @@ public class FieldIterator
         else if ( type.equals( "BorderCode" ) )
             result = javaFieldName + ".serialize(data, 0x"
                     + Integer.toHexString( offset ) + " + offset);";
+        else if ( type.equals( "Colorref" ) )
+            result = javaFieldName + ".serialize(data, 0x"
+                    + Integer.toHexString( offset ) + " + offset);";
         else if ( type.equals( "DateAndTime" ) )
             result = javaFieldName + ".serialize(data, 0x"
                     + Integer.toHexString( offset ) + " + offset);";



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message