Class AbstractNumbering
java.lang.Object
com.independentsoft.office.word.numbering.AbstractNumbering
The Class AbstractNumbering.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intgetID()Gets the id.Gets the levels.Gets the multi level type.getName()Gets the name.Gets the parent id.Gets the w15:restartNumberingAfterBreak attribute value ("0"/"1"), ornullif the attribute is absent.Gets the style name.Gets the style reference.Gets the template code.voidsetID(int id)Sets the id.voidsetMultiLevelType(MultiLevelType multiLevelType)Sets the multi level type.voidSets the name.voidsetParentID(String parentID)Sets the parent id.voidsetRestartNumberingAfterBreak(String restartNumberingAfterBreak)Sets the w15:restartNumberingAfterBreak attribute value ("0"/"1").voidsetStyleName(String styleName)Sets the style name.voidsetStyleReference(String styleReference)Sets the style reference.voidsetTemplateCode(String templateCode)Sets the template code.toString()
-
Constructor Details
-
AbstractNumbering
public AbstractNumbering()Instantiates a new abstract numbering.
-
-
Method Details
-
clone
-
toString
-
getID
public int getID()Gets the id.- Returns:
- the id
-
setID
public void setID(int id)Sets the id.- Parameters:
id- the new id
-
getLevels
Gets the levels.- Returns:
- the levels
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getParentID
Gets the parent id.- Returns:
- the parent id
-
setParentID
Sets the parent id.- Parameters:
parentID- the new parent id
-
getStyleName
Gets the style name.- Returns:
- the style name
-
setStyleName
Sets the style name.- Parameters:
styleName- the new style name
-
getStyleReference
Gets the style reference.- Returns:
- the style reference
-
setStyleReference
Sets the style reference.- Parameters:
styleReference- the new style reference
-
getTemplateCode
Gets the template code.- Returns:
- the template code
-
setTemplateCode
Sets the template code.- Parameters:
templateCode- the new template code
-
getRestartNumberingAfterBreak
Gets the w15:restartNumberingAfterBreak attribute value ("0"/"1"), ornullif the attribute is absent.- Returns:
- the restart-numbering-after-break value
-
setRestartNumberingAfterBreak
Sets the w15:restartNumberingAfterBreak attribute value ("0"/"1"). Usenullto omit the attribute.- Parameters:
restartNumberingAfterBreak- the new value
-
getMultiLevelType
Gets the multi level type.- Returns:
- the multi level type
-
setMultiLevelType
Sets the multi level type.- Parameters:
multiLevelType- the new multi level type
-