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 Object implements CreationHelper
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AreaReferencecreateAreaReference(String reference)Creates an AreaReference.AreaReferencecreateAreaReference(CellReference topLeft, CellReference bottomRight)Creates an area ref from a pair of Cell References..HSSFClientAnchorcreateClientAnchor()Creates a HSSFClientAnchor.HSSFDataFormatcreateDataFormat()Creates a new DataFormat instanceHSSFExtendedColorcreateExtendedColor()Creates a XSSF-style Color object, used for extended sheet formattings and conditional formattingsHSSFFormulaEvaluatorcreateFormulaEvaluator()Creates a HSSFFormulaEvaluator, the object that evaluates formula cells.HSSFHyperlinkcreateHyperlink(HyperlinkType type)Creates a new Hyperlink, of the given typeHSSFRichTextStringcreateRichTextString(String text)Creates a new RichTextString instance
-
-
-
Method Detail
-
createRichTextString
public HSSFRichTextString createRichTextString(String text)
Description copied from interface:CreationHelperCreates a new RichTextString instance- Specified by:
createRichTextStringin interfaceCreationHelper- Parameters:
text- The text to initialise the RichTextString with
-
createDataFormat
public HSSFDataFormat createDataFormat()
Description copied from interface:CreationHelperCreates a new DataFormat instance- Specified by:
createDataFormatin interfaceCreationHelper
-
createHyperlink
public HSSFHyperlink createHyperlink(HyperlinkType type)
Description copied from interface:CreationHelperCreates a new Hyperlink, of the given type- Specified by:
createHyperlinkin interfaceCreationHelper
-
createExtendedColor
public HSSFExtendedColor createExtendedColor()
Description copied from interface:CreationHelperCreates a XSSF-style Color object, used for extended sheet formattings and conditional formattings- Specified by:
createExtendedColorin interfaceCreationHelper
-
createFormulaEvaluator
public HSSFFormulaEvaluator createFormulaEvaluator()
Creates a HSSFFormulaEvaluator, the object that evaluates formula cells.- Specified by:
createFormulaEvaluatorin interfaceCreationHelper- Returns:
- a HSSFFormulaEvaluator instance
-
createClientAnchor
public HSSFClientAnchor createClientAnchor()
Creates a HSSFClientAnchor. Use this object to position drawing object in a sheet- Specified by:
createClientAnchorin interfaceCreationHelper- Returns:
- a HSSFClientAnchor instance
- See Also:
Drawing
-
createAreaReference
public AreaReference createAreaReference(String reference)
Creates an AreaReference.- Specified by:
createAreaReferencein 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:
createAreaReferencein interfaceCreationHelper- Parameters:
topLeft- cell referencebottomRight- cell reference- Returns:
- an AreaReference instance
-
-