Added conditional format records to BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
01dcfa626a
commit
b1298ee87c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user