org.apache.poi.hslf.model
Class Placeholder

java.lang.Object
  extended by org.apache.poi.hslf.model.Shape
      extended by org.apache.poi.hslf.model.SimpleShape
          extended by org.apache.poi.hslf.model.TextShape
              extended by org.apache.poi.hslf.model.TextBox
                  extended by org.apache.poi.hslf.model.Placeholder

public class Placeholder
extends TextBox

Represents a Placeholder in PowerPoint.

Author:
Yegor Kozlov

Field Summary
 
Fields inherited from class org.apache.poi.hslf.model.TextShape
_frc, _txtbox, _txtrun, AlignCenter, AlignJustify, AlignLeft, AlignRight, AnchorBottom, AnchorBottomBaseline, AnchorBottomCentered, AnchorBottomCenteredBaseline, AnchorMiddle, AnchorMiddleCentered, AnchorTop, AnchorTopBaseline, AnchorTopCentered, AnchorTopCenteredBaseline, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom
 
Fields inherited from class org.apache.poi.hslf.model.Shape
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI
 
Constructor Summary
  Placeholder()
           
protected Placeholder(EscherContainerRecord escherRecord, Shape parent)
           
  Placeholder(Shape parent)
           
 
Method Summary
protected  EscherContainerRecord createSpContainer(boolean isChild)
          Create a new Placeholder and initialize internal structures
 
Methods inherited from class org.apache.poi.hslf.model.TextBox
setDefaultTextProperties
 
Methods inherited from class org.apache.poi.hslf.model.TextShape
afterInsert, createTextRun, draw, getEscherTextboxWrapper, getHorizontalAlignment, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPlaceholderAtom, getText, getTextId, getTextRun, getVerticalAlignment, getWordWrap, initTextRun, resizeToFitText, setHorizontalAlignment, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setSheet, setText, setTextId, setVerticalAlignment, setWordWrap
 
Methods inherited from class org.apache.poi.hslf.model.SimpleShape
getClientDataRecord, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setLineColor, setLineDashing, setLineStyle, setLineWidth
 
Methods inherited from class org.apache.poi.hslf.model.Shape
getAnchor, getAnchor2D, getColor, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Placeholder

protected Placeholder(EscherContainerRecord escherRecord,
                      Shape parent)

Placeholder

public Placeholder(Shape parent)

Placeholder

public Placeholder()
Method Detail

createSpContainer

protected EscherContainerRecord createSpContainer(boolean isChild)
Create a new Placeholder and initialize internal structures

Overrides:
createSpContainer in class TextBox
Parameters:
isChild - true if the Line is inside a group, false otherwise
Returns:
the created EscherContainerRecord which holds shape data


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