Package org.apache.poi.hssf.usermodel
Class HSSFCreationHelper
java.lang.Object
org.apache.poi.hssf.usermodel.HSSFCreationHelper
- All Implemented Interfaces:
CreationHelper
-
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 HSSFClientAnchor.Creates a new DataFormat instanceCreates a XSSF-style Color object, used for extended sheet formattings and conditional formattingsCreates a HSSFFormulaEvaluator, the object that evaluates formula cells.createHyperlink
(HyperlinkType type) Creates a new Hyperlink, of the given typecreateRichTextString
(String text) Creates a new RichTextString instance
-
Method Details
-
createRichTextString
Description copied from interface:CreationHelper
Creates a new RichTextString instance- Specified by:
createRichTextString
in interfaceCreationHelper
- Parameters:
text
- The text to initialise the RichTextString with
-
createDataFormat
Description copied from interface:CreationHelper
Creates a new DataFormat instance- Specified by:
createDataFormat
in interfaceCreationHelper
-
createHyperlink
Description copied from interface:CreationHelper
Creates a new Hyperlink, of the given type- Specified by:
createHyperlink
in interfaceCreationHelper
-
createExtendedColor
Description copied from interface:CreationHelper
Creates a XSSF-style Color object, used for extended sheet formattings and conditional formattings- Specified by:
createExtendedColor
in interfaceCreationHelper
-
createFormulaEvaluator
Creates a HSSFFormulaEvaluator, the object that evaluates formula cells.- Specified by:
createFormulaEvaluator
in interfaceCreationHelper
- Returns:
- a HSSFFormulaEvaluator instance
-
createClientAnchor
Creates a HSSFClientAnchor. Use this object to position drawing object in a sheet- Specified by:
createClientAnchor
in interfaceCreationHelper
- Returns:
- a HSSFClientAnchor instance
- See Also:
-
createAreaReference
Creates an AreaReference.- Specified by:
createAreaReference
in interfaceCreationHelper
- Parameters:
reference
- cell reference- Returns:
- an AreaReference instance
-
createAreaReference
Creates an area ref from a pair of Cell References..- Specified by:
createAreaReference
in interfaceCreationHelper
- Parameters:
topLeft
- cell referencebottomRight
- cell reference- Returns:
- an AreaReference instance
-