Package org.apache.poi.xslf.usermodel
Class XSLFTheme
java.lang.Object
org.apache.poi.ooxml.POIXMLDocumentPart
org.apache.poi.xslf.usermodel.XSLFTheme
A shared style sheet in a .pptx slide show
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCTColor(String name) Get a color from the theme's color scheme by namegetName()While developing only!voidimportTheme(XSLFTheme theme) voidSet name of this themeMethods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommitted, setCommitted, toString
-
Constructor Details
-
XSLFTheme
- Throws:
IOExceptionXmlException- Since:
- POI 3.14-Beta1
-
-
Method Details
-
importTheme
-
getName
- Returns:
- name of this theme, e.g. "Office Theme"
-
setName
Set name of this theme- Parameters:
name- name of this theme
-
getCTColor
Get a color from the theme's color scheme by name- Returns:
- a theme color or
nullif not found
-
getXmlObject
While developing only! -
getMajorFont
- Returns:
- typeface of the major font to use in a document. Typically the major font is used for heading areas of a document.
-
getMinorFont
- Returns:
- typeface of the minor font to use in a document. Typically the monor font is used for normal text or paragraph areas.
-