public class Ln extends Object implements OOXMLElement
| Constructor and Description |
|---|
Ln() |
Ln(HashMap<String,String> attrs,
FillGroup fill,
io.starter.formats.OOXML.JoinGroup join,
io.starter.formats.OOXML.DashGroup dash,
io.starter.formats.OOXML.HeadEnd h,
io.starter.formats.OOXML.TailEnd t) |
Ln(int w,
String clr)
create a new solid line in width w with color clr
|
Ln(Ln l) |
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
int |
getColor() |
int |
getLineStyle()
convert 2007 preset dasing scheme to 2003 line stype
0= solid, 1= dash, 2= dot, 3= dash-dot,4= dash dash-dot, 5= none, 6= dk gray pattern, 7= med. |
String |
getOOXML() |
int |
getWidth()
return line width in 2003-style units, 0 for none
|
static OOXMLElement |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Stack<String> lastTag,
WorkBookHandle bk) |
void |
setColor(String clr) |
void |
setWidth(int w)
set the line width
|
public Ln(int w,
String clr)
w - int specifies the width of a line in EMUs. 1 pt = 12700 EMUsclr - String hex color without the #public Ln()
public Ln(HashMap<String,String> attrs, FillGroup fill, io.starter.formats.OOXML.JoinGroup join, io.starter.formats.OOXML.DashGroup dash, io.starter.formats.OOXML.HeadEnd h, io.starter.formats.OOXML.TailEnd t)
public Ln(Ln l)
public static OOXMLElement parseOOXML(org.xmlpull.v1.XmlPullParser xpp, Stack<String> lastTag, WorkBookHandle bk)
public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()public void setWidth(int w)
w - public int getWidth()
public int getColor()
public void setColor(String clr)
public int getLineStyle()
Copyright © 2002–2019 Starter Inc.. All rights reserved.