public class FieldRef extends Field
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWorkAsMergeField() |
java.lang.String |
getBookmarkName()
Gets the referenced bookmark's name.
|
boolean |
getIncludeNoteOrComment()
Gets whether to increment footnote, endnote, and annotation numbers that are marked by the bookmark, and insert the corresponding footnote, endnote, and comment text.
|
boolean |
getInsertHyperlink()
Gets whether to create a hyperlink to the bookmarked paragraph.
|
boolean |
getInsertParagraphNumber()
Gets whether to insert the paragraph number of the referenced paragraph exactly as it appears in the document.
|
boolean |
getInsertParagraphNumberInFullContext()
Gets whether to insert the paragraph number of the referenced paragraph in full context.
|
boolean |
getInsertParagraphNumberInRelativeContext()
Gets whether to insert the paragraph number of the referenced paragraph in relative context.
|
boolean |
getInsertRelativePosition()
Gets whether to insert the relative position of the referenced paragraph.
|
java.lang.String |
getMergeFieldName() |
java.lang.String |
getNumberSeparator()
Gets the character sequence that is used to separate sequence numbers and page numbers.
|
boolean |
getSuppressNonDelimiters()
Gets whether to suppress non-delimiter characters.
|
int |
getSwitchType(java.lang.String switchName) |
boolean |
isMergeValueRequired() |
void |
setBookmarkName(java.lang.String value)
Sets the referenced bookmark's name.
|
void |
setIncludeNoteOrComment(boolean value)
Sets whether to increment footnote, endnote, and annotation numbers that are marked by the bookmark, and insert the corresponding footnote, endnote, and comment text.
|
void |
setInsertHyperlink(boolean value)
Sets whether to create a hyperlink to the bookmarked paragraph.
|
void |
setInsertParagraphNumber(boolean value)
Sets whether to insert the paragraph number of the referenced paragraph exactly as it appears in the document.
|
void |
setInsertParagraphNumberInFullContext(boolean value)
Sets whether to insert the paragraph number of the referenced paragraph in full context.
|
void |
setInsertParagraphNumberInRelativeContext(boolean value)
Sets whether to insert the paragraph number of the referenced paragraph in relative context.
|
void |
setInsertRelativePosition(boolean value)
Sets whether to insert the relative position of the referenced paragraph.
|
void |
setNumberSeparator(java.lang.String value)
Sets the character sequence that is used to separate sequence numbers and page numbers.
|
void |
setSuppressNonDelimiters(boolean value)
Sets whether to suppress non-delimiter characters.
|
getDisplayResult, getEnd, getFieldCode, getFieldCode, getFormat, getLocaleId, getResult, getSeparator, getStart, getType, isDirty, isDirty, isLocked, isLocked, needStoreOldResultNodes, remove, setLocaleId, setResult, unlink, update, updatepublic int getSwitchType(java.lang.String switchName)
public java.lang.String getMergeFieldName()
public boolean canWorkAsMergeField()
public boolean isMergeValueRequired()
public java.lang.String getBookmarkName()
public void setBookmarkName(java.lang.String value)
throws java.lang.Exception
value - The referenced bookmark's name.java.lang.Exceptionpublic java.lang.String getNumberSeparator()
public void setNumberSeparator(java.lang.String value)
throws java.lang.Exception
value - The character sequence that is used to separate sequence numbers and page numbers.java.lang.Exceptionpublic boolean getIncludeNoteOrComment()
public void setIncludeNoteOrComment(boolean value)
throws java.lang.Exception
value - Whether to increment footnote, endnote, and annotation numbers that are marked by the bookmark, and insert the corresponding footnote, endnote, and comment text.java.lang.Exceptionpublic boolean getInsertHyperlink()
public void setInsertHyperlink(boolean value)
throws java.lang.Exception
value - Whether to create a hyperlink to the bookmarked paragraph.java.lang.Exceptionpublic boolean getInsertParagraphNumber()
public void setInsertParagraphNumber(boolean value)
throws java.lang.Exception
value - Whether to insert the paragraph number of the referenced paragraph exactly as it appears in the document.java.lang.Exceptionpublic boolean getInsertRelativePosition()
public void setInsertRelativePosition(boolean value)
throws java.lang.Exception
value - Whether to insert the relative position of the referenced paragraph.java.lang.Exceptionpublic boolean getInsertParagraphNumberInRelativeContext()
public void setInsertParagraphNumberInRelativeContext(boolean value)
throws java.lang.Exception
value - Whether to insert the paragraph number of the referenced paragraph in relative context.java.lang.Exceptionpublic boolean getSuppressNonDelimiters()
public void setSuppressNonDelimiters(boolean value)
throws java.lang.Exception
value - Whether to suppress non-delimiter characters.java.lang.Exceptionpublic boolean getInsertParagraphNumberInFullContext()
public void setInsertParagraphNumberInFullContext(boolean value)
throws java.lang.Exception
value - Whether to insert the paragraph number of the referenced paragraph in full context.java.lang.Exception