Partilhar via


hlink element (pElt complexType) [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

hlink element (pElt complexType) [Word 2003 XML Reference]

Represents a hyperlink element (analogous to HTML <a href=...> tag).

Usage

<hlink
    bookmark="stringType"
    target="stringType"
    screenTip="stringType"
    arbLocation="stringType"
    noHistory="onOffType"
    dest="stringType"
/>

Element Information

Element type hLinkType
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
p Represents a paragraph element; analogous to the HTML <p> tag.

Child Elements

Element Description
r Represents the run element. This is the leaf container for data in a Word document -- text, pictures, and so.
fldSimple Represents simple Word field (with plain text instructions). These fields are run-time calculated entities in Word (for example, page numbers).
hlink Represents the hyperlink element (analogous to HTML <a href=...> tag).

Attributes

Attribute Type Required Description Possible Values
bookmark stringType optional Specifies the bookmark location in the document that the hyperlink will jump to.
target stringType optional Specifies the frame target for the hyperlink (that is, the frameset).
screenTip stringType optional Specifies the text to show as a ScreenTip for this hyperlink.
arbLocation stringType optional Tracks locations in documents that have no bookmark targets. Used internally by Word.
noHistory onOffType optional Gets or sets whether to add this target to the history list when it is navigated to.
  • on
  • off
dest stringType optional Gets or sets the hyperlink destination.

Definition

<xsd:element name="hlink" type="hLinkType" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp