Interface ConversionHyperlinkHandler.Model

All Known Implementing Classes:
AbstractHyperlinkWriterModel
Enclosing interface:
ConversionHyperlinkHandler

public static interface ConversionHyperlinkHandler.Model
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAnchor()
    Specifies the name of a bookmark in the current document which shall be the target of this hyperlink.
    If this attribute is omitted, then the default behavior shall be to navigate to the start of the document.
    org.w3c.dom.Node getContent()  
    java.lang.String getDocLocation()
    Specifies a location in the target of the hyperlink that has no bookmarks.
    java.lang.String getRId()
    Specifies the ID of the relationship whose target shall be used as the target for this hyperlink.
    java.lang.String getTarget()
    field-argument of the Hyperlink field or the targetUri of the relationship.
    java.lang.String getTgtFrame()
    Specifies a frame within the parent HTML frameset for the target of the parent hyperlink when one exists.
    java.lang.String getTooltip()
    Specifies a string which can be surfaced in a user interface as associated with the parent hyperlink.
    boolean isExternal()
    Only avaiable if the information is read from a relationship.
    void setAnchor​(java.lang.String anchor)  
    void setDocLocation​(java.lang.String docLocation)  
    void setExternal​(boolean external)  
    void setRId​(java.lang.String rId)  
    void setTarget​(java.lang.String target)  
    void setTgtFrame​(java.lang.String tgtFrame)  
    void setTooltip​(java.lang.String tooltip)  
  • Method Details

    • getTarget

      java.lang.String getTarget()
      field-argument of the Hyperlink field or the targetUri of the relationship. corresponds to switch \l field-argument, the \l switch might be omitted.
    • setTarget

      void setTarget​(java.lang.String target)
    • isExternal

      boolean isExternal()
      Only avaiable if the information is read from a relationship. Otherwise always false.
    • setExternal

      void setExternal​(boolean external)
    • getAnchor

      java.lang.String getAnchor()
      Specifies the name of a bookmark in the current document which shall be the target of this hyperlink.
      If this attribute is omitted, then the default behavior shall be to navigate to the start of the document. If a hyperlink target is also specified using the r:id attribute, then this attribute shall be ignored.
    • setAnchor

      void setAnchor​(java.lang.String anchor)
    • getDocLocation

      java.lang.String getDocLocation()
      Specifies a location in the target of the hyperlink that has no bookmarks. The method by which the contents of this attribute are linked to document text is outside the scope of ECMA-376.
    • setDocLocation

      void setDocLocation​(java.lang.String docLocation)
    • getRId

      java.lang.String getRId()
      Specifies the ID of the relationship whose target shall be used as the target for this hyperlink.
    • setRId

      void setRId​(java.lang.String rId)
    • getTgtFrame

      java.lang.String getTgtFrame()
      Specifies a frame within the parent HTML frameset for the target of the parent hyperlink when one exists. corresponds to switch \t field-argument corresponds to switch \n with tgtFrame = "_blank"
    • setTgtFrame

      void setTgtFrame​(java.lang.String tgtFrame)
    • getTooltip

      java.lang.String getTooltip()
      Specifies a string which can be surfaced in a user interface as associated with the parent hyperlink. corresponds to switch \o field-argument
    • setTooltip

      void setTooltip​(java.lang.String tooltip)
    • getContent

      org.w3c.dom.Node getContent()