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) |
createAnchorFromEscher
public HSSFChildAnchor(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 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
public int hashCode()
hashCode
in class java.lang.Object
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.