Package com.independentsoft.office.odf
Class NotesConfiguration
java.lang.Object
com.independentsoft.office.odf.NotesConfiguration
Represents a values for each note class used in a document. If there is no note configuration element, an implementation defined default note configuration is used.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the NotesConfiguration class.Instantiates a new notes configuration. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the text style to use for a note citation in the text flow.Gets the text style to use for a note citation within the footnote.Gets the default footnote paragraph style for new footnotes that are inserted into an existing document.Specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.Gets the name of a master page.Gets the class of a note.Gets the text that is displayed before continued text.Gets the text that is displayed at the end of a footnote that is continued on the next page.Specifies the numbering sequence.Gets the numbering scheme.intGets the name of a master page.voidsetCitationBodyStyle(String citationBodyStyle)Sets the text style to use for a note citation in the text flow.voidsetCitationStyle(String citationStyle)Sets the text style to use for a note citation within the footnote.voidsetDefaultNoteParagraphStyle(String defaultNoteParagraphStyle)Sets the default footnote paragraph style for new footnotes that are inserted into an existing document.voidsetFootnotesPosition(FootnotesPosition footnotesPosition)Specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.voidsetMasterPage(String masterPage)Sets the name of a master page.voidsetNoteClass(NoteClass noteClass)Sets the class of a note.voidsetNoteContinuationNoticeBackward(String noteContinuationNoticeBackward)Sets the text that is displayed before continued text.voidsetNoteContinuationNoticeForward(String noteContinuationNoticeForward)Sets the text that is displayed at the end of a footnote that is continued on the next page.voidsetNumberFormat(String numberFormat)Specifies the numbering sequence.voidsetNumberingScheme(NumberingScheme numberingScheme)Sets the numbering scheme.voidsetStartValue(int startValue)Sets the name of a master page.toString()Converts the value of the current NotesConfiguration object to its equivalent string representation.
-
Constructor Details
-
NotesConfiguration
public NotesConfiguration()Initializes a new instance of the NotesConfiguration class. -
NotesConfiguration
Instantiates a new notes configuration.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current NotesConfiguration object to its equivalent string representation. -
getNoteClass
Gets the class of a note.- Returns:
- the note class
-
setNoteClass
Sets the class of a note.- Parameters:
noteClass- the new note class
-
getCitationStyle
Gets the text style to use for a note citation within the footnote.- Returns:
- the citation style
-
setCitationStyle
Sets the text style to use for a note citation within the footnote.- Parameters:
citationStyle- the new citation style
-
getCitationBodyStyle
Gets the text style to use for a note citation in the text flow.- Returns:
- the citation body style
-
setCitationBodyStyle
Sets the text style to use for a note citation in the text flow.- Parameters:
citationBodyStyle- the new citation body style
-
getDefaultNoteParagraphStyle
Gets the default footnote paragraph style for new footnotes that are inserted into an existing document. It is not evaluated for footnotes that already exist.- Returns:
- the default note paragraph style
-
setDefaultNoteParagraphStyle
Sets the default footnote paragraph style for new footnotes that are inserted into an existing document. It is not evaluated for footnotes that already exist.- Parameters:
defaultNoteParagraphStyle- the new default note paragraph style
-
getMasterPage
Gets the name of a master page.- Returns:
- the master page
-
setMasterPage
Sets the name of a master page.- Parameters:
masterPage- the new master page
-
getStartValue
public int getStartValue()Gets the name of a master page.- Returns:
- the start value
-
setStartValue
public void setStartValue(int startValue)Sets the name of a master page.- Parameters:
startValue- the new start value
-
getNumberFormat
Specifies the numbering sequence. The defined values are: - 1: Hindu-Arabic number sequence starts with 1. - a: number sequence of lowercase Modern Latin basic alphabet characters starts with "a". - A: number sequence of uppercase Modern Latin basic alphabet characters starts with "A". - i: number sequence of lowercase Roman numerals starts with "i". - I: number sequence of uppercase Roman numerals start with "I".- Returns:
- the number format
-
setNumberFormat
Specifies the numbering sequence. The defined values are: - 1: Hindu-Arabic number sequence starts with 1. - a: number sequence of lowercase Modern Latin basic alphabet characters starts with "a". - A: number sequence of uppercase Modern Latin basic alphabet characters starts with "A". - i: number sequence of lowercase Roman numerals starts with "i". - I: number sequence of uppercase Roman numerals start with "I".- Parameters:
numberFormat- the new number format
-
getNumberingScheme
Gets the numbering scheme.- Returns:
- the numbering scheme
-
setNumberingScheme
Sets the numbering scheme.- Parameters:
numberingScheme- the new numbering scheme
-
getFootnotesPosition
Specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.- Returns:
- the footnotes position
-
setFootnotesPosition
Specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.- Parameters:
footnotesPosition- the new footnotes position
-
getNoteContinuationNoticeForward
Gets the text that is displayed at the end of a footnote that is continued on the next page.- Returns:
- the note continuation notice forward
-
setNoteContinuationNoticeForward
Sets the text that is displayed at the end of a footnote that is continued on the next page.- Parameters:
noteContinuationNoticeForward- the new note continuation notice forward
-
getNoteContinuationNoticeBackward
Gets the text that is displayed before continued text.- Returns:
- the note continuation notice backward
-
setNoteContinuationNoticeBackward
Sets the text that is displayed before continued text.- Parameters:
noteContinuationNoticeBackward- the new note continuation notice backward
-