Question about image alignment

2004-11-30 Thread Johan Andersson
Hi all, If an image resides inside a table cell that is larger than the image, how can one specify how the image should be aligned with regards to the cell? What I'm trying to accomplish is to align the image with the lower right corner of the cell if the image doesn't fill the entire cell.

RE: resetting image cache during processing

2004-11-30 Thread Agar, Robert
Agar, Robert wrote: Is it safe to call FopImageFactory.resetCache() during processing? We need to reduce the memory usage as much as possible, so I was considering calling it every time a page rendered info event is logged. Or does this sound like a really bad idea? It should be safe but

RE: Question about image alignment

2004-11-30 Thread mathieu . fretiere
align the image with the lower right corner of the cell try : fo:table-cell display-align=after fo:block text-align=right fo:external-graphic src=url('images/my_image.svg') / /fo:block /fo:table-cell it works but I get some small blank spaces between the graphic

Re: Question about image alignment

2004-11-30 Thread Johan Andersson
Hi Mathieu, Thank you very much for your quick reply. Regarding your problem with the small gap between the graphic and the cell border. How about giving a negative padding for the cell on the side where the gap is? Regards, Johan Andersson [EMAIL PROTECTED] wrote: align the image with the

RE: Question about image alignment

2004-11-30 Thread Daniel Easton
I know this is a bit off topic but just a thought - the small gap might go away if the code is all on one line ? There's a similar thing with IE and html when displaying an image: tr td img src=myimage.gif / /td /tr Will give a gap on some sides of the image

Font style problem

2004-11-30 Thread rohit . rastogi
Hi I have all the fonts available in my System . But the fop does not pick up the right font while applying. Here is the code I have in XSLT xsl:template match=html:[EMAIL PROTECTED]'font-family:Times'] fo:inline font-family=Times xsl:apply-templates/

Printing PDF on the client default printer.

2004-11-30 Thread Manoj_Nair
Just wanted everyone to know that I have successfully implemented client side printing using FOPEg: If the XML file gets created on the webserver which is located in Los Angeles and the user in London, then the XML is converted to PDF and the PDF file is printed on the clients default printer

RE: Font style problem

2004-11-30 Thread Andreas L. Delmelle
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have all the fonts available in my System . But the fop does not pick up the right font while applying. snip / Is there anything wrong in the code. No. You probably want to take a closer look at:

Re: Printing PDF on the client default printer.

2004-11-30 Thread Glen Mazza
That seems odd--HTTP normally won't (can't?) work that way. It seems tantamount to saying that one can make an HTTP request from one browser and have the response sent to another browser (on a different machine). Would you mind getting into some details of how you managed that? Thanks, Glen

setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread robert frapples
Here's a (hopefully) interesting problem: (I've been editing this email every day. Every time I can't figure out how to do something, I come up with an alternate plan, assisted by a few people in #xml on irc.freenode.net. (Thank you Bebabo). I figured at this point I'd share my experiences. If

Re: setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread JBryant
Couple things: First, I'd dump this topic on the XSL list. Those folks love this kind of question, and they are good at helping with this kind of issue. Second, I'd look at making a key to hold the field-that-has-a-value-and-whose-next-sibling-has-a-value combos. Then, rather than read the

Re: setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread JBryant
Forgot to add the URL for the XSL list: http://www.mulberrytech.com/xsl/xsl-list/ Jay Bryant Bryant Communication Services robert frapples [EMAIL PROTECTED] 11/30/2004 03:09 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject setting up tables differently based on