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 Jay Bryant <ja...@bryantcs.com> on 2005/12/21 22:16:46 UTC

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

> Hi, all,
>
> I'm creating reports for a new client. The reports consist entirely of
> tables (not blind tables used for layout but actual tabular content).
>
> In 0.20.5, I can't get keep-together or keep-with-next to work on a table
> row. I get page breaks within table-cells.
>
> In .90alpha, I don't get page breaks in table-cells, but it causes another
> problem. .90alpha collapses (renders with 0 height, it seems) blocks that
> contain just a non-breaking space (that is, character & # 1 6 0 ; with
extra
> spaces). I need those blocks to be full height, as I am using them to
> position things within table cells. Collapsing <fo:block/> would be fine
> (I'm using empty blocks for page breaks between tables, in fact, and it's
> good there), but it seems to me that blocks with content (even just a
space)
> shouldn't be collapsed.
>
> So, I either need to know how to get page breaks to not occur within table
> cells (that is, only at the rows between cells) in 0.20.5 or I need to
know
> how to prevent blocks that contain spaces from collapsing in .90alpha. The
> 0.20.5 solution would be preferred, but I think I can talk my client into
> moving to .90alpha if it fixes the page break problem.
>
> Thanks
>

I used block-containers with height attribute values wrapped around empty
blocks to make my spacer blocks, so I've gotten the .90alpha solution to
work. Combined with the -q option to shut off all the to-do messages, it'll
work.

I'd still like to know how to prevent page breaks within table cells in
0.20.5 in case my client (or some future client) resists going to .90alpha.

Thanks some more.

Jay Bryant
Bryant Communication Services



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


Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

Posted by Jay Bryant <ja...@bryantcs.com>.
Hi, Jeremias,

> > I used block-containers with height attribute values wrapped around
empty
> > blocks to make my spacer blocks, so I've gotten the .90alpha solution to
> > work. Combined with the -q option to shut off all the to-do messages,
it'll
> > work.
>
> That seems like a hack. Please try my suggestions I just sent.

It feels like a hack, too. I'll try your ideas.

> > I'd still like to know how to prevent page breaks within table cells in
> > 0.20.5 in case my client (or some future client) resists going to
.90alpha.
>
> keep-together is supposed to work if specified on a table-row. Does that
> mean that this doesn't work in your case. If you can post a small
> example, I can have a look.

Well, while I was preparing a sample that would show the problem, I got
keep-together="always" to work the way it should. I'm not sure what changed,
so I'll let the matter drop, as I don't have time to pursue much testing at
present.

Thanks.

J



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


Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 21.12.2005 22:16:46 Jay Bryant wrote:
> > Hi, all,
> >
> > I'm creating reports for a new client. The reports consist entirely of
> > tables (not blind tables used for layout but actual tabular content).
> >
> > In 0.20.5, I can't get keep-together or keep-with-next to work on a table
> > row. I get page breaks within table-cells.
> >
> > In .90alpha, I don't get page breaks in table-cells, but it causes another
> > problem. .90alpha collapses (renders with 0 height, it seems) blocks that
> > contain just a non-breaking space (that is, character & # 1 6 0 ; with
> extra
> > spaces). I need those blocks to be full height, as I am using them to
> > position things within table cells. Collapsing <fo:block/> would be fine
> > (I'm using empty blocks for page breaks between tables, in fact, and it's
> > good there), but it seems to me that blocks with content (even just a
> space)
> > shouldn't be collapsed.
> >
> > So, I either need to know how to get page breaks to not occur within table
> > cells (that is, only at the rows between cells) in 0.20.5 or I need to
> know
> > how to prevent blocks that contain spaces from collapsing in .90alpha. The
> > 0.20.5 solution would be preferred, but I think I can talk my client into
> > moving to .90alpha if it fixes the page break problem.
> >
> > Thanks
> >
> 
> I used block-containers with height attribute values wrapped around empty
> blocks to make my spacer blocks, so I've gotten the .90alpha solution to
> work. Combined with the -q option to shut off all the to-do messages, it'll
> work.

That seems like a hack. Please try my suggestions I just sent.

> I'd still like to know how to prevent page breaks within table cells in
> 0.20.5 in case my client (or some future client) resists going to .90alpha.

keep-together is supposed to work if specified on a table-row. Does that
mean that this doesn't work in your case. If you can post a small
example, I can have a look.


Jeremias Maerki


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