From: Josh Micich Date: Wed, 6 Aug 2008 08:42:40 +0000 (+0000) Subject: Added conditional format records to BiffViewer X-Git-Tag: REL_3_2_FINAL~200 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ca28a95c891642017c4e0823fed5dde8282a4bee;p=poi.git Added conditional format records to BiffViewer git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683167 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/dev/BiffViewer.java b/src/java/org/apache/poi/hssf/dev/BiffViewer.java index 175b920881..15177d0d95 100644 --- a/src/java/org/apache/poi/hssf/dev/BiffViewer.java +++ b/src/java/org/apache/poi/hssf/dev/BiffViewer.java @@ -129,6 +129,8 @@ public final class BiffViewer { case BoolErrRecord.sid: return new BoolErrRecord(in); case BottomMarginRecord.sid: return new BottomMarginRecord(in); case BoundSheetRecord.sid: return new BoundSheetRecord(in); + case CFHeaderRecord.sid: return new CFHeaderRecord(in); + case CFRuleRecord.sid: return new CFRuleRecord(in); case CalcCountRecord.sid: return new CalcCountRecord(in); case CalcModeRecord.sid: return new CalcModeRecord(in); case CategorySeriesAxisRecord.sid: return new CategorySeriesAxisRecord(in); @@ -288,10 +290,10 @@ public final class BiffViewer { } PrintStream ps; if (false) { // set to true to output to file - OutputStream os = new FileOutputStream(inFileName + ".out"); - ps = new PrintStream(os); + OutputStream os = new FileOutputStream(inFileName + ".out"); + ps = new PrintStream(os); } else { - ps = System.out; + ps = System.out; } BiffViewer viewer = new BiffViewer(inputFile, ps);