RE: number-rows-spanned - Faster?

2003-03-22 Thread Rob Stote
Title: RE: number-rows-spanned - Faster?





I have found nesting tables can be quite quick. If it is simple tables nest within another. If you get into nest 4, and 5 deep that is where there can be a slow down. 

Rob


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 21, 2003 7:36 PM
To: [EMAIL PROTECTED]
Subject: Re: number-rows-spanned - Faster?


Clay Leeds wrote:
 I'm still wondering, and you're probably the person to ask: is FOP 
 faster with spanned rows or nested tables.


I don't know. There is more code and data involved if a nested
table is used, a row spanning cell however may cause some sort
of backtracking. Probably you'll need to run a direct comparision.


J.Pietschmann



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





Re: number-rows-spanned - Faster?

2003-03-21 Thread Clay Leeds
J.Pietschmann wrote:
Clay Leeds wrote:
Is it faster to nest my fo:tables or to use number-rows-spanned to 
create more complicated tables?

I'd try nested tables first, cells spanning rows occasionally create
nasty problems at page breaks.
J.Pietschmann
Thanks for the warning, but I *shouldn't* have any problems where I'm 
doing this, because it's in our rather large region-before (medical 
billing requires tons of info on every page). If there's a page break 
issue, I've got other problems. (hehehe...)

I'm still wondering, and you're probably the person to ask: is FOP 
faster with spanned rows or nested tables.
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc

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


Re: number-rows-spanned - Faster?

2003-03-21 Thread J.Pietschmann
Clay Leeds wrote:
I'm still wondering, and you're probably the person to ask: is FOP 
faster with spanned rows or nested tables.
I don't know. There is more code and data involved if a nested
table is used, a row spanning cell however may cause some sort
of backtracking. Probably you'll need to run a direct comparision.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: number-rows-spanned - Faster?

2003-03-20 Thread J.Pietschmann
Clay Leeds wrote:
Is it faster to nest my fo:tables or to use number-rows-spanned to 
create more complicated tables?

I'd try nested tables first, cells spanning rows occasionally create
nasty problems at page breaks.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: number-rows-spanned

2003-03-17 Thread Louis . Masters

I use number-rows-spanned in 0.20.3:

fo:table-cell number-rows-spanned=2
/fo:table-cell

-Lou





Clay Leeds [EMAIL PROTECTED] on 03/17/2003 11:47:37

Please respond to [EMAIL PROTECTED]

To:   FOP-User [EMAIL PROTECTED]
cc:

Subject:  number-rows-spanned

I successfully use number-columns-spanned in my XSL-FO files. However,
I can not figure out how to do number-rows-spanned correctly. I now
see in the FOP:Implemented:Properties section, that
number-columns-spanned is cited but number-rows-spanned is not. This
may account for my difficulties.

Has the functionality for number-rows-spanned been added to FOP while
the maintainer of the Implemented list was asleep (wishful
thinking-to-be-sure). I wonder what other features have been added while
no one was looking.

Is there some type of search engine in CVS which could be used to
output Implemented list to ensure we're not missing some
object|property that's been implemented, or is that wishful thinking too
;-)?

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


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









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



Re: number-rows-spanned

2003-03-17 Thread Clay Leeds
Lou,
Thanks for the quick reply. That's GREAT! A couple of questions:
1. Does it work in 0.20.4 and/or 0.20.5x?
2. Can you give me an example? I'd like to do something like this:
|===|
|   |   |   |
|   |   |   |
|   |   |   |
|===|   |
|   |   |   |
|   |   |   |
|   |   |   |
|===|
|   |   |
|   |   |
|   |   |
|===|
Many thanks!
[EMAIL PROTECTED] wrote:
I use number-rows-spanned in 0.20.3:
fo:table-cell number-rows-spanned=2
/fo:table-cell
-Lou

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: number-rows-spanned

2003-03-17 Thread Peter Solberg

You can achieve this table layout by using nested tables...

fo:tablefo:table-column/fo:table-column/fo:table-bodyfo:table-rowfo:table-cell!-- NESTED TABLE --
fo:tablefo:table-column/fo:table-column/fo:table-bodyfo:table-rowfo:table-cell/fo:table-cellfo:table-cell/fo:table-cell/fo:table-rowfo:table-rowfo:table-cell/fo:table-cellfo:table-cell/fo:table-cell/fo:table-row/fo:table-body/fo:table
/fo:table-cellfo:table-cell/fo:table-cell/fo:table-rowfo:table-rowfo:table-cell/fo:table-cellfo:table-cell/fo:table-cell/fo:table-row/fo:table-body/fo:table

From: Clay Leeds <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Re: number-rows-spanned 
Date: Mon, 17 Mar 2003 08:57:05 -0800 
 
Lou, 
 
Thanks for the quick reply. That's GREAT! A couple of questions: 
 
1. Does it work in 0.20.4 and/or 0.20.5x? 
2. Can you give me an example? I'd like to do something like this: 
 
|===| 
| | | | 
| | | | 
| | | | 
|===| | 
| | | | 
| | | | 
| | | | 
|===| 
| | | 
| | | 
| | | 
|===| 
 
Many thanks! 
 
[EMAIL PROTECTED] wrote: 
I use "number-rows-spanned" in 0.20.3: 
 
 
 
 
-Lou 
 
 
-- 
Clay Leeds - [EMAIL PROTECTED] 
Web Developer - Medata, Inc. - http://www.medata.com 
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc 
 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
Add photos to your messages with  MSN 8.  Get 2 months FREE*.

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



Re: number-rows-spanned

2003-03-17 Thread Clay Leeds
Peter,
I appreciate the note. However, I'm already doing that and am instead 
interested in implementing a non-nested version as I am inclined to 
believe it will provide more optimized  efficient results. Rob Stote's 
e-mail earlier today showed a ~6% cut in processing time:

RESULTS FOR CALLED TABLES:
703 [main] DEBUG RenderPDF  - Avg render time: 328ms/page
640 [main] DEBUG RenderPDF  - Avg render time: 289ms/page
703 [main] DEBUG RenderPDF  - Avg render time: 320ms/page
656 [main] DEBUG RenderPDF  - Avg render time: 312ms/page
625 [main] DEBUG RenderPDF  - Avg render time: 297ms/page
AVRG: 309.2ms/page
RESULTS FOR NESTED TABLES:
766 [main] DEBUG RenderPDF  - Avg render time: 312ms/page
609 [main] DEBUG RenderPDF  - Avg render time: 281ms/page
688 [main] DEBUG RenderPDF  - Avg render time: 312ms/page
609 [main] DEBUG RenderPDF  - Avg render time: 281ms/page
641 [main] DEBUG RenderPDF  - Avg render time: 305ms/page
AVRG: 298.2ms/page
I realize this is somewhat subjective  limited testing (there may be 
correlations to platform, as well as other processes running), but I am 
looking for the most efficient solution possible. From my experience 
with Netscape and other web browsers (a different beast to be sure!) 
nested tables tend to exhibit significant load increases as tables are 
nested deeper  deeper.

Thank you again for the note (and the code!)
Respectfully,
Web Maestro Clay
Peter Solberg wrote:
You can achieve this table layout by using nested tables...

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: number-rows-spanned - Faster?

2003-03-17 Thread Clay Leeds
Is it faster to nest my fo:tables or to use number-rows-spanned to 
create more complicated tables?

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: number-rows-spanned

2003-03-17 Thread Louis . Masters

1.  No idea - I have not tried to upgrade yet.

2.  OK, I didn't actually run this, but it should work:

fo:table-row
 fo:table-cell/
 fo:table-cell/
 fo:table-cell number-rows-spanned=2/
/fo:table-row
fo:table-row
 fo:table-cell/
 fo:table-cell/
/fo:table-row
fo:table-row
 fo:table-cell number-columns-spanned=2/
 fo:table-cell/
/fo:table-row

Try it out and let me know.  If it doesn't work, I'll send you the complete
xsl file that we use.

-Lou






Clay Leeds [EMAIL PROTECTED] on 03/17/2003 11:57:05

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Re: number-rows-spanned

Lou,

Thanks for the quick reply. That's GREAT! A couple of questions:

1. Does it work in 0.20.4 and/or 0.20.5x?
2. Can you give me an example? I'd like to do something like this:

|===|
|   |   |   |
|   |   |   |
|   |   |   |
|===|   |
|   |   |   |
|   |   |   |
|   |   |   |
|===|
|   |   |
|   |   |
|   |   |
|===|

Many thanks!

[EMAIL PROTECTED] wrote:
 I use number-rows-spanned in 0.20.3:

 fo:table-cell number-rows-spanned=2
 /fo:table-cell

 -Lou


--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


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









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



Re: number-rows-spanned

2003-03-17 Thread Clay Leeds
Thanks Lou,
[EMAIL PROTECTED] wrote:
Try it out and let me know.  If it doesn't work, I'll send you the complete
xsl file that we use.
-Lou
Works fine. I actually modified a portion of my own code to see. It 
still uses many nested tables, but my results did show a slight 
improvement (which, of course could be attributed to many things).

Considering I've probably got 30+nested tables on each page (some 3 or 4 
levels deep) I am hoping this could pan out to perhaps a 5-15% 
improvement in rendering times (I tend to be optimistic! ;-). The 
location I changed in my code for testing was *very* minor, but since it 
showed a slight improvement, I'm inclined to do further testing.
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc

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


Re: number-rows-spanned

2003-03-17 Thread Philip Semanchuk
On Mon, 2003-03-17 at 11:47, Clay Leeds wrote:
 I successfully use number-columns-spanned in my XSL-FO files. However, 
 I can not figure out how to do number-rows-spanned correctly. I now 
 see in the FOP:Implemented:Properties section, that 
 number-columns-spanned is cited but number-rows-spanned is not. This 
 may account for my difficulties.

Clay,
I use number-rows-spanned without difficulty and with no nested tables.
Usage examples for both number-rows-spanned and number-columns-spanned
are in /docs/examples/tables/headfoot.fo. FYI, I found this by grepping
for spanned in the tables directory. I am using FOP 0.20.5rc.

Good luck
Philip


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