Package org.apache.poi.hssf.usermodel
Class HSSFAnchor
- java.lang.Object
-
- org.apache.poi.hssf.usermodel.HSSFAnchor
-
- All Implemented Interfaces:
ChildAnchor
- Direct Known Subclasses:
HSSFChildAnchor
,HSSFClientAnchor
public abstract class HSSFAnchor extends Object implements ChildAnchor
An anchor is what specifics the position of a shape within a client object or within another containing shape.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
_isHorizontallyFlipped
protected boolean
_isVerticallyFlipped
-
Constructor Summary
Constructors Constructor Description HSSFAnchor()
HSSFAnchor(int dx1, int dy1, int dx2, int dy2)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static HSSFAnchor
createAnchorFromEscher(EscherContainerRecord container)
protected abstract void
createEscherAnchor()
protected abstract EscherRecord
getEscherAnchor()
abstract boolean
isHorizontallyFlipped()
abstract boolean
isVerticallyFlipped()
-
-
-
Method Detail
-
createAnchorFromEscher
public static HSSFAnchor createAnchorFromEscher(EscherContainerRecord container)
-
isHorizontallyFlipped
public abstract boolean isHorizontallyFlipped()
- Returns:
- whether this shape is horizontally flipped
-
isVerticallyFlipped
public abstract boolean isVerticallyFlipped()
- Returns:
- whether this shape is vertically flipped
-
getEscherAnchor
protected abstract EscherRecord getEscherAnchor()
-
createEscherAnchor
protected abstract void createEscherAnchor()
-
-