specify a base URL for images
I'm running fop 0.20.5rc. I understand that I need to configure FOP through the use of the org.apache.fop.configuration.Configuration class. I have done this by setting baseDir to http://koes/dora. This is the base URL for my web application. How do I pick up images? I've tried setting the background-image attribute to /draft.jpg and draft.jpg. Neither produced any image on the rendered PDF, but I got no error from the FOP processor. Any info regarding this would be appreciated. Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: specify a base URL for images
Koes, Derrick wrote: I'm running fop 0.20.5rc. I understand that I need to configure FOP through the use of the org.apache.fop.configuration.Configuration class. I have done this by setting baseDir to http://koes/dora. This is the base URL for my web application. How do I pick up images? I've tried setting the background-image attribute to /draft.jpg and draft.jpg. Neither produced any image on the rendered PDF, but I got no error from the FOP processor. See http://xml.apache.org/fop/faq.html#faq-N102DC -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Spaces
Miguel Paulo, Actually, I get errors when I use nbsp; in XSL-FO markup. I would have to set it up as an entity. However, when using the following line at the top of my XML document: ?xml version=1.0 encoding=UTF-8? ...I can use #160; as a space character (I believe it's non-breaking, too!), without problems. If you use an encoding attribute value other than UTF-8 you might need to use something else. Hope this helps! Web Maestro Clay Miguel Angel Busto wrote: You can use nbsp; special char instead of space char -Original Message- *From:* Joannes Capitanio [mailto:[EMAIL PROTECTED] *Sent:* lunes, 27 de enero de 2003 13:22 *To:* [EMAIL PROTECTED] *Subject:* Re: Spaces try to use white-space-collapse=false property inside fo:block joannes - Original Message - *From:* Paulo Gustavo Benfatti mailto:[EMAIL PROTECTED] *To:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Sent:* Monday, January 27, 2003 1:00 PM *Subject:* Spaces Hi, How can i add more than a space between two words in fop:block tag ? Thanks, Paulo Benfatti Accenture - São Paulo - Brazil -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hyperlink in a List
Hi, Does anybody know why a hyperlink inside a list won't work? Here's the code: fo:list-block provisional-distance-between-starts=12pt space-before.optimum=12pt text-align=justify fo:list-item fo:list-item-label end-indent=label-end()fo:block#x2022;/fo:block/fo:list-item-label fo:list-item-body start-indent=body-start() fo:block fo:basic-link external-destination=www.oracle.comCommissions/fo:basic-link /fo:block/fo:list-item-body /fo:list-item /fo:list-block Thanks Rakesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Color in Pantone format?
Hi. Is it possible to specify a color in Pantone?
background-image question
Interestingly enough, putting the background-image attribute as a real attribute of fo:block in the transform produces the desired result. However, adding it with an xsl:attribute element does not produce the desired result. I think I need to use xsl:attribute because I want to add/set the attribute conditionally. 1. works: fo:block background-image=draft.jpg 2. does not work: fo:block xsl:attribute name=background-image xsl:value-of select=draft.jpg/ /xsl:attribute Any help is appreciated. This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table of Contents problem
Clay: This actually results in the same problem: the endofdoc reference does force the TOC number of the previous item to be printed, but its own page number is then omitted. The solution I came up with is to -- as you suggested -- output this endofdoc reference as the last block in TOC, but to make the font color=white. By doing this, the previous TOC item was printed in full and the last TOC dummy item, though incomplete, is output as invisible text. Thanks for the help Jon -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, January 24, 2003 7:33 AM To: [EMAIL PROTECTED] Subject: Re: Table of Contents problem Jon, Can you merely use fo:page-number-citation ref-id=endofdoc/ for the last item (and put fo block id=endofdoc/fo:block at the last item)? Web Maestro Clay Jon Steeves wrote: I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 23, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: Re: Table of Contents problem Jon Steeves wrote: I'm trying to generate a TOC. The following code works up to a point - all the TOC items output correctly except for the last one, which won't print the page number at the end of the leader pattern. Does anyone know how to get that last page number to print? Looks like one of these elusive deleted Id bugs. Are you using a multi-column layout or keeps, or lists? An id referred to should be on a fo:block which is not nested in a list or table, and for best results on a block which is an immediate child of the flow. (Also, does anyone know how to get the leader pattern to output evenly?) There is currently no way to make it perfect, but you can improve it a bit with a table fo:table table-layout=fixed widht=100% fo:table-column column-width=proportional-column-width(5)/ fo:table-column column-width=proportional-column-width(1)/ fo:table-body fo:table-row fo:table-cell fo:block text-align=justifyText fo:leader leader-pattern=dots/ /fo:block /fo:table-cell fo:table-cell fo:block text-align=right fo:leader leader-pattern=dots/fo:page-number-citation .../ /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table Note: there must be a space before the leader in the first cell, and there must not be a space between the leader in the second cell and the page number citation. The leader form the second cell will probably overlap the other leader. You might need to adjust the cell width a bit so that the dots match exactly. J.Pietschmann -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]