public final class HeaderStories
extends java.lang.Object
Constructor and Description |
---|
HeaderStories(HWPFDocument doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
areFieldsStripped()
Are fields currently being stripped from
the text that this
HeaderStories returns?
Default is false, but can be changed |
java.lang.String |
getEndnoteContNote()
Deprecated.
3.8 beta 4
|
Range |
getEndnoteContNoteSubrange() |
java.lang.String |
getEndnoteContSeparator()
Deprecated.
3.8 beta 4
|
Range |
getEndnoteContSeparatorSubrange() |
java.lang.String |
getEndnoteSeparator()
Deprecated.
3.8 beta 4
|
Range |
getEndnoteSeparatorSubrange() |
java.lang.String |
getEvenFooter()
Deprecated.
3.8 beta 4
|
Range |
getEvenFooterSubrange() |
java.lang.String |
getEvenHeader()
Deprecated.
3.8 beta 4
|
Range |
getEvenHeaderSubrange() |
java.lang.String |
getFirstFooter()
Deprecated.
3.8 beta 4
|
Range |
getFirstFooterSubrange() |
java.lang.String |
getFirstHeader()
Deprecated.
3.8 beta 4
|
Range |
getFirstHeaderSubrange() |
java.lang.String |
getFooter(int pageNumber)
Returns the correct, defined footer for the given
one based page
|
java.lang.String |
getFootnoteContNote()
Deprecated.
3.8 beta 4
|
Range |
getFootnoteContNoteSubrange() |
java.lang.String |
getFootnoteContSeparator()
Deprecated.
3.8 beta 4
|
Range |
getFootnoteContSeparatorSubrange() |
java.lang.String |
getFootnoteSeparator()
Deprecated.
3.8 beta 4
|
Range |
getFootnoteSeparatorSubrange() |
java.lang.String |
getHeader(int pageNumber)
Returns the correct, defined header for the given
one based page
|
java.lang.String |
getOddFooter()
Deprecated.
3.8 beta 4
|
Range |
getOddFooterSubrange() |
java.lang.String |
getOddHeader()
Deprecated.
3.8 beta 4
|
Range |
getOddHeaderSubrange() |
protected PlexOfCps |
getPlcfHdd() |
Range |
getRange() |
void |
setAreFieldsStripped(boolean stripFields)
Should fields (eg macros) be stripped from
the text that this class returns?
Default is not to strip.
|
public HeaderStories(HWPFDocument doc)
@Deprecated public java.lang.String getFootnoteSeparator()
@Deprecated public java.lang.String getFootnoteContSeparator()
@Deprecated public java.lang.String getFootnoteContNote()
@Deprecated public java.lang.String getEndnoteSeparator()
@Deprecated public java.lang.String getEndnoteContSeparator()
@Deprecated public java.lang.String getEndnoteContNote()
public Range getFootnoteSeparatorSubrange()
public Range getFootnoteContSeparatorSubrange()
public Range getFootnoteContNoteSubrange()
public Range getEndnoteSeparatorSubrange()
public Range getEndnoteContSeparatorSubrange()
public Range getEndnoteContNoteSubrange()
@Deprecated public java.lang.String getEvenHeader()
@Deprecated public java.lang.String getOddHeader()
@Deprecated public java.lang.String getFirstHeader()
public Range getEvenHeaderSubrange()
public Range getOddHeaderSubrange()
public Range getFirstHeaderSubrange()
public java.lang.String getHeader(int pageNumber)
pageNumber
- The one based page number@Deprecated public java.lang.String getEvenFooter()
@Deprecated public java.lang.String getOddFooter()
@Deprecated public java.lang.String getFirstFooter()
public Range getEvenFooterSubrange()
public Range getOddFooterSubrange()
public Range getFirstFooterSubrange()
public java.lang.String getFooter(int pageNumber)
pageNumber
- The one based page numberpublic Range getRange()
protected PlexOfCps getPlcfHdd()
public boolean areFieldsStripped()
HeaderStories
returns?
Default is false, but can be changedpublic void setAreFieldsStripped(boolean stripFields)
stripFields
- Copyright 2020 The Apache Software Foundation or its licensors, as applicable.