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.
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
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
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
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
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/
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
-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:
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
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
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
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
12 matches
Mail list logo