Package org.apache.poi.xssf.usermodel
Class XSSFCreationHelper
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFCreationHelper
- All Implemented Interfaces:
CreationHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAreaReference(String reference) Creates an AreaReference.createAreaReference(CellReference topLeft, CellReference bottomRight) Creates an area ref from a pair of Cell References..Creates a XSSFClientAnchor.Creates a new DataFormat instanceCreates a XSSF-style Color object, used for extended sheet formattings and conditional formattingsCreates a XSSFFormulaEvaluator, the object that evaluates formula cells.createHyperlink(HyperlinkType type) Create a new XSSFHyperlink.createRichTextString(String text) Creates a new XSSFRichTextString for you.
-
Constructor Details
-
XSSFCreationHelper
Should only be called byXSSFWorkbook.getCreationHelper()- Parameters:
wb- the workbook to create objects for
-
-
Method Details
-
createRichTextString
Creates a new XSSFRichTextString for you.- Specified by:
createRichTextStringin interfaceCreationHelper- Parameters:
text- The text to initialise the RichTextString with
-
createDataFormat
Description copied from interface:CreationHelperCreates a new DataFormat instance- Specified by:
createDataFormatin interfaceCreationHelper
-
createExtendedColor
Description copied from interface:CreationHelperCreates a XSSF-style Color object, used for extended sheet formattings and conditional formattings- Specified by:
createExtendedColorin interfaceCreationHelper
-
createHyperlink
Create a new XSSFHyperlink.- Specified by:
createHyperlinkin interfaceCreationHelper- Parameters:
type- - the type of hyperlink to create, seeHyperlink
-
createFormulaEvaluator
Creates a XSSFFormulaEvaluator, the object that evaluates formula cells.- Specified by:
createFormulaEvaluatorin interfaceCreationHelper- Returns:
- a XSSFFormulaEvaluator instance
-
createClientAnchor
Creates a XSSFClientAnchor. Use this object to position drawing object in a sheet- Specified by:
createClientAnchorin interfaceCreationHelper- Returns:
- a XSSFClientAnchor instance
- See Also:
-
createAreaReference
Creates an AreaReference.- Specified by:
createAreaReferencein interfaceCreationHelper- Parameters:
reference- cell reference- Returns:
- an AreaReference instance
-
createAreaReference
Creates an area ref from a pair of Cell References..- Specified by:
createAreaReferencein interfaceCreationHelper- Parameters:
topLeft- cell referencebottomRight- cell reference- Returns:
- an AreaReference instance
-