Some seemingly "simple" Formatting Questions

2002-06-26 Thread Thibodeaux, Paul
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

RE: Some seemingly "simple" Formatting Questions

2002-06-26 Thread Roland Neilands
> 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

RE: Embedded FOP question.

2002-06-26 Thread mike . witt
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

RE: FOPServlet and XML string

2002-06-26 Thread mike . witt
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

Re: Embedded FOP question.

2002-06-26 Thread @Basebeans.com
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

Fill a block container area with an SVG

2002-06-26 Thread Stefano Barella
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

Re: Some seemingly "simple" Formatting Questions

2002-06-26 Thread Markus Wiese
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

Re: Problem with javax.xml.transform.Transformer

2002-06-26 Thread Oleg Tkachenko
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

RE: Some seemingly "simple" Formatting Questions

2002-06-26 Thread Hahn Kurt (CHA)
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

Using FOP in Tomcat server

2002-06-26 Thread Kumar, Sunil
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

Re: Using FOP in Tomcat server

2002-06-26 Thread Jochen . Maes
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

Re: Using FOP in Tomcat server

2002-06-26 Thread Oleg Tkachenko
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

RE: Using FOP in Tomcat server

2002-06-26 Thread Kumar, Sunil
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

RE: Using FOP in Tomcat server

2002-06-26 Thread Kumar, Sunil
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

RE: Weird behaviour of Apache fop

2002-06-26 Thread Willem-Jan van den Bichelaer
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:

Re: Weird behaviour of Apache fop

2002-06-26 Thread Oleg Tkachenko
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

RE: Fill a block container area with an SVG

2002-06-26 Thread Stefano Barella
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

Re: AW: Problem with servlet

2002-06-26 Thread Neeru . Bhardwaj
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

Re: AW: Problem with servlet

2002-06-26 Thread Oleg Tkachenko
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

Re: AW: Problem with servlet

2002-06-26 Thread J.Pietschmann
[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

Re: What kind of TIFF does FOP support

2002-06-26 Thread Oleg Tkachenko
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

Error using servlet for external-graphic

2002-06-26 Thread Joel Stevenson
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