public final class HSSFChildAnchor extends HSSFAnchor
_isHorizontallyFlipped, _isVerticallyFlipped| Constructor and Description |
|---|
HSSFChildAnchor() |
HSSFChildAnchor(EscherChildAnchorRecord escherChildAnchorRecord)
create anchor from existing file
|
HSSFChildAnchor(int dx1,
int dy1,
int dx2,
int dy2)
create anchor from scratch
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createEscherAnchor() |
boolean |
equals(java.lang.Object obj) |
int |
getDx1() |
int |
getDx2() |
int |
getDy1() |
int |
getDy2() |
protected EscherRecord |
getEscherAnchor() |
int |
hashCode() |
boolean |
isHorizontallyFlipped() |
boolean |
isVerticallyFlipped() |
void |
setAnchor(int dx1,
int dy1,
int dx2,
int dy2) |
void |
setDx1(int dx1) |
void |
setDx2(int dx2) |
void |
setDy1(int dy1) |
void |
setDy2(int dy2) |
createAnchorFromEscherpublic HSSFChildAnchor(EscherChildAnchorRecord escherChildAnchorRecord)
escherChildAnchorRecord - public HSSFChildAnchor()
public HSSFChildAnchor(int dx1,
int dy1,
int dx2,
int dy2)
dx1 - x coordinate of the left up cornerdy1 - y coordinate of the left up cornerdx2 - x coordinate of the right down cornerdy2 - y coordinate of the right down cornerpublic int getDx1()
public void setDx1(int dx1)
dx1 - x coordinate of the left up cornerpublic int getDy1()
public void setDy1(int dy1)
dy1 - y coordinate of the left up cornerpublic int getDy2()
public void setDy2(int dy2)
dy2 - y coordinate of the right down cornerpublic int getDx2()
public void setDx2(int dx2)
dx2 - x coordinate of the right down cornerpublic void setAnchor(int dx1,
int dy1,
int dx2,
int dy2)
dx1 - x coordinate of the left up cornerdy1 - y coordinate of the left up cornerdx2 - x coordinate of the right down cornerdy2 - y coordinate of the right down cornerpublic boolean isHorizontallyFlipped()
isHorizontallyFlipped in class HSSFAnchorpublic boolean isVerticallyFlipped()
isVerticallyFlipped in class HSSFAnchorprotected EscherRecord getEscherAnchor()
getEscherAnchor in class HSSFAnchorprotected void createEscherAnchor()
createEscherAnchor in class HSSFAnchorpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright 2018 The Apache Software Foundation or its licensors, as applicable.