diff --git a/src/java/org/apache/poi/sl/usermodel/TextParagraph.java b/src/java/org/apache/poi/sl/usermodel/TextParagraph.java index b35d323e1a..a0f67bd61b 100644 --- a/src/java/org/apache/poi/sl/usermodel/TextParagraph.java +++ b/src/java/org/apache/poi/sl/usermodel/TextParagraph.java @@ -332,6 +332,15 @@ public interface TextParagraph< * @return the bullet style of the paragraph, if {@code null} then no bullets are used */ BulletStyle getBulletStyle(); + + /** + * Sets the bullet styles. If no styles are given, the bullets are omitted. + * Possible attributes are integer/double (bullet size), Color (bullet color), + * character (bullet character), string (bullet font), AutoNumberingScheme + * + * @param styles + */ + void setBulletStyle(Object... styles); /** * @return the default size for a tab character within this paragraph in points, null if unset diff --git a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java index cc12a63426..31df98787a 100644 --- a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java +++ b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java @@ -985,4 +985,26 @@ public class XSLFTextParagraph implements TextParagraph