RE: Why is FO(P) a superior model than what most proprietary too ls propose

2002-04-30 Thread Kilmer, Erich
I would also be interested in understanding more on the viability of FOP as
a reporting tool. What are people's thought on this?
Thanks,
Erich

-Original Message-
From: Patrick Lanphier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 4:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Why is FO(P) a superior model than what most proprietary
tools propose


We are considering using FOP in place of JReports or any other reporting
tools.  More needs to be written on how to use Cocoon and FOP as a true
report writer.  Any help would be great.  I'm currently working with Corda
in hopes that they will change the SVG format to inlining so that it can
be easy used with FOP.  If any of you would like to talk to them about
this that would be great.

Patrick Lanphier
The Artemis Group
http://www.artemisgroup.com
phone: 814-235-0444
  fax: 800-582-9710

On Tue, 30 Apr 2002, J.Pietschmann wrote:

 Patrick Andries wrote:
  Alex McLintock wrote:
  I don't know about an industry analysts study of XSL:FO but we ought
  to be able to come up with case studies for people who have
  successfully used FOP.
  I think this is crucial. I found nothing of the sort.

 There was recently an announcement on the cocoon list that
 a major NASA site (KSC, i believe) is being redesigned
 using Cocoon 2 (includes FOP) and will going online soon.
 Perhaps some details regarding FOP usage there could be
 asked for.

 Apart from this, for my job I found XSLFO superior to
 the various proprietary reporting tools (rather expensive
 stuff). It's just me, though.

 J.Pietschmann






Tables row data is being split between multiple pages

2002-04-18 Thread Kilmer, Erich
I have built a multipage document that has a table in the body. In each row
there is one table cell that is comprised of 4 fo blocks. 
Depending on how the header and footer are set and the number of line items
present (the repeating element) there is a situation occuring where if the
end of the body is reached and the end of the row has not been reached then
that row will be split. That one thicker cell is where the split occurs.
Depending on how much room is left that cell's blocks (4) are split between
the pages.
Is there someway that I can force the splitting of the table to happen on
complete row boundaries and not split up a cell?
Thanks,
Erich Kilmer



How to get table to flow from first page squence to the next page sequence?

2002-04-17 Thread Kilmer, Erich
I am trying to design an article using FOP and could use some help in its
layout.
The document in an invoice. The first page has a large header and footer
with various invoice data. In the body or content section of the first page
I want to have a table that contains line item data in each row. Because the
first page has used up so much space in its header and footer there is only
room for about 2-3 rows of line item data.
On subsequent pages I would like to carryover the line item table.
How can I get the line item table flow to start on the first page and then
continue on subsequent pages?
Thanks,
Erich Kilmer



Help with [ERROR]: null

2002-04-17 Thread Kilmer, Erich
Hello, I am trying to get this style sheet to render using FOP but the error
it is throwing is fairly vague. Can anyone advise  me how I can debug this?
I am referencing an XML file but not actually accessing any values from it
so its not from that.
I am using FOP 0.20.3.
Thanks,
Erich

Fop output:
[INFO]: FOP 0.20.3 [INFO]: building formatting object tree [ERROR]: null
...post processing finished

Style Sheet:

?xml version=1.0 encoding=utf-8?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:TST=TST
xmlns:java=http://xml.apache.org/xslt/java; exclude-result-prefixes=java
xsl:output indent=no/
xsl:template match=text()/
xsl:template match=EROUTE
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set

fo:simple-page-master
master-name=page-first page-height=11in page-width=8.5in
margin-top=.5in margin-bottom=.5in margin-left=.5in
margin-right=.5in
fo:region-body margin-top=4in
region-name=content/
fo:region-before extent=3in
region-name=header-first/
fo:region-after extent=4in
region-name=footer-first/
/fo:simple-page-master

fo:simple-page-master
master-name=page-rest page-height=11in page-width=8.5in
margin-top=.5in margin-bottom=.5in margin-left=.5in
margin-right=.5in
fo:region-body margin-top=1in
region-name=content/
fo:region-before extent=1in
region-name=header-rest/
fo:region-after extent=1.5in
region-name=footer-rest/
/fo:simple-page-master

fo:page-sequence-master master-name=control-page
   fo:repeatable-page-master-alternatives
  fo:conditional-page-master-reference
page-position=first master-name=page-first/
  fo:conditional-page-master-reference page-position=rest
master-name=page-rest/
  fo:conditional-page-master-reference
master-name=page-rest/
   /fo:repeatable-page-master-alternatives
/fo:page-sequence-master

/fo:layout-master-set

 fo:page-sequence master-reference=control-page

fo:static-content flow-name=header-first
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textHeader
First/xsl:text/fo:block
/fo:static-content

fo:static-content flow-name=header-rest
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textHeader
Rest/xsl:text/fo:block
/fo:static-content

fo:static-content flow-name=footer-first
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textFooter
First/xsl:text/fo:block
/fo:static-content

fo:static-content flow-name=footer-rest
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textFooter
Rest/xsl:text/fo:block
/fo:static-content

fo:flow flow-name=content
   xsl:textContent goes here!/xsl:text
/fo:flow


 /fo:page-sequence

/fo:root  
   /xsl:template
/xsl:stylesheet




RE: Help with [ERROR]: null

2002-04-17 Thread Kilmer, Erich
I got it. I changed the master-name attribute to master-reference inside the
fo:conditional-page-master-reference tags and it renders properly.

-Original Message-
From: Kilmer, Erich [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 3:57 PM
To: '[EMAIL PROTECTED]'
Subject: Help with [ERROR]: null 


Hello, I am trying to get this style sheet to render using FOP but the error
it is throwing is fairly vague. Can anyone advise  me how I can debug this?
I am referencing an XML file but not actually accessing any values from it
so its not from that.
I am using FOP 0.20.3.
Thanks,
Erich

Fop output:
[INFO]: FOP 0.20.3 [INFO]: building formatting object tree [ERROR]: null
...post processing finished

Style Sheet:

?xml version=1.0 encoding=utf-8?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:TST=TST
xmlns:java=http://xml.apache.org/xslt/java; exclude-result-prefixes=java
xsl:output indent=no/
xsl:template match=text()/
xsl:template match=EROUTE
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set

fo:simple-page-master
master-name=page-first page-height=11in page-width=8.5in
margin-top=.5in margin-bottom=.5in margin-left=.5in
margin-right=.5in
fo:region-body margin-top=4in
region-name=content/
fo:region-before extent=3in
region-name=header-first/
fo:region-after extent=4in
region-name=footer-first/
/fo:simple-page-master

fo:simple-page-master
master-name=page-rest page-height=11in page-width=8.5in
margin-top=.5in margin-bottom=.5in margin-left=.5in
margin-right=.5in
fo:region-body margin-top=1in
region-name=content/
fo:region-before extent=1in
region-name=header-rest/
fo:region-after extent=1.5in
region-name=footer-rest/
/fo:simple-page-master

fo:page-sequence-master master-name=control-page
   fo:repeatable-page-master-alternatives
  fo:conditional-page-master-reference
page-position=first master-name=page-first/
  fo:conditional-page-master-reference page-position=rest
master-name=page-rest/
  fo:conditional-page-master-reference
master-name=page-rest/
   /fo:repeatable-page-master-alternatives
/fo:page-sequence-master

/fo:layout-master-set

 fo:page-sequence master-reference=control-page

fo:static-content flow-name=header-first
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textHeader
First/xsl:text/fo:block
/fo:static-content

fo:static-content flow-name=header-rest
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textHeader
Rest/xsl:text/fo:block
/fo:static-content

fo:static-content flow-name=footer-first
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textFooter
First/xsl:text/fo:block
/fo:static-content

fo:static-content flow-name=footer-rest
fo:block text-align-last=center
font-weight=bold font-size=10ptxsl:textFooter
Rest/xsl:text/fo:block
/fo:static-content

fo:flow flow-name=content
   xsl:textContent goes here!/xsl:text
/fo:flow


 /fo:page-sequence

/fo:root  
   /xsl:template
/xsl:stylesheet