public class Dxf extends Object implements OOXMLElement
| Constructor and Description |
|---|
Dxf() |
Dxf(Dxf d) |
Dxf(Font fnt,
NumFmt nf,
Fill f,
Alignment a,
Border b,
WorkBookHandle wbh) |
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
void |
createBorder(WorkBookHandle bk,
int[] styles,
int[] colors)
for BIFF8->OOXML Compatiblity, create a dxf from Cf style info
|
void |
createFill(int fs,
int fg,
int bg,
WorkBookHandle bk)
for BIFF8->OOXML Compatiblity, create a dxf from Cf style info
|
void |
createFont(int w,
boolean i,
int ustyle,
int cl,
int h)
for BIFF8->OOXML Compatiblity, create a dxf from Cf style info
|
int |
getBg() |
String |
getBgColorAsString() |
int[] |
getBorderColors() |
int[] |
getBorderSizes() |
int[] |
getBorderStyles() |
int |
getFg() |
Fill |
getFill()
returns the OOXML Fill element
|
int |
getFillPatternInt() |
Font |
getFont()
returns the Font for ths dxf, if any
|
int |
getFontColor() |
int |
getFontHeight() |
String |
getFontName() |
int |
getFontUnderline() |
int |
getFontWeight() |
String |
getHorizontalAlign() |
String |
getNumberFormat() |
String |
getOOXML() |
String |
getStyleProps()
return a String representation of this Dxf in "style properties" notation
|
String |
getVerticalAlign() |
boolean |
isItalic() |
boolean |
isStriken() |
static OOXMLElement |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
WorkBookHandle bk) |
void |
setFill(Fill f)
Sets the fill for this dxf from an existing Fill element
|
void |
setFont(Font f)
Sts the Font for this dxf from an existing Font
|
public Dxf(Dxf d)
public Dxf()
public static OOXMLElement parseOOXML(org.xmlpull.v1.XmlPullParser xpp, WorkBookHandle bk)
public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public int[] getBorderColors()
public int[] getBorderStyles()
public int[] getBorderSizes()
public boolean isStriken()
public int getFg()
public int getFillPatternInt()
public Fill getFill()
public int getBg()
public String getBgColorAsString()
public String getHorizontalAlign()
public String getVerticalAlign()
public String getNumberFormat()
public Font getFont()
public int getFontHeight()
public int getFontWeight()
public String getFontName()
public int getFontColor()
public boolean isItalic()
public int getFontUnderline()
public String getStyleProps()
Cf.setStylePropsFromStringpublic void createFont(int w,
boolean i,
int ustyle,
int cl,
int h)
public void setFill(Fill f)
f - public void setFont(Font f)
f - public void createFill(int fs,
int fg,
int bg,
WorkBookHandle bk)
public void createBorder(WorkBookHandle bk, int[] styles, int[] colors)
public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()Copyright © 2002–2019 Starter Inc.. All rights reserved.