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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to