Removed EXPERIMENTAL indication on the formula support.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d8423bd13
commit
c522b4ff39
@ -44,8 +44,6 @@ public class FormulaRecord
|
|||||||
implements CellValueRecordInterface, Comparable
|
implements CellValueRecordInterface, Comparable
|
||||||
{
|
{
|
||||||
|
|
||||||
public static final boolean EXPERIMENTAL_FORMULA_SUPPORT_ENABLED=true;
|
|
||||||
|
|
||||||
public static final short sid =
|
public static final short sid =
|
||||||
0x06; // docs say 406...because of a bug Microsoft support site article #Q184647)
|
0x06; // docs say 406...because of a bug Microsoft support site article #Q184647)
|
||||||
|
|
||||||
@ -473,7 +471,6 @@ public class FormulaRecord
|
|||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
StringBuffer buffer = new StringBuffer();
|
StringBuffer buffer = new StringBuffer();
|
||||||
if (EXPERIMENTAL_FORMULA_SUPPORT_ENABLED) {
|
|
||||||
buffer.append("[FORMULA]\n");
|
buffer.append("[FORMULA]\n");
|
||||||
buffer.append(" .row = ")
|
buffer.append(" .row = ")
|
||||||
.append(Integer.toHexString(getRow())).append("\n");
|
.append(Integer.toHexString(getRow())).append("\n");
|
||||||
@ -523,9 +520,6 @@ public class FormulaRecord
|
|||||||
|
|
||||||
|
|
||||||
buffer.append("[/FORMULA]\n");
|
buffer.append("[/FORMULA]\n");
|
||||||
} else {
|
|
||||||
buffer.append(super.toString());
|
|
||||||
}
|
|
||||||
return buffer.toString();
|
return buffer.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ public class RecordFactory
|
|||||||
private static final Class[] records;
|
private static final Class[] records;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
if (FormulaRecord.EXPERIMENTAL_FORMULA_SUPPORT_ENABLED) {
|
|
||||||
records = new Class[]
|
records = new Class[]
|
||||||
{
|
{
|
||||||
BOFRecord.class, InterfaceHdrRecord.class, MMSRecord.class,
|
BOFRecord.class, InterfaceHdrRecord.class, MMSRecord.class,
|
||||||
@ -75,43 +74,6 @@ public class RecordFactory
|
|||||||
HorizontalPageBreakRecord.class, VerticalPageBreakRecord.class,
|
HorizontalPageBreakRecord.class, VerticalPageBreakRecord.class,
|
||||||
WriteProtectRecord.class, FilePassRecord.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);
|
private static Map recordsMap = recordsToMap(records);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user