Class AlteredParts
java.lang.Object
org.docx4j.openpackaging.parts.relationships.AlteredParts
Output is Flat OPC XML format:
<pkg:part pkg:name="/word/document.xml" pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml">
<pkg:xmlData>
<w:document
and
<pkg:part pkg:name="/word/_rels/document.xml.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="256">
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddPartsForRels(List<AlteredParts.Alteration> list, List<Relationship> rels, RelationshipsPart rp) private static voidaddTree(List<AlteredParts.Alteration> list, RelationshipsPart rp) static voidrecurse(AlteredParts.Alterations alterations, RelationshipsPart thisRP, RelationshipsPart otherRP) static AlteredParts.Alterationsstart(WordprocessingMLPackage thisPackage, WordprocessingMLPackage otherPackage) private static ParttoStorageFormat(Part part)
-
Field Details
-
log
private static org.slf4j.Logger log
-
-
Constructor Details
-
AlteredParts
public AlteredParts()
-
-
Method Details
-
start
public static AlteredParts.Alterations start(WordprocessingMLPackage thisPackage, WordprocessingMLPackage otherPackage) throws Docx4JException - Throws:
Docx4JException
-
recurse
public static void recurse(AlteredParts.Alterations alterations, RelationshipsPart thisRP, RelationshipsPart otherRP) throws Docx4JException - Throws:
Docx4JException
-
addPartsForRels
private static void addPartsForRels(List<AlteredParts.Alteration> list, List<Relationship> rels, RelationshipsPart rp) throws Docx4JException - Throws:
Docx4JException
-
addTree
private static void addTree(List<AlteredParts.Alteration> list, RelationshipsPart rp) throws Docx4JException - Parameters:
alteredParts-theseRels-- Throws:
Docx4JException
-
toStorageFormat
- Throws:
Docx4JException
-