Package com.independentsoft.office
Class HeadingPair
java.lang.Object
com.independentsoft.office.HeadingPair
A heading-group entry of the extended application properties
(docProps/app.xml HeadingPairs): the group name and the number of document
parts in the group.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new heading pair.HeadingPair(String name, int partCount)Instantiates a new heading pair. -
Method Summary
Modifier and TypeMethodDescriptionclone()getName()Gets the group name.intGets the number of document parts in the group.voidSets the group name.voidsetPartCount(int partCount)Sets the number of document parts in the group.
-
Constructor Details
-
HeadingPair
public HeadingPair()Instantiates a new heading pair. -
HeadingPair
Instantiates a new heading pair.- Parameters:
name- the group namepartCount- the number of document parts in the group
-
-
Method Details
-
clone
-
getName
Gets the group name.- Returns:
- the name
-
setName
Sets the group name.- Parameters:
name- the new name
-
getPartCount
public int getPartCount()Gets the number of document parts in the group.- Returns:
- the part count
-
setPartCount
public void setPartCount(int partCount)Sets the number of document parts in the group.- Parameters:
partCount- the new part count
-