Class ParagraphStyle
java.lang.Object
com.independentsoft.office.odf.styles.Style
com.independentsoft.office.odf.styles.BaseStyle
com.independentsoft.office.odf.styles.ParagraphStyle
Represents a style for paragraph.
-
Field Summary
Fields inherited from class com.independentsoft.office.odf.styles.BaseStyle
className, dataStyle, enableAutoUpdate, family, linkedStyleName, listStyle, masterPageName, nextStyle, outlineLevelEmpty, outlineNumberingLevel, parentStyle, styleMappingsFields inherited from class com.independentsoft.office.odf.styles.Style
displayName, name -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the ParagraphStyle class.ParagraphStyle(String name)Initializes a new instance of the ParagraphStyle class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Specifies formatting properties for paragraph.Specifies formatting properties for text.toString()Converts the value of the current ParagraphStyle object to its equivalent string representation.Methods inherited from class com.independentsoft.office.odf.styles.BaseStyle
getClassName, getDataStyle, getFamily, getListStyle, getMasterPageName, getNextStyle, getOutlineNumberingLevel, getParentStyle, getStyleMappings, isEnableAutoUpdate, setClassName, setDataStyle, setEnableAutoUpdate, setListStyle, setMasterPageName, setNextStyle, setOutlineNumberingLevel, setParentStyle, toStringMethods inherited from class com.independentsoft.office.odf.styles.Style
getDisplayName, getName, setDisplayName, setName
-
Constructor Details
-
ParagraphStyle
public ParagraphStyle()Initializes a new instance of the ParagraphStyle class. -
ParagraphStyle
Initializes a new instance of the ParagraphStyle class.- Parameters:
name- the name
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current ParagraphStyle object to its equivalent string representation. -
getTextProperties
Specifies formatting properties for text.- Returns:
- the text properties
-
getParagraphProperties
Specifies formatting properties for paragraph.- Returns:
- the paragraph properties
-