Re: column-width warning

2003-10-28 Thread Chris Bowditch
From: Phil Chu [EMAIL PROTECTED]
Chris Bowditch wrote:
From: Johannes Stuermer [EMAIL PROTECTED]
Another cause could be the fact that I'm using landscape orientation. No
warning in a similar xsl-fo that is portrait oriented. I'm only using %
values for all width values (including columns) in my tables. No 
hardcoded
values expect for the page size, which is set to width=10.44in,
height=8.25in;

I dont believe FOP likes % values in the column widths. You can subsitute 
% in the column widths for the proportional-column-width() function. e.g. 
change 20% for proportional-column-width(20), etc.

This will work if all the column widths were specified with percentages, 
i.e. they all add up to 100. But, for example, if there were just two 
columns with proportional-column-width(20) then each would take up half of 
the available table width, and if other columns had absolute width values, 
then it would be just fifty percent of the remaining available width. Am I 
missing anything else?

The proportional-column-width() is more complicated than I described, and 
you picked up on this. But please note the original poster states that he 
specified all widths in %, and so my recommendation will work fine for this 
case.

Chris
_
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger

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


Re: column-width warning

2003-10-28 Thread Chris Bowditch
From: J.Pietschmann [EMAIL PROTECTED]
e.g. change 20% for proportional-column-width(20), etc.
Actually, this is a bit more complicated.
True, and I am aware of the nuances of the proportional-column-width() 
function, but this recommendation will work in his scenario, and I didnt 
have time to give a full tutorial in my reply.

Chris
_
Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: column-width warning

2003-10-27 Thread Johannes Stuermer
Is the maximum specified IPD a value that I have control over? If so, can
I get rid of this warning by changing it?

Another cause could be the fact that I'm using landscape orientation. No
warning in a similar xsl-fo that is portrait oriented. I'm only using %
values for all width values (including columns) in my tables. No hardcoded
values expect for the page size, which is set to width=10.44in,
height=8.25in;

Thanks,
Johannes


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2003 1:59 AM
To: [EMAIL PROTECTED]
Subject: Re: column-width warning


Johannes Stuermer wrote:
 I keep getting this warning during PDF generation in an embbedded FOP app:

 
 Sum of fixed column widths 751000 greater than maximum specified IPD
 
 However, in the XSL-FO file I can't find anything unusual that would
 indicate an invalid value for a table columns. What can cause such a
 warning?

The values are not necessarily invalid, just a bit too large.
751000 Millipointsare roughly 26.5 cm, which ought to be a bit
too wide for common paper formats. Just check your width values.

J.Pietschmann


-
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: column-width warning

2003-10-27 Thread J.Pietschmann
Chris Bowditch wrote:
I dont believe FOP likes % values in the column widths.
Correct.
e.g. change 20% for proportional-column-width(20), etc.
Actually, this is a bit more complicated.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: column-width warning

2003-10-27 Thread Phil Chu
Chris Bowditch wrote:
From: Johannes Stuermer [EMAIL PROTECTED]


Another cause could be the fact that I'm using landscape orientation. No
warning in a similar xsl-fo that is portrait oriented. I'm only using %
values for all width values (including columns) in my tables. No 
hardcoded
values expect for the page size, which is set to width=10.44in,
height=8.25in;

I dont believe FOP likes % values in the column widths. You can 
subsitute % in the column widths for the proportional-column-width() 
function. e.g. change 20% for proportional-column-width(20), etc.

This will work if all the column widths were specified with percentages, 
i.e. they all add up to 100. But, for example, if there were just two 
columns with proportional-column-width(20) then each would take up half 
of the available table width, and if other columns had absolute width 
values, then it would be just fifty percent of the remaining available 
width. Am I missing anything else?

-Phil
--
Phil Chu
[EMAIL PROTECTED]
http://www.technicat.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: column-width warning

2003-10-27 Thread Johannes Stuermer
Thanks for all the responses.

I will avoid % values for column widths.


-Original Message-
From: Phil Chu [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: column-width warning


Chris Bowditch wrote:

 From: Johannes Stuermer [EMAIL PROTECTED]


 

 Another cause could be the fact that I'm using landscape orientation. No
 warning in a similar xsl-fo that is portrait oriented. I'm only using %
 values for all width values (including columns) in my tables. No 
 hardcoded
 values expect for the page size, which is set to width=10.44in,
 height=8.25in;

 
 I dont believe FOP likes % values in the column widths. You can 
 subsitute % in the column widths for the proportional-column-width() 
 function. e.g. change 20% for proportional-column-width(20), etc.
 

This will work if all the column widths were specified with percentages, 
i.e. they all add up to 100. But, for example, if there were just two 
columns with proportional-column-width(20) then each would take up half 
of the available table width, and if other columns had absolute width 
values, then it would be just fifty percent of the remaining available 
width. Am I missing anything else?

-Phil

-- 
Phil Chu
[EMAIL PROTECTED]
http://www.technicat.com/


-
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: column-width warning

2003-10-26 Thread Andreas L. Delmelle
 -Original Message-
 From: Johannes Stuermer [mailto:[EMAIL PROTECTED]

 I keep getting this warning during PDF generation in an embbedded
 FOP app:

 Sum of fixed column widths 751000 greater than maximum specified IPD


Hi,

Are you by any chance using nested tables? If so, make sure the sum of the
column widths of the inner table is about 1mm smaller than the width of the
surrounding cell...
Other possibilities: sum of column-widths + width of the cell-borders turns
out to be a bit too large to fit in the respective region.

Can you post a piece of the FO here and let us have a look at it?


Greetz,

Andreas


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



Re: column-width warning

2003-10-26 Thread J.Pietschmann
Johannes Stuermer wrote:
I keep getting this warning during PDF generation in an embbedded FOP app: 

Sum of fixed column widths 751000 greater than maximum specified IPD
However, in the XSL-FO file I can't find anything unusual that would
indicate an invalid value for a table columns. What can cause such a
warning?
The values are not necessarily invalid, just a bit too large.
751000 Millipointsare roughly 26.5 cm, which ought to be a bit
too wide for common paper formats. Just check your width values.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]