Class XWPFStyle

java.lang.Object
org.apache.poi.xwpf.usermodel.XWPFStyle

public class XWPFStyle extends Object
  • Constructor Details

  • Method Details

    • getStyleId

      public String getStyleId()
      get StyleID of the style
      Returns:
      styleID StyleID of the style
    • setStyleId

      public void setStyleId(String styleId)
      set styleID
    • getType

      public STStyleType.Enum getType()
      get Type of the Style
      Returns:
      ctType
    • setType

      public void setType(STStyleType.Enum type)
      set styleType
    • setStyle

      public void setStyle(CTStyle style)
      set style
    • getCTStyle

      public CTStyle getCTStyle()
      get ctStyle
      Returns:
      ctStyle
    • getStyles

      public XWPFStyles getStyles()
      get styles
      Returns:
      styles the styles to which this style belongs
    • getBasisStyleID

      public String getBasisStyleID()
    • getLinkStyleID

      public String getLinkStyleID()
      get StyleID of the linked Style
    • getNextStyleID

      public String getNextStyleID()
      get StyleID of the next style
    • getName

      public String getName()
    • hasSameName

      public boolean hasSameName(XWPFStyle compStyle)
      compares the names of the Styles