You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Chris Faulkner <ch...@oramap.com> on 2003/10/27 00:07:49 UTC
basic-link
Hello
I am having problems with <fo:basic-link> I use it as shown below. When you
hover over the link in the resulting PDF, the link includes a load of
garbage characters after the ".com". Am I doing something wrong ? ARe there
any alternatives for embedding a link in my PDF ?
<fo:table-cell display-align="center">
<fo:block line-height="14pt" font-size="9pt">
<fo:basic-link external-destination="url('www.website.com')"
color="#000099">Visit us here www.website.com
</fo:basic-link>
</fo:block>
</fo:table-cell>
Thanks
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: basic-link
Posted by Glen Mazza <gr...@yahoo.com>.
Chris,
Take a look at the example here:
http://marc.theaimsgroup.com/?l=fop-dev&m=106588921514459&w=2
Perhaps it should be:
external-destination="http://www.yahoo.com"
instead of the url() function you used below for this
attribute in the fo:basic-link.
HTH,
Glen
--- Chris Faulkner <ch...@oramap.com> wrote:
> Hello
>
> I am having problems with <fo:basic-link> I use it
> as shown below. When you
> hover over the link in the resulting PDF, the link
> includes a load of
> garbage characters after the ".com". Am I doing
> something wrong ? ARe there
> any alternatives for embedding a link in my PDF ?
>
> <fo:table-cell display-align="center">
> <fo:block line-height="14pt" font-size="9pt">
> <fo:basic-link
> external-destination="url('www.website.com')"
> color="#000099">Visit us here www.website.com
> </fo:basic-link>
> </fo:block>
> </fo:table-cell>
>
> Thanks
>
> Chris
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
>
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: PDF "meta" properties (was Re: basic-link)
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Clay Leeds wrote:
> I was unaware that FOP has the ability to add Producer, Author and Title
> properties
It can be set via the PDF renderer API, at least for HEAD. Maybe
the producer is hardcoded to "FOP" or something (look into the
source for details).
It's not accessible on the command line yet.
J.Pietschmann
RE: PDF "meta" properties (was Re: basic-link)
Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Clay Leeds [mailto:cleeds@medata.com]
>
> I was unaware that FOP has the ability to add Producer, Author and Title
> properties to FOP. In fact, the web site still shows "FOP does not
> currently support several desirable PDF features: document properties
> (title, author, etc.), and watermarks.":
>
> http://xml.apache.org/fop/output.html#pdf
>
Maestro,
Hold yer horses here... I had to do a bit of browsing around in the code to
find out that support for these is already implemented. Once I saw this, it
was merely a question of calling the appropriate method(s) in the Driver.
(In fact, the producer field was already being used. At first I added the
other properties to the code myself, after reading a bit through the pdf
spec & based upon what was already there... Only to find out later on that
these were also added by dev... :) )
> If support for these have been added, I think it would be great to add
> this info to the web site. If it's been added to 1.0Dev then, as Emily
> Litella would say... "never mind".
>
Hmmm... I doubt the way it works right now deserves to be put on the site
somewhere, but still it's probably nice for some users to know that these
features are already available under the surface somewhere.
Greetz,
Andreas
PDF "meta" properties (was Re: basic-link)
Posted by Clay Leeds <cl...@medata.com>.
Andreas L. Delmelle wrote:
> Right you are! Same here... A little experience with iText, but since FOP
> supports encryption and the producer / author / title props, I have seen
> little use for iText.
I was unaware that FOP has the ability to add Producer, Author and Title
properties to FOP. In fact, the web site still shows "FOP does not
currently support several desirable PDF features: document properties
(title, author, etc.), and watermarks.":
http://xml.apache.org/fop/output.html#pdf
If support for these have been added, I think it would be great to add
this info to the web site. If it's been added to 1.0Dev then, as Emily
Litella would say... "never mind".
:-P
RE: basic-link
Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Chris Faulkner [mailto:chrisf@oramap.com]
>
> Yes - I am using encryption :-( I have some experience of iText
> but I moved
> away from it in favour of XSL:FO and FOP. I don't fancy doing
> post-processing - I'll wait for the fix.
>
Right you are! Same here... A little experience with iText, but since FOP
supports encryption and the producer / author / title props, I have seen
little use for iText.
Thx for the vote of confidence (in FOP that is :) ).
Greetz,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: basic-link
Posted by Chris Faulkner <ch...@oramap.com>.
Yes - I am using encryption :-( I have some experience of iText but I moved
away from it in favour of XSL:FO and FOP. I don't fancy doing
post-processing - I'll wait for the fix.
Thanks
Chris
> Are you using encryption? Afraid this is causing the garbage chars...
>
> > ? ARe there
> > any alternatives for embedding a link in my PDF ?
> >
>
> PDF Encryption is working in 1.0 dev, but the latest I heard was
> basic-links
> aren't so...
> Have a look at http://xml.apache.org/fop/output.html#pdf-postprocess
>
> With iText, you can easily add a hyperlink at some absolute position on a
> page generated by FOP.
>
>
> Hope this helps!
>
> Greetz,
>
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: basic-link
Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Chris Faulkner [mailto:chrisf@oramap.com]
>
> I am having problems with <fo:basic-link> I use it as shown
> below. When you
> hover over the link in the resulting PDF, the link includes a load of
> garbage characters after the ".com". Am I doing something wrong
Are you using encryption? Afraid this is causing the garbage chars...
> ? ARe there
> any alternatives for embedding a link in my PDF ?
>
PDF Encryption is working in 1.0 dev, but the latest I heard was basic-links
aren't so...
Have a look at http://xml.apache.org/fop/output.html#pdf-postprocess
With iText, you can easily add a hyperlink at some absolute position on a
page generated by FOP.
Hope this helps!
Greetz,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org