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 Cristian Ferrero <cr...@hotmail.com> on 2007/02/07 20:26:59 UTC

Re: Apache errors

Thanks Jeremias....i fixed it but i still have FOP format problems like 
fo:table-body is missing child elements.....etc... the strange thing (is how 
i told you ) that this xsl XSLFAST transforms in xsl-fo and then in pdf with 
no problems...but that's not apache problem...in fact...where cab i have 
documentation of exactly code fop supported with apache..or better than 
that.,.,do you know something like XSLF that writes "real" apache - fop code 
?
Thanks, i apreciate your help


----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Thursday, February 07, 2008 11:58 AM
Subject: Re: Apache errors


Your top-level template listens to "IMPFACT", but your XML contains
"IMPFAC" as the top-level element. Because of that the template is never
triggered and instead default templates provided by XSLT are being used
and they just output the node content found. That's why the generated FO
looks more like a text file than an XML file.

On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> i follow your advice and transform my xsl in fop...it works but i don't
> think that fo file appears to be a valid one, because it has no nodes, 
> when
> i try to convert fo to pdf  error says
>
> org.xml.sax.SAXParseException: Content is not allowed in prolog
>
> i post my 3 files
<snip/>

Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
FOP doesn't support breaking absolutely positioned block-containers over
different pages. Furthermore, span="all" doesn't have an effect if used
inside a block-container. That only works on block that are direct
children of fo:flow.

Well, the spec says for fo:block-container that it "generates one or
more viewport/reference pairs".
http://www.w3.org/TR/xsl11/#fo_block-container

But I don't know what that means exactly for absolutely positioned
block-containers because the spec doesn't say anything about it. Anyway,
you'll have to find a different way to place the table at the place
where you want it, i.e. using margins on the page master.

On 11.02.2008 12:44:00 Cristian Ferrero wrote:
> Jeremias  i did what you wrote, also i tried inserting a block with 
> span="all", but the problem is that the table don't show all the 
> information, it doesn't continue in other page, if i dont write 
> position="absolute" it works good (the table continues in another page), but 
> the table appears in the left side of the page automatically, not in the 
> possition i want...
> 
> fo:block-container position="absolute" top="15cm" left="10cm" >
> 
> <fo:block span="all" >
> 
> <fo:table table-layout="fixed" width="100%">
> 
> ................
> 
> 
> thank you very much
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 5:11 AM
> Subject: Re: Apache errors
> 
> 
> height="100%" on a block-container may not work correctly (absolute
> values work fine, of course). I've noticed some strange behaviour there
> but have never investigated, yet. Furthermore, height="100%" sets:
> block-progression-dimension.minimum="100%"
> block-progression-dimension.optimum="100%"
> block-progression-dimension.maximum="100%"
> 
> Setting block-progression-dimension.maximum="auto" afterwards may not
> have any affect at all. I'm not sure if the spec says anything what
> happens in such a case. And how FOP reacts is a different question.
> 
> As if this isn't enough, there's still a restriction on block-container
> that it doesn't evaluate a min/opt/max value for
> block-progression-dimension. Only .optimum is used.
> 
> But if you want the block-container to automatically grow based on the
> height of it's content, just leave height and
> block-progression-dimension away which leaves the default ("auto").
> 
> HTH
> 
> On 08.02.2008 20:49:00 Cristian Ferrero wrote:
> > Tks  Jeremias....the last for today ... i  fixed all my problems but the
> > only that couldn't is to positionate a table in a fixed place, i mean i 
> > did,
> > but it didn't show all the rows, it doesn't expand... i did this (put the
> > table inside a block-containert)
> >
> > <fo:block-container position="absolute"   top="15cm" left="10cm"
> > height="100%" width="100%" block-progression-dimension.maximum="auto">
> > <fo:table table-layout="fixed" width="100%">........
> >
> > is the last question for this week..is my promise !!!! (i couldn't pot the
> > question because the mail server is giving me an error)
> >
> > thanks !!!!!
> >
> <snip/>
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org




Jeremias Maerki


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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
No, unfortunately not. I see it on the radar, yet.

On 21.04.2008 13:36:24 Cristian Ferrero wrote:
> Jeremias, does 0.95 version  work with XSL 1.1 features like flow-map 
> support and multiple fo:region-body elements.?
> 
> tks
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 10:20 AM
> Subject: Re: Apache errors
> 
> 
> What you want to do is currently not possible with FOP. FOP would need
> to implement XSL 1.1 features like flow-map support and multiple
> fo:region-body elements.
> 
> On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> > Chris, Jeremias  thank you bouth...but the only way to positioning a table
> > that expands in several pages is whith this kind of tips ? i mean 
> > inserting
> > a column after or adjusting page margins or something like that ? i
> > suppoused there was a qualifiers for tables that could position them 
> > keeping
> > all the properties as if we don't specify the position...my problem is 
> > that
> > bouth solutions could give me problems because i have to positionate two
> > tables (one beside another)...
> >
> > page 1 :
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >
> > page 2 :
> >
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >
> >
> >   thank you bouth i am very appreciatte of your help..sorry because my 
> > poor
> > knowledge..im trying to learn....
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Chris Bowditch" <bo...@hotmail.com>
> > To: <fo...@xmlgraphics.apache.org>
> > Sent: Monday, February 11, 2008 8:55 AM
> > Subject: Re: Apache errors
> >
> >
> > > Cristian Ferrero wrote:
> > >
> > >> Jeremias  i did what you wrote, also i tried inserting a block with
> > >> span="all", but the problem is that the table don't show all the
> > >> information, it doesn't continue in other page, if i dont write
> > >> position="absolute" it works good (the table continues in another 
> > >> page),
> > >> but the table appears in the left side of the page automatically, not 
> > >> in
> > >> the possition i want...
> > >
> > > Absolutely positioned block containers are supposed to be limited to a
> > > single page. They do not flow like regular blocks. You could try using
> > > relative positioning. However, I think the block-container would start 
> > > at
> > > the top left of the second page it flows onto.
> > >
> > > If you want a flowing table positioned at (x,y) on each page then you
> > > might need an alternative approach. Something like a fixed height header
> > > row (to achieve y) and an extra blank column at the left of the table.
> > >
> > >>
> > >> fo:block-container position="absolute" top="15cm" left="10cm" >
> > >>
> > >> <fo:block span="all" >
> > >
> > > This only has meaning for regions with a column-count > 1 and I don't
> > > believe it will help you here.
> > >
> > > <snip/>
> > >
> > > Chris
> > >
> > >
> 
> 
> Jeremias Maerki
> 



Jeremias Maerki


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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
http://xmlgraphics.apache.org/fop/faq.html#when

On 11.02.2008 14:33:18 Cristian Ferrero wrote:
> ught..you just killed me.......any idea when those features could it be 
> implemented ?
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 10:20 AM
> Subject: Re: Apache errors
> 
> 
> What you want to do is currently not possible with FOP. FOP would need
> to implement XSL 1.1 features like flow-map support and multiple
> fo:region-body elements.
> 
> On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> > Chris, Jeremias  thank you bouth...but the only way to positioning a table
> > that expands in several pages is whith this kind of tips ? i mean 
> > inserting
> > a column after or adjusting page margins or something like that ? i
> > suppoused there was a qualifiers for tables that could position them 
> > keeping
> > all the properties as if we don't specify the position...my problem is 
> > that
> > bouth solutions could give me problems because i have to positionate two
> > tables (one beside another)...
> >
> > page 1 :
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >
> > page 2 :
> >
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >
> >
> >   thank you bouth i am very appreciatte of your help..sorry because my 
> > poor
> > knowledge..im trying to learn....
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Chris Bowditch" <bo...@hotmail.com>
> > To: <fo...@xmlgraphics.apache.org>
> > Sent: Monday, February 11, 2008 8:55 AM
> > Subject: Re: Apache errors
> >
> >
> > > Cristian Ferrero wrote:
> > >
> > >> Jeremias  i did what you wrote, also i tried inserting a block with
> > >> span="all", but the problem is that the table don't show all the
> > >> information, it doesn't continue in other page, if i dont write
> > >> position="absolute" it works good (the table continues in another 
> > >> page),
> > >> but the table appears in the left side of the page automatically, not 
> > >> in
> > >> the possition i want...
> > >
> > > Absolutely positioned block containers are supposed to be limited to a
> > > single page. They do not flow like regular blocks. You could try using
> > > relative positioning. However, I think the block-container would start 
> > > at
> > > the top left of the second page it flows onto.
> > >
> > > If you want a flowing table positioned at (x,y) on each page then you
> > > might need an alternative approach. Something like a fixed height header
> > > row (to achieve y) and an extra blank column at the left of the table.
> > >
> > >>
> > >> fo:block-container position="absolute" top="15cm" left="10cm" >
> > >>
> > >> <fo:block span="all" >
> > >
> > > This only has meaning for regions with a column-count > 1 and I don't
> > > believe it will help you here.
> > >
> > > <snip/>
> > >
> > > Chris
> > >
> > >
> 
> 
> Jeremias Maerki
> 




Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Jeremias, does 0.95 version  work with XSL 1.1 features like flow-map 
support and multiple fo:region-body elements.?

tks

----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 10:20 AM
Subject: Re: Apache errors


What you want to do is currently not possible with FOP. FOP would need
to implement XSL 1.1 features like flow-map support and multiple
fo:region-body elements.

On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> Chris, Jeremias  thank you bouth...but the only way to positioning a table
> that expands in several pages is whith this kind of tips ? i mean 
> inserting
> a column after or adjusting page margins or something like that ? i
> suppoused there was a qualifiers for tables that could position them 
> keeping
> all the properties as if we don't specify the position...my problem is 
> that
> bouth solutions could give me problems because i have to positionate two
> tables (one beside another)...
>
> page 1 :
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>
> page 2 :
>
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>
>
>   thank you bouth i am very appreciatte of your help..sorry because my 
> poor
> knowledge..im trying to learn....
>
>
>
> ----- Original Message ----- 
> From: "Chris Bowditch" <bo...@hotmail.com>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 8:55 AM
> Subject: Re: Apache errors
>
>
> > Cristian Ferrero wrote:
> >
> >> Jeremias  i did what you wrote, also i tried inserting a block with
> >> span="all", but the problem is that the table don't show all the
> >> information, it doesn't continue in other page, if i dont write
> >> position="absolute" it works good (the table continues in another 
> >> page),
> >> but the table appears in the left side of the page automatically, not 
> >> in
> >> the possition i want...
> >
> > Absolutely positioned block containers are supposed to be limited to a
> > single page. They do not flow like regular blocks. You could try using
> > relative positioning. However, I think the block-container would start 
> > at
> > the top left of the second page it flows onto.
> >
> > If you want a flowing table positioned at (x,y) on each page then you
> > might need an alternative approach. Something like a fixed height header
> > row (to achieve y) and an extra blank column at the left of the table.
> >
> >>
> >> fo:block-container position="absolute" top="15cm" left="10cm" >
> >>
> >> <fo:block span="all" >
> >
> > This only has meaning for regions with a column-count > 1 and I don't
> > believe it will help you here.
> >
> > <snip/>
> >
> > Chris
> >
> >


Jeremias Maerki


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



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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
ught..you just killed me.......any idea when those features could it be 
implemented ?

----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 10:20 AM
Subject: Re: Apache errors


What you want to do is currently not possible with FOP. FOP would need
to implement XSL 1.1 features like flow-map support and multiple
fo:region-body elements.

On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> Chris, Jeremias  thank you bouth...but the only way to positioning a table
> that expands in several pages is whith this kind of tips ? i mean 
> inserting
> a column after or adjusting page margins or something like that ? i
> suppoused there was a qualifiers for tables that could position them 
> keeping
> all the properties as if we don't specify the position...my problem is 
> that
> bouth solutions could give me problems because i have to positionate two
> tables (one beside another)...
>
> page 1 :
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>
> page 2 :
>
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>
>
>   thank you bouth i am very appreciatte of your help..sorry because my 
> poor
> knowledge..im trying to learn....
>
>
>
> ----- Original Message ----- 
> From: "Chris Bowditch" <bo...@hotmail.com>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 8:55 AM
> Subject: Re: Apache errors
>
>
> > Cristian Ferrero wrote:
> >
> >> Jeremias  i did what you wrote, also i tried inserting a block with
> >> span="all", but the problem is that the table don't show all the
> >> information, it doesn't continue in other page, if i dont write
> >> position="absolute" it works good (the table continues in another 
> >> page),
> >> but the table appears in the left side of the page automatically, not 
> >> in
> >> the possition i want...
> >
> > Absolutely positioned block containers are supposed to be limited to a
> > single page. They do not flow like regular blocks. You could try using
> > relative positioning. However, I think the block-container would start 
> > at
> > the top left of the second page it flows onto.
> >
> > If you want a flowing table positioned at (x,y) on each page then you
> > might need an alternative approach. Something like a fixed height header
> > row (to achieve y) and an extra blank column at the left of the table.
> >
> >>
> >> fo:block-container position="absolute" top="15cm" left="10cm" >
> >>
> >> <fo:block span="all" >
> >
> > This only has meaning for regions with a column-count > 1 and I don't
> > believe it will help you here.
> >
> > <snip/>
> >
> > Chris
> >
> >


Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
What you want to do is currently not possible with FOP. FOP would need
to implement XSL 1.1 features like flow-map support and multiple
fo:region-body elements.

On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> Chris, Jeremias  thank you bouth...but the only way to positioning a table 
> that expands in several pages is whith this kind of tips ? i mean inserting 
> a column after or adjusting page margins or something like that ? i 
> suppoused there was a qualifiers for tables that could position them keeping 
> all the properties as if we don't specify the position...my problem is that 
> bouth solutions could give me problems because i have to positionate two 
> tables (one beside another)...
> 
> page 1 :
> 
> table 1                                     table 2
> 
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> 
> page 2 :
> 
> 
> table 1                                     table 2
> 
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
> 
> 
>   thank you bouth i am very appreciatte of your help..sorry because my poor 
> knowledge..im trying to learn....
> 
> 
> 
> ----- Original Message ----- 
> From: "Chris Bowditch" <bo...@hotmail.com>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 8:55 AM
> Subject: Re: Apache errors
> 
> 
> > Cristian Ferrero wrote:
> >
> >> Jeremias  i did what you wrote, also i tried inserting a block with 
> >> span="all", but the problem is that the table don't show all the 
> >> information, it doesn't continue in other page, if i dont write 
> >> position="absolute" it works good (the table continues in another page), 
> >> but the table appears in the left side of the page automatically, not in 
> >> the possition i want...
> >
> > Absolutely positioned block containers are supposed to be limited to a 
> > single page. They do not flow like regular blocks. You could try using 
> > relative positioning. However, I think the block-container would start at 
> > the top left of the second page it flows onto.
> >
> > If you want a flowing table positioned at (x,y) on each page then you 
> > might need an alternative approach. Something like a fixed height header 
> > row (to achieve y) and an extra blank column at the left of the table.
> >
> >>
> >> fo:block-container position="absolute" top="15cm" left="10cm" >
> >>
> >> <fo:block span="all" >
> >
> > This only has meaning for regions with a column-count > 1 and I don't 
> > believe it will help you here.
> >
> > <snip/>
> >
> > Chris
> >
> >


Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Chris, Jeremias  thank you bouth...but the only way to positioning a table 
that expands in several pages is whith this kind of tips ? i mean inserting 
a column after or adjusting page margins or something like that ? i 
suppoused there was a qualifiers for tables that could position them keeping 
all the properties as if we don't specify the position...my problem is that 
bouth solutions could give me problems because i have to positionate two 
tables (one beside another)...

page 1 :

table 1                                     table 2

xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx

page 2 :


table 1                                     table 2

xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx
                                           xxxxxxxxxxxx
                                           xxxxxxxxxxxx
                                           xxxxxxxxxxxx


  thank you bouth i am very appreciatte of your help..sorry because my poor 
knowledge..im trying to learn....



----- Original Message ----- 
From: "Chris Bowditch" <bo...@hotmail.com>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 8:55 AM
Subject: Re: Apache errors


> Cristian Ferrero wrote:
>
>> Jeremias  i did what you wrote, also i tried inserting a block with 
>> span="all", but the problem is that the table don't show all the 
>> information, it doesn't continue in other page, if i dont write 
>> position="absolute" it works good (the table continues in another page), 
>> but the table appears in the left side of the page automatically, not in 
>> the possition i want...
>
> Absolutely positioned block containers are supposed to be limited to a 
> single page. They do not flow like regular blocks. You could try using 
> relative positioning. However, I think the block-container would start at 
> the top left of the second page it flows onto.
>
> If you want a flowing table positioned at (x,y) on each page then you 
> might need an alternative approach. Something like a fixed height header 
> row (to achieve y) and an extra blank column at the left of the table.
>
>>
>> fo:block-container position="absolute" top="15cm" left="10cm" >
>>
>> <fo:block span="all" >
>
> This only has meaning for regions with a column-count > 1 and I don't 
> believe it will help you here.
>
> <snip/>
>
> Chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> 


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


Re: Apache errors

Posted by Chris Bowditch <bo...@hotmail.com>.
Cristian Ferrero wrote:

> Jeremias  i did what you wrote, also i tried inserting a block with 
> span="all", but the problem is that the table don't show all the 
> information, it doesn't continue in other page, if i dont write 
> position="absolute" it works good (the table continues in another page), 
> but the table appears in the left side of the page automatically, not in 
> the possition i want...

Absolutely positioned block containers are supposed to be limited to a 
single page. They do not flow like regular blocks. You could try using 
relative positioning. However, I think the block-container would start 
at the top left of the second page it flows onto.

If you want a flowing table positioned at (x,y) on each page then you 
might need an alternative approach. Something like a fixed height header 
row (to achieve y) and an extra blank column at the left of the table.

> 
> fo:block-container position="absolute" top="15cm" left="10cm" >
> 
> <fo:block span="all" >

This only has meaning for regions with a column-count > 1 and I don't 
believe it will help you here.

<snip/>

Chris



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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Jeremias  i did what you wrote, also i tried inserting a block with 
span="all", but the problem is that the table don't show all the 
information, it doesn't continue in other page, if i dont write 
position="absolute" it works good (the table continues in another page), but 
the table appears in the left side of the page automatically, not in the 
possition i want...

fo:block-container position="absolute" top="15cm" left="10cm" >

<fo:block span="all" >

<fo:table table-layout="fixed" width="100%">

................


thank you very much

----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 5:11 AM
Subject: Re: Apache errors


height="100%" on a block-container may not work correctly (absolute
values work fine, of course). I've noticed some strange behaviour there
but have never investigated, yet. Furthermore, height="100%" sets:
block-progression-dimension.minimum="100%"
block-progression-dimension.optimum="100%"
block-progression-dimension.maximum="100%"

Setting block-progression-dimension.maximum="auto" afterwards may not
have any affect at all. I'm not sure if the spec says anything what
happens in such a case. And how FOP reacts is a different question.

As if this isn't enough, there's still a restriction on block-container
that it doesn't evaluate a min/opt/max value for
block-progression-dimension. Only .optimum is used.

But if you want the block-container to automatically grow based on the
height of it's content, just leave height and
block-progression-dimension away which leaves the default ("auto").

HTH

On 08.02.2008 20:49:00 Cristian Ferrero wrote:
> Tks  Jeremias....the last for today ... i  fixed all my problems but the
> only that couldn't is to positionate a table in a fixed place, i mean i 
> did,
> but it didn't show all the rows, it doesn't expand... i did this (put the
> table inside a block-containert)
>
> <fo:block-container position="absolute"   top="15cm" left="10cm"
> height="100%" width="100%" block-progression-dimension.maximum="auto">
> <fo:table table-layout="fixed" width="100%">........
>
> is the last question for this week..is my promise !!!! (i couldn't pot the
> question because the mail server is giving me an error)
>
> thanks !!!!!
>
<snip/>



Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
height="100%" on a block-container may not work correctly (absolute
values work fine, of course). I've noticed some strange behaviour there
but have never investigated, yet. Furthermore, height="100%" sets:
block-progression-dimension.minimum="100%"
block-progression-dimension.optimum="100%"
block-progression-dimension.maximum="100%"

Setting block-progression-dimension.maximum="auto" afterwards may not
have any affect at all. I'm not sure if the spec says anything what
happens in such a case. And how FOP reacts is a different question.

As if this isn't enough, there's still a restriction on block-container
that it doesn't evaluate a min/opt/max value for
block-progression-dimension. Only .optimum is used.

But if you want the block-container to automatically grow based on the
height of it's content, just leave height and
block-progression-dimension away which leaves the default ("auto").

HTH

On 08.02.2008 20:49:00 Cristian Ferrero wrote:
> Tks  Jeremias....the last for today ... i  fixed all my problems but the 
> only that couldn't is to positionate a table in a fixed place, i mean i did, 
> but it didn't show all the rows, it doesn't expand... i did this (put the 
> table inside a block-containert)
> 
> <fo:block-container position="absolute"   top="15cm" left="10cm"
> height="100%" width="100%" block-progression-dimension.maximum="auto">
> <fo:table table-layout="fixed" width="100%">........
> 
> is the last question for this week..is my promise !!!! (i couldn't pot the 
> question because the mail server is giving me an error)
> 
> thanks !!!!!
> 
<snip/> 



Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Tks  Jeremias....the last for today ... i  fixed all my problems but the 
only that couldn't is to positionate a table in a fixed place, i mean i did, 
but it didn't show all the rows, it doesn't expand... i did this (put the 
table inside a block-containert)

<fo:block-container position="absolute"   top="15cm" left="10cm"
height="100%" width="100%" block-progression-dimension.maximum="auto">
<fo:table table-layout="fixed" width="100%">........

is the last question for this week..is my promise !!!! (i couldn't pot the 
question because the mail server is giving me an error)

thanks !!!!!





----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Friday, February 08, 2008 9:56 AM
Subject: Re: Apache errors


On 08.02.2008 13:23:18 Cristian Ferrero wrote:
> Really thanks Mathias...i will follow your advice..... another 
> question...is
> there a way to configure another unit of measures for position (i mean
> centimetres for example)   instead of 0pt..like this example...
> width="49.0pt"

Sure, see here: http://www.w3.org/TR/xsl11/#d0e5752



Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 08.02.2008 13:23:18 Cristian Ferrero wrote:
> Really thanks Mathias...i will follow your advice..... another question...is 
> there a way to configure another unit of measures for position (i mean 
> centimetres for example)   instead of 0pt..like this example...
> width="49.0pt"

Sure, see here: http://www.w3.org/TR/xsl11/#d0e5752



Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Really thanks Mathias...i will follow your advice..... another question...is 
there a way to configure another unit of measures for position (i mean 
centimetres for example)   instead of 0pt..like this example...
width="49.0pt"



----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Friday, February 08, 2008 4:41 AM
Subject: Re: Apache errors


Christian,
the problem, as far as I understand it, is that XSLFast still produces
XSL-FO optimized for FOP 0.20.5 (I think they still use that version
internally). And 0.20.5 was too lenient (i.e. contained bugs) in many
cases which hurts you now if you use a later version of FOP which is
more FO-compliant. The right way would be to talk to the XSLFast people
and get them to fix their stylesheet production. The alternative I gave
you earlier already is to enable relaxed validation which will let FOP
overlook the empty table elements. If that fixes all your problems, I
can't guarantee.

Just to be clear: We're not talking about writing "fop code", we're
talking about writing "correct XSL-FO". That's the duty of an XSL-FO
editor like XSLfast. If XSLfast doesn't do that, that's a bug in their
software because it doesn't respect the XSL-FO specification.

On 07.02.2007 20:26:59 Cristian Ferrero wrote:
> Thanks Jeremias....i fixed it but i still have FOP format problems like
> fo:table-body is missing child elements.....etc... the strange thing (is 
> how
> i told you ) that this xsl XSLFAST transforms in xsl-fo and then in pdf 
> with
> no problems...but that's not apache problem...in fact...where cab i have
> documentation of exactly code fop supported with apache..or better than
> that.,.,do you know something like XSLF that writes "real" apache - fop 
> code
> ?
> Thanks, i apreciate your help
>
>
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Thursday, February 07, 2008 11:58 AM
> Subject: Re: Apache errors
>
>
> Your top-level template listens to "IMPFACT", but your XML contains
> "IMPFAC" as the top-level element. Because of that the template is never
> triggered and instead default templates provided by XSLT are being used
> and they just output the node content found. That's why the generated FO
> looks more like a text file than an XML file.
>
> On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> > i follow your advice and transform my xsl in fop...it works but i don't
> > think that fo file appears to be a valid one, because it has no nodes,
> > when
> > i try to convert fo to pdf  error says
> >
> > org.xml.sax.SAXParseException: Content is not allowed in prolog
> >
> > i post my 3 files
> <snip/>
>
> Jeremias Maerki


Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Christian,
the problem, as far as I understand it, is that XSLFast still produces
XSL-FO optimized for FOP 0.20.5 (I think they still use that version
internally). And 0.20.5 was too lenient (i.e. contained bugs) in many
cases which hurts you now if you use a later version of FOP which is
more FO-compliant. The right way would be to talk to the XSLFast people
and get them to fix their stylesheet production. The alternative I gave
you earlier already is to enable relaxed validation which will let FOP
overlook the empty table elements. If that fixes all your problems, I
can't guarantee.

Just to be clear: We're not talking about writing "fop code", we're
talking about writing "correct XSL-FO". That's the duty of an XSL-FO
editor like XSLfast. If XSLfast doesn't do that, that's a bug in their
software because it doesn't respect the XSL-FO specification.

On 07.02.2007 20:26:59 Cristian Ferrero wrote:
> Thanks Jeremias....i fixed it but i still have FOP format problems like 
> fo:table-body is missing child elements.....etc... the strange thing (is how 
> i told you ) that this xsl XSLFAST transforms in xsl-fo and then in pdf with 
> no problems...but that's not apache problem...in fact...where cab i have 
> documentation of exactly code fop supported with apache..or better than 
> that.,.,do you know something like XSLF that writes "real" apache - fop code 
> ?
> Thanks, i apreciate your help
> 
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Thursday, February 07, 2008 11:58 AM
> Subject: Re: Apache errors
> 
> 
> Your top-level template listens to "IMPFACT", but your XML contains
> "IMPFAC" as the top-level element. Because of that the template is never
> triggered and instead default templates provided by XSLT are being used
> and they just output the node content found. That's why the generated FO
> looks more like a text file than an XML file.
> 
> On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> > i follow your advice and transform my xsl in fop...it works but i don't
> > think that fo file appears to be a valid one, because it has no nodes, 
> > when
> > i try to convert fo to pdf  error says
> >
> > org.xml.sax.SAXParseException: Content is not allowed in prolog
> >
> > i post my 3 files
> <snip/>
> 
> Jeremias Maerki


Jeremias Maerki


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