Export to Web Form
Previous Topic  Next Topic 

You can Export a ControlDraw model as a web site using this form, it is available from >Files >Export to Web

The process of generating a web takes master files and then create the web pages by copying the Page master and then substituting information from the model into fields defined in the Master file

You can generate a Contents web page containing a list of Diagrams using a Contents master page (which you can name this using the Destination Contents File field), or if the Page master is the same as the Contents Master then the list of diagrams is shown on each page

Each web page is a diagram page in the ControlDraw model.

Each ControlDraw diagram page is saved as a png file including automatic generation of the hot spots as an HTML ImageMap .

The page text is generated from the page RTF text, preserving the formating and any pictures that are embedded in the RTF.

Be aware that picture in the RTF can make the export process very slow.

The menu structure can also be exported as an XML file using the ControlDraw Outline form

Fields in the Master:

[PageTitle] - will be replaced with the Diagram Tagname

[PageText] - will be replaced with an HTML version of the RTF text

[PageStatus] - will be replaced with the review status and diagram version

CD_PageImage_Master.png - will be replaced with the Image of the diagram

Each link to another page will be used to create a hot spot link

Each URL in first line of a diagram object will also create a hot spot link

[ContentPageList] - will be replaced by the list of diagrams

The link [First][Previous][Next] - will also be replace by the relevant page

You can choose the make the images of the Diagram and RTF pictures as BMP, GIF, PNG or JPG. PNG gives the best result

ControlDraw provides two Template files that you can customise. You can find them in the ControlDraw/WebTemplate folder

Use \Pages Sub Folder for Pages after first

When set this put all the pages other than the first one in their own path, /Pages under the web destination.

(Images for those pages are in /Pages/Images)

This makes it much cleaner as it puts only one file in the destination web root.