Uses of Class
org.apache.poi.ss.usermodel.DataFormatter
Packages that use DataFormatter
Package
Description
The usermodel package maps HSSF low level structures to familiar workbook/sheet model
The org.apache.poi.xssf.binary package includes necessary underlying components
for streaming/read-only processing of xlsb files.
-
Uses of DataFormatter in org.apache.poi.hssf.usermodel
Subclasses of DataFormatter in org.apache.poi.hssf.usermodelModifier and TypeClassDescriptionfinal classHSSFDataFormatter contains methods for formatting the value stored in an HSSFCell. -
Uses of DataFormatter in org.apache.poi.ss.formula.functions
Fields in org.apache.poi.ss.formula.functions declared as DataFormatter -
Uses of DataFormatter in org.apache.poi.ss.util
Methods in org.apache.poi.ss.util with parameters of type DataFormatterModifier and TypeMethodDescriptionstatic doubleSheetUtil.getCellWidth(Cell cell, float defaultCharWidth, DataFormatter formatter, boolean useMergedCells) Compute width of a single cellstatic doubleSheetUtil.getCellWidth(Cell cell, float defaultCharWidth, DataFormatter formatter, boolean useMergedCells, List<CellRangeAddress> mergedRegions) Compute width of a single cell This method receives the list of merged regions as querying it from the cell/sheet is time-consuming and thus caching the list across cells speeds up certain operations considerably.static doubleSheetUtil.getCellWidth(Cell cell, int defaultCharWidth, DataFormatter formatter, boolean useMergedCells) Deprecated.since POI 5.2.5, it is better to pass defaultCharWidth as a floatstatic doubleSheetUtil.getCellWidth(Cell cell, int defaultCharWidth, DataFormatter formatter, boolean useMergedCells, List<CellRangeAddress> mergedRegions) Deprecated.since POI 5.2.5, it is better to pass defaultCharWidth as a float -
Uses of DataFormatter in org.apache.poi.xssf.binary
Constructors in org.apache.poi.xssf.binary with parameters of type DataFormatterModifierConstructorDescriptionXSSFBSheetHandler(InputStream is, XSSFBStylesTable styles, XSSFBCommentsTable comments, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults) Creates a handler that converts numeric and date cells to formatted strings viaDataFormatter. -
Uses of DataFormatter in org.apache.poi.xssf.eventusermodel
Constructors in org.apache.poi.xssf.eventusermodel with parameters of type DataFormatterModifierConstructorDescriptionXSSFSheetXMLHandler(Styles styles, Comments comments, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults) Accepts objects needed while parsing.XSSFSheetXMLHandler(Styles styles, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults) Accepts objects needed while parsing.