mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Make getters public for XML beans in XWPFDefault*Style. (#910)
The classes XWPFDefaultRunStyle and XWPFDefaultParagraphStyle only expose a subset of their possibles attributes. To let users access all the underlying data, we change the visibility of the XML bean getters to public.
This commit is contained in:
parent
b50946307e
commit
7a124135de
@ -32,7 +32,12 @@ public class XWPFDefaultParagraphStyle {
|
||||
this.ppr = ppr;
|
||||
}
|
||||
|
||||
protected CTPPrGeneral getPPr() {
|
||||
/**
|
||||
* Return the underlying XML bean.
|
||||
* @return underlying CTPPrGeneral bean.
|
||||
* @since POI 5.5.0
|
||||
*/
|
||||
public CTPPrGeneral getPPr() {
|
||||
return ppr;
|
||||
}
|
||||
|
||||
|
||||
@ -36,7 +36,12 @@ public class XWPFDefaultRunStyle {
|
||||
this.rpr = rpr;
|
||||
}
|
||||
|
||||
protected CTRPr getRPr() {
|
||||
/**
|
||||
* Return the underlying XML bean.
|
||||
* @return underlying CTRPr bean.
|
||||
* @since POI 5.5.0
|
||||
*/
|
||||
public CTRPr getRPr() {
|
||||
return rpr;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user