undo code mistakenly submitted in r892839
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3969ed7e8f
commit
fcdc6ff6e2
@ -176,7 +176,6 @@ public final class BiffViewer {
|
|||||||
case GutsRecord.sid: return new GutsRecord(in);
|
case GutsRecord.sid: return new GutsRecord(in);
|
||||||
case HCenterRecord.sid: return new HCenterRecord(in);
|
case HCenterRecord.sid: return new HCenterRecord(in);
|
||||||
case HeaderRecord.sid: return new HeaderRecord(in);
|
case HeaderRecord.sid: return new HeaderRecord(in);
|
||||||
case HeaderFooterRecord.sid: return new HeaderFooterRecord(in);
|
|
||||||
case HideObjRecord.sid: return new HideObjRecord(in);
|
case HideObjRecord.sid: return new HideObjRecord(in);
|
||||||
case HorizontalPageBreakRecord.sid: return new HorizontalPageBreakRecord(in);
|
case HorizontalPageBreakRecord.sid: return new HorizontalPageBreakRecord(in);
|
||||||
case HyperlinkRecord.sid: return new HyperlinkRecord(in);
|
case HyperlinkRecord.sid: return new HyperlinkRecord(in);
|
||||||
@ -239,7 +238,6 @@ public final class BiffViewer {
|
|||||||
case TopMarginRecord.sid: return new TopMarginRecord(in);
|
case TopMarginRecord.sid: return new TopMarginRecord(in);
|
||||||
case UnitsRecord.sid: return new UnitsRecord(in);
|
case UnitsRecord.sid: return new UnitsRecord(in);
|
||||||
case UseSelFSRecord.sid: return new UseSelFSRecord(in);
|
case UseSelFSRecord.sid: return new UseSelFSRecord(in);
|
||||||
case UserSViewBegin.sid: return new UserSViewBegin(in);
|
|
||||||
case VCenterRecord.sid: return new VCenterRecord(in);
|
case VCenterRecord.sid: return new VCenterRecord(in);
|
||||||
case ValueRangeRecord.sid: return new ValueRangeRecord(in);
|
case ValueRangeRecord.sid: return new ValueRangeRecord(in);
|
||||||
case VerticalPageBreakRecord.sid: return new VerticalPageBreakRecord(in);
|
case VerticalPageBreakRecord.sid: return new VerticalPageBreakRecord(in);
|
||||||
@ -294,7 +292,7 @@ public final class BiffViewer {
|
|||||||
boolean noint = false;
|
boolean noint = false;
|
||||||
boolean out = false;
|
boolean out = false;
|
||||||
boolean rawhex = false;
|
boolean rawhex = false;
|
||||||
boolean header = true;
|
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];
|
||||||
@ -310,7 +308,7 @@ public final class BiffViewer {
|
|||||||
} else if ("--rawhex".equals(arg)) {
|
} else if ("--rawhex".equals(arg)) {
|
||||||
rawhex = true;
|
rawhex = true;
|
||||||
} else if ("--noheader".equals(arg)) {
|
} else if ("--noheader".equals(arg)) {
|
||||||
header = true;
|
noheader = false;
|
||||||
} else {
|
} else {
|
||||||
throw new CommandParseException("Unexpected option '" + arg + "'");
|
throw new CommandParseException("Unexpected option '" + arg + "'");
|
||||||
}
|
}
|
||||||
@ -327,7 +325,7 @@ public final class BiffViewer {
|
|||||||
if (file == null) {
|
if (file == null) {
|
||||||
throw new CommandParseException("Biff viewer needs a filename");
|
throw new CommandParseException("Biff viewer needs a filename");
|
||||||
}
|
}
|
||||||
return new CommandArgs(biffhex, noint, out, rawhex, header, file);
|
return new CommandArgs(biffhex, noint, out, rawhex, noheader, file);
|
||||||
}
|
}
|
||||||
public boolean shouldDumpBiffHex() {
|
public boolean shouldDumpBiffHex() {
|
||||||
return _biffhex;
|
return _biffhex;
|
||||||
|
Loading…
Reference in New Issue
Block a user