Class ClickHyperlink
java.lang.Object
com.independentsoft.office.drawing.ClickHyperlink
The Class ClickHyperlink.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new click hyperlink.ClickHyperlink(InternalXMLStreamReader reader)Instantiates a new click hyperlink. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the action.Gets the DrawingML extension list (a:extLst).Gets the invalid url.Gets the relationship id kept for an External target.getSound()Gets the sound to play on activation (a:snd).Gets the target frame.Gets the tooltip.booleanChecks if is end sounds.booleanChecks if is highlight click.booleanChecks if is history (default true).voidSets the action.voidsetEndSounds(boolean endSounds)Sets the end sounds.voidsetExtensionList(ExtensionList extensionList)Sets the DrawingML extension list (a:extLst).voidsetHighlightClick(boolean highlightClick)Sets the highlight click.voidsetHistory(boolean history)Sets the history.voidsetInvalidUrl(String invalidUrl)Sets the invalid url.voidSets the sound to play on activation (a:snd).voidsetTargetFrame(String targetFrame)Sets the target frame.voidsetTooltip(String tooltip)Sets the tooltip.toString()To xml.
-
Constructor Details
-
ClickHyperlink
public ClickHyperlink()Instantiates a new click hyperlink. -
ClickHyperlink
Instantiates a new click hyperlink.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
toXml
To xml.- Parameters:
declarations- optional xmlns attributes for hosts that do not have the "a" prefix in scope at the element (e.g. wp:docPr precedes a:graphic's declaration)- Returns:
- the string
-
getRelationshipId
Gets the relationship id kept for an External target.- Returns:
- the relationship id
-
getSound
Gets the sound to play on activation (a:snd).- Returns:
- the sound
-
setSound
Sets the sound to play on activation (a:snd).- Parameters:
sound- the new sound
-
getExtensionList
Gets the DrawingML extension list (a:extLst).- Returns:
- the extension list
-
setExtensionList
Sets the DrawingML extension list (a:extLst).- Parameters:
extensionList- the new extension list
-
getAction
Gets the action.- Returns:
- the action
-
setAction
Sets the action.- Parameters:
action- the new action
-
isEndSounds
public boolean isEndSounds()Checks if is end sounds.- Returns:
- true, if is end sounds
-
setEndSounds
public void setEndSounds(boolean endSounds)Sets the end sounds.- Parameters:
endSounds- the new end sounds
-
isHighlightClick
public boolean isHighlightClick()Checks if is highlight click.- Returns:
- true, if is highlight click
-
setHighlightClick
public void setHighlightClick(boolean highlightClick)Sets the highlight click.- Parameters:
highlightClick- the new highlight click
-
isHistory
public boolean isHistory()Checks if is history (default true).- Returns:
- true, if is history
-
setHistory
public void setHistory(boolean history)Sets the history.- Parameters:
history- the new history
-
getInvalidUrl
Gets the invalid url.- Returns:
- the invalid url
-
setInvalidUrl
Sets the invalid url.- Parameters:
invalidUrl- the new invalid url
-
getTargetFrame
Gets the target frame.- Returns:
- the target frame
-
setTargetFrame
Sets the target frame.- Parameters:
targetFrame- the new target frame
-
getTooltip
Gets the tooltip.- Returns:
- the tooltip
-
setTooltip
Sets the tooltip.- Parameters:
tooltip- the new tooltip
-