| Package | Description |
|---|---|
| io.starter.formats.OOXML | |
| io.starter.formats.XLS |
| Modifier and Type | Field and Description |
|---|---|
Theme |
ColorChoice.theme |
| Modifier and Type | Method and Description |
|---|---|
static Theme |
Theme.parseThemeOOXML(WorkBookHandle bk,
InputStream ii) |
| Modifier and Type | Method and Description |
|---|---|
int |
Fill.getBgColorAsInt(Theme t)
return the bg color in indexed (int) representation
|
String |
Fill.getBgColorAsRGB(Theme t)
return the bg color of this fill, if any
|
int |
Fill.getFgColorAsInt(Theme t)
return the fg color in indexed (int) representation
|
String |
Fill.getFgColorAsRGB(Theme t)
return the foreground color of this fill, if any
|
static String |
Color.parseColor(String val,
int colortype,
short type,
Theme t)
static version of parseColor --takes a color value of OOXML type type
COLORTYPERBG, COLORTYPEINDEXED or COLORTYPETHEME and returns the |
static int |
Color.parseColorInt(String val,
int colortype,
short type,
Theme t)
static version of parseColor --takes a color value of OOXML type type
COLORTYPERBG, COLORTYPEINDEXED or COLORTYPETHEME and returns the indexed color int it represents |
static Object[] |
Color.parseThemeColor(String colorval,
double tint,
short type,
Theme t)
interprets theme colorval and tint
TODO: read in theme colors from theme1.xml
|
| Constructor and Description |
|---|
Color(Color c,
String element,
Theme t)
creates a new Color object based upon a java.awt.Color
|
Color(String element,
boolean auto,
int colortype,
String colorval,
double tint,
short type,
Theme t) |
Color(String clr,
String element,
Theme t)
creates a new Color object based upon a web-compliant Hex Color string
|
Fill(int pattern,
int fg,
String fgColorCustom,
int bg,
String bgColorCustom,
Theme t)
create a new Fill from external vals
|
Fill(io.starter.formats.OOXML.PatternFill p,
io.starter.formats.OOXML.GradientFill g,
Theme t) |
Fill(String fs,
int fg,
int bg,
Theme t)
create a new Fill from external vals
|
| Modifier and Type | Method and Description |
|---|---|
Theme |
WorkBook.getTheme()
return the OOXML theme for this workbook, if any
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkBook.setTheme(Theme t)
sets the OOXML theme for this 2007 verison workbook
|
Copyright © 2002–2019 Starter Inc.. All rights reserved.