Partilhar via


hLinkType complexType [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

hLinkType complexType [Word 2003 XML Reference]

Defines a hyperlink in the document.

Type Information

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

Elements and Attributes

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:complexType name="hLinkType" >
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element name="r" type="rElt">
    </xsd:element>
    <xsd:element name="fldSimple" type="simpleFieldType" minOccurs="0" maxOccurs="unbounded">
    </xsd:element>
    <xsd:element name="hlink" type="hLinkType">
    </xsd:element>
    <xsd:group ref="runLevelElts"></xsd:group>
    <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="skip"></xsd:any>
  </xsd:choice>
  <xsd:attribute name="bookmark" type="stringType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="target" type="stringType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="screenTip" type="stringType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="arbLocation" type="stringType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="noHistory" type="onOffType" use="optional">
  </xsd:attribute>
  <xsd:attribute name="dest" type="stringType" use="optional">
  </xsd:attribute>
</xsd:complexType>

©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