org.apache.poi.xssf.model
Class ThemesTable
java.lang.Object
org.apache.poi.POIXMLDocumentPart
org.apache.poi.xssf.model.ThemesTable
public class ThemesTable
- extends POIXMLDocumentPart
Class that represents theme of XLSX document. The theme includes specific
colors and fonts.
- Author:
- Petr Udalau(Petr.Udalau at exigenservices.com) - theme colors
Methods inherited from class org.apache.poi.POIXMLDocumentPart |
addRelation, commit, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelations, onDocumentCreate, onDocumentRead, onSave, read, rebase, removeRelation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThemesTable
public ThemesTable(PackagePart part,
PackageRelationship rel)
throws java.lang.Exception
- Throws:
java.lang.Exception
ThemesTable
public ThemesTable(org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument theme)
getThemeColor
public XSSFColor getThemeColor(int idx)
inheritFromThemeAsRequired
public void inheritFromThemeAsRequired(XSSFColor color)
- If the colour is based on a theme, then inherit
information (currently just colours) from it as
required.
Copyright 2011 The Apache Software Foundation or
its licensors, as applicable.