|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.powerml.structures.text.TextLayout
Represents the layout of a text relative to the containing shape.
| Field Summary | |
static byte |
ANCHOR_BOTTOM
Bottom anchor point for shape text |
static byte |
ANCHOR_BOTTOM_CENTERED
Bpttom centered anchor point for shape text |
static byte |
ANCHOR_MIDDLE
Middle anchor point for shape text |
static byte |
ANCHOR_MIDDLE_CENTERED
Middle centered anchor point for shape text |
static byte |
ANCHOR_TOP
Top anchor point for shape text |
static byte |
ANCHOR_TOP_CENTERED
Top centered anchor point for shape text |
| Method Summary | |
void |
addXml(org.dom4j.Element parent)
Transforms current instance to XML and adds it to a parent element. |
byte |
getAnchorPoint()
Returns the anchor point (one of the ANCHOR_... |
short |
getBottomMargin()
Returns the bottom margin in pmu (PowerPoint master units, 576 pmu = 1"). |
short |
getLeftMargin()
Returns the left margin in pmu (PowerPoint master units, 576 pmu = 1"). |
short |
getRightMargin()
Returns the right margin in pmu (PowerPoint master units, 576 pmu = 1"). |
short |
getTopMargin()
Returns the top margin in pmu (PowerPoint master units, 576 pmu = 1"). |
boolean |
isRotate()
Checks the rotate flag (if set, text is rotated by 90 degrees). |
boolean |
isWordWrap()
Checks the word wrap flag. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte ANCHOR_BOTTOM
public static final byte ANCHOR_BOTTOM_CENTERED
public static final byte ANCHOR_MIDDLE
public static final byte ANCHOR_MIDDLE_CENTERED
public static final byte ANCHOR_TOP
public static final byte ANCHOR_TOP_CENTERED
| Method Detail |
public void addXml(org.dom4j.Element parent)
parent - parent elementpublic byte getAnchorPoint()
ANCHOR_... constants).
public short getBottomMargin()
public short getLeftMargin()
public short getRightMargin()
public short getTopMargin()
public boolean isRotate()
public boolean isWordWrap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||