You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by se...@apache.org on 2011/09/20 16:13:08 UTC
svn commit: r1173158 -
/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java
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