Package org.docx4j.openpackaging.io3
Class Save
java.lang.Object
org.docx4j.openpackaging.io3.Save
- Direct Known Subclasses:
SaveSlides
public class Save
extends java.lang.Object
Save a Package object using the PartStore
defined on the package.
- Since:
- 3.0
- Author:
- jharrop
-
Field Summary
Fields Modifier and Type Field Description protected java.util.HashMap<java.lang.String,java.lang.String>handledThis HashMap is intended to prevent loops.OpcPackagep -
Constructor Summary
Constructors Constructor Description Save(OpcPackage p)Save(OpcPackage p, PartStore targetPartStore) -
Method Summary
Modifier and Type Method Description voidaddPartsFromRelationships(RelationshipsPart rp)booleansave(java.io.OutputStream realOS)voidsavePart(Part part)voidsaveRawXmlPart(Part part)
-
Field Details
-
Constructor Details
-
Method Details
-
save
- Parameters:
realOS- - responsibility of the caller to close this.- Returns:
- Throws:
Docx4JException
-
saveRawXmlPart
- Throws:
Docx4JException
-
addPartsFromRelationships
- Throws:
Docx4JException
-
savePart
- Parameters:
out-resolvedPartUri-part-- Throws:
Docx4JExceptionjava.io.IOException
-