Re: question, embedded documents

Hussein Shafie <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Organization XMLmind
Message-ID <[email protected]>
On 03/07/2013 09:07 AM, Bergmueller, Wolfhart (ext) wrote:
> we are using XSL FO converter to generate RTF files. In the rtf document
> we have links to other PDF documents and we want to integrate these pdf
> documents into the rtf file as embedded document (OLE). In the rtf file
> shall appear an icon, and if clicked the pdf shall be opened.
> RTF files generally support this feature. You can do it with wordpad e.g.
> Does the XSL Fo converter support such a function?

No, because the feature you need cannot be expressed in terms of XSL-FO.

Note that it quite easy to emulate the behavior you describe without 
generating any special OLE link. The XSL-FO input source should contain:

<fo:basic-link external-destination="url(file:/Z:/docs/foo/bar.pdf)"
                text-altitude="32px"> <!--32px=height of PDF icon-->
   <fo:external-graphic src="url(icons/pdf.png)"/>
</fo:basic-link>

We do this for our own documents and it works fine. The only drawback of 
this method is that the user must *Ctrl-click* rather than just click on 
the PDF icon in order to open the PDF file in the external application.


> And if yes, where can
> I find documentation how to use it in my application?
>

--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.