This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Image callouts supported by XSL-FO stylesheet?
- From: Bob Stayton <bobs at caldera dot com>
- To: Kevin Yank <kevin at sitepoint dot com>,'docbook mailing list' <docbook at lists dot oasis-open dot org>
- Date: Thu, 28 Nov 2002 01:24:24 -0800
- Subject: Re: DOCBOOK: Image callouts supported by XSL-FO stylesheet?
- References: <003e01c29676$f806ae90$a118d9cb@amethyst>
On Thu, Nov 28, 2002 at 11:42:02AM +1100, Kevin Yank wrote:
> Does the standard XSL-FO stylesheet for DocBook fully support image
> callouts?
>
> In our testing, it seems like callout references correctly display
> numbered bullets, but those numbers aren't rendered on the image itself
> at the coordinates specified. Should they be?
>
> In the following example, fig12-1.png is a 378x184 image.
>
> <figure id="fig12-1">
> <title>Cookie Lifecycle</title>
> <mediaobjectco>
> <imageobjectco>
> <areaspec units="calspair">
> <area coords="225,21" id="cookielife1"/>
> <area coords="112,88" id="cookielife2"/>
> <area coords="351,49" id="cookielife3"/>
> <area coords="266,145" id="cookielife4"/>
> <area coords="110,154" id="cookielife5"/>
> </areaspec>
> <imageobject>
> <imagedata fileref="fig12-1.png"/>
> </imageobject>
> </imageobjectco>
> </mediaobjectco>
> </figure>
No, in reading the XSL stylesheets it seems they don't
support the areaspec element for callouts in
imageobjectco. Neither for HTML nor FO output. Areaspec
is only supported in programlistingco and screenco for
callouts in text displays.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com