public class Theme extends Object implements OOXMLElement
| Modifier and Type | Field and Description |
|---|---|
String[] |
genericThemeClrs
Generic "Office" Color Scheme TODO: Read from theme1.xml
12 colors: 2 darks, 2 lights, 6 accents, 2 hyperlinks
NOTE: APPEARS that 1st 4 are "swapped" so in theme1.xml
dk1 is index 0, then lt1, dk2, lt2
but appears to be a known bug (or a known mystery) that
one must swap the 1st two pairs
|
| Constructor and Description |
|---|
Theme() |
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
String |
getOOXML() |
void |
parseOOXML(WorkBookHandle bk,
InputStream ii)
given Theme OOXML inputstream, retrieve theme colors for later use
This element holds all the different formatting options available to a document through a theme and defines the overall look
and feel of the document when themed objects are used within the document.
|
static Theme |
parseThemeOOXML(WorkBookHandle bk,
InputStream ii) |
public String[] genericThemeClrs
public static Theme parseThemeOOXML(WorkBookHandle bk, InputStream ii)
public void parseOOXML(WorkBookHandle bk, InputStream ii)
bk - WorkBookHandleii - InputStreamparseSheetOOXMLpublic OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()Copyright © 2002–2019 Starter Inc.. All rights reserved.