Package com.independentsoft.office.word
Class Hyperlink
java.lang.Object
com.independentsoft.office.word.Hyperlink
- All Implemented Interfaces:
IContentElement,IParagraphContent
The Class Hyperlink.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new hyperlink.Hyperlink(InternalXMLStreamReader reader)Instantiates a new hyperlink. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the.voidadd(IParagraphContent contentElement)Adds the.voidAdds the.clone()Gets the anchor.Gets the content.Gets the history.Gets the location.Gets the target.Gets the target frame.Gets the tool tip.voidSets the anchor.voidsetHistory(ExtendedBoolean history)Sets the history.voidsetLocation(String location)Sets the location.voidSets the target.voidsetTargetFrame(String targetFrame)Sets the target frame.voidsetToolTip(String toolTip)Sets the tool tip.toString()
-
Constructor Details
-
Hyperlink
public Hyperlink()Instantiates a new hyperlink. -
Hyperlink
Instantiates a new hyperlink.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
run- the run
-
add
Adds the.- Parameters:
smartTag- the smart tag
-
add
Adds the.- Parameters:
contentElement- the content element
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIParagraphContent- Overrides:
clonein classObject
-
toString
-
getContent
Gets the content.- Returns:
- the content
-
getAnchor
Gets the anchor.- Returns:
- the anchor
-
setAnchor
Sets the anchor.- Parameters:
anchor- the new anchor
-
getLocation
Gets the location.- Returns:
- the location
-
setLocation
Sets the location.- Parameters:
location- the new location
-
getTarget
Gets the target.- Returns:
- the target
-
setTarget
Sets the target.- Parameters:
target- the new target
-
getHistory
Gets the history.- Returns:
- the history
-
setHistory
Sets the history.- Parameters:
history- the new history
-
getTargetFrame
Gets the target frame.- Returns:
- the target frame
-
setTargetFrame
Sets the target frame.- Parameters:
targetFrame- the new target frame
-
getToolTip
Gets the tool tip.- Returns:
- the tool tip
-
setToolTip
Sets the tool tip.- Parameters:
toolTip- the new tool tip
-