Help > Authoring > Graphics > Inserting and Editing Intelligent Graphics > Developing an Intelligent Graphics Set
  
Developing an Intelligent Graphics Set
Arbortext Editor enables you to develop a set of related intelligent graphics that can be displayed in the same Arbortext IsoView or Creo View control in published HTML output. When the graphics set is initially displayed in an HTML document, the first graphic in the set is displayed in the control. You can develop links that change the graphic displayed in the control based on which graphic in the set is the target of the link.
Graphics sets have the following limitations:
Only the graphic formats specified in the isoviewfileformats or creoviewfileformats advanced preference are supported for graphics sets.
Only HTML output is supported for changing the displayed graphic.
If you publish a document containing a graphics set to print or PDF, all of the graphics in the set are included in the output.
If you use a custom document type, support for graphics sets must be included in the associated stylesheet.
Support for graphics sets is included in the default Arbortext Editor Arbortext XML DocBook and DITA document types.
Developing a Graphics Set for DocBook Documents
Developing a graphics set for a DocBook document requires the following set of tags:
The graphics set must be enclosed in a mediaobject tag.
The role attribute on the mediaobject tag must be set to the value viewer.
Enclosed in the mediaobject tag must be two or more imageobject tags containing the intelligent graphics in the set.
Inside of each imageobject tag must be an imagedata tag referencing an intelligent graphic.
Each imagedata tag must have a value set for the id attribute enabling the graphic to be the target of a link.
Following is an example of the XML markup for a DocBook graphics set:
<mediaobject role="viewer">
<imageobject>
<imagedata fileref="assembled.iso" id="assembled"/>
</imageobject>
<imageobject>
<imagedata fileref="exploded.iso" id="exploded"/>
</imageobject>
</mediaobject>
For this graphics set, the assembled.iso graphics are shown in the Arbortext IsoView or Creo View control by default in HTML output. If you develop a link that has the imagedata tag for the exploded.iso graphic as the link target, the control switches to displaying that graphic when that link is selected in the HTML.
Developing a Graphics Set for DITA documents
Developing a graphics set for a DITA document requires the following set of tags:
The graphics set must be enclosed in a fig tag.
The outputclass attribute on the fig tag must be set to the value viewer.
Enclosed in the fig tag must be two or more image tags referencing the intelligent graphics in the set.
Each image tag must have a value set for the id attribute enabling the graphic to be the target of a link.
Following is an example of the XML markup for a DITA graphics set:
<fig outputclass="viewer">
<image href="assembled.iso" id="assembled"></image>
<image href="plane.iso" id="exploded"></image>
</fig>
For this graphics set, the assembled.iso graphics are shown in the Arbortext IsoView or Creo View control by default in HTML output. If you develop a link that has the image tag for the exploded.iso graphic as the link target, the control switches to displaying that graphic when that link is selected in the HTML.