Class XWPFDefaultRunStyle

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

public class XWPFDefaultRunStyle extends Object
Default Character Run style, from which other styles will override TODO Share logic with XWPFRun which also uses CTRPr
  • Constructor Details

    • XWPFDefaultRunStyle

      public XWPFDefaultRunStyle(CTRPr rpr)
  • Method Details

    • getFontSize

      @Deprecated @Removal(version="6.0.0") public int getFontSize()
      Deprecated.
      Specifies the font size.
      Returns:
      value representing the font size (non-integer size will be rounded with half rounding up, -1 is returned if size not set)
    • getFontSizeAsDouble

      public Double getFontSizeAsDouble()
      Specifies the font size.
      Returns:
      value representing the font size (can be null if size is not set)
      Since:
      POI 5.0.0