public final class MainPresentationPart extends JaxbPmlPart<Presentation>
COLOR_MAPPING, COMMON_SLIDE_DATA, log, randombinderjaxbElement, jc, MAX_BYTES_Unmarshal_ErrorcontentType, partName, relationships| Constructor and Description |
|---|
MainPresentationPart() |
MainPresentationPart(PartName partName) |
getSlideId, getSlideLayoutOrMasterId, newPartForContentTypecreateBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshaladdMcChoiceNamespace, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, variableReplacegetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDatapublic MainPresentationPart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic MainPresentationPart()
throws InvalidFormatException
InvalidFormatExceptionpublic void init()
public boolean setPartShortcut(Part part)
public boolean setPartShortcut(Part part, String relationshipType)
BasesetPartShortcut in class Partpublic CommentAuthorsPart getCommentAuthorsPart()
public static Presentation.SldSz createSlideSize(SlideSizesWellKnown sz, boolean landscape)
public static Presentation createJaxbPresentationElement() throws JAXBException
JAXBExceptionpublic static Presentation createJaxbPresentationElement(SlideSizesWellKnown sz, boolean landscape) throws JAXBException
JAXBExceptionpublic Presentation.SldIdLst.SldId addSlideIdListEntry(SlidePart slidePart) throws InvalidFormatException
slidePart - InvalidFormatException@Deprecated public Presentation.SldIdLst.SldId addSlideIdListEntry(SlidePart slidePart, RelationshipsPart.AddPartBehaviour mode) throws InvalidFormatException
InvalidFormatExceptionpublic Presentation.SldMasterIdLst.SldMasterId addSlideMasterIdListEntry(SlideMasterPart slideMasterPart) throws InvalidFormatException
InvalidFormatExceptionpublic boolean addSlide(SlidePart slidePart) throws Pptx4jException
slidePart - Pptx4jExceptionpublic void addSlide(int index,
SlidePart slidePart)
throws Pptx4jException
index - slidePart - Pptx4jExceptionpublic void removeSlide(int index)
throws Pptx4jException
index - Pptx4jExceptionpublic void removeSlide(Relationship rel) throws Pptx4jException
rel - Pptx4jExceptionpublic SlidePart getSlide(int index) throws Pptx4jException
index - Pptx4jExceptionpublic List<SlidePart> getSlideParts() throws Pptx4jException
Pptx4jExceptionpublic int getSlideCount()
throws Pptx4jException
index - Pptx4jExceptionCopyright © 2007-2019. All Rights Reserved.