Hi Jean,

Jean Hollis Weber schrieb:
Regina suggested adding a section on image maps to the Calc Guide chapter on graphics, and I had a note to myself to do the same with the Writer Guide. AFAIK, the only book with a section on image maps is the Impress Guide, and it doesn't say much more than the Help does.

The only context in which I have used image maps is on web pages (the old OOoAuthors website had one as its home page), and I know how to use Writer to creat one to use for that purpose.

However, I've never used an image map from within an OOo document. I can see situations where I might use one from within a presentation (to jump to other slides or other files), but I can't immediately think of how I might use one within a spreadsheet or a text document. Can someone help by giving me some examples of use?

Links inserted via Insert > Hyperlink can be a text in a cell or a classical button. An ImageMap is one method to use a picture. In addition you can have more than one hyperlink on an ImageMap. If you use a form, you can use an ImageControl. But handling might be more difficult than handling of an ImageMap and such ImageControl can have only one target.

If you generate interactive documents for pupils, you can use an ImageMap for navigation. Especially for younger pupils pictures are nicer than pure text.

Another use case are catalogs, where you put a small thumbnail into the document and add a hyperlink to a detailed, high resolution picture to that thumbnail.

Another nice thing of ImageMaps are the tooltips which you can enter into the text field in the ImageMap editor and which show up, when you hover the hot spot.


My next question is about creating the hyperlinks from an image map to another place within the same spreadsheet or text document. The Help says: If you want to jump to a named anchor within the current document, the address should be of the form “file:///C/[current_document_name]#anchor_name”.

If the target is within the same document, you should always use relative URLs. So not “file:///C/[current_document_name]#anchor_name” but only "#anchor_name".


I know what an anchor is in an HTML document, but I don't know what it would be in a spreadsheet or text document. In a spreadsheet, is the anchor a cell reference, or a named range, or something else? Can someone give me a specific example of an address in the form above?

In a Spreadsheet you can use a full cell address like $Sheet2.$F$3 or you can define a name for that address via Insert > Names > Define, for example "table_of_values", and than use that name as anchor, "#table_of_values" in the example. You can also use a cell range. If you then jump to the target the cell or cell range is selected.

The hyperlink dialog provides a window where you can choose possible targets inside a document. Such a help does not exist in the ImageMap editor, but you have to insert the target directly into the field.

If you want to jump to a special drawing, you must name the drawing.

You can use an ImageMap also for Math-Objects, but not for charts.

For to edit an ImageMap, do not use Ctrl like for hyperlinks, but bring the picture in edit mode, use right click or, if one object is already in edit mode, traverse by tab-key.

 And
how about text (Writer) documents? And in Impress, would the "anchor name" be a slide number, or what?

Yes, a slide name is possible, also any named drawing.

kind regards
Regina

Reply via email to