Class EndnoteProperties
java.lang.Object
com.independentsoft.office.word.footnoteEndnote.EndnoteProperties
The Class EndnoteProperties.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new endnote properties.EndnoteProperties(InternalXMLStreamReader reader)Instantiates a new endnote properties. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the numbering format.Gets the placement.Gets the restart number.Gets the document-level separator reference ids (<w:endnote w:id="..."/>children of the settingsendnotePr: id -1 = separator, 0 = continuation separator).longGets the start number.static booleanChecks if is empty.voidsetNumberingFormat(NumberingFormat numberingFormat)Sets the numbering format.voidsetPlacement(EndnotePositioningLocation placement)Sets the placement.voidsetRestartNumber(RestartNumber restartNumber)Sets the restart number.voidsetSeparatorReferenceIds(List<Long> separatorReferenceIds)Sets the document-level separator reference ids (<w:endnote w:id="..."/>children of the settingsendnotePr: id -1 = separator, 0 = continuation separator).voidsetStartNumber(long startNumber)Sets the start number.toString()
-
Constructor Details
-
EndnoteProperties
public EndnoteProperties()Instantiates a new endnote properties. -
EndnoteProperties
Instantiates a new endnote properties.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isEmpty
Checks if is empty.- Parameters:
value- the value- Returns:
- true, if is empty
-
getNumberingFormat
Gets the numbering format.- Returns:
- the numbering format
-
setNumberingFormat
Sets the numbering format.- Parameters:
numberingFormat- the new numbering format
-
getRestartNumber
Gets the restart number.- Returns:
- the restart number
-
setRestartNumber
Sets the restart number.- Parameters:
restartNumber- the new restart number
-
getStartNumber
public long getStartNumber()Gets the start number.- Returns:
- the start number
-
setStartNumber
public void setStartNumber(long startNumber)Sets the start number.- Parameters:
startNumber- the new start number
-
getPlacement
Gets the placement.- Returns:
- the placement
-
setPlacement
Sets the placement.- Parameters:
placement- the new placement
-
getSeparatorReferenceIds
Gets the document-level separator reference ids (<w:endnote w:id="..."/>children of the settingsendnotePr: id -1 = separator, 0 = continuation separator).- Returns:
- the separator reference ids
-
setSeparatorReferenceIds
Sets the document-level separator reference ids (<w:endnote w:id="..."/>children of the settingsendnotePr: id -1 = separator, 0 = continuation separator).- Parameters:
separatorReferenceIds- the new separator reference ids
-