Can i put two block in a single line?

View: New views
6 Messages — Rating Filter:   Alert me  

Can i put two block in a single line?

by lujie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
   I have two blocks, block A and block B. I want to put A and B in "paralell" mode,just like:

     block A         .....      block B

   block A has a different height with block B.
   
   Can fop do with this?

   Thx

                                                 

RE: Can i put two block in a single line?

by Michael Halpin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can probably use fo:inline to format block B within block A or you
can place them in separate cells within a table.

Thanks,
Michael
____________________
In the event that I am arrested for being a domestic enemy of the
state, you should know that it is not true, and I will be back in the
office just as soon as they reinstate Habeas Corpus.

-----Original Message-----
From: lujie [mailto:lj_ph@...]
Sent: Monday, June 30, 2008 9:20 AM
To: fop-users@...
Subject: Can i put two block in a single line?


Hi,
   I have two blocks, block A and block B. I want to put A and B in
"paralell" mode,just like:

     block A         .....      block B

   block A has a different height with block B.
   
   Can fop do with this?

   Thx

                                                 
--
View this message in context:
http://www.nabble.com/Can-i-put-two-block-in-a-single-line--tp18196765p1
8196765.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


RE: Can i put two block in a single line?

by Griffin,Sean :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't think <block>s inside an <inline> is going to get you the desired effect.  I think what you're looking for is an <inline-container>, and unfortunately it appears that FOP does not support inline-containers.  I think using a table is your only option here, which, because of lack of auto table layout, may not work for you either.

-----Original Message-----
From: Michael Halpin [mailto:mhalpin@...]
Sent: Monday, June 30, 2008 9:24 AM
To: fop-users@...
Subject: RE: Can i put two block in a single line?

You can probably use fo:inline to format block B within block A or you
can place them in separate cells within a table.

Thanks,
Michael
____________________
In the event that I am arrested for being a domestic enemy of the
state, you should know that it is not true, and I will be back in the
office just as soon as they reinstate Habeas Corpus.

-----Original Message-----
From: lujie [mailto:lj_ph@...]
Sent: Monday, June 30, 2008 9:20 AM
To: fop-users@...
Subject: Can i put two block in a single line?


Hi,
   I have two blocks, block A and block B. I want to put A and B in
"paralell" mode,just like:

     block A         .....      block B

   block A has a different height with block B.
   
   Can fop do with this?

   Thx

                                                 
--
View this message in context:
http://www.nabble.com/Can-i-put-two-block-in-a-single-line--tp18196765p1
8196765.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

----------------------------------------------------------------------
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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


RE: Can i put two block in a single line?

by Louis.Masters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If you are just trying to keep the tops aligned, then a table should work.  You may have to change your vertical alignment depending on how you want the content to appear.

If all else fails, you can absolute position them on the page.

-Lou

"Michael Halpin" <mhalpin@...> wrote on 06/30/2008 10:23:30 AM:

> You can probably use fo:inline to format block B within block A or you
> can place them in separate cells within a table.
>
> Thanks,
> Michael
> ____________________
> In the event that I am arrested for being a domestic enemy of the
> state, you should know that it is not true, and I will be back in the
> office just as soon as they reinstate Habeas Corpus.
>
> -----Original Message-----
> From: lujie [mailto:lj_ph@...]
> Sent: Monday, June 30, 2008 9:20 AM
> To: fop-users@...
> Subject: Can i put two block in a single line?
>
>
> Hi,
>    I have two blocks, block A and block B. I want to put A and B in
> "paralell" mode,just like:
>
>      block A         .....      block B
>
>    block A has a different height with block B.
>    
>    Can fop do with this?
>
>    Thx
>
>                                                  
> --
> View this message in context:
> http://www.nabble.com/Can-i-put-two-block-in-a-single-line--tp18196765p1
> 8196765.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@...
> For additional commands, e-mail: fop-users-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@...
> For additional commands, e-mail: fop-users-help@...
>

Re: Can i put two block in a single line?

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jun 30, 2008, at 16:29, Griffin,Sean wrote:

> I don't think <block>s inside an <inline> is going to get you the  
> desired effect.  I think what you're looking for is an <inline-
> container>, and unfortunately it appears that FOP does not support  
> inline-containers.  I think using a table is your only option here,  
> which, because of lack of auto table layout, may not work for you  
> either.

Just FYI: Sean is correct here. fo:inline-container would be exactly  
what's needed to achieve that effect.

For the more adventurous types, there is a very rough implementation  
available in Bugzilla #44885, but I don't know when I will get it  
closer to completion (it's definitely not ready to be committed yet)


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: Can i put two block in a single line?

by lujie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreas Delmelle-2 wrote:
On Jun 30, 2008, at 16:29, Griffin,Sean wrote:

> I don't think <block>s inside an <inline> is going to get you the  
> desired effect.  I think what you're looking for is an <inline-
> container>, and unfortunately it appears that FOP does not support  
> inline-containers.  I think using a table is your only option here,  
> which, because of lack of auto table layout, may not work for you  
> either.

Just FYI: Sean is correct here. fo:inline-container would be exactly  
what's needed to achieve that effect.

For the more adventurous types, there is a very rough implementation  
available in Bugzilla #44885, but I don't know when I will get it  
closer to completion (it's definitely not ready to be committed yet)


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Thanks very much.

so, the absolute position is the only way.