Interface DocxPart
- All Known Implementing Classes:
TextualDocxPart
public interface DocxPart
Represents a part of a WordprocessingML-based document. This interface extends the DocxDocument interface and
provides additional methods to retrieve specific parts, manipulate document content, and stream elements such as
paragraphs and runs.
-
Method Summary
Modifier and TypeMethodDescriptioncontent()Retrieves the content of the WordprocessingML-based document as a list of objects.org.docx4j.openpackaging.packages.WordprocessingMLPackagedocument()Retrieves theWordprocessingMLPackagerepresenting the entire document.org.docx4j.openpackaging.parts.Partpart()Retrieves the part of the WordprocessingML-based document.
-
Method Details
-
part
org.docx4j.openpackaging.parts.Part part()Retrieves the part of the WordprocessingML-based document.- Returns:
- the part of the document
-
content
-
document
org.docx4j.openpackaging.packages.WordprocessingMLPackage document()Retrieves theWordprocessingMLPackagerepresenting the entire document.- Returns:
- the
WordprocessingMLPackageof the document
-