poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhei...@apache.org
Subject svn commit: r437371 - in /jakarta/poi/trunk/src/java/org/apache/poi/hssf/record: FormulaRecord.java RecordFactory.java
Date Sun, 27 Aug 2006 12:03:15 GMT
Author: jheight
Date: Sun Aug 27 05:03:14 2006
New Revision: 437371

URL: http://svn.apache.org/viewvc?rev=437371&view=rev
Log:
Removed EXPERIMENTAL indication on the formula support.

Modified:
    jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java
    jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/RecordFactory.java

Modified: jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java
URL: http://svn.apache.org/viewvc/jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java?rev=437371&r1=437370&r2=437371&view=diff
==============================================================================
--- jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java (original)
+++ jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java Sun Aug 27 05:03:14
2006
@@ -44,8 +44,6 @@
     implements CellValueRecordInterface, Comparable
 {
     
-    public static final boolean EXPERIMENTAL_FORMULA_SUPPORT_ENABLED=true;
-    
     public static final short sid =
         0x06;   // docs say 406...because of a bug Microsoft support site article #Q184647)
     
@@ -473,7 +471,6 @@
     public String toString()
     {
         StringBuffer buffer = new StringBuffer();
-        if (EXPERIMENTAL_FORMULA_SUPPORT_ENABLED) {
             buffer.append("[FORMULA]\n");
             buffer.append("    .row       = ")
                 .append(Integer.toHexString(getRow())).append("\n");
@@ -523,9 +520,6 @@
             
             
             buffer.append("[/FORMULA]\n");
-        } else {
-            buffer.append(super.toString());
-        }
         return buffer.toString();
     }
     

Modified: jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/RecordFactory.java
URL: http://svn.apache.org/viewvc/jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/RecordFactory.java?rev=437371&r1=437370&r2=437371&view=diff
==============================================================================
--- jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/RecordFactory.java (original)
+++ jakarta/poi/trunk/src/java/org/apache/poi/hssf/record/RecordFactory.java Sun Aug 27 05:03:14
2006
@@ -40,7 +40,6 @@
     private static final Class[] records;
 
     static {
-        if (FormulaRecord.EXPERIMENTAL_FORMULA_SUPPORT_ENABLED) {
             records = new Class[]
             {
                 BOFRecord.class, InterfaceHdrRecord.class, MMSRecord.class,
@@ -75,43 +74,6 @@
                 HorizontalPageBreakRecord.class, VerticalPageBreakRecord.class, 
                 WriteProtectRecord.class, FilePassRecord.class
             };
-        } else {
-            records = new Class[]
-            {
-                BOFRecord.class, InterfaceHdrRecord.class, MMSRecord.class,
-                InterfaceEndRecord.class, WriteAccessRecord.class,
-                CodepageRecord.class, DSFRecord.class, TabIdRecord.class,
-                FnGroupCountRecord.class, WindowProtectRecord.class,
-                ProtectRecord.class, PasswordRecord.class, ProtectionRev4Record.class,
-                PasswordRev4Record.class, WindowOneRecord.class, BackupRecord.class,
-                HideObjRecord.class, DateWindow1904Record.class,
-                PrecisionRecord.class, RefreshAllRecord.class, BookBoolRecord.class,
-                FontRecord.class, FormatRecord.class, ExtendedFormatRecord.class,
-                StyleRecord.class, UseSelFSRecord.class, BoundSheetRecord.class,
-                CountryRecord.class, SSTRecord.class, ExtSSTRecord.class,
-                EOFRecord.class, IndexRecord.class, CalcModeRecord.class,
-                CalcCountRecord.class, RefModeRecord.class, IterationRecord.class,
-                DeltaRecord.class, SaveRecalcRecord.class, PrintHeadersRecord.class,
-                PrintGridlinesRecord.class, GridsetRecord.class, GutsRecord.class,
-                DefaultRowHeightRecord.class, WSBoolRecord.class, HeaderRecord.class,
-                FooterRecord.class, HCenterRecord.class, VCenterRecord.class,
-                PrintSetupRecord.class, DefaultColWidthRecord.class,
-                DimensionsRecord.class, RowRecord.class, LabelSSTRecord.class,
-                RKRecord.class, NumberRecord.class, DBCellRecord.class,
-                WindowTwoRecord.class, SelectionRecord.class, ContinueRecord.class,
-                LabelRecord.class, BlankRecord.class, ColumnInfoRecord.class,
-                MulRKRecord.class, MulBlankRecord.class, MergeCellsRecord.class,
-                BoolErrRecord.class, ExternSheetRecord.class, NameRecord.class,
-                LeftMarginRecord.class, RightMarginRecord.class,
-                TopMarginRecord.class, BottomMarginRecord.class,
-                PaletteRecord.class, StringRecord.class, RecalcIdRecord.class, SharedFormulaRecord.class,
-                DrawingRecord.class, DrawingGroupRecord.class, DrawingSelectionRecord.class,
-                ObjRecord.class, TextObjectRecord.class,
-                HorizontalPageBreakRecord.class, VerticalPageBreakRecord.class, 
-                WriteProtectRecord.class, FilePassRecord.class
-            };
-
-        }
     }
     private static Map           recordsMap  = recordsToMap(records);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message