org.docx4j.openpackaging.parts.WordprocessingML
Class DocumentPart

java.lang.Object
  extended by org.docx4j.openpackaging.Base
      extended by org.docx4j.openpackaging.parts.Part
          extended by org.docx4j.openpackaging.parts.JaxbXmlPart
              extended by org.docx4j.openpackaging.parts.WordprocessingML.DocumentPart
Direct Known Subclasses:
GlossaryDocumentPart, MainDocumentPart

public abstract class DocumentPart
extends JaxbXmlPart


Field Summary
 
Fields inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
jaxbElement
 
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.
 
Method Summary
 CommentsPart getCommentsPart()
           
 DocumentSettingsPart getDocumentSettingsPart()
           
 EndnotesPart getEndNotesPart()
           
 FontTablePart getFontTablePart()
           
 FootnotesPart getFootnotesPart()
           
 NumberingDefinitionsPart getNumberingDefinitionsPart()
           
 StyleDefinitionsPart getStyleDefinitionsPart()
           
 ThemePart getThemePart()
           
 WebSettingsPart getWebSettingsPart()
           
 boolean setPartShortcut(Part part, java.lang.String relationshipType)
          Tell the source Part about this target Part, so the source can use this part via a convenience method.
 
Methods inherited from class org.docx4j.openpackaging.parts.JaxbXmlPart
getJaxbElement, marshal, marshal, setJAXBContext, setJaxbElement, unmarshal
 
Methods inherited from class org.docx4j.openpackaging.parts.Part
getOwningRelationshipPart, getPackage, getRelationshipType, setOwningRelationshipPart, setPackage, setRelationshipType
 
Methods inherited from class org.docx4j.openpackaging.Base
addTargetPart, getContentType, getPartName, getRelationshipsPart, setContentType, setRelationships
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentPart

public DocumentPart(PartName partName)
             throws InvalidFormatException
Other characteristics which both the Main Document and the Glossary Document have.

Throws:
InvalidFormatException
Method Detail

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.