org.apache.poi.xssf.usermodel
Class XSSFCreationHelper

java.lang.Object
  extended by org.apache.poi.xssf.usermodel.XSSFCreationHelper
All Implemented Interfaces:
CreationHelper

public class XSSFCreationHelper
extends java.lang.Object
implements CreationHelper


Constructor Summary
XSSFCreationHelper(XSSFWorkbook wb)
          Should only be called by XSSFWorkbook.getCreationHelper()
 
Method Summary
 AreaReference createAreaReference(CellReference topLeft, CellReference bottomRight)
          
 AreaReference createAreaReference(java.lang.String reference)
          
 XSSFClientAnchor createClientAnchor()
          Creates a XSSFClientAnchor.
 XSSFDataFormat createDataFormat()
           
 XSSFColor createExtendedColor()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSSFCreationHelper

@Internal
public XSSFCreationHelper(XSSFWorkbook wb)
Should only be called by XSSFWorkbook.getCreationHelper()

Parameters:
wb - the workbook to create objects for
Method Detail

createRichTextString

public XSSFRichTextString createRichTextString(java.lang.String text)
Creates a new XSSFRichTextString for you.

Specified by:
createRichTextString in interface CreationHelper

createDataFormat

public XSSFDataFormat createDataFormat()
Specified by:
createDataFormat in interface CreationHelper

createExtendedColor

public XSSFColor createExtendedColor()
Specified by:
createExtendedColor in interface CreationHelper

createHyperlink

public XSSFHyperlink createHyperlink(HyperlinkType type)
Create a new XSSFHyperlink.

Specified by:
createHyperlink in interface CreationHelper
Parameters:
type - - the type of hyperlink to create, see Hyperlink

createFormulaEvaluator

public XSSFFormulaEvaluator createFormulaEvaluator()
Creates a XSSFFormulaEvaluator, the object that evaluates formula cells.

Specified by:
createFormulaEvaluator in interface CreationHelper
Returns:
a XSSFFormulaEvaluator instance

createClientAnchor

public XSSFClientAnchor createClientAnchor()
Creates a XSSFClientAnchor. Use this object to position drawing object in a sheet

Specified by:
createClientAnchor in interface CreationHelper
Returns:
a XSSFClientAnchor instance
See Also:
Drawing

createAreaReference

public AreaReference createAreaReference(java.lang.String reference)

Specified by:
createAreaReference in interface CreationHelper

createAreaReference

public AreaReference createAreaReference(CellReference topLeft,
                                         CellReference bottomRight)

Specified by:
createAreaReference in interface CreationHelper