Package org.docx4j.openpackaging.parts
Class ThemePart
java.lang.Object
org.docx4j.openpackaging.Base
org.docx4j.openpackaging.parts.Part
org.docx4j.openpackaging.parts.JaxbXmlPart<E>
org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware<Theme>
org.docx4j.openpackaging.parts.ThemePart
- All Implemented Interfaces:
XPathEnabled<Theme>
public final class ThemePart extends JaxbXmlPartXPathAware<Theme>
-
Field Summary
Fields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
jaxbElement, jc, MAX_BYTES_Unmarshal_Error -
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringgetFont(STTheme type, CTLanguage themeFontLang)java.lang.StringgetFontFromTheme(STTheme type)BaseStyles.FontSchemegetFontScheme()TextFontgetMajorLatin()voidinit()Methods inherited from class org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware
createBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshalMethods inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
addMcChoiceNamespace, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, variableReplaceMethods inherited from class org.docx4j.openpackaging.parts.Part
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionMethods inherited from class org.docx4j.openpackaging.Base
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserData
-
Constructor Details
-
ThemePart
- Throws:
InvalidFormatException
-
ThemePart
- Throws:
InvalidFormatException
-
-
Method Details
-
init
public void init() -
getFontScheme
-
getMajorLatin
- Throws:
Docx4JException
-
getFontFromTheme
- Throws:
Docx4JException
-
getFont
- Throws:
Docx4JException
-