public class XSLFSlideShow extends POIXMLDocument
XMLSlideShow
instead. If you are using these low level classes, then you will almost certainly need to refer to the OOXML specifications from http://www.ecma-international.org/publications/standards/Ecma-376.htm WARNING - APIs expected to change rapidly
(对 pptx 文件进行低级处理的实验类。大多数用户应该改用更高级别的 XMLSlideShow。如果您使用这些低级类,那么您几乎肯定需要参考 http://www.ecma-international.org/publications/standards/Ecma-376.htm 中的 OOXML 规范 警告 - API 预计会迅速变化)
POIXMLDocumentPart.RelationPart
DOCUMENT_CREATOR, OLE_OBJECT_REL_TYPE, PACK_OBJECT_REL_TYPE
Constructor and Description |
---|
XSLFSlideShow(OPCPackage container) |
XSLFSlideShow(java.lang.String file) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PackagePart> |
getAllEmbeddedParts()
Get the document's embedded files.
(获取文档的嵌入文件。)
|
PackagePart |
getNodesPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry parentSlide)
Gets the PackagePart of the notes for the given slide, or null if there isn't one.
(获取给定幻灯片的注释的 PackagePart,如果没有,则为 null。)
|
org.openxmlformats.schemas.presentationml.x2006.main.CTNotesSlide |
getNotes(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide)
Returns the low level notes object for the given slide, as found from the supplied slide reference
(返回给定幻灯片的低级注释对象,从提供的幻灯片参考中找到)
|
org.openxmlformats.schemas.presentationml.x2006.main.CTPresentation |
getPresentation()
Returns the low level presentation base object
(返回低级表示基础对象)
|
org.openxmlformats.schemas.presentationml.x2006.main.CTSlide |
getSlide(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide)
Returns the low level slide object from the supplied slide reference
(从提供的幻灯片引用返回低级幻灯片对象)
|
org.openxmlformats.schemas.presentationml.x2006.main.CTCommentList |
getSlideComments(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide)
Returns all the comments for the given slide
(返回给定幻灯片的所有评论)
|
org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMaster |
getSlideMaster(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master)
Returns the low level slide master object from the supplied slide master reference
(从提供的幻灯片母版引用返回低级幻灯片母版对象)
|
PackagePart |
getSlideMasterPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master) |
org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdList |
getSlideMasterReferences()
Returns the references from the presentation to its slide masters.
(将演示文稿中的引用返回到其幻灯片母版。)
|
PackagePart |
getSlidePart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) |
org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdList |
getSlideReferences()
Returns the references from the presentation to its slides.
(将演示文稿中的引用返回到其幻灯片。)
|
close, getCorePart, getPackage, getProperties, getRelatedByType, load, openPackage, write
_invokeOnDocumentRead, addRelation, commit, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommitted, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommitted, toString
public XSLFSlideShow(OPCPackage container) throws OpenXML4JException, java.io.IOException, org.apache.xmlbeans.XmlException
OpenXML4JException
(OpenXML4JException)
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
public XSLFSlideShow(java.lang.String file) throws OpenXML4JException, java.io.IOException, org.apache.xmlbeans.XmlException
OpenXML4JException
(OpenXML4JException)
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTPresentation getPresentation()
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdList getSlideReferences()
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdList getSlideMasterReferences()
public PackagePart getSlideMasterPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMaster getSlideMaster(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
public PackagePart getSlidePart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlide getSlide(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
public PackagePart getNodesPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry parentSlide) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTNotesSlide getNotes(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTCommentList getSlideComments(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
public java.util.List<PackagePart> getAllEmbeddedParts() throws OpenXML4JException
getAllEmbeddedParts
in class
POIXMLDocument
(类 POIXMLDocument 中的 getAllEmbeddedParts)
OpenXML4JException
- if the embedded parts can't be determined
(OpenXML4JException - 如果无法确定嵌入的部分)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.