RE: 0.20.5 release

2003-07-08 Thread Cyril Rognon
Hi Fopers,

I can understand your requirements, but I would like to know what memory 
limit you are looking for and what are the filters you two are talking about.

As for me, I have been using FOP for BIG reports (fromm 100 to 2000 pages) 
with big tables (like you, more than 500 pages long tables).

I have used some iText Features to deal with forward reference (see the 
list archive for more details) and this has been giving me a nice solution.

I can produce a 1500 pages doc on a simple machine with 256Mo in a few 
minutes (yes, it swaps) and we use 1 or 2 Go Ram servers for huge documents.

Anyway, we all would welcome some new solution to this problem, but surely 
you reckon there has been loads of workarounb in this list ?

Can you be more specific about the performance threshold you are looking for ?

Regards

Cyril

At 09:02 08/07/2003 +0430, you wrote:
Dear Thomas Sporbeck

It's good to see someone else is using FOP for big reports. I also using
tables for inventory lists near to 600 pages and my user do not accept
to use filters. This FOP is killing my user business and if I could not
find a solution to it, we would trough away the FOP for good, for ever.
Then it would be a shame on FOP open source developers since I would go
and buy none open, commercial product.
I would really appreciate if you inform me of your ideas.

Regards

Ali Farahani

-Original Message-
From: Thomas Sporbeck [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: RE: 0.20.5 release
I would agree to Ricardo. We're using tables for inventory lists
containing about 500 pages. The memory situation in that reports is
really critical and we cannot force the users to set filters.
On the other hand: to us it doesn't matter if this enhancement comes
with 0.20.5 or with a later version (0.20.5a ?), which has of course to
be decided by the developers and will possibly delay refactoring.
Thomas Sporbeck


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


RE: OutofMemoryException

2002-07-25 Thread Cyril Rognon

Lou is right.

could you tell us what FOP outputs when you use the debug mode ? (-d option 
in command line).

Cyril

At 10:53 25/07/2002 -0400, you wrote:

Ramana:
Is it dumping out FOP error messages even though the report seems to be
working?  I think these errors can be related to overflows within your
context areas which I have seen posted as causing increased memory
consumption.
-Lou


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




RE: OutofMemoryException

2002-07-25 Thread Cyril Rognon

I have had some similar problem with one document : Some hyphenated text in 
a cell that was on two rows (row span) : FOP warned me about some I cannot 
hyphenate!. I have not seen this with small documents (bellow 500 pages) 
but with large ones FOP went on an infinite loop. I did exactly like 
Hansuli Anderegg is telling you : tried to noarrow the problem by lowering 
the FO size and hard testing the troubleshooting part.

I know it is not some magic method that will help you to solve your 
problem in twelve seconds but this is the best we have.

You have to try with debug on.

Good luck.

Cyril

At 20:22 25/07/2002 +0530, you wrote:
No Louis,
 It is saying java.lang.OutOfMemoryError in the Driver.render(...)
statement.  If, I print some pages below than 70, it is fine. But, if I try
more than 70, the OutOfMemoryError.

Ramana.


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




Re: page-number-citation

2002-07-02 Thread Cyril Rognon

Hi,

(Remark : This is a XSL issue, nothing particular with XSL FO nor FOP. :)

you can simply use some other template (usually they use some toc named 
template) to generate your table of content using the same nodes. This wat, 
you can use the same xsl:generate-id function to generate the same internal 
created id here.

If you need more explanation, here is some sample code in the antennahouse 
fo tutorial here (http://www.antennahouse.com/XSLsample/XSLsample.htm) even 
if it is more complicated than your basic need.

Cyril

At 14:11 02/07/2002 +0200, you wrote:
Therefore I automatically create
id-attributes for each new
headline using xsl:generate-id.. but the problem is I cannot refer to this
generated ids!!  The
command fo:page-number-citation contains ref-id= but I don`t know how to
tell FOP that it
should use the internal created id-attributes here!  I didn`t find any
documentation about this
kind of problem.  Maybe you could help me?


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




Re: page-number-citation

2002-07-02 Thread Cyril Rognon

Again, I must ell you that your issue is XSLT related, not FO nor FOP.

You must be sure that the current context node is the same when you 
generate the fo:block id={generate-id()}
and the fo:page-number-citation ref-id={generate-id()}/ !

different ids mean different nodes used by the generate-id function.

Be sure you have the same nodes means that if you use xsl:for-each 
select=//headline to gather your nodeset, you have to use some equal 
stuff to parse your headlines to generate your block with ids . It has to 
be the exat same nodes.

Cyril


At 17:34 02/07/2002 +0200, you wrote:
I have tried it like described by Antenna House:

the headline of each article is placed in a fo:block id={generate-id()}

in the table of content I used
xsl:for-each select=//headline
...
fo:page-number-citation ref-id={generate-id()}/
...

like Antenna House
but the function in ref-id generates completely NEW ids which surely don`t
match with the ones generated in fo:block..


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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread Cyril Rognon

Chad,


Fop can render a FO file to PDF.
Fop can render a XML file to PDF if you provide the convenient XSL file to 
transform the XML to FO.

Anthena house tutorial gives some XHTML2FO stylesheet you could use or 
enhance to fit yur need.

Cyril

At 10:44 07/05/2002 -0400, you wrote:

Yes, correct. Since FOP ships with an XSLT processor, I believe that FOP
can take XML and XSL:FO as inputs to render a pdf file. Which I have tested
successfully. Because XHTML is XML, I would also expect that FOP could
render a pdf file with an XHTML (saved as XML) and XSL:FO file as input. I
guess I should have been more clear.

Chad


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




Re: [Understanding] Layout Managers [10.0]

2002-04-26 Thread Cyril Rognon

Keiron,

Here is the  Layout Lanagers section win the xml corresponding format. I 
have added the book.xml as well with a little change. (tell me if you 
prefer diff file)

These two files are to be put in the ../design/understanding/ directory.

;-) Cyril



book.xml
Description: application/xml


layout_managers.xml
Description: application/xml

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


[DOCUMENTATION] Re: [Understanding] Layout Managers [10.0]

2002-04-26 Thread Cyril Rognon

oops

Sorry for those who receive this twice,

I have already sent this message but I have forgotten the DOCUMENTATION 
Subject header.
_
Keiron,

Here is the  Layout Lanagers section in the corresponding xml format. I 
have added the book.xml as well with a little change. (tell me if you 
prefer diff file)

These two files are to be put in the ../design/understanding/ directory.

;-) Cyril


book.xml
Description: application/xml


layout_managers.xml
Description: application/xml

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


Re: build failure with J2SDK1.4

2002-04-23 Thread Cyril Rognon

Thanks Keiron,

I think you may be right. I have successfully done the build by processing 
the codegen target with a JDK1.3 JVM and the package target with the new 
JSDK1.4.0.

It worked out well.

It appears the XML parser that comes with this last JVM is interfering. 
Maybe further distro will have to watch out for this problem.

thx

Cyril

At 09:26 23/04/2002 +0200, you wrote:

This is either a problem with the xml+xsl files we are using or a problem 
with the parser, I'm not usre which.
Note that jdk1.4 comes with an xml parser which could be interfering with 
the xml parser in the lib directory.
Sorry I can't be of more help.


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




[DOCUMENTATION] Understanding part 8+9

2002-04-18 Thread Cyril Rognon

Hi Fopers,

I have read my name on the FO status thread and I have realized I have 
forgotten some of my work :)


Here are the Understanding series part 8 and 9 formated in xml acording 
document-v10.dtd.

congratulation to the newly voted commiters !

Hope it helps

Cyril



area_tree.xml
Description: application/xml


renderers.xml
Description: application/xml

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


Re: Servlet problems

2002-03-26 Thread Cyril Rognon

Hi,

I have not done what you are trying to do but I have used java enough to 
spot a class load precedence error when it comes.

I think That the org.w3c.dom.svg.SVGPaint is needed by some other class 
that has been loaded from a specific level wich is not the batik.jar.

I have had the same problem when using a updated xerces version inside a 
Websphere application Server : There was an older version of xerces loaded 
by WAS. The error was the same : NoDefClassFound anytime there was a need 
for a new class.

I think it has to do with the classpath setting in Tomcat or your Java 
environnement.

I hope this helps.

At 10:13 26/03/2002 -0500, you wrote:

Ok, I have been messing with this problem for a day or so now and can't find
a reasonable solution.

I am using Tomcat 4.0.3 and FOP 0.20.3.  I have deployed the servlet into
the container and copied the fop.jar along with the other jars in the FOP
library directory to the servlets WEB-INF/lib directory.

I can producer documents containing plaintext with no problems.

However, when I try to render the embedding.fo SVG example  I get the
following exception:

java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint at
java.lang.ClassLoader.defineClass0(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java:509) at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1631) at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:926) at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass
.

The class org.w3c.dom.svg.SVGPaint is located in batik.jar with the rest of
the jars.
Anyone have any clue what I am doing wrong?


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




Re: AW: Outputstream with PDF from FOP is going cutted

2002-03-06 Thread Cyril Rognon

It looks like you have some illegal character in your String. At least, 
illegal from  the point of view of the code that reads/uses this String.

What plateform/encoding do you use ?

You said you want to put the binary date into a DB field. Do you use some 
outpustream that can hold these bytes ?

My last comment wil be : This doesn't look like a Fop question but rather 
like a Java Byte Stream issue.

I hope this helps

Cyril

At 09:11 06/03/2002 +0100, you wrote:
Thanks for your answer, but that doesn't help. The same problem I have, when
I give
up this outputStream to the console. There it seems to be uncutted, but when
I mark
the whole String and copy it in the notepad, it will be cutted.

Regards
Priska


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




Re: Documentation volunteer?

2002-02-08 Thread Cyril Rognon

Peter,

I would gladly start this, but I have not found any docs nor htmldocs 
target in the build.xml

I have started to decorate Keiron's Understanding series following the 
sample xml files that can be found in the xmldocs directory but I would 
like to test it now.

any clue ?

By the way, if I succed in this documentation writing, I might have time to 
produce a french version of this stuff if anyone is interested.

Thanks

Cyril Rognon

At 07:06 08/02/2002 +1000, you wrote:
Check the htmldoc target in xml-fop/build.xml,


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




RE: Re[4]: FOP section and page breaks

2002-02-07 Thread Cyril Rognon

Hi all,

I would like to know if this 7Mb XML (1200 pages document, you mentioned ?) 
contains much tables. I have far much longer processing time using the same 
type of machine or even more powerfull ones. Many people have told me that 
I cannot avoid long times and huge memory footprint.

what about you Aleksandar ?

Cyril

At 08:12 07/02/2002 -0800, you wrote:
Hi Aleksandar,

Can you send me the sample XSL file? Thanks.

Swathi Reddy

-Original Message-
From: Aleksandar Zivkovic [mailto:[EMAIL PROTECTED]]

Hello Swathi,

   So far, I did test on PIII/850 with 256Mb Ram.
   Input (xml) file = 7Mb, produces .fo file and then pdf.
   This (all together) process take about 5 min.


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




Re: Seeking Comments on Status of Project

2002-02-05 Thread Cyril Rognon

I think you are right Keiron,

I would like to contribute to this software, I would of course like to 
begin with the code that is an issue for me but I am ready to hear where to 
look and what to do either in the maintenance branch or in the redesign one.

(For the story, my fop issues are with multipage table eating too much memory)

At 15:54 05/02/2002 +0100, you wrote:
The only thing that will improve FOP is more people doing something 
positive even if it is small.

Regards,
Keiron Liddle

Cyril Rognon


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




FOP and table issue

2002-01-31 Thread Cyril Rognon

Hi all,

I have been following this list from some time now, and I am using FOP for 
a few month. This piece of software totally respond to my formatting needs.

The only issue is with memory consumption as soon as I use tables wich use 
more than one page. I beleive there might be some memory leak  here (I have 
not checked that, just a feeling) since I have tried the use as many page 
sequence you can trick and yet the more multi page table my file have 
(even though they do not belong to the same page sequence), the more memory 
it eats to render to PDF.

I use  0.20.3rc, I am going to use fop because I think it fits my needs. If 
anyone have some clue about lowering the memory waste, I would be very very 
thankfull.

I can even investigate some java code if someone show me where to look.

Thanks for the great job, any hints welcome.
Cyril


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




Re: FOP internet explorer

2002-01-28 Thread Cyril Rognon

Mauro,

I think this strang IE behaviour is fixed from IE 5.5. Anyway, some people 
said it would be a good idea to add info for IE to help it solving the 
content-type.

try adding name=dummy.pdf at the end of your query string in your firt url 
you mentioned. I have never verified if this works but people (in this 
list) have said so...

I hope this helps

Cyril


At 12:58 28/01/2002 +0100, you wrote:
We would like definitly resolve the neverending problem about Internet 
explorer and pdf files.

Cocoon version 1.8.2
Tomcat version 3.2.1

In our application the XML files are created by an COCOON XMLproducer and 
transformed using a xslfo stylesheet.

As you know, everything works fine in Netscape while in Internet Explorer 
there are some problems.
It seems IE doesn't consider so much the document content type.

The producer is invoked in this way:

http://w2k5500/prod/comune/dummy.xml?producer=CIExslfile=tryme.xsl
note that dummy.xml doesn't exist but the producer need it to start.

I think the problem could be resolved calling the producer in this way

http://w2k5500/prod/comune/dummy.pdf?producer=CIExslfile=tryme.xsl
but explorer send me a http error 404 - File not found

Is there a configuration parameter that enable me to call a producer in 
this way?



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




maintenance branch

2002-01-09 Thread Cyril Rognon

Hello every one,

great thanks to the Fop developpers for their job.

I hear here and there about the maintenance branch CVS... is there any 
chance for a maintenance release in the next weeks ?

I don't want to disturb anyone with my question. I am just asking because I 
don't know what is the status of the REC compliance with fop dist. The doc 
says 0.20.2RC is REC, but...

Thanks

Cyril


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




Re: How can i optimize memory consumtion?

2002-01-07 Thread Cyril Rognon

Does it really work ?

I have tried with my own documents, but it seems the memory usage  still 
depends on the total page number.
Maybe I use something that bugs memory. I would be glad to hear if it works 
for you, Luigi.

Cyril

At 06:52 07/01/2002 -0800, you wrote:
Try breaking your document into multiple page-sequences.

Luigi Savini wrote:
 
  I need to produce a very large PDF document (about 1300 pages!), no images,
  just plain text.
  I set JVM memory parameters (Xms and Xmx) but i can't process this document
  anyway.


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




Re: Page numbering, FOP version

2002-01-07 Thread Cyril Rognon

You can do the page 1/(total nb of pages) using some last block 
reference. I mean you can generate a block with a special id, like 
my-very-last-paragraph within the last page. then, you can use a 
page-number-citation that refers to your my-very-last-paragraph block.

as for the last FOP dist, I have the very same question you ask ... where 
is the last REC dist ?

Hope that helps

Cyril

At 11:46 07/01/2002 -0500, you wrote:
I'm sorry if this topic has been addressed before, but I couldn't find it in
the archives -- can FOP render page numbers as page 1/(n[total number of
pages])?

Also, the index page at xml.apache.org/fop states The latest version of Fop
is 0.20.2 and it supports the xsl:fo XSL-FO Version 1.0 W3C Recommendation
(with a link to XSL1.0), but the distribution directory lists the download
as Fop-0.20.2RC with a date of 29-Sep-2001 (which, when I downloaded it in
September, still used the CR syntax).  Has this file been updated to use the
Rec syntax, or is that available from CVS, or is this a typo?

Thanks in advance,
John


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




Re: Performance difference between Unix and PC

2001-12-18 Thread Cyril Rognon

Java performance has never been the same on Unix or NT. It depends on the 
JVM you are using.

There have been several comparison of JVM on various OS. I don't remember 
where it was nor who did it but IBM was a good choice under UNIX systems.

Hope it helps

Cyril

At 18:02 18/12/2001 +0100, you wrote:
Hi Guilbert,

very  interesting. If you're experiencing that FOP runs faster on a
NT-machine than on a UNIX machine then we are experiencing the same here.
The same page on my NT machine takes 1 sec whereas on the UNIX machine it
takes 10 seconds.

So far I assumed it's just a load problem of this UNIX machineas it has to
handle the load of 30 developers, everybody with own processes of our
backend system which is very performance consuming.

But would be interesting to know wether this is the case or if FOP is
really slower on UNIX. Does anybody know?

Jens

GUILBERT Nicolas SIReS schrieb:

  Who can explain the huge performance difference we experience between
  using FOP on a NT server or a PC on one side, or on a unix platform on
  the other side.
 
  Is it normal ? Is FOP built to run on PC or NT ? As it is a java
  library, it is supposed to work on all platform ?
 
  Thanks.
  Nicolas
 


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




Re: Maintenance release

2001-12-17 Thread Cyril Rognon

I think Xmas release if it is done in the rush may appear to be Halloween 
release ;-)

You should consider it will be new year's release.

Even if I would be glad to have some maintenance (REC and so on) I would 
not want you to jeopardize this maintenance branch's quality.

Thanks

Cyril

At 18:19 17/12/2001 +0100, you wrote:
Hi,

so many things to do, so little time...

As mentioned earlier I would like to do some more things for the maintenance
release but I have almost no spare time this week.

Thus my question is: should we release now (X-Mas release ;-) or wait some
more days ?

Christian


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




Re: FOP performance on Win98/JRE 1.3.1

2001-12-12 Thread Cyril Rognon

relax,

before making any modification to your docbook stylesheet, I suggest you 
simply use some XML parser feature to deactivate the DTD validation and DTD 
loading. Every major XML parser use these feature that you can configure 
(see Xerces for instance).
This way you will not endenger the docbook code you are using or introduce 
any bugs :)

By the way, apart from the lack of speed, do docbook stylesheet generate a 
good looking FO ? (I mean PDF)

At 14:35 12/12/2001 +0100, you wrote:
On Wednesday 12 December 2001 12:24, Lukas Pietsch wrote:
  What's still slow is the preceding docbook-to-.fo conversion.

One thing I've seen is document referring to a DTD using an http:// URL.

This is ok, but usually the parser will go out to the Internet to fetch the
DTD, which can slow down the process noticeably.

I'd suggest checking your documents or remove any DOCTYPE declarations to see
if it makes a difference.


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




Re: need help

2001-12-12 Thread Cyril Rognon

Keiron,

Maybe Ed went a little too far about this.

of course I do not request immediate magical memory solution that would 
enable me to generate my pdf on a cell phone :)

I have read in this list that some people have 200+ pages documents with 
low memory footprint (around 20-50 Mo). I just want to know if someone 
could give me any hints of achieving a nice FOP generation within 128 Mo 
knowing that I am using page sequences under 15 pages.


Thanks in advance.


As for me, the speed of FOP is not an issue. The memory would not be an 
issue if I had not a physical limit of 128Mo for now (too many units involved).


At 15:54 12/12/2001 +0100, you wrote:
On 2001.12.12 15:39 Ed Howland wrote:
In researching this, I found the Driver.setBufferFile(File buf) method.
I've
set this, but it doesn't seem to work. There are no Javadocs on it. I've
looked
at the code but I don't think its being actively called by the renderer.
Does anybody know the intent and design of this function? Do any
developers
know if it will be implemented soon?

This was not a full or solid solution and was disabled due to problems.

FOP is great, but it requires way too much kid gloving when it comes to
performance and memory utilization. I read a note a while back (2000 I
think)
that someone said they were trying to achieve 100% conformance with the
spec
before they addressed these issues. I might agree with that, but few web
browsers were 100% compliant with W3C standards before they were used
daily by
10s of millions of users. FOP is in a good enough state to be useful in
production environments. Isn't it time to address the scalability aspects
of
FOP to meet those needs?
I suggest that out of the box FOP needs to manage its own resources
much
better. XSLT is already a drain.

While that is true there are certain things you need to realise.
- there are serious layout issues that need to be addressed
- performance and memory is very much tied up to how the whole system 
works, this makes it difficult to fix
- getting FOP to a stage where there is a clear development direction is 
difficult
- none of this will happen by itself


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




Re: need help

2001-12-12 Thread Cyril Rognon

Keiron,

I would gladly share this info in order to contribute to FOP.

here is the last transcript from FOP :
[DEBUG]: Initial heap size: 1828Kb
[DEBUG]: Current heap size: 127392Kb
[DEBUG]: Total memory used: 125564Kb
[DEBUG]:   Memory use is indicative; no GC was performed
[DEBUG]:   These figures should not be used comparatively
[DEBUG]: Total time used: 67054ms
[DEBUG]: Pages rendererd: 85
[DEBUG]: Avg render time: 788ms/page

As everyone see, speed is ok, but memory ? I thought Fop would dispose of 
all the objects inside a page sequence when it's done.
I have tested the following : adding some content to generate more page 
sequences and fop did you more memory. so there might be a leak somewhere.

anyway, I would gladly participate in whatever plan ther is to improve this 
great FO processor.

Thanks

Cyril

I think first you need to understand what is goind on. So we need to 
provide information:
- what the plans and issues are
- what is currently being done

I will be working on this!


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




Re: fo:table question

2001-12-11 Thread Cyril Rognon

Steve,

what you are willing to do must be done in XSLT. if you know the width of 
each column, then you will have no trouble writing a test in your xslt 
stylesheet that will generate a new continuing table with the remaining 
columns. You mentioned a new page, take care, what if your table is on more 
than one page already ?

anyway, XSLT offers you arithmetic to test your case, and the template 
rules to generate your table(s).



I do not have sample, sorry.

Hope this helps

Cyril Rognon

At 10:33 11/12/2001 +0100, you wrote:
Hello,
just a small problem about fo:table.

I want create a table with many columns and the total amount width of
the column will be bigger than the width of the page... How do I have
to do to tell fop that i want a new page if the total amount of the
column width is bigger than the page width

If someone has an example, thanks in advance

Steve Favez
[EMAIL PROTECTED]


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




Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Cyril Rognon

It has been reported many times that IE5.0 needs some strong mime type
information 
: not only you must set the content-type HTTP header to
application/pdf but you also have to use an url with
.pdf at the end... 

Cyril Rognon

At 14:05 07/12/2001 +0100, you wrote:

I'm trying to see a pdf-report, created dinamically with an XML-XSL
process. But if I try to see it with an IE 5.0, I see just a blank page
with an icon. If I try it with an IE 5.5, I can see it with no
problem.

 Why is it? And there is a
solution, because I cannot change the browser to 5.5?



Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Cyril Rognon

That's the trick if you have to use .pdf ended url, use the query string 
like Jamestold you to.

This is a particular IE5.0 pb, and some times it does not appear, the 
response content type may be enough.


Cyril Rognon

At 15:05 07/12/2001 +, you wrote:


Jim Urban wrote:

So how do you  use a url that ends
with .pdf when using servlets?


I think you can do

http://any.url/servlets/Blah?stuff=.pdf

but not certain

James


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




Re: a custom header according to page number

2001-12-03 Thread Cyril Rognon

Your question is a little underspecified ...

if you want to distinguish odd and even pages, the page master
conditionnal part is for you (see the page master fo definition : chapter
6.4.11
http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-reference).
I think you may handle more than just odd-even with this. Use this with
different header section...

Don't think about using some predicate considering the page number, xsl
fo and fop are loosely coupled, it is meant to be that way. So it forbids
the user to use the internal page number programaticaly (some FO
processor provide extension to do this, fop does not).

if your need is more complex and you have some magic formula to guess
wich page is affected, conditionnal master-page may be to low level
...

Good luck.

At 13:13 03/12/2001 +, you wrote:
Hello everybody
I am a FOP beginner, can somebody help me please with this problem

I need to put a cutsomized header in my pages, the header should contain
a
different block (of text) according to the page currently being
generated,
so the condition will be based on the page number

1. is there an fo property I can use (say for the static-content or
the
block elemtents) that makes certain blocks appear/disappear from
headers
according to page number
2. how can I use FOP to generate this content


Cyril Rognon
http://www.objectiva.fr



RE: a custom header according to page number

2001-12-03 Thread Cyril Rognon

If you only need to ditinguish the first page from the other ones, simply
use a different page-master (reference or name ;-) according to the spec
conformance) and use this page master for your cover page only. This will
do the trick easily.

one page-master for the cover (one page-sequence using this
page-master-reference) , and different page-master for the rest of the
page sequences.

I strongly recomend you to read some FO tutorial, this will spare you a
lot of research work (you'll find some ref on
http://www.w3.org/Style/XSL/)
At 14:18 03/12/2001 +, you wrote:
Thanks
Cyril,
please see answers
below

Your question is a little underspecified ...
...
[Ismaeil, Sameh] no, I don't want to distinguish odd and even pages,
specifically, I need to distinguish the frist page from the rest of the
pages, any clue? 
Don't think about using some predicate considering the page number,
xsl fo and fop are loosely coupled, it is meant to be that way. So it
forbids the user to use the internal page number programaticaly (some FO
processor provide extension to do this, fop does
not).
[Ismaeil, Sameh] yes, I kind of noticed that , it is usually one way:
FOP code - fo XSL -pdf document
if your need is more complex and you have some magic formula to guess
wich page is affected, conditionnal master-page may be to low level
...
[Ismaeil, Sameh] I'll give conditional-master-page some insight and
hope it will work, thanks a lot
Good luck.
...


Cyril Rognon
http://www.objectiva.fr



Re: a custom header according to page number

2001-12-03 Thread Cyril Rognon

Jens,

I think you are trying to do too much in the fo stage. It is aknowledged
that you have the power of xsl fo to take care of formatting. The feature
you are talking about is a document structure decision. It is meant to be
done by XSLT code. When you decide to create your fo document, you must
have a way to know wether you are writing the cover page or some of the
content after. Thus, you can have one xsl template that will create a
different page-sequence with the appropriate header in the static-content
and some other template that will use a regular page-sequence for the
rest of the document.

this is definitely a job for XSLT. Not to be done in fo only. You need
two explicit page-sequence and you drive this by XSLT.

I hope my explaination is as clear as in my mind... ;-)

At 16:21 03/12/2001 +0100, you wrote:
I do have a similar (or the
same?) problem. I have a flow that runs through all the pages. On
the first page, though, I'd like to have a different header (static
content). So far I defined two simple-page masters and a
page-sequence-master that uses a simple-page master for the first page
and the other one for the rest. 

But where do I specify where which (static content) header to use? In the
page-masters I can only set margins etc.(?) I tried to use two
page-sequences, one for each page master, but then I get the XML-content
twice: once for the first page sequence once for the second. Can I
specify static content in the page-master? 

Cyril Rognon
http://www.objectiva.fr



problem : centered table in FO

2001-11-27 Thread Cyril Rognon


Hi list,

I am looking for a way to center a table (not the data in the table
cells) in a page.

I have tried to set padding and margin to a surrounding block but FOP
doesn't pay attention to this...

I have also tried a start-indent but it changes nothing. I am using FOP
0.20.2RC.

What am I doing wrong ?

Thanks

Cyril Rognon


Fop ignores my unicode character

2001-11-22 Thread Cyril Rognon

Hi again list !

thanks to Chris, I have discovered two unicode character to represent 
checked and unchecked checkboxes. Now I am trying to use it in my xsl style 
sheet to produce them checkboxes in my pdf output but all I get with fop is 
a # character.

I am using xsl:text #x2611;/xsl:text to insert this U^2611 character 
(checkbox), like I have seen it done with the euro sign (wich works by the 
way, with the U^20AC character).

all I have in return is a # !

Should I do some configuration change to my Fop ?
Should I use some new font ?

Thanks


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




Re: Need Working Sample

2001-07-06 Thread Cyril Rognon

There is a FOP servlet example in the distribution of FOP :

/docs/examples/embedding/FopServlet.java

I think it will answer all the beginners questions.
See the example section on the FOP site to see all pre-answered question 
you might have in your beginning journey.
(starting with http://xml.apache.org/fop/embedding.html)

Cyril

At 10:08 06/07/01 -0500, you wrote:
Hi, I am new to FOP.  I have a servlet which dynamically generates XML.  I
need to apply an XSL stylesheet containing FO tags to generate a FO version
of the XML and then I need to run this FO version of the XML through FOP (or
Driver) so the servlet can return a dynamically created PDF to the browser.
Does anyone have a working example of how to do this?  Only the XSL style
sheet containing the FO tags used in the initial transform will be on disk.
Please help, I have to get this working.

Thanks,


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