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 |
---|---|
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.
|
XSSFHyperlink |
createHyperlink(int type)
Deprecated.
POI 3.15 beta 3. Use
createHyperlink(HyperlinkType) instead. |
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
@Deprecated @Removal(version="3.17") public XSSFHyperlink createHyperlink(int type)
createHyperlink(HyperlinkType)
instead.createHyperlink
in interface CreationHelper
type
- - the type of hyperlink to create, see HyperlinkType
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
Copyright 2017 The Apache Software Foundation or its licensors, as applicable.