I'm relatively new to using FOP. I've got a document working fairly well,
but am having a difficult time doing a few things that I would have thought
to be "simple".
1. Cannot set the TOP MARGIN of a "xsl-region-before".
Setting it to anything is ignored and the data is always printed at the v
> 1. Cannot set the TOP MARGIN of a "xsl-region-before".
> Setting it to anything is ignored and the data is always
> printed at the very
> top of the page.
>
> margin-top="2cm" margin-left="2cm"
> margin-right="2cm" >
I think margin is a property of the page-master (c
Thanks for your help! I needed to change it to use a ByteArray so that I
could set the content length for IE. Other than that it worked great.
Thanks again.
Mike
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 4:51 PM
To: [EMAIL PROTECTED]
S
I resolved my problem with pointers from J.Pietschmann. Here is my code:
public static void renderXML(Document document, String xslFile,
HttpServletResponse response)
throws ServletException {
try {
ByteArrayOutputStream out = new ByteArrayOutputStrea
Subject: Re: Embedded FOP question.
From: Davor Cengija <[EMAIL PROTECTED]>
===
[EMAIL PROTECTED] wrote:
> I've been using the FopServlet as the basis for my servlet app which takes
> a DOM document, stores it to an xml file, then uses XSLTInputHandler to
> convert to fo and output the pdf. Now
Hi, I have a problem,
I'm using fop to genere a pdf file and I want to fill
a block container with an svg picture.
My problem is that I give to the block a precise dimension
an position ( ABSOLUTE ) and I'll give to the svg image the same
dimensions
but it is ignored all directive that I have g
Hi Paul,
1. Try putting your margin-top in your
2. afaik markers aren't supported yet.
3. try using something like:
4. I had to fiddle a lot with preventing page-breaks,
you will have to use the workarounds (using table-cells/
keep-together="always")
or wait for the major redesign, I
J.Pietschmann wrote:
I belive the Tomcat site itself mentions it. Other than
that, read the installation instructions for Cocoon regarding
Tomcat 4.0.3 and the Cocoon FAQ. The generally recommended
workaround is to move everything into the Tomcat lib.
You are right, that's particular bug 6374,
htt
I'm actually having the same problems with the keep-with-next property, it
just doesn't seem to have ANY effect at all (I tried using it on table
rows). There have been some discussions here about this topic, and I think
that some people stated that it works, but I still couldn't figure out how
the
Hi,
I am using tomcat server and i have some problem using fop
i get the following error in the catalina.out file
java.lang.ClassNotFoundException: javax.xml.transform.Transformer
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1394)
at
org.apach
I had the same problem, and it solved it self by reputting the xalan jar in
the lib dir (inside the web-inf of the application)...
and restarting the tomcat...
You might wanna try to extract the class files and set them in the classes
dir of your web-inf,
if this solves the problem, then try to r
Chances are you are using tomcat4.02 or 4.03 which have classloader bug, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374. I so, upgrade to
tomcat 4.04 or move your jars to tomcat/common/lib.
Kumar, Sunil wrote:
Hi,
I am using tomcat server and i have some problem using fop
i get the fo
trey mcclendon
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: Re: Using FOP in Tomcat server
Chances are you are using tomcat4.02 or 4.03 which have classloader bug, see
http://nagoya.apache.org/bugz
please ignore my prev message
thanks
-Original Message-
From: Kumar, Sunil
Sent: Wednesday, June 26, 2002 7:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Using FOP in Tomcat server
trey mcclendon
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Ju
Hi,
The problem is when we use our template to filter HTML style codes (e.g.
,,), FOP does not do what we want it to do.
We use the following template to achieve this:
Just curious - why are you processing input as string instead of tree?
xslt is not text processing language, it's intended for tree transformations.
I believe this string processing example is a very convolute analogue of 3
simple xslt templates:
Moreover, these t
The answer of my question is :
Create the svg file of a GUI Component with the same dimension
that it should have in the pdf page file.
Bye
Stefano Barella
-Original Message-
From: Stefano Barella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 26, 2002 9:30 AM
To: [EMAIL PROTE
Thanks for your help. I got the following from my websphere administrator.
We've tried to do the changes as mentioned at the end of your e-mail
(changing jars and updating admin.config), but the IBM admin server can't
restart.
If we remove xml4j.jar and the others and replace them by the ones
s
I got fop successfully running on websphere 3.5 just by adding saxon.jar at
the first place in the com.ibm.ejs.sm.adminserver.classpath record of
admin.config file (beware about strange syntax \:/), here is my line
(websphere 3.5.6, NT4):
com.ibm.ejs.sm.adminserver.classpath=d\:/WebSphere/AppSer
[EMAIL PROTECTED] wrote:
Thanks for your help. I got the following from my websphere administrator.
We've tried to do the changes as mentioned at the end of your e-mail
(changing jars and updating admin.config), but the IBM admin server can't
restart.
If we remove xml4j.jar and the others and repl
J.Pietschmann wrote:
Well, obsolete or not, it works, is available, platform neutral,
easy to install and provides support for a wide range of graphics
formats, some of them rather obscure. Do you know of a JAI
implementation, preferably OSS and/or freely available, which
supports all common subfor
Hi all,
I'm trying to use a servlet to generate a dynamic image and am seeing
the following error:
6/26/02 3:16 PM --
http://localhost:8080/client/DoGetImage?w=200&h=100&leftmargin=1.5
6/26/02 3:16 PM -- Could not load external SVG: The current document
is unable to create an element of the req
22 matches
Mail list logo