org.apache.poi.xslf.usermodel
Class XSLFTextBox

java.lang.Object
  extended by org.apache.poi.xslf.usermodel.XSLFShape
      extended by org.apache.poi.xslf.usermodel.XSLFSimpleShape
          extended by org.apache.poi.xslf.usermodel.XSLFTextShape
              extended by org.apache.poi.xslf.usermodel.XSLFAutoShape
                  extended by org.apache.poi.xslf.usermodel.XSLFTextBox

@Beta
public class XSLFTextBox
extends XSLFAutoShape

Author:
Yegor Kozlov

Method Summary
 Placeholder getPlaceholder()
           
 void setPlaceholder(Placeholder placeholder)
          Specifies that the corresponding shape should be represented by the generating application as a placeholder.
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFAutoShape
getFillColor, getTextBody, setFillColor
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFTextShape
addNewTextParagraph, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getText, getTextAutofit, getTextBodyPr, getTextDirection, getTextParagraphs, getVerticalAlignment, getWordWrap, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setTextAutofit, setTextDirection, setVerticalAlignment, setWordWrap
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSimpleShape
getAnchor, getFlipHorizontal, getFlipVertical, getLineCap, getLineColor, getLineDash, getLineWidth, getNvPr, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpPr, getXmlObject, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineDash, setLineWidth, setRotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setPlaceholder

public void setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application as a placeholder. When a shape is considered a placeholder by the generating application it can have special properties to alert the user that they may enter content into the shape. Different types of placeholders are allowed and can be specified by using the placeholder type attribute for this element

Parameters:
placeholder -

getPlaceholder

public Placeholder getPlaceholder()


Copyright 2011 The Apache Software Foundation or its licensors, as applicable.