Class DocumentPart<E>

All Implemented Interfaces:
AltChunkInterface, XPathEnabled<E>
Direct Known Subclasses:
GlossaryDocumentPart, MainDocumentPart

public abstract class DocumentPart<E> extends JaxbXmlPartAltChunkHost<E>
  • Field Details

    • log

      protected static org.slf4j.Logger log
    • commentsPart

      protected CommentsPart commentsPart
      Parts which can be the target of a relationship from either the Main Document or the Glossary Document Microsoft's Microsoft.Office.DocumentFormat.OpenXML has no equivalent of this.
    • commentsExtendedPart

      protected CommentsExtendedPart commentsExtendedPart
    • commentsIdsPart

      protected CommentsIdsPart commentsIdsPart
    • documentSettingsPart

      protected DocumentSettingsPart documentSettingsPart
    • endNotesPart

      protected EndnotesPart endNotesPart
    • fontTablePart

      protected FontTablePart fontTablePart
    • peoplePart

      protected PeoplePart peoplePart
    • themePart

      protected ThemePart themePart
    • footnotesPart

      protected FootnotesPart footnotesPart
    • numberingDefinitionsPart

      protected NumberingDefinitionsPart numberingDefinitionsPart
    • styleDefinitionsPart

      protected StyleDefinitionsPart styleDefinitionsPart
    • webSettingsPart

      protected WebSettingsPart webSettingsPart
  • Constructor Details

  • Method Details

    • setPartShortcut

      public boolean setPartShortcut(Part part)
    • setPartShortcut

      public boolean setPartShortcut(Part part, 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.
    • getCommentsPart

      public CommentsPart getCommentsPart()
    • getCommentsExtendedPart

      public CommentsExtendedPart getCommentsExtendedPart()
    • getCommentsIdsPart

      public CommentsIdsPart getCommentsIdsPart()
    • getDocumentSettingsPart

      public DocumentSettingsPart getDocumentSettingsPart()
    • getDocumentSettingsPart

      public DocumentSettingsPart getDocumentSettingsPart(boolean createIfAbsent) throws InvalidFormatException
      Parameters:
      createIfAbsent -
      Returns:
      Throws:
      InvalidFormatException
      Since:
      3.3.0
    • getEndNotesPart

      public EndnotesPart getEndNotesPart()
    • hasEndnotesPart

      public boolean hasEndnotesPart()
      Does this package contain an endnotes part, with real endnotes in it?
      Returns:
    • getFootnotesPart

      public FootnotesPart getFootnotesPart()
    • hasFootnotesPart

      public boolean hasFootnotesPart()
    • getFootnote

      @Deprecated public static Node getFootnote(WordprocessingMLPackage wmlPackage, String id)
      Deprecated.
    • getFontTablePart

      public FontTablePart getFontTablePart()
    • getNumberingDefinitionsPart

      public NumberingDefinitionsPart getNumberingDefinitionsPart()
    • getPeoplePart

      public PeoplePart getPeoplePart()
    • getStyleDefinitionsPart

      public StyleDefinitionsPart getStyleDefinitionsPart()
    • getStyleDefinitionsPart

      public StyleDefinitionsPart getStyleDefinitionsPart(boolean create)
    • getThemePart

      public ThemePart getThemePart()
    • getWebSettingsPart

      public WebSettingsPart getWebSettingsPart()
    • getConditionsPart

      public ConditionsPart getConditionsPart()
    • getXPathsPart

      public XPathsPart getXPathsPart()
    • getQuestionsPart

      public QuestionsPart getQuestionsPart()
    • getComponentsPart

      public ComponentsPart getComponentsPart()
    • getBibliographyPart

      public BibliographyPart getBibliographyPart()