Hi All,
If I use the below code, I am getting 2 columns of equal width, and if
want to get
unequal columns, what should I have to do..
fo:region-body
margin-top=1in margin-bottom=1in
column-count=2 column-gap=0.25in/
Any reply greatly appreciated.
Regards
Hi,
Alternatively you can use tables rather than column in region-body.
You will have greater options with tables.
I always use tables.
Cheers.
Arun
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Column Width
Date: Fri, 11 Feb 2005 08:10:06 +0530
Hi All,
If I
I also have that idea in back of my mind, but I thought region-body will
be
flexible,
Thanks for the immediate response.
Eugene
Arun Sinha [EMAIL PROTECTED]
11.02.2005 09:57
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
RE: Column Width
Hi,
Alternatively
-width dynamic
fo:table-column column-width=proportional-column-width(${calculatedWidth})
Does not work.
Can any values of FOP attributes be set dynamically?
Wolfgang
-Original Message-
From: Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED]
Hi,
snip /
How can I set column-width dynamic
fo:table-column column-width=
proportional-column-width('${calculatedWidth}')
Does not work.
Can any values of FOP attributes be set dynamically?
Well
-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
-Original Message-
From: Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED]
Hi,
Slight addition/correction:
No, in the sense that an XSL-FO fed to FOP --so at the moment when it's
purely an XML
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
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
(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
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
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
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
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?
-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
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
Hello!
Is it possible to allocate a column-width a value like 100%?
inline-progression-dimension fop does not support, does it?
Thanx!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
From: Todtenhaupt, Susann [EMAIL PROTECTED]
Is it possible to allocate a column-width a value like 100%?
inline-progression-dimension fop does not support, does it?
Currently FOP only supports tables with fixed (pre-determined) column
woidths, e.g. 5in, 2cm, etc. Therefore percentages
This is not true. FOP only supports Fixed table-widths, but columns
widths can be set relative. You can do this by setting:
column-width=proportional-column-width(1)
If you have to columns with a 25%, 75% width you can set:
fo:table-column column-number=1
column-width=proportional-column-width
Hi
I find fo:table-column column-width=proportional-column-width(n)/ (n is
numeric) is well supported and useful (FOP-0.20.4 and FOP-0.20.5rc). This has
the effect of allocating percentage widths as required.
Is this helpful?
John Marshall
-Original Message-
From: Chris Bowditch
Title: Tables: column width limitation
Hi,
I was about the limitation that FOP requires table
columns widths to be specified. Is this a requirement
that will not be necessary in the future and if so
when ? Thanks for any info.
--
Nick
table-layout=auto is one of the many tricky issues being worked on in the
re-design project. No idea when re-design project will be ready for release
though.
From: Afshartous, Nick [EMAIL PROTECTED]
I was about the limitation that FOP requires table
columns widths to be specified. Is this a
Hi,
I have a table with different column width.
I get column width in a variable. How do i assign to the column-width
property?
I gave it as,
fo:table-column column-width={$colwidth}cm/
where colwidth is a variable name holding the column width value.
But this value is not accepting
sujata wrote:
I gave it as,
fo:table-column column-width={$colwidth}cm/
where colwidth is a variable name holding the column width value.
But this value is not accepting and it gives the error :
Error in column-width property value {$colwidth}
Seems to me you are trying to use variables
Oleg Tkachenko wrote:
Seems to me you are trying to use variables in xsl-fo document instead
of xsl stylesheet. Am I right?
Sujata wrote:
Exactly.. I need to give the column-width dynamically.
Is it possbile to do that? If yes how can i do that?
-Thanks and Regards
Sujata
sujata wrote:
Exactly.. I need to give the column-width dynamically.
Is it possbile to do that? If yes how can i do that?
Sure. But this should be done in XSLT stage, there is no notion of variables
in XSL-FO. Fromatting is two-step process, first source document is
transformed
Hi,
I have a problem in displaying the data in the pdf table.
Each column width in a table should be different from the other column
depending on the data.
Since I am using the same fop stylesheet for different tables, I cannot
hardcode the column width in the stylesheet.
Is there any option
sujata wrote:
I have a problem in displaying the data in the pdf table.
Each column width in a table should be different from the other column
depending on the data.
Since I am using the same fop stylesheet for different tables, I cannot
hardcode the column width in the stylesheet
Thanks for the reply.
How do you take the column width in a stylesheet.
I don't want to take each column width data as a separate parameter
because the no of columns vary from table to table.
My Logic is get a string with all the column width s of the table
seperated by coma.
In xsl split
to
create a single template that would first compute the number of column
(assuming all lines have the same number of columns) then compute the
column width according to this number.
Has anyone done something similar ?
This crops up regularly on the XSL list. There are
a few solutions in the archive
Thanks Chuck ... I juste have to upgrade to 0.20.3 to implement this, but it
works nicely.
Flo
- Original Message -
From: Chuck Paussa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 7:12 PM
Subject: Re: computing table-column width
Florence Deforge wrote:
Hello
compute the
number of column (assuming all lines have the same number of columns) then
compute the column width according to this number.
Has anyone done something similar
?
to create a single template that would first compute the number of
column (assuming all lines have the same number of columns) then
compute the column width according to this number.
Has anyone done something similar ?
Here's some totally untested code but, if you debug it, it should work
Is there a means to calculate in automatic the width of columns following
the contents?
Chuck Paussa wrote:
xsl:for-each select=1 to $numcols !-- xsl 2 structure implemented
in Saxon v7 --
xsl:for-each select=saxon:range(1, $numcols) !-- extension
function --
fo:table-column column-width=10mm/
/xsl:for-each
(presumably only one of the xsl:for-each elements should
Apologies for the previous request! A better looking table is attached!
The number of columns is not a fixed number. I am able to create the
table but, having trouble with the column-width. The table should
expand to fit the page. The total-column-number is defined in TABLE
attribute
function --
fo:table-column column-width=10mm/
/xsl:for-each
To do the column and row spanning, use number-columns-spanned and
number-rows-spanned
fo:table-cell border=solid silver 1px number-rows-spanned=2
display-align=after
fo:table-cell border=solid black 1px number-columns-spanned=2
text
36 matches
Mail list logo