From 6cde5b3ea901ab8345dab1bd7f02bf91239d7c23 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 20 Sep 2011 14:13:08 +0000 Subject: [PATCH] add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173158 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/dev/FieldIterator.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java b/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java index a535fc4439..953315eef4 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/dev/FieldIterator.java @@ -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);"; -- 2.39.5