Adds a new style into the logical style hierarchy. Style attributes resolve from bottom up so an attribute specified in a child will override an attribute specified in the parent.
@param nm the name of the style (must be unique within thecollection of named styles). The name may be null if the style is unnamed, but the caller is responsible for managing the reference returned as an unnamed style can't be fetched by name. An unnamed style may be useful for things like character attribute overrides such as found in a style run.
@param parent the parent style. This may be null if unspecifiedattributes need not be resolved in some other style.
@return the style
Adds a Style to the StyleSheet.
@param componentClass the Class of the Component for which the style is to be used
@param styleName the name of the style
@param style the Style to be added
Add an additional paragraph style to the style list that you want to include in the TOC.
@param styleName - the style name
@param level - the outline level of this style, level value is: [1,10]
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.