Class DOCXStyles

java.lang.Object
io.keikai.doc.io.schema.docx.DOCXStyles
All Implemented Interfaces:
ICTElement, IXWPFElement

public class DOCXStyles extends Object implements IXWPFElement
Internal Use Only.

Document Styles Definition.

Represents the xml file at word/styles.xml.

Author:
Jamson Chan
  • Constructor Summary

    Constructors
    Constructor
    Description
    DOCXStyles(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles ctStyle, DOCXDocument parent)
    Create a new Document Styles.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles
    Returns the CT object of current element.
    Returns the parent element of current element.
    org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrGeneral
    Returns the GeneralParagraphProperties (global default setting of paragraph).
    Returns the XWPF object of current element.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DOCXStyles

      public DOCXStyles(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles ctStyle, DOCXDocument parent)
      Create a new Document Styles.
      Parameters:
      ctStyle - the CTStyles object.
      parent - the DOCXDocument.
  • Method Details

    • getXWPF

      public Object getXWPF()
      Description copied from interface: IXWPFElement
      Returns the XWPF object of current element.
      Specified by:
      getXWPF in interface IXWPFElement
    • getParent

      public DOCXDocument getParent()
      Description copied from interface: IXWPFElement
      Returns the parent element of current element.
      Specified by:
      getParent in interface IXWPFElement
    • getCT

      public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyles getCT()
      Description copied from interface: ICTElement
      Returns the CT object of current element.
      Specified by:
      getCT in interface ICTElement
    • getPPrDefault

      public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPPrGeneral getPPrDefault()
      Returns the GeneralParagraphProperties (global default setting of paragraph).

      Represents the following element tag in the schema: w:pPr.

      Returns:
      the GeneralParagraphProperties (global default setting of paragraph).