Package org.apache.poi.xwpf.usermodel
Class XWPFDefaultRunStyle
java.lang.Object
org.apache.poi.xwpf.usermodel.XWPFDefaultRunStyle
Default Character Run style, from which other styles will override
TODO Share logic with
XWPFRun which also uses CTRPr-
Constructor Summary
ConstructorsConstructorDescriptionXWPFDefaultRunStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rpr) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the font size.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPrgetRPr()Return the underlying XML bean.
-
Constructor Details
-
XWPFDefaultRunStyle
public XWPFDefaultRunStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr rpr)
-
-
Method Details
-
getRPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr getRPr()Return the underlying XML bean.- Returns:
- underlying CTRPr bean.
- Since:
- 5.5.0
-
getFontSizeAsDouble
Specifies the font size.- Returns:
- value representing the font size (can be null if size is not set)
- Since:
- 5.0.0
-