hi,
i just started learning cocoon seriously for about 1
month.
i have several questions: is it possible
1. to overlap several images from jpg/gif files? what will
be the output?
i mean will the colour of the output be a mixture of the
colours of the original images?
2. to overlap text over
Joni,
1. to overlap several images from jpg/gif files? what will
be the output?
i mean will the colour of the output be a mixture of the
colours of the original images?
Try it see - you can easily overlap regions by changing margins/extents
and/or blocks using position=absolute. I would be
Thank you for your answer!
therefore, the only means of stopping a render, it's to put FOP in
Thread (and to stop the Thread)
But, how did you make to redirect the logger towards a dialog box?
Philippe.
-Message d'origine-
De : Patrick Dean Rusk [mailto:[EMAIL PROTECTED]
Envoyé :
to want to create pure XSL (for ASCII output) after having made XSLFO is
perhaps not either the good solution!
for example, in XSLFO, if a table overflows on another page, the heading
of page it's repeated
it's XSLFO which automatically calculates the number of line per page
But, in pure
thanks all.
Regards,
H. Balakrishnan
--- Patrick Dean Rusk [EMAIL PROTECTED] wrote:
now, the pagenumber is not displayed in the
first
page.
But, i need the page number start with 2 page is
left
alignment and 3 page is right alignment.
The same way, create different page
Christian Geisert wrote:
Christian Geisert wrote:
J.Pietschmann wrote:
[..]
Hm. Maybe there is something wrong with the precompiled version of
FOP.
FOP 0.20.5rc should work with either Jimi or JAI without recompiling.
Just tried it and it doesn't work. Will have a closer look at it.
This is now
Hello,
I'm using FOP 0.20rc5 and have the following problem in my trials. this
error didn't appear using 0.20.4.
What does that mean ?
D:\Projets\GCLFSBV2\Etudes\Testsfop -c userconfig.xml test.fo -pdf
test.pdf
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] Using
Why do I get the errors
getParser is deprecated and getInputSource is not a class within
XSLTInputHandler?
public void convertXML2PDF(String xml, String xslt)
throws IOException, FOPException, TransformerException
{
There are new example without deprecated apis accessible from cvs at this
url :
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/
Attic/
regards, Laurent.
- Original Message -
From: Matthew Lancashire [EMAIL PROTECTED]
To: Fop-User-Help (E-mail) [EMAIL
I agree on
in general terms an XSL Formatting engine is the wrong tool for generating
Character Text output,
but if you must use TXTRenderer because you need something that simulate
PdfOutput etc. etc.
you can set textCPI and textLPI so:
TXTRenderer renderer = new TXTRenderer();
its the servlet i want so that i can stream data in and out withiut using
files.
The CVS servlet still uses these methods (getInputSource,...)
-Original Message-
From: Laurent Forêt [mailto:[EMAIL PROTECTED]
Sent: 10 Feb 2003 10:14
To: [EMAIL PROTECTED]
Subject: Re: getParser deprecated
Hi everybody.
I experience issues when using Fop (0.20.4 / 0.20.5rc) in a multithreaded
application.
I designed a function which transforms a dom into pdf (using a xslt), then
prints it. This function is used in each thread.
I'm embedding fonts in this pdf.
The printed sheets of paper display
Salut Frederic,
I am experiencing the same kind of problem as you do. In a multithreaded
env. (multiprocessor UNIX box, executing FOP in an EJB on weblogic) I see
that font sizes in different threads are messed up. In difference to your
problem I am producing TIFF output (using AWTRenderer). I
Hi all,
in my list I can see no changes if I specify a
provisional-label-separation or not. If the label is too long it
overwrites with list-body.
Here is the part of the xsl file:
fo:list-block provisional-distance-between-starts=3cm
provisional-label-separation=1cm
fo:list-item
Hello,
Where could I find the source of the
examples: ExampleFO2PDF.java,
ExampleXML2FO.java, ExampleXML2PDF.java, ExampleObj2XML.java and
ExampleObj2PDF.java ?
Thanks in
advance.
Thanks for your help.
In addition, I'm in the same kind of situation as you are (multiprocessor
Unix box, executing FOP in a Message Driven EJB on JBoss).
I designed a singleton class which is used by this ejb each time a message
is being consumed.
I'm going to try to synchronize its methods.
Be careful when you say stop the Thread. Threads are no longer supposed
to be directly stopped. I am, instead, throwing an Error in the thread,
catching it in the same thread, and exiting the thread cleanly.
The log messages are only going to System.out in the first place because the
default
Try
this
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/Attic/
-Original Message-From: Marisol Garcia
[mailto:[EMAIL PROTECTED]Sent: 10 Feb 2003 11:50To:
[EMAIL PROTECTED]Subject: embedding fop
Hello,
Where could I find the
I suspect that the singelton approach with synchronized method will solve
the issue.
But I am not sure whether it is acceptable, because that would mean to
execute FOP synchroized, not using the multi-processor box. Rendering is
one of the most processing-intensive opertations we do, so
ok, that makes more and more sense. That was also the feedback I got from
the FOP devs, that AWTRenderer is probably not threadsave, since it was
never designed to be - it was only designed to be a kind of testing tool,
to be used on the client. What kind of graphics environment are you on?
Is
I get a file not found error when I do the .transform
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
C:\m1\Project1\ (The filename, directory name, or volume label syntax is
incorrect)
at
You've probably used a region-name on the fo:region-body in the blank
page-master, and that doesn't correspond with the flow anymore. If
deleting the region-name doesn't help show us your layout-master-set and
the fo:flow elements.
On 10.02.2003 10:07:22 Gerard BUNEL wrote:
I'm using FOP 0.20rc5
Some function (which I cannot modify) in my appliaction generates picture
files in jpg format, but the files don't have .jpg extension. Am I able
somehow to render them in fop ?
I tried this:
fo:external-graphic width=2cm height=2.5cm content-type=image/jpeg
xsl:attribute name=srcxsl:value-of
I already posted about this problem but got no answer.
Can anyone help ?
I've made the test with the attached test.fo file with XEP and with FOP.
With XEP everything is OK but with FOP it fails with the following
error:
D:\Projets\GCLFSBV2\Etudes\Testsfop -d -c userconfig.xml test.fo -pdf
Frédéric and Reto,
having read the 24.1.2 Programming restrictions of the EJB 2.0
specification, I'd recommend you guys don't call FOP from an EJB. The
programming restrictions forbid among other things the following:
- Reading or writing of static variables (FOP still does this too often)
- Use
I've refactored the servlet last week for the redesign branch. You could
try that one. Since it's for the redesign, you might have to adjust a
few things for the maintenance branch.
Here it is:
this for me works
String xsltSystemId = file:///C:/m1/Project1/someFile.xsl;
Transformer transformer = factory.newTransformer(new
StreamSource(xsltSystemId));
bye
From: Matthew Lancashire [EMAIL PROTECTED]
I get a file not found error when I do the .transform
See below
On 10.02.2003 13:48:58 Matthew Lancashire wrote:
I get a file not found error when I do the .transform
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
C:\m1\Project1\ (The filename, directory name, or volume label syntax is
incorrect)
at
Could you provide a little snippet of your FO file where you reference
the SVG file? And can you please run the transformation using the -d
option when callong fop.bat/fop.sh? That way you will get a stacktrace
which lets us help tracking down what's going wrong.
On 09.02.2003 11:08:24 H. krishna
One more info about my problem. The result is different using FOP 0.20.4.
It does not fail with an exception as in 20.0rc5 but does not display a label
on the last Blank page.
Maybe that will help
--
[EMAIL PROTECTED] - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 -
Try deleting the region-name on the fo:region-body for blank and
delete the static-content named blank-label. When a page is blank it
doesn't use the flow anway, so you don't have to specify a different
region-name.
(Strange delays today on the mailing lists)
On 10.02.2003 15:53:24 Gerard BUNEL
Remove the content-type attribute (It's not properly implemented AFAIK).
FOP should be able to correctly identify that your file is JPEG.
On 10.02.2003 14:43:26 Jiri_Nejedly wrote:
Some function (which I cannot modify) in my appliaction generates picture
files in jpg format, but the files don't
Hi Jeremias,
I do agree very much with you about the concerns on EJB usage, though
unfortunately drop the EJB idea is not an option.
EJB is the chosen environment in this company (my client). Since XSL:FO has
also been chosen as strategic technology, we are bound to find a way for
the two to
I just read more of the example on the cvs site and it seems that I cannot
have anything other than a source of type file.
I wish I had read that bitearlier as I need to have source of type streamed
xml
-Original Message-
From: Fabrizio Tringali [mailto:[EMAIL PROTECTED]
Sent: 10 Feb
Can Fop be used in Server Side Java on an IIS4/IIS5 server
Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd
Tel: +44 1282 473554
Fax: +44 1254 267552
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Thanks for your help
-Message d'origine-
De: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Date: lundi 10 février 2003 14:08
À: [EMAIL PROTECTED]
Objet: Re: Antwort: Fop and multithreading.
Frédéric and Reto,
having read the 24.1.2 Programming restrictions of the EJB 2.0
specification, I'd
OK, Thank you.
Given your help and the example in the FAQ, I've understood my mistake.
My 'blank Label' was put into the region-body instead of 'region-before' (I
think it should also work with
the region-after ?).
Gerard
Jeremias Maerki a écrit :
Try deleting the region-name on the
Thanks for the stringreader tip.
Where can I find better Java docs
-Original Message-
From: Matthew Lancashire [mailto:[EMAIL PROTECTED]
Sent: 10 Feb 2003 15:26
To: [EMAIL PROTECTED]
Subject: RE: File not found error
I just read more of the example on the cvs site and it seems that I
Recently I used FOP embedded in my aplication to make PDFs with pictures. I
did it this way:
fo:external-graphic width=2cm height=2.5cm
xsl:attribute name=srcxsl:value-of select=Photo//xsl:attribute
/fo:external-graphic
... and it worked OK.
Now I upgraded my Oracle's JDeveloper from version
Matthew Lancashire wrote:
Can Fop be used in Server Side Java on an IIS4/IIS5 server
Have no idea what is Server Side Java on an IIS4/IIS5 server, but FOP
requires at least JRE 1.2 level of compatibility. Note, FOP doesn't work under
Microsoft JVM, because latest MS JVM only corresponds to JRE
On 10.02.2003 16:15:48 reto.blunschi wrote:
I do agree very much with you about the concerns on EJB usage, though
unfortunately drop the EJB idea is not an option.
EJB is the chosen environment in this company (my client). Since XSL:FO has
also been chosen as strategic technology, we are
http://java.sun.com/j2se/1.4/docs/api/index.html
On 10.02.2003 16:41:55 Matthew Lancashire wrote:
Thanks for the stringreader tip.
Where can I find better Java docs
Jeremias Maerki
-
To unsubscribe, e-mail: [EMAIL
Matthew-
I've used FOP (with Sun's JRE, not Microsoft's -- see Oleg's note) with IIS
5 (and I would assume it would work with IIS 4) by basically writing an
ActiveX DLL that shells out to a call to the fop.bat file, and monitors a
log file of the output from the batch file to see when it's
Hello,
I just recently started playing with this approach (calling FOP.bat from the
web, shelled out). I noticed that things were taking a while to complete
but it seems to me that It waits for one to finish before it completes the
next. Is this the case? Do I need to modify the .bat file so
Where can I find the source code for the embedding examples listed on page:
http://xml.apache.org/fop/embedding.html
I looked in the cvs but it not there.
Philippe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I have been struggling with this for some time. I have a java class that
will do what I want now I need to integrate it with my IIS server via asp.
Man this java is tough for us dumb VB ers
-Original Message-
From: Adam Shelley [mailto:[EMAIL PROTECTED]
Sent: 10 Feb 2003 16:04
To: [EMAIL
How do I query the archives?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 10 Feb 2003 15:55
To: [EMAIL PROTECTED]
Subject: Re: FOP and IIS4/5
Matthew-
I've used FOP (with Sun's JRE, not Microsoft's -- see Oleg's note) with IIS
5 (and I would assume it
Oh, it's there in the CVS. You need to download from CVS using the tag
fop-0_20_2-maintain because it's only in the maintenance branch, not
in trunk.
You will find it under /examples/embedding.
On 10.02.2003 17:15:41 Philippe Caya wrote:
Where can I find the source code for the embedding
Thanks. I will need it.
Me thinks SOAP is the way to go as I have already got my render class
working (yay)
Thanks
-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: 10 Feb 2003 16:37
To: [EMAIL PROTECTED]
Subject: Web site for FOP List Archives (was Re: FOP and IIS4/5)
All right, I'll cop to being a dumb VB er, but it's company mandated, not
me. Anyway, here's how my app works:
A user comes into the site, and makes a request. (Clicks a button saying,
Gimme a PDF) This request is added to a DB, and the ASP immediately
returns with a status page for the
(I found it challenging to find this myself--there isn't exactly a blink
tag pointing to this spot :-)
Thank god. (In reference to the blink tag, not a pointer to the archive.)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Jeremias Maerki wrote:
Remove the content-type attribute (It's not properly implemented AFAIK).
I'm not sure whether content-type is used at all, but this
content-type=image/jpeg
is illegal, according to the spec:
http://www.w3.org/TR/xsl/slice7.html#content-type
is should be
[EMAIL PROTECTED] wrote:
Now I upgraded my Oracle's JDeveloper from version 9.0.2 to 9.0.3 and now
FOP reports this error:
[ERROR]: Could not load external SVG: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found
The library xerces.jar (distributed with FOP) containing mentioned class
Karen Mergner wrote:
in my list I can see no changes if I specify a
provisional-label-separation or not. If the label is too long it
overwrites with list-body.
FOP will overflow the area if it can't insert a line break.
You'll see this if your label is a long word without spaces.
You can insert
The new XMLSpy is supposed to contain a graphical xsl:fo generator. We haven't
received our licenses yet so I haven't had a chance to play with it. And no
unfortunately it's not cheap.
-Original Message-
From: Steve Pitchford [mailto:[EMAIL PROTECTED]
Sent: Friday, February 07, 2003
The RIP can accept a PDF file, which then im assuming converts it to
postscript before output.
If you open a PDF in Acrobat with distiller set up as a printer device you
can print a PDF to another PDF file. Using this process the new PDF file
will pass through the RIP with no problems.
Patrick
56 matches
Mail list logo