Search in sources :

Example 1 with CTTextCharBullet

use of org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharBullet in project poi by apache.

the class XSLFTextParagraph method setBulletCharacter.

public void setBulletCharacter(String str) {
    CTTextParagraphProperties pr = _p.isSetPPr() ? _p.getPPr() : _p.addNewPPr();
    CTTextCharBullet c = pr.isSetBuChar() ? pr.getBuChar() : pr.addNewBuChar();
    c.setChar(str);
}
Also used : CTTextParagraphProperties(org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties) CTTextCharBullet(org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharBullet)

Aggregations

CTTextCharBullet (org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharBullet)1 CTTextParagraphProperties (org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties)1