Interface FormatProvider<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      finalize, add elements to the document after main part as needed after this method returns no more calls will be made to this provider
      T getProviderFrame()
      get the node for this formatting block
      org.docx4j.wml.Style getStyle()  
      java.lang.String getStyleId()
      these are the hard-coded styles on which this block is based used for reference purposes by children to figure out what they need to combine
      void open()
      initialize internal stuff based on the parent for future use optionally add elements to doc before main elements any P creates will call the getPPr(), getParaRPr() and addP() for this provider so don't create elements until you are ready to handle these calls
    • Method Detail

      • getProviderFrame

        T getProviderFrame()
        get the node for this formatting block
        Returns:
        node for this format provider
      • open

        void open()
        initialize internal stuff based on the parent for future use optionally add elements to doc before main elements any P creates will call the getPPr(), getParaRPr() and addP() for this provider so don't create elements until you are ready to handle these calls
      • close

        void close()
        finalize, add elements to the document after main part as needed after this method returns no more calls will be made to this provider
      • getStyleId

        java.lang.String getStyleId()
        these are the hard-coded styles on which this block is based used for reference purposes by children to figure out what they need to combine
        Returns:
        style id
      • getStyle

        org.docx4j.wml.Style getStyle()