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(Object obj) |
int |
getDx1() |
int |
getDx2() |
int |
getDy1() |
int |
getDy2() |
protected EscherRecord |
getEscherAnchor() |
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()
getDx1 in class HSSFAnchorpublic void setDx1(int dx1)
setDx1 in class HSSFAnchordx1 - x coordinate of the left up cornerpublic int getDy1()
getDy1 in class HSSFAnchorpublic void setDy1(int dy1)
setDy1 in class HSSFAnchordy1 - y coordinate of the left up cornerpublic int getDy2()
getDy2 in class HSSFAnchorpublic void setDy2(int dy2)
setDy2 in class HSSFAnchordy2 - y coordinate of the right down cornerpublic int getDx2()
getDx2 in class HSSFAnchorpublic void setDx2(int dx2)
setDx2 in class HSSFAnchordx2 - 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 HSSFAnchorCopyright © 2020. All rights reserved.