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() |
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) |
createAnchorFromEscher
public 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 HSSFAnchor
public void setDx1(int dx1)
setDx1
in class HSSFAnchor
dx1
- x coordinate of the left up cornerpublic int getDy1()
getDy1
in class HSSFAnchor
public void setDy1(int dy1)
setDy1
in class HSSFAnchor
dy1
- y coordinate of the left up cornerpublic int getDy2()
getDy2
in class HSSFAnchor
public void setDy2(int dy2)
setDy2
in class HSSFAnchor
dy2
- y coordinate of the right down cornerpublic int getDx2()
getDx2
in class HSSFAnchor
public void setDx2(int dx2)
setDx2
in class HSSFAnchor
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 HSSFAnchor
public boolean isVerticallyFlipped()
isVerticallyFlipped
in class HSSFAnchor
protected EscherRecord getEscherAnchor()
getEscherAnchor
in class HSSFAnchor
protected void createEscherAnchor()
createEscherAnchor
in class HSSFAnchor
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.