From 0cd435942180043aa5278bb5c089b7684630dde5 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Wed, 1 May 2002 08:02:19 +0000 Subject: Charting, charting, charting... getting there... bit by bit. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352576 13f79535-47bb-0310-9956-ffa450edef68 --- src/records/styles/record.xsl | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'src/records/styles/record.xsl') diff --git a/src/records/styles/record.xsl b/src/records/styles/record.xsl index c4d4110e13..c29df3eb5d 100644 --- a/src/records/styles/record.xsl +++ b/src/records/styles/record.xsl @@ -64,10 +64,7 @@ package ; -import org.apache.poi.util.BitField; -import org.apache.poi.util.LittleEndian; -import org.apache.poi.util.StringUtil; -import org.apache.poi.util.HexDump; +import org.apache.poi.util.*; /** * @@ -80,7 +77,7 @@ public class Record { public final static short sid = ; private ; - + public Record() @@ -193,6 +190,7 @@ public class Record + /** * Sets the field value. * @@ -210,10 +208,32 @@ public class Record { return .isSet(); } + + + /** + * Sets the field value. + * + */ + public void set(short value) + { + = .setValue(, value); + } + + /** + * + * @return the field value. + */ + public short get() + { + return .getShortValue(); + } + - private BitField = new BitField(); + private BitField = new BitField(); + private BitField = new BitField(); + public final static = ; @@ -253,7 +273,11 @@ public class Record - buffer.append(" . = ").append(is()).append('\n'); + + buffer.append(" . = ").append(is()).append('\n'); + + buffer.append(" . = ").append(get()).append('\n'); + -- cgit v1.2.3