Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hslf » model » [javadoc | source]
org.apache.poi.hslf.model
public class: AutoShape [javadoc | source]
java.lang.Object
   org.apache.poi.hslf.model.Shape
      org.apache.poi.hslf.model.SimpleShape
         org.apache.poi.hslf.model.TextShape
            org.apache.poi.hslf.model.AutoShape

Direct Known Subclasses:
    Freeform, Polygon

Represents an AutoShape.

AutoShapes are drawing objects with a particular shape that may be customized through smart resizing and adjustments. See ShapeTypes

Fields inherited from org.apache.poi.hslf.model.TextShape:
AnchorTop,  AnchorMiddle,  AnchorBottom,  AnchorTopCentered,  AnchorMiddleCentered,  AnchorBottomCentered,  AnchorTopBaseline,  AnchorBottomBaseline,  AnchorTopCenteredBaseline,  AnchorBottomCenteredBaseline,  WrapSquare,  WrapByPoints,  WrapNone,  WrapTopBottom,  WrapThrough,  AlignLeft,  AlignCenter,  AlignRight,  AlignJustify,  _txtrun,  _txtbox,  _frc
Fields inherited from org.apache.poi.hslf.model.Shape:
logger,  EMU_PER_INCH,  EMU_PER_POINT,  EMU_PER_CENTIMETER,  MASTER_DPI,  PIXEL_DPI,  POINT_DPI,  _escherContainer,  _parent,  _sheet,  _fill
Constructor:
 public AutoShape(int type) 
 protected AutoShape(EscherContainerRecord escherRecord,
    Shape parent) 
 public AutoShape(int type,
    Shape parent) 
Method from org.apache.poi.hslf.model.AutoShape Summary:
createSpContainer,   getAdjustmentValue,   getOutline,   setAdjustmentValue,   setDefaultTextProperties
Methods from org.apache.poi.hslf.model.TextShape:
afterInsert,   createTextRun,   draw,   getEscherTextboxWrapper,   getHorizontalAlignment,   getMarginBottom,   getMarginLeft,   getMarginRight,   getMarginTop,   getPlaceholderAtom,   getText,   getTextId,   getTextRun,   getVerticalAlignment,   getWordWrap,   initTextRun,   resizeToFitText,   setDefaultTextProperties,   setHorizontalAlignment,   setMarginBottom,   setMarginLeft,   setMarginRight,   setMarginTop,   setSheet,   setText,   setTextId,   setVerticalAlignment,   setWordWrap
Methods from org.apache.poi.hslf.model.SimpleShape:
createSpContainer,   draw,   getClientDataRecord,   getFillColor,   getFlipHorizontal,   getFlipVertical,   getLineColor,   getLineDashing,   getLineStyle,   getLineWidth,   getLogicalAnchor2D,   getRotation,   setFillColor,   setLineColor,   setLineDashing,   setLineStyle,   setLineWidth
Methods from org.apache.poi.hslf.model.Shape:
afterInsert,   createSpContainer,   draw,   getAnchor,   getAnchor2D,   getColor,   getEscherChild,   getEscherProperty,   getEscherProperty,   getEscherProperty,   getFill,   getHyperlink,   getLogicalAnchor2D,   getOutline,   getParent,   getShapeId,   getShapeName,   getShapeType,   getSheet,   getSpContainer,   moveTo,   setAnchor,   setEscherProperty,   setEscherProperty,   setShapeId,   setShapeType,   setSheet
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hslf.model.AutoShape Detail:
 protected EscherContainerRecord createSpContainer(int shapeType,
    boolean isChild) 
 public int getAdjustmentValue(int idx) 
    Gets adjust value which controls smart resizing of the auto-shape.

    The adjustment values are given in shape coordinates: the origin is at the top-left, positive-x is to the right, positive-y is down. The region from (0,0) to (S,S) maps to the geometry box of the shape (S=21600 is a constant).

 public Shape getOutline() 
 public  void setAdjustmentValue(int idx,
    int val) 
    Sets adjust value which controls smart resizing of the auto-shape.

    The adjustment values are given in shape coordinates: the origin is at the top-left, positive-x is to the right, positive-y is down. The region from (0,0) to (S,S) maps to the geometry box of the shape (S=21600 is a constant).

 protected  void setDefaultTextProperties(TextRun _txtrun)