Package org.apache.poi.hssf.usermodel
Class HSSFCreationHelper
- java.lang.Object
-
- org.apache.poi.hssf.usermodel.HSSFCreationHelper
-
- All Implemented Interfaces:
CreationHelper
public class HSSFCreationHelper extends java.lang.Object implements CreationHelper
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AreaReference
createAreaReference(java.lang.String reference)
Creates an AreaReference.AreaReference
createAreaReference(CellReference topLeft, CellReference bottomRight)
Creates an area ref from a pair of Cell References..HSSFClientAnchor
createClientAnchor()
Creates a HSSFClientAnchor.HSSFDataFormat
createDataFormat()
Creates a new DataFormat instanceHSSFExtendedColor
createExtendedColor()
Creates a XSSF-style Color object, used for extended sheet formattings and conditional formattingsHSSFFormulaEvaluator
createFormulaEvaluator()
Creates a HSSFFormulaEvaluator, the object that evaluates formula cells.HSSFHyperlink
createHyperlink(HyperlinkType type)
Creates a new Hyperlink, of the given typeHSSFRichTextString
createRichTextString(java.lang.String text)
Creates a new RichTextString instance
-
-
-
Method Detail
-
createRichTextString
public HSSFRichTextString createRichTextString(java.lang.String text)
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
public HSSFDataFormat createDataFormat()
Description copied from interface:CreationHelper
Creates a new DataFormat instance- Specified by:
createDataFormat
in interfaceCreationHelper
-
createHyperlink
public HSSFHyperlink createHyperlink(HyperlinkType type)
Description copied from interface:CreationHelper
Creates a new Hyperlink, of the given type- Specified by:
createHyperlink
in interfaceCreationHelper
-
createExtendedColor
public HSSFExtendedColor 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
public HSSFFormulaEvaluator createFormulaEvaluator()
Creates a HSSFFormulaEvaluator, the object that evaluates formula cells.- Specified by:
createFormulaEvaluator
in interfaceCreationHelper
- Returns:
- a HSSFFormulaEvaluator instance
-
createClientAnchor
public HSSFClientAnchor 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:
Drawing
-
createAreaReference
public AreaReference createAreaReference(java.lang.String reference)
Creates an AreaReference.- Specified by:
createAreaReference
in interfaceCreationHelper
- Parameters:
reference
- cell reference- Returns:
- an AreaReference instance
-
createAreaReference
public AreaReference createAreaReference(CellReference topLeft, CellReference bottomRight)
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
-
-