Package org.docx4j.model.datastorage
Class CustomXmlDataStoragePartSelector
java.lang.Object
org.docx4j.model.datastorage.CustomXmlDataStoragePartSelector
Mechanism to find the user's XML data part
(typically to replace it with the runtime
instance XML data).
- Since:
- 3.0.1
- Author:
- jharrop
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomXmlPartgetCustomXmlDataStoragePart(WordprocessingMLPackage wordMLPackage) We need the item id of the custom xml part.
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
CustomXmlDataStoragePartSelector
public CustomXmlDataStoragePartSelector()
-
-
Method Details
-
getCustomXmlDataStoragePart
public static CustomXmlPart getCustomXmlDataStoragePart(WordprocessingMLPackage wordMLPackage) throws Docx4JException We need the item id of the custom xml part. It skips coverPageProps, properties and core-properties parts.- Parameters:
wordMLPackage-- Returns:
- Throws:
Docx4JException
-