Lines 53-59
Link Here
|
53 |
import org.apache.poi.ss.util.CellRangeAddress; |
53 |
import org.apache.poi.ss.util.CellRangeAddress; |
54 |
import org.apache.poi.ss.util.CellReference; |
54 |
import org.apache.poi.ss.util.CellReference; |
55 |
import org.apache.poi.ss.util.NumberToTextConverter; |
55 |
import org.apache.poi.ss.util.NumberToTextConverter; |
56 |
import org.apache.poi.util.Internal; |
|
|
57 |
import org.apache.poi.util.LocaleUtil; |
56 |
import org.apache.poi.util.LocaleUtil; |
58 |
|
57 |
|
59 |
/** |
58 |
/** |
Lines 1145-1169
Link Here
|
1145 |
|
1144 |
|
1146 |
/** |
1145 |
/** |
1147 |
* Only valid for formula cells |
1146 |
* Only valid for formula cells |
1148 |
* |
|
|
1149 |
* Will return {@link CellType} in a future version of POI. |
1150 |
* For forwards compatibility, do not hard-code cell type literals in your code. |
1151 |
* |
1152 |
* @return one of ({@link CellType#NUMERIC}, {@link CellType#STRING}, |
1147 |
* @return one of ({@link CellType#NUMERIC}, {@link CellType#STRING}, |
1153 |
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending |
1148 |
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending |
1154 |
* on the cached value of the formula |
1149 |
* on the cached value of the formula |
1155 |
* @deprecated 3.15. Will return a {@link CellType} enum in the future. |
|
|
1156 |
*/ |
1157 |
@Override |
1158 |
public int getCachedFormulaResultType() { |
1159 |
return getCachedFormulaResultTypeEnum().getCode(); |
1160 |
} |
1161 |
|
1162 |
/** |
1163 |
* Only valid for formula cells |
1164 |
* @return one of ({@link CellType#NUMERIC}, {@link CellType#STRING}, |
1165 |
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending |
1166 |
* on the cached value of the formula |
1167 |
* @since POI 3.15 beta 3 |
1150 |
* @since POI 3.15 beta 3 |
1168 |
* Will be deleted when we make the CellType enum transition. See bug 59791. |
1151 |
* Will be deleted when we make the CellType enum transition. See bug 59791. |
1169 |
*/ |
1152 |
*/ |