Class SlideLayoutPart
java.lang.Object
org.docx4j.openpackaging.Base
org.docx4j.openpackaging.parts.Part
org.docx4j.openpackaging.parts.JaxbXmlPart<E>
org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware<E>
org.docx4j.openpackaging.parts.PresentationML.JaxbPmlPart<SldLayout>
org.docx4j.openpackaging.parts.PresentationML.SlideLayoutPart
- All Implemented Interfaces:
XPathEnabled<SldLayout>
public final class SlideLayoutPart extends JaxbPmlPart<SldLayout>
-
Field Summary
Fields inherited from class org.docx4j.openpackaging.parts.PresentationML.JaxbPmlPart
COLOR_MAPPING, COMMON_SLIDE_DATA, log, randomFields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware
binderFields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
jaxbElement, jc, MAX_BYTES_Unmarshal_ErrorFields inherited from class org.docx4j.openpackaging.Base
contentType, partName, relationships -
Constructor Summary
Constructors Constructor Description SlideLayoutPart()SlideLayoutPart(PartName partName) -
Method Summary
Modifier and Type Method Description static SldLayoutcreateSldLayout()java.util.Map<java.lang.String,ShapeWrapper>getIndexedPlaceHolders()ResolvedLayoutgetResolvedLayout()SlideMasterPartgetSlideMasterPart()voidinit()voidmarshal(java.io.OutputStream os, java.lang.Object namespacePrefixMapper)Marshal the content tree rooted at jaxbElement into an output streamprotected voidsetMceIgnorable(McIgnorableNamespaceDeclarator namespacePrefixMapper)Where the mc:Ignorable attribute is present, ensure its contents matches the ignorable namespaces actually present.booleansetPartShortcut(Part part)booleansetPartShortcut(Part part, java.lang.String relationshipType)Tell the source Part about this target Part, so the source can use this part via a convenience method.Methods inherited from class org.docx4j.openpackaging.parts.PresentationML.JaxbPmlPart
getSlideId, getSlideLayoutOrMasterId, newPartForContentTypeMethods 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, getConfiguredUnmarshaller, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, inputStreamToXSR, isContentEqual, isUnmarshalled, marshal, marshal, marshal, pipe, pipe, pipe, preprocess, setContents, setJAXBContext, setJaxbElement, transform, transformToDom, variableReplaceMethods inherited from class org.docx4j.openpackaging.parts.Part
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setRelationshipType, setSourceRelationship, setVersionMethods inherited from class org.docx4j.openpackaging.Base
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SlideLayoutPart
- Throws:
InvalidFormatException
-
SlideLayoutPart
- Throws:
InvalidFormatException
-
-
Method Details
-
init
public void init() -
setMceIgnorable
Description copied from class:JaxbXmlPartWhere the mc:Ignorable attribute is present, ensure its contents matches the ignorable namespaces actually present.- Overrides:
setMceIgnorablein classJaxbXmlPart<SldLayout>
-
getSlideMasterPart
-
setPartShortcut
-
setPartShortcut
Description copied from class:BaseTell the source Part about this target Part, so the source can use this part via a convenience method.- Overrides:
setPartShortcutin classPart- Returns:
- true if the source Part does use the target Part in a convenience method.
-
getResolvedLayout
-
createSldLayout
- Throws:
jakarta.xml.bind.JAXBException
-
getIndexedPlaceHolders
-
marshal
public void marshal(java.io.OutputStream os, java.lang.Object namespacePrefixMapper) throws jakarta.xml.bind.JAXBExceptionMarshal the content tree rooted at jaxbElement into an output stream- Overrides:
marshalin classJaxbXmlPart<SldLayout>- Parameters:
os- XML will be added to this stream.namespacePrefixMapper- namespacePrefixMapper- Throws:
jakarta.xml.bind.JAXBException- If any unexpected problem occurs during the marshalling.
-