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 Glenn Brand <gb...@odprofessional.com> on 2008/01/03 07:18:12 UTC
RE: Image rendering at higher DPI
That worked great.
The next problem is that the resolution is quite low both colors and
DPI.
What do you suggest?
-----Original Message-----
From: Andreas L Delmelle [mailto:a_l.delmelle@pandora.be]
Sent: January 2, 2008 10:54 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Image rendering at position problem
On Jan 2, 2008, at 18:58, Glenn Brand wrote:
> Hi,
>
> I am trying to place a graphic (customer logo) to the right of a
> table at the top of a patient walk out statement of account.
> When I put the graphic on the style sheet editor (stylus
> studio2008) it looks correct but when it gets published as XSL-FO
> and then rendered it is placed underneath the table.
> How can I get it to go to the right of the table?
>
> <fo:table width="225pt" border-style="none" border-width="0pt"
> background-repeat="repeat">
> <snip />
> </fo:table>
> <fo:external-graphic background="transparent" width="200pt"
> height="200pt"src="url(file:///c:/CacheSys/CSP/qacahaba/
> ODprofessional_logo.gif)"/>
Correct: a fo:table is a block-level formatting object, and as such
triggers implicit line-breaks before and after.
To do what you have in mind --keep a table on the same line as a
following sibling inline-level FO, like external-graphic-- I think
you would need support for either fo:float or fo:inline-container.
Neither of these are implemented in FOP at the moment.
As a workaround, you could try nesting tables (or put the external-
graphic in its own last column in a cell that spans all rows).
HTH!
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org