typeLink

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:36

Description

Specifies the behavior of the text with the element type when linking it to a page. Moreover, it prevents types marked as "no" to be listed in the type selection dialog box in Fred4.

When linking frames to an article with the AddSelectionToCurrentArticle command, if the current frame's type cannot be linked to multiple frames (typeLink='single'), Fred4 selects a non-linked text of the frame's type in the article - or adds a new one, if none is available in the article.

This also affects the behavior of auto-tool when the Use current article is selected and you link frames of the specified type.

Applies to

ElementType 

Possible values

<empty>

The text can be linked to multiple frames (default)

single

The text can be linked to only one frame

no

The text cannot be linked

Default

Empty - the text can be linked to multiple frames.

Examples

The definition below (highlighted) forces three selected frames of pyllquote element, to create three separate pull quotes at once and not to link the first and only pull quote to three frames (have in mind this when setting auto-tool for articles in Fred4):

 

 <xs:element name="pullquote">

   <xs:complexType>

     <xs:annotation>

       <xs:appinfo>

         <gs:_objectType deadlineGap="0" nameptt="&amp;a,pull&amp;n[1,2]" typeLink="single" mediaType="Text">

           <description>Pull quote</description>

 

If the highlighted text would be missing, then Fred4 would create only one pull quote text, and link other pull quote frames to it.

The definition below (highlighted) forces webHead element to be marked as not linkable:

 <xs:element name="webHead">

   <xs:complexType>

     <xs:annotation>

       <xs:appinfo>

         <gs:_objectType deadlineGap="0" nameptt="&amp;a,whd" typeKind="headline" typeLink="no" mediaType="Text">