public final class Layout extends Object implements OOXMLElement
| Constructor and Description |
|---|
Layout(String target,
double[] offs)
create a new plot area Layout/manual layout element
note that the layout is calculated via "edge" i.e the w and h are the bottom and right edges |
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
float[] |
getCoords()
return manual layout coords
TODO: interpret xMode, yMode, hMode, wMode
|
String |
getOOXML()
generate ooxml to define a layout
|
static String |
getOOXML(double[] offs)
static version for 2003-style charts, takes offsets and creates a layout element
|
static OOXMLElement |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Stack<String> lastTag)
parse title OOXML element title
|
public Layout(String target, double[] offs)
target - "inner" or "outer" offs - x, y, w, h as a fraction of the width or height of the actual chartpublic float[] getCoords()
public static OOXMLElement parseOOXML(org.xmlpull.v1.XmlPullParser xpp, Stack<String> lastTag)
xpp - XmlPullParserlastTag - element stackpublic String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()public static String getOOXML(double[] offs)
offs - int offsets of chartCopyright © 2002–2019 Starter Inc.. All rights reserved.