mirror of https://github.com/apache/poi.git
added set accessor to indentation level
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b59271240
commit
dc7c42a31b
|
@ -424,6 +424,15 @@ public class RichTextRun {
|
|||
return paragraphStyle == null ? 0 : paragraphStyle.getReservedField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets indentation level
|
||||
*
|
||||
* @param level indentation level. Must be in the range [0, 5]
|
||||
*/
|
||||
public void setIndentLevel(int level) {
|
||||
if(paragraphStyle != null ) paragraphStyle.setReservedField((short)level);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether this rich text run has bullets
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue