Add missing record, and fix a few indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999313 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2010-09-21 11:15:07 +00:00
parent c1a78f0f01
commit d3d674d250

View File

@ -122,7 +122,7 @@ public final class BiffViewer {
case AxisParentRecord.sid: return new AxisParentRecord(in); case AxisParentRecord.sid: return new AxisParentRecord(in);
case AxisRecord.sid: return new AxisRecord(in); case AxisRecord.sid: return new AxisRecord(in);
case AxisUsedRecord.sid: return new AxisUsedRecord(in); case AxisUsedRecord.sid: return new AxisUsedRecord(in);
case AutoFilterInfoRecord.sid: return new AutoFilterInfoRecord(in); case AutoFilterInfoRecord.sid: return new AutoFilterInfoRecord(in);
case BOFRecord.sid: return new BOFRecord(in); case BOFRecord.sid: return new BOFRecord(in);
case BackupRecord.sid: return new BackupRecord(in); case BackupRecord.sid: return new BackupRecord(in);
case BarRecord.sid: return new BarRecord(in); case BarRecord.sid: return new BarRecord(in);
@ -216,6 +216,7 @@ public final class BiffViewer {
case ProtectRecord.sid: return new ProtectRecord(in); case ProtectRecord.sid: return new ProtectRecord(in);
case ProtectionRev4Record.sid: return new ProtectionRev4Record(in); case ProtectionRev4Record.sid: return new ProtectionRev4Record(in);
case RKRecord.sid: return new RKRecord(in); case RKRecord.sid: return new RKRecord(in);
case RecalcIdRecord.sid: return new RecalcIdRecord(in);
case RefModeRecord.sid: return new RefModeRecord(in); case RefModeRecord.sid: return new RefModeRecord(in);
case RefreshAllRecord.sid: return new RefreshAllRecord(in); case RefreshAllRecord.sid: return new RefreshAllRecord(in);
case RightMarginRecord.sid: return new RightMarginRecord(in); case RightMarginRecord.sid: return new RightMarginRecord(in);
@ -279,7 +280,7 @@ public final class BiffViewer {
private final boolean _noint; private final boolean _noint;
private final boolean _out; private final boolean _out;
private final boolean _rawhex; private final boolean _rawhex;
private final boolean _noHeader; private final boolean _noHeader;
private final File _file; private final File _file;
private CommandArgs(boolean biffhex, boolean noint, boolean out, boolean rawhex, boolean noHeader, File file) { private CommandArgs(boolean biffhex, boolean noint, boolean out, boolean rawhex, boolean noHeader, File file) {
@ -288,7 +289,7 @@ public final class BiffViewer {
_out = out; _out = out;
_rawhex = rawhex; _rawhex = rawhex;
_file = file; _file = file;
_noHeader = noHeader; _noHeader = noHeader;
} }
public static CommandArgs parse(String[] args) throws CommandParseException { public static CommandArgs parse(String[] args) throws CommandParseException {
@ -297,7 +298,7 @@ public final class BiffViewer {
boolean noint = false; boolean noint = false;
boolean out = false; boolean out = false;
boolean rawhex = false; boolean rawhex = false;
boolean noheader = false; boolean noheader = false;
File file = null; File file = null;
for (int i=0; i<nArgs; i++) { for (int i=0; i<nArgs; i++) {
String arg = args[i]; String arg = args[i];
@ -344,9 +345,9 @@ public final class BiffViewer {
public boolean shouldOutputRawHexOnly() { public boolean shouldOutputRawHexOnly() {
return _rawhex; return _rawhex;
} }
public boolean suppressHeader() { public boolean suppressHeader() {
return _noHeader; return _noHeader;
} }
public File getFile() { public File getFile() {
return _file; return _file;
} }