Class PageReference
java.lang.Object
com.independentsoft.office.word.fields.Field
com.independentsoft.office.word.fields.PageReference
- All Implemented Interfaces:
IContentElement,IRunContent
The Class PageReference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getValue()Gets the value.voidsetUseHyperlink(boolean useHyperlink)Sets the use hyperlink.voidsetUseRelativePosition(boolean useRelativePosition)Sets the use relative position.voidSets the value.toString()booleanUse hyperlink.booleanUse relative position.Methods inherited from class com.independentsoft.office.word.fields.Field
getContentElements, getFieldCodes, parse
-
Constructor Details
-
PageReference
public PageReference()Instantiates a new page reference.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRunContent- Specified by:
clonein classField
-
toString
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-
useHyperlink
public boolean useHyperlink()Use hyperlink.- Returns:
- true, if successful
-
setUseHyperlink
public void setUseHyperlink(boolean useHyperlink)Sets the use hyperlink.- Parameters:
useHyperlink- the new use hyperlink
-
useRelativePosition
public boolean useRelativePosition()Use relative position.- Returns:
- true, if successful
-
setUseRelativePosition
public void setUseRelativePosition(boolean useRelativePosition)Sets the use relative position.- Parameters:
useRelativePosition- the new use relative position
-