]> source.dussan.org Git - poi.git/commitdiff
Add missing record, and fix a few indents
authorNick Burch <nick@apache.org>
Tue, 21 Sep 2010 11:15:07 +0000 (11:15 +0000)
committerNick Burch <nick@apache.org>
Tue, 21 Sep 2010 11:15:07 +0000 (11:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999313 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/dev/BiffViewer.java

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