auto table layout

2002-11-05 Thread Oleg Tkachenko
Hello there!

I only just realized XEP also doesn't support auto table layout, it just tries 
to balance columns if column widths are not specified. I don't understand 
exactly what that balancing means, but anyway, you know, I mean probably we 
could adopt this strategy (in 1.0 surely) before auto table layout is implemented.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


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



Re: Table layout

2002-01-11 Thread Christian Geisert

Matt Savino wrote:
 
 Right now keep-with-next at the row level is the only thing that works.
 But if you have more rows than can fit on a page, FOP goes into an
 endless loop.
 
 This issue isn't adressed at all in the upocoming maintenance release is
 it?

It is adressed
.. and you hereby voluntered to test the forthcoming release candidate ;-)

Christian

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




Re: Table layout

2002-01-11 Thread Matt Savino

will do

Christian Geisert wrote:
 
 Matt Savino wrote:
 
  Right now keep-with-next at the row level is the only thing that works.
  But if you have more rows than can fit on a page, FOP goes into an
  endless loop.
 
  This issue isn't adressed at all in the upocoming maintenance release is
  it?
 
 It is adressed
 .. and you hereby voluntered to test the forthcoming release candidate ;-)
 
 Christian
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




Table layout

2002-01-10 Thread Phillips Tony

Hello,

I have created an invoice utility based on FOP to produce PDF invoices.  

I've used a multi column table for the 'body' of the invoice and it's
looking quite nice so far!  However, within the narrative column items can
be grouped under headings, for example:

Heading 1 
item
item

Heading 2
item
item

Total

This is working well however I need to do something to make sure that a
heading stays with it's entries when the item list is split over multiple
pages - I guess it's like using keep with next when formatting paragraphs
in Word!

Any guidance much appreciated!

thanks

Tony

 Tony Phillips
 Development Manager
 
 axxia Systems Limited
 
 TEL:  +44 (0)118 960 2649 
 FAX:  +44 (0)118 960 2600
 E-MAIL:   [EMAIL PROTECTED]
 WEB:  http://www.axxia.com
 Axxia House, 4 The Pavilions, Ruscombe Business Park, Twyford, Berkshire,
 United Kingdom. RG10 9NN
 
 E-MAIL DISCLAIMER
 
 The information in this e-mail and any attachment is confidential.  It is
 intended only for the named recipient(s). If you are not a named recipient
 please notify the sender immediately and do not disclose the contents to
 another person or take copies. Although Axxia Systems has taken every
 reasonable precaution to ensure that any attachment to this e-mail has
 been checked for viruses, it is strongly recommended that you carry out
 your own virus check before opening any attachment, as we cannot accept
 liability for any damage sustained as a result of software virus
 infection. Axxia Systems reserves the right and senders of messages shall
 be taken to consent to the monitoring and recording of e-mails addressed
 to axxia.com.
 
 
 



E-MAIL DISCLAIMER

The information in this e-mail and any attachment is confidential. 
It is intended only for the named recipient(s). If you are not a
named recipient please notify the sender immediately and do not
disclose the contents to another person or take copies. Although
Axxia Systems has taken every reasonable precaution to ensure
that any attachment to this e-mail has been checked for viruses, 
it is strongly recommended that you carry out your own virus 
check before opening any attachment, as we cannot accept
liability for any damage sustained as a result of software virus 
infection. Axxia Systems reserves the right and senders of
messages shall be taken to consent to the monitoring and
recording of e-mails addressed to axxia.com.
***


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




RE: Table layout

2002-01-10 Thread Sergei Timofejev

keep-togather=always

-Original Message-
From: Phillips Tony [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 3:01 PM
To: '[EMAIL PROTECTED]'
Subject: Table layout


Hello,

I have created an invoice utility based on FOP to produce PDF invoices.


I've used a multi column table for the 'body' of the invoice and it's
looking quite nice so far!  However, within the narrative column items
can
be grouped under headings, for example:

Heading 1 
item
item

Heading 2
item
item

Total

This is working well however I need to do something to make sure that a
heading stays with it's entries when the item list is split over
multiple
pages - I guess it's like using keep with next when formatting
paragraphs
in Word!

Any guidance much appreciated!

thanks

Tony

 Tony Phillips
 Development Manager
 
 axxia Systems Limited
 
 TEL:  +44 (0)118 960 2649 
 FAX:  +44 (0)118 960 2600
 E-MAIL:   [EMAIL PROTECTED]
 WEB:  http://www.axxia.com
 Axxia House, 4 The Pavilions, Ruscombe Business Park, Twyford,
Berkshire,
 United Kingdom. RG10 9NN
 
 E-MAIL DISCLAIMER
 
 The information in this e-mail and any attachment is confidential.  It
is
 intended only for the named recipient(s). If you are not a named
recipient
 please notify the sender immediately and do not disclose the contents
to
 another person or take copies. Although Axxia Systems has taken every
 reasonable precaution to ensure that any attachment to this e-mail has
 been checked for viruses, it is strongly recommended that you carry
out
 your own virus check before opening any attachment, as we cannot
accept
 liability for any damage sustained as a result of software virus
 infection. Axxia Systems reserves the right and senders of messages
shall
 be taken to consent to the monitoring and recording of e-mails
addressed
 to axxia.com.
 
 
 




E-MAIL DISCLAIMER

The information in this e-mail and any attachment is confidential. 
It is intended only for the named recipient(s). If you are not a
named recipient please notify the sender immediately and do not
disclose the contents to another person or take copies. Although
Axxia Systems has taken every reasonable precaution to ensure
that any attachment to this e-mail has been checked for viruses, 
it is strongly recommended that you carry out your own virus 
check before opening any attachment, as we cannot accept
liability for any damage sustained as a result of software virus 
infection. Axxia Systems reserves the right and senders of
messages shall be taken to consent to the monitoring and
recording of e-mails addressed to axxia.com.

***


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


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




RE: Table layout

2002-01-10 Thread Phillips Tony

Thanks, still can't seem to get it going - looking at bugzilla report 3044
suggest this isn't working at the moment, anybody succeeded in using
keep-together?

thanks

Tony

 -Original Message-
 From: Sergei Timofejev [mailto:[EMAIL PROTECTED]]
 Sent: 10 January 2002 13:14
 To: [EMAIL PROTECTED]
 Subject: RE: Table layout
 
 
 keep-togather=always



E-MAIL DISCLAIMER

The information in this e-mail and any attachment is confidential. 
It is intended only for the named recipient(s). If you are not a
named recipient please notify the sender immediately and do not
disclose the contents to another person or take copies. Although
Axxia Systems has taken every reasonable precaution to ensure
that any attachment to this e-mail has been checked for viruses, 
it is strongly recommended that you carry out your own virus 
check before opening any attachment, as we cannot accept
liability for any damage sustained as a result of software virus 
infection. Axxia Systems reserves the right and senders of
messages shall be taken to consent to the monitoring and
recording of e-mails addressed to axxia.com.
***


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




Re: Table layout

2002-01-10 Thread Matt Savino

Right now keep-with-next at the row level is the only thing that works.
But if you have more rows than can fit on a page, FOP goes into an
endless loop. 

This issue isn't adressed at all in the upocoming maintenance release is
it?




Phillips Tony wrote:
 
 Thanks, still can't seem to get it going - looking at bugzilla report 3044
 suggest this isn't working at the moment, anybody succeeded in using
 keep-together?
 
 thanks
 
 Tony
 
  -Original Message-
  From: Sergei Timofejev [mailto:[EMAIL PROTECTED]]
  Sent: 10 January 2002 13:14
  To: [EMAIL PROTECTED]
  Subject: RE: Table layout
 
 
  keep-togather=always
 
 
 E-MAIL DISCLAIMER
 
 The information in this e-mail and any attachment is confidential.
 It is intended only for the named recipient(s). If you are not a
 named recipient please notify the sender immediately and do not
 disclose the contents to another person or take copies. Although
 Axxia Systems has taken every reasonable precaution to ensure
 that any attachment to this e-mail has been checked for viruses,
 it is strongly recommended that you carry out your own virus
 check before opening any attachment, as we cannot accept
 liability for any damage sustained as a result of software virus
 infection. Axxia Systems reserves the right and senders of
 messages shall be taken to consent to the monitoring and
 recording of e-mails addressed to axxia.com.
 ***
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




Re: Table Layout with Page Breaks

2001-10-23 Thread Corinna Hischke

Hi Yuri

 Indeed, keep-with-next does work when set for each row.  But you scared me
 with
 the endless loop comment, so for now I would keep my stylesheets the way I
 had them.

sorry for scaring you, not intentionally ;-)


 Somewhat related question: I am using space-before for those short tables
to
 leave
 some white space between them, but if the page break happens right after a
 table,
 the following table on the next page will be shifted down, e.g.

 __ page 1 starts
 table 1
--- required gap
 table 2
--- required gap
 table 3  __ page 2 starts
--- unnecessary gap
 table 4

 Is there any way to avoid this gap?

As I read the xsl specification, space-before.conditionality should control
this.
If you use space-before.conditionality = discard, the space at the
beginning of
an areas (like the page) will be discarded.

But as discard is the default value for conditionality, I suppose it's not
implemented yet. (Anybody out there who knows better?)

- Corinna



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




Re: Table Layout with Page Breaks (re-visited)

2001-10-18 Thread jthaemlitz


I'm understanding your problem a little better now.  This probably won't
solve all your problems, but be sure you have a margin-bottom attribute on
your region-body tag.  If you make the margin-bottom the same as the extent
on your region-after it should keep it from printing over your page number.
This is assuming your page number is in the region-after area used by
'static-content flow-name=xsl-region-after'.

simple-page-master name=pages
region-before extent=Y.0in/
region-body margin-bottom=X.0in margin-top=Y.0in/
region-after extent=X.0in/
/simple-page-master

Same with the region-before tag and margin-top attribute to keep it out of
your header.

Hope that helps/works.

JohnPT



   
  
fop-dev-return-10926-jthaemlitz=oreillyauto.com@XML.   
  
APACHE.ORG To: 
'[EMAIL PROTECTED]'

[EMAIL PROTECTED] 
10/17/01 01:12 PM  cc: 
  
Please respond to fop-dev  
Subject: Table Layout with Page Breaks (re-visited)   
   
  
   
  




I previously made a posting regarding this topic and received some helpful
responses.  However, I'm still having the problem.  This time, I'll
describe the problem in greater detail.


I use FOP to dynamically create a table from database data.  The resulting
table can range from just a few rows to many rows, requiring multiple pages
to display the table.  The problem I'm having is that a multi-page table
doesn't gracefully traverse the page boundaries.  The table can continue
past the page number to the very bottom of the page, with sometimes only
half of the last row appearing on the first page, with the remaining table
being displayed on the next page.  I've tried keep-with-next, plus other
attributes, but haven't had any success at resolving this issue.


I've made sure that all table tags are nested under the xsl-region-body
tag, as suggested by John T.


Perhaps part of my problem is that the text in one of the columns is
wrapped onto three lines, as the column width is not sufficient for all of
the text to fit on one line.  I'm thinking that perhaps FOP can't set up
the page breaks properly as a result (which is simply a guess).


I'm added some logic in my XSL file to end the table and start a new table
every x number of rows (by using the mod() method).  However, I need to be
able to set the cell height for this to consistently work (as the number of
rows in a cell could vary).  I tried setting height from the row tag as
well as from the cell tag, but the requested height is being ignored.


I've been using version 0.19.0.  Today, I'm going to try 0.20.1 to see if
there is a difference.


Any help or suggestion would be greatly appreciated 


Chris W.











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




Re: Table Layout with Page Breaks (re-visited)

2001-10-18 Thread Karen Lease

Hi Chris,

Yes, definitely try a more recent version. The latest is actually
0.20.2. That should have support for setting height on either row or
cell and maybe some sizing problems have been fixed. To prevent rows
being broken, use keep-together=always on the table-row object. That's
the only object in FOP where keep-together works.
Also check the relation between the extent attribute on your before
and after regions and top and bottom margins on your body region to make
sure the body doesn't overlap the after region.

HTH,
Karen

 West, Chris wrote:
 
 I previously made a posting regarding this topic and received some
 helpful responses.  However, I'm still having the problem.  This time,
 I'll describe the problem in greater detail.
 
 I use FOP to dynamically create a table from database data.  The
 resulting table can range from just a few rows to many rows, requiring
 multiple pages to display the table.  The problem I'm having is that a
 multi-page table doesn't gracefully traverse the page boundaries.  The
 table can continue past the page number to the very bottom of the
 page, with sometimes only half of the last row appearing on the first
 page, with the remaining table being displayed on the next page.  I've
 tried keep-with-next, plus other attributes, but haven't had any
 success at resolving this issue.
 
 I've made sure that all table tags are nested under the
 xsl-region-body tag, as suggested by John T.
 
 Perhaps part of my problem is that the text in one of the columns is
 wrapped onto three lines, as the column width is not sufficient for
 all of the text to fit on one line.  I'm thinking that perhaps FOP
 can't set up the page breaks properly as a result (which is simply a
 guess).
 
 I'm added some logic in my XSL file to end the table and start a new
 table every x number of rows (by using the mod() method).  However, I
 need to be able to set the cell height for this to consistently work
 (as the number of rows in a cell could vary).  I tried setting height
 from the row tag as well as from the cell tag, but the requested
 height is being ignored.
 
 I've been using version 0.19.0.  Today, I'm going to try 0.20.1 to see
 if there is a difference.
 
 Any help or suggestion would be greatly appreciated 
 
 Chris W.

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




Table Layout with Page Breaks (re-visited)

2001-10-17 Thread West, Chris
Title: Table Layout with Page Breaks (re-visited)





I previously made a posting regarding this topic and received some helpful responses. However, I'm still having the problem. This time, I'll describe the problem in greater detail.

I use FOP to dynamically create a table from database data. The resulting table can range from just a few rows to many rows, requiring multiple pages to display the table. The problem I'm having is that a multi-page table doesn't gracefully traverse the page boundaries. The table can continue past the page number to the very bottom of the page, with sometimes only half of the last row appearing on the first page, with the remaining table being displayed on the next page. I've tried keep-with-next, plus other attributes, but haven't had any success at resolving this issue.

I've made sure that all table tags are nested under the xsl-region-body tag, as suggested by John T.


Perhaps part of my problem is that the text in one of the columns is wrapped onto three lines, as the column width is not sufficient for all of the text to fit on one line. I'm thinking that perhaps FOP can't set up the page breaks properly as a result (which is simply a guess).

I'm added some logic in my XSL file to end the table and start a new table every x number of rows (by using the mod() method). However, I need to be able to set the cell height for this to consistently work (as the number of rows in a cell could vary). I tried setting height from the row tag as well as from the cell tag, but the requested height is being ignored.

I've been using version 0.19.0. Today, I'm going to try 0.20.1 to see if there is a difference.


Any help or suggestion would be greatly appreciated 


Chris W.





Re: Table Layout with Page Breaks

2001-10-12 Thread Corinna Hischke
Title: Table Layout with Page Breaks



Hi,

Yuri, generally the property keep-with-next should work. I 
tested it with FOP 0.20.1 successfully.

I'm not quite sure if the hassle Darren creates by using 
nested tables is a must-have.

You should achieve the same results by using keep-with-next 
for every row on your table.

Single disadvantage (as in Darren's solution): if somehow 
a table doesn't fit on a single page (or Darrens row becomes bigger than a 
page) you might run into an endless loop. That is a known problem and (hopefully 
;)) being worked on.

HTH, Corinna

  - Original Message - 
  From: 
  West, Chris 

  To: '[EMAIL PROTECTED]' 
  Sent: Thursday, October 11, 2001 1:30 
  AM
  Subject: Table Layout with Page 
  Breaks
  
  I'm using fop to generate tables that vary in 
  length, so I need to be able set attributes such that the table layout will 
  accommodate page breaks. I've tried using "keep-with-next" applied to 
  fo:table-row and "height" applied to fo:table (plus many others) to setup the 
  table layout so that it isn't truncated by a new page, but haven't had much 
  success. Does FOP support this functionality?
  Chris W. 


RE: Table Layout with Page Breaks

2001-10-12 Thread Shkuro, Yuri

Corinna,
 
Indeed, keep-with-next does work when set for each row.  But you scared me
with 
the endless loop comment, so for now I would keep my stylesheets the way I
had them.
 
Somewhat related question: I am using space-before for those short tables to
leave 
some white space between them, but if the page break happens right after a
table, 
the following table on the next page will be shifted down, e.g.
 
__ page 1 starts
table 1
   --- required gap
table 2
   --- required gap
table 3  __ page 2 starts
   --- unnecessary gap
table 4
 
Is there any way to avoid this gap?
 
YS

-Original Message-
From: Corinna Hischke [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 12, 2001 12:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Table Layout with Page Breaks


Hi,
 
Yuri, generally the property keep-with-next should work. I tested it with
FOP 0.20.1 successfully.
 
I'm not quite sure if the hassle Darren creates by using nested tables is a
must-have.
 
You should achieve the same results by using keep-with-next for every row on
your table.
 
Single disadvantage (as in Darren's solution): if somehow a  table doesn't
fit on a single page (or Darrens row becomes bigger than a page) you might
run into an endless loop. That is a known problem and (hopefully ;)) being
worked on.
 
HTH, Corinna

- Original Message - 
From: West, Chris mailto:[EMAIL PROTECTED]  
To: '[EMAIL PROTECTED]' mailto:'[EMAIL PROTECTED]'  
Sent: Thursday, October 11, 2001 1:30 AM
Subject: Table Layout with Page Breaks


I'm using fop to generate tables that vary in length, so I need to be able
set attributes such that the table layout will accommodate page breaks.
I've tried using keep-with-next applied to fo:table-row and height
applied to fo:table (plus many others) to setup the table layout so that it
isn't truncated by a new page, but haven't had much success.  Does FOP
support this functionality?

Chris W. 


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




Re: Table Layout with Page Breaks

2001-10-11 Thread jthaemlitz


Make sure your table is in the xsl-region-body and not in the
xsl-region-before or xsl-region-after.  I have tables that go on for many
pages without problems.

You can then use the xsl-region-before for table headers at the top of each
page.  If you start your tables with the break-before=page attribute you
will start a new page for each table.  So you could have a 100 row table
that goes across 3 pages, a 2 row table on 1 page then a 50 row table on 2
pages if that's what your wanting.

John



   
  
fop-dev-return-10770-jthaemlitz=oreillyauto.com@XML.   
  
APACHE.ORG To: 
'[EMAIL PROTECTED]'

[EMAIL PROTECTED] 
10/10/01 06:30 PM  cc: 
  
Please respond to fop-dev  
Subject: Table Layout with Page Breaks
   
  
   
  




I'm using fop to generate tables that vary in length, so I need to be able
set attributes such that the table layout will accommodate page breaks.
I've tried using keep-with-next applied to fo:table-row and height
applied to fo:table (plus many others) to setup the table layout so that it
isn't truncated by a new page, but haven't had much success.  Does FOP
support this functionality?


Chris W.











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




RE: Table Layout with Page Breaks

2001-10-11 Thread Shkuro, Yuri

I think what Chris was asking is what needs to be done to make sure
the table that doesn't fit on a page is started from the next page.
I have a similar need.  So far I just used table-header to at least
make sure that even if the table crosses the page, at least the header
will be repeated, but since my tables usually have only 5-6 rows, 
I would prefer for it to start from the next page if it can't fit on
the previous page.  

Wouldn't break-before=page start EACH table from a new page?  This
is not what I would want.  keep-with-next didn't work for me either.

YS

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 11, 2001 3:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Table Layout with Page Breaks



Make sure your table is in the xsl-region-body and not in the
xsl-region-before or xsl-region-after.  I have tables that go on for many
pages without problems.

You can then use the xsl-region-before for table headers at the top of each
page.  If you start your tables with the break-before=page attribute you
will start a new page for each table.  So you could have a 100 row table
that goes across 3 pages, a 2 row table on 1 page then a 50 row table on 2
pages if that's what your wanting.

John



 

fop-dev-return-10770-jthaemlitz=oreillyauto.com@XML.

APACHE.ORG
To: '[EMAIL PROTECTED]'
 
[EMAIL PROTECTED] 
10/10/01 06:30 PM
cc:   
Please respond to fop-dev
Subject: Table Layout with Page Breaks
 

 





I'm using fop to generate tables that vary in length, so I need to be able
set attributes such that the table layout will accommodate page breaks.
I've tried using keep-with-next applied to fo:table-row and height
applied to fo:table (plus many others) to setup the table layout so that it
isn't truncated by a new page, but haven't had much success.  Does FOP
support this functionality?


Chris W.











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

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




Table Layout Bug

2001-06-19 Thread Eric Dalquist



I was wondering if any progress has been made on 
this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1318

I'm having the same problem and found a temporary 
work-around by putting a .5pt white border around the long cells but I really 
don't want to have to do that as it makes for poor an more confusing design. I 
hope this problem can be resolved quickly as we are in the process of proving 
the usefulness of FOP here to eventually use it in a production 
system.

I'm using FOP 0.18.1


Eric Dalquist