For some reason I had the mistaken impression that keep-together only applied 
to blocks and not inlines.  Guess I'm wrong!  And yes, that would certainly be 
an easier way to make it work.

-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 02, 2008 11:12 AM
To: [email protected]
Subject: Re: Inline blocks in fop 0.94 (not block with inlines)

On Jul 2, 2008, at 12:15, gtsopour wrote:

>
> <fo:block>
> <fo:inline>Text1</fo:inline>
> <fo:inline>Text2</fo:inline>
> </fo:block>
> I have a block and i put in it some inlines, as shown in the  
> example. I want
> the inlines untouched-solid in a single line if they fit and if  
> they don't
> feet , then change line main whole(do not get cut at the end of  
> current line
> and continue at the next line). I How to keep the last inline in a  
> single
> line, in case that it is too large too fit;;;;;;;;;

Not sure if this was already working in 0.94, but in 0.95 I know you  
can do:

<fo:block>
   <fo:inline keep-together.within-line="always">Text1</fo:inline>
   <fo:inline keep-together.within-line="always">Text2</fo:inline>
</fo:block>

A break between the two inlines is always possible, but the inlines  
themselves will not be broken.


HTH!

Cheers

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to