Highlight Images

You can specify images to be inserted in the center of certain dates such as birthdays, anniversaries, Christmas, Tax Day, etc. Some images can be inserted whether or not a highlight is inserted on that date. Only one image can be inserted for a given day.

When used with PageStream as the host application, FWCalendar needs to know the type of the images to be used; when used with Final Writer as the host application, FWCalendar needs to be know the image dimensions. You can define the graphics application you want to use to determine this information by defining the GfxApp and GfxAppPath to point to one of three applications: Visage by Magnus Holmgren; ImageDTInfo by Dámaso Domínguez; and PicSize by Ralph Reuchlein. Each of these applications is available from Aminet. Visage is used as the default application since was the required application up to FWCalendar v3.76. If you would like to see another application supported, contact me.

Encapsulated Postscript images (in Adobe Illustrator-compatible format) can be used when PageStream is the host application. The images must be identified as type "Post" by datatypes for them to be inserted properly. Postscript capability can be added to your datatypes-compatible Amiga with PostScriptDT.lha by Swen Stullich used with post.library by Adrian Aylward. Important: this datatype will only recognize Postscript files if they have the ".ps" suffix.

Image Classes -Image classes can be defined for frequently occurring events such as birthdays and anniversaries. The variable stem is ImageClass., and the variable itself must match a word that will be used in the highlight (for example, ImageClass.Birthday will define the image to be used for all highlights containing the word "Birthday", and ImageClass.Anniversary will define the image to be used for all highlights containing the word "Anniversary"). The value of the variable is the file name of the image to be used.

(ClassAct GUI only) Image class variables can be added using the '+IC' button on the Variables tab of the variable requester. After defining the name of the image class, the value must be set as outlined above.

Image class variables can be deleted by clearing the value of the desired variable.

Images are normally printed in the center of the date box. If you would like to shift the image, the shift parameters can be defined as part of the image-file definition. The template for an image variable is:

ImageClass.<Class> = "<File> [,<x shift> [,<y shift>]]"

where the shifts are in inches.

For an image (found in the "Images" directory in the same directory as FWCalendar) to be used for all birthdays:

ImageClass.Birthday = "Birthday.iff"

The "Birthday.iff" image will be inserted on all days that have a highlight with the word "Birthday" in it.

To shift the image a quarter inch to the right and up a tenth of an inch, the entry would be:

ImageClass.Birthday = "Birthday.iff, 0.25, -0.1"

For an image (found in some other directory) to be used for all anniversaries:

ImageClass.Anniversary = "WB:IFF/Anniversary.iff"

The "WB:IFF/Anniversary.iff" image will be inserted on all days that have a highlight with the word "Anniversary" in it.

Specific Images - Images for specific dates are entered using the Highlight Editor. Images are not currently supported for Easter-based highlights, but images can otherwise be defined for any of the highlight formats (fixed, floating, and (bi)weekly). Images don't require any highlight text to be set for that date.