org.docx4j.openpackaging.parts.WordprocessingML
Class DocumentPart
java.lang.Object
org.docx4j.openpackaging.Base
org.docx4j.openpackaging.parts.Part
org.docx4j.openpackaging.parts.JaxbXmlPart
org.docx4j.openpackaging.parts.WordprocessingML.DocumentPart
- Direct Known Subclasses:
- GlossaryDocumentPart, MainDocumentPart
public abstract class DocumentPart
- extends JaxbXmlPart
| Fields inherited from class org.docx4j.openpackaging.Base |
partName |
|
Constructor Summary |
DocumentPart(PartName partName)
Other characteristics which both the Main Document and the
Glossary Document have. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentPart
public DocumentPart(PartName partName)
throws InvalidFormatException
- Other characteristics which both the Main Document and the
Glossary Document have.
- Throws:
InvalidFormatException
getCommentsPart
public CommentsPart getCommentsPart()
getDocumentSettingsPart
public DocumentSettingsPart getDocumentSettingsPart()
getEndNotesPart
public EndnotesPart getEndNotesPart()
getFontTablePart
public FontTablePart getFontTablePart()
getFootnotesPart
public FootnotesPart getFootnotesPart()
getNumberingDefinitionsPart
public NumberingDefinitionsPart getNumberingDefinitionsPart()
getStyleDefinitionsPart
public StyleDefinitionsPart getStyleDefinitionsPart()
getThemePart
public ThemePart getThemePart()
getWebSettingsPart
public WebSettingsPart getWebSettingsPart()
setPartShortcut
public boolean setPartShortcut(Part part,
java.lang.String relationshipType)
- Description copied from class:
Base
- Tell the source Part about this target Part, so the
source can use this part via a convenience method.
- Overrides:
setPartShortcut in class Part
- Returns:
- true if the source Part does use the target Part
in a convenience method.