FootnoteSeparatorCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Cloneable, java.lang.Iterable
public class FootnoteSeparatorCollection implements Cloneable, Iterable
Provides typed access to T:Aspose.Words.Notes.FootnoteSeparator nodes of a document.
Examples:
Shows how to remove endnote separator.
Document doc = new Document(getMyDir() + "Footnotes and endnotes.docx");
FootnoteSeparator endnoteSeparator = doc.getFootnoteSeparators().getByFootnoteSeparatorType(FootnoteSeparatorType.ENDNOTE_SEPARATOR);
// Remove endnote separator.
endnoteSeparator.getFirstParagraph().getFirstChild().remove();
Methods
| Method | Description |
|---|---|
| getByFootnoteSeparatorType(int separatorType) | |
| iterator() |
getByFootnoteSeparatorType(int separatorType)
public FootnoteSeparator getByFootnoteSeparatorType(int separatorType)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| separatorType | int |
Returns: FootnoteSeparator
iterator()
public Iterator iterator()
Returns: java.util.Iterator