w:hyperlink
Hyperlink
Element information
Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
Schema document: wml.xsd
Type: w:CT_Hyperlink
Properties: Local, Qualified
Content
- Choice [0..*]
- w:customXml Inline-Level Custom XML Element
- w:smartTag Inline-Level Smart Tag
- w:sdt Inline-Level Structured Document Tag
- w:r Text Run
- w:proofErr [0..1] Proofing Error Anchor
- w:permStart [0..1] Range Permission Start
- w:permEnd [0..1] Range Permission End
- w:bookmarkStart Bookmark Start
- w:bookmarkEnd Bookmark End
- w:moveFromRangeStart Move Source Location Container - Start
- w:moveFromRangeEnd Move Source Location Container - End
- w:moveToRangeStart Move Destination Location Container - Start
- w:moveToRangeEnd Move Destination Location Container - End
- w:commentRangeStart Comment Anchor Range Start
- w:commentRangeEnd Comment Anchor Range End
- w:customXmlInsRangeStart Custom XML Markup Insertion Start
- w:customXmlInsRangeEnd Custom XML Markup Insertion End
- w:customXmlDelRangeStart Custom XML Markup Deletion Start
- w:customXmlDelRangeEnd Custom XML Markup Deletion End
- w:customXmlMoveFromRangeStart Custom XML Markup Move Source Start
- w:customXmlMoveFromRangeEnd Custom XML Markup Move Source End
- w:customXmlMoveToRangeStart Custom XML Markup Move Destination Location Start
- w:customXmlMoveToRangeEnd Custom XML Markup Move Destination Location End
- w:ins [0..1] Inserted Run Content
- w:del [0..1] Deleted Run Content
- w:moveFrom Move Source Run Content
- w:moveTo Move Destination Run Content
- m:oMathPara Math Paragraph
- m:oMath
- w:fldSimple [0..*] Simple Field
- w:hyperlink Hyperlink
- w:subDoc Anchor for Subdocument Location
from group w:EG_ContentRunContentfrom group w:EG_RunLevelEltsfrom group w:EG_RangeMarkupElementsfrom group w:EG_MathContent
from group w:EG_PContent
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
w:tgtFrame | [0..1] | w:ST_String | Hyperlink Target Frame | |
w:tooltip | [0..1] | w:ST_String | Associated String | |
w:docLocation | [0..1] | w:ST_String | Location in Target Document | |
w:history | [0..1] | w:ST_OnOff | Add To Viewed Hyperlinks | |
w:anchor | [0..1] | w:ST_String | Hyperlink Anchor | |
r:id | [0..1] | r:ST_RelationshipId | Hyperlink Target |
Used in
- Group w:EG_PContent
- Type w:CT_CustomXmlRun via reference to w:EG_PContent (Element w:customXml)
- Type w:CT_Hyperlink via reference to w:EG_PContent (Element w:hyperlink)
- Type w:CT_P via reference to w:EG_PContent (Element w:p)
- Type w:CT_SdtContentRun via reference to w:EG_PContent (Element w:sdtContent)
- Type w:CT_SimpleField via reference to w:EG_PContent (Element w:fldSimple)
- Type w:CT_SmartTagRun via reference to w:EG_PContent (Element w:smartTag)
Sample instance
<w:hyperlink> <w:customXml w:element="string"> <w:customXmlPr> <w:placeholder w:val="string"/> <w:attr w:name="string" w:val="string"/> </w:customXmlPr> <w:customXml w:element="string"> <w:customXmlPr>... </w:customXmlPr> <w:customXml w:element="string">... </w:customXml> </w:customXml> </w:customXml> </w:hyperlink>