public class XSSFCreationHelper extends java.lang.Object implements CreationHelper
Constructor and Description |
---|
XSSFCreationHelper(XSSFWorkbook wb)
Should only be called by
XSSFWorkbook.getCreationHelper() |
Modifier and Type | Method and Description |
---|---|
AreaReference |
createAreaReference(CellReference topLeft,
CellReference bottomRight)
Creates an area ref from a pair of Cell References..
|
AreaReference |
createAreaReference(java.lang.String reference)
Creates an AreaReference.
|
XSSFClientAnchor |
createClientAnchor()
Creates a XSSFClientAnchor.
|
XSSFDataFormat |
createDataFormat()
Creates a new DataFormat instance
|
XSSFColor |
createExtendedColor()
Creates a XSSF-style Color object, used for extended sheet
formattings and conditional formattings
|
XSSFFormulaEvaluator |
createFormulaEvaluator()
Creates a XSSFFormulaEvaluator, the object that evaluates formula cells.
|
XSSFHyperlink |
createHyperlink(HyperlinkType type)
Create a new XSSFHyperlink.
|
XSSFRichTextString |
createRichTextString(java.lang.String text)
Creates a new XSSFRichTextString for you.
|
@Internal public XSSFCreationHelper(XSSFWorkbook wb)
XSSFWorkbook.getCreationHelper()
wb
- the workbook to create objects forpublic XSSFRichTextString createRichTextString(java.lang.String text)
createRichTextString
in interface CreationHelper
text
- The text to initialise the RichTextString withpublic XSSFDataFormat createDataFormat()
CreationHelper
createDataFormat
in interface CreationHelper
public XSSFColor createExtendedColor()
CreationHelper
createExtendedColor
in interface CreationHelper
public XSSFHyperlink createHyperlink(HyperlinkType type)
createHyperlink
in interface CreationHelper
type
- - the type of hyperlink to create, see Hyperlink
public XSSFFormulaEvaluator createFormulaEvaluator()
createFormulaEvaluator
in interface CreationHelper
public XSSFClientAnchor createClientAnchor()
createClientAnchor
in interface CreationHelper
Drawing
public AreaReference createAreaReference(java.lang.String reference)
createAreaReference
in interface CreationHelper
reference
- cell referencepublic AreaReference createAreaReference(CellReference topLeft, CellReference bottomRight)
createAreaReference
in interface CreationHelper
topLeft
- cell referencebottomRight
- cell referenceCopyright 2021 The Apache Software Foundation or its licensors, as applicable.