Hi,
I've been trying to implement this but my absolutely positioned
containers are being positioned relative to the page region, not to the
parent block or block-container. I'm using XEP 3.84 and doing something
like:
<fo:block-container>
<fo:block>
<fo:external-graphics src="somefig"/>
<fo:block-container abosolute-position="absolute"
z-index="2"
left="10pt"
top="30pt">
<fo:block>
<fo:basic-link
internal-destination="someid"/>sometext</xsl:basic-link>
</fo:block>
</fo:block-container
</fo:block>
</fo:block-container>
For now I'm just testing the position and the linking, I'll deal with
making the links transparent later. The linking is working but as I said
the positions are relative to the top of the page.
Any ideas?
Carlos
Alexander Peshkov wrote:
> Hello Camille,
>
> This kind of problem can be solved with the approach I've described -
> create a block container with the same size as an image, put image
> into the background, position linked page numbers inside of this
> container either using absolutely positioned containers or
> indents/spaces on blocks. That's it.
>
> Best regards,
> Alexander Peshkov mailto:peshkov@renderx.com
> RenderX
>
>
> CB> Hi,
>
> CB> I am confronted to the same problem: when presenting a software
> CB> interface, or a process diagram, it is nice to be able to provide page
> CB> numbers inside the image to the related section of the book.
>
> CB> I'm sure someone already had that need?
>
> CB> Camille.
>
> CB> Alexander Peshkov wrote:
>
>>>Hello Carlos,
>>>
>>>There is nothing like image-maps in XSL-FO, that is you cannot define
>>>"hot" areas of arbitrary form. However what you can do is create
>>>overlapping rectangular areas using absolutely positioned
>>>fo:block-containers (every such area may be linked to a different
>>>thing). In the simple cases it may feasible to put actual image into
>>>background and just position linked (possibly transparent) objects
>>>atop of it.
>>>
>>>Best regards,
>>>Alexander Peshkov mailto:peshkov@renderx.com
>>>RenderX
>>>
>>>
>>>CV> Hi,
>>>
>>>CV> This is my first post to this list.
>>>
>>>CV> I want to know if it's possible to implement something similar to HTML
>>>CV> image maps for the PDF output. I'm using XEP 3.8.4.
>>>CV> In other words, I want to link from within an area in an image to
>>>CV> another part of the same PDF document. My images are SVG that I'm
>>>CV> producing with Batik, so if there's something needed from the SVG side I
>>>CV> can add it. I just started to work with XSL:FO so I haven't figured out
>>>CV> if something can be done with XSL:FO alone, like overlaping basic-links
>>>CV> on the image using relative positioning, or something simpler I'm missing.
>>>
>>>CV> Thanks,
>>>
>>>CV> Carlos
>>>CV> -------------------
>>>CV> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>>>CV> in the body of the message to majordomo@renderx.com from the address
>>>CV> you are subscribed from.
>>>CV> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
>>>
>>>
>>>-------------------
>>>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>>>in the body of the message to majordomo@renderx.com from the address
>>>you are subscribed from.
>>>(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
>
>
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Sat May 28 05:51:15 2005
This archive was generated by hypermail 2.1.8 : Sat May 28 2005 - 05:51:16 PDT