@Beta public class XSLFTheme extends org.apache.poi.ooxml.POIXMLDocumentPart
Constructor and Description |
---|
XSLFTheme(PackagePart part) |
Modifier and Type | Method and Description |
---|---|
CTColor |
getCTColor(String name)
Get a color from the theme's color scheme by name
|
String |
getMajorFont() |
String |
getMinorFont() |
String |
getName() |
CTOfficeStyleSheet |
getXmlObject()
While developing only!
|
void |
importTheme(XSLFTheme theme) |
void |
setName(String name)
Set name of this theme
|
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommited, isCommitted, setCommited, setCommitted, toString
public XSLFTheme(PackagePart part) throws IOException, XmlException
IOException
XmlException
public void importTheme(XSLFTheme theme)
public String getName()
public void setName(String name)
name
- name of this theme@Internal public CTColor getCTColor(String name)
null
if not found@Internal public CTOfficeStyleSheet getXmlObject()
public String getMajorFont()
public String getMinorFont()
Copyright © 2010 - 2020 Adobe. All Rights Reserved