Package org.apache.poi.xwpf.usermodel
Class XWPFDefaultRunStyle
- java.lang.Object
-
- org.apache.poi.xwpf.usermodel.XWPFDefaultRunStyle
-
public class XWPFDefaultRunStyle extends java.lang.Object
Default Character Run style, from which other styles will override TODO Share logic withXWPFRun
which also uses CTRPr
-
-
Constructor Summary
Constructors Constructor Description XWPFDefaultRunStyle(CTRPr rpr)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getFontSize()
Deprecated.java.lang.Double
getFontSizeAsDouble()
Specifies the font size.
-
-
-
Constructor Detail
-
XWPFDefaultRunStyle
public XWPFDefaultRunStyle(CTRPr rpr)
-
-
Method Detail
-
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 java.lang.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
-
-