public class ThemesTable extends POIXMLDocumentPart
DEFAULT_XML_OPTIONS| Constructor | Description |
|---|---|
ThemesTable(PackagePart part,
PackageRelationship rel) |
Construct a ThemesTable.
|
ThemesTable(org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument theme) |
Construct a ThemesTable from an existing ThemeDocument.
|
| Modifier and Type | Method | Description |
|---|---|---|
XSSFColor |
getThemeColor(int idx) |
Convert a theme "index" into a color.
|
void |
inheritFromThemeAsRequired(XSSFColor color) |
If the colour is based on a theme, then inherit
information (currently just colours) from it as
required.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddRelation, commit, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toStringpublic ThemesTable(PackagePart part, PackageRelationship rel) throws java.io.IOException
part - A PackagePart.rel - A PackageRelationship.java.io.IOExceptionpublic ThemesTable(org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument theme)
theme - A ThemeDocument.public XSSFColor getThemeColor(int idx)
idx - A theme "index"public void inheritFromThemeAsRequired(XSSFColor color)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.