Package org.apache.poi.xssf.streaming
Class SXSSFCreationHelper
- java.lang.Object
-
- org.apache.poi.xssf.streaming.SXSSFCreationHelper
-
- All Implemented Interfaces:
CreationHelper
public class SXSSFCreationHelper extends java.lang.Object implements CreationHelper
Streaming Creation Helper, which performs some actions based on the Streaming Workbook, and some on the related regular XSSF Workbook
-
-
Constructor Summary
Constructors Constructor Description SXSSFCreationHelper(SXSSFWorkbook workbook)
Should only be called bySXSSFWorkbook.getCreationHelper()
-
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..ClientAnchor
createClientAnchor()
Creates a ClientAnchor.DataFormat
createDataFormat()
Creates a new DataFormat instanceExtendedColor
createExtendedColor()
Creates a XSSF-style Color object, used for extended sheet formattings and conditional formattingsSXSSFFormulaEvaluator
createFormulaEvaluator()
Creates FormulaEvaluator - an object that evaluates formula cells.Hyperlink
createHyperlink(HyperlinkType type)
Creates a new Hyperlink, of the given typeXSSFRichTextString
createRichTextString(java.lang.String text)
Creates a new RichTextString instance
-
-
-
Constructor Detail
-
SXSSFCreationHelper
@Internal public SXSSFCreationHelper(SXSSFWorkbook workbook)
Should only be called bySXSSFWorkbook.getCreationHelper()
- Parameters:
workbook
- the workbook to create objects for
-
-
Method Detail
-
createRichTextString
public XSSFRichTextString 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
-
createFormulaEvaluator
public SXSSFFormulaEvaluator createFormulaEvaluator()
Description copied from interface:CreationHelper
Creates FormulaEvaluator - an object that evaluates formula cells.- Specified by:
createFormulaEvaluator
in interfaceCreationHelper
- Returns:
- a FormulaEvaluator instance
-
createDataFormat
public DataFormat createDataFormat()
Description copied from interface:CreationHelper
Creates a new DataFormat instance- Specified by:
createDataFormat
in interfaceCreationHelper
-
createHyperlink
public Hyperlink createHyperlink(HyperlinkType type)
Description copied from interface:CreationHelper
Creates a new Hyperlink, of the given type- Specified by:
createHyperlink
in interfaceCreationHelper
-
createExtendedColor
public ExtendedColor 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
-
createClientAnchor
public ClientAnchor createClientAnchor()
Description copied from interface:CreationHelper
Creates a ClientAnchor. Use this object to position drawing object in a sheet- Specified by:
createClientAnchor
in interfaceCreationHelper
- Returns:
- a ClientAnchor 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
-
-