On Thu, 2003-01-30 at 05:12, Jeremias Maerki wrote:
You will have to go with the PDF renderer for now, I'm afraid.
OK.
Is there any other tool that can convert PDF to PostScript in Windows?
Win32 port of pdftops from the xpdf package perhaps:
Though I am not a Guru in this field, I suggest a small change in the xml
structure
as well as in the xsl.
There may be other solutions. Decide which one would ease your building XML.
XML:
ColorCode
CodeRed/code
CodeBlue/code
CodeGreen/code
ColorCode
XSL:
On 31.01.2003 02:19:03 Rodolfo M. Raya wrote:
On Thu, 2003-01-30 at 05:12, Jeremias Maerki wrote:
snip/
Is there any other tool that can convert PDF to PostScript in Windows?
Win32 port of pdftops from the xpdf package perhaps:
Roberto, I absolutely agree with you. But I don't have any control
over the xml file's structure.
I have this requirement on my desk and the guy who
wrote it out, does not have any idea about xml.
I tried to convince him, but it's very difficult to negociate
in a big organization.
Thank you
Although format is surely not to reside in data files, the XML Rec.
provides for character-level structural preservation, by means of the
special xml:space attribute. If the text is preformatted, your DTD should
declare this attribute as FIXED with the value preserve in the elements
in which this
Hi everybody!
I want to set FOPs userconfig.xml in the servlet, using these lines:
File userConfigFile = new
File(getServletContext().getResource(/WEB-INF/userconfig.xml).toExternalForm()
);
Otions options = new Options(userConfigFile);
this code compiles, but when running the servlet, I get an
Hello,
I am using FOP 0.20.5rc to produce TIFF files from XML in an EJB
environment. I experience strange multithreading issues when I run the
thing in the (production-near) test-environement on a 4-proc box - the font
sizes get messed up completly on the 4 proc machine but only if I render
On Fri, 2003-01-31 at 03:23, Jeremias Maerki wrote:
I need to solve this problem soon. If I'm able fix the PS renderer, I
will contribute all the code. Problem is, I know nothing about the PS
renderer and how to handle Unicode fonts with it.
I wouldn't recommend this at the moment if
Peter Menzel wrote:
I want to set FOPs userconfig.xml in the servlet, using these lines:
File userConfigFile = new
File(getServletContext().getResource(/WEB-INF/userconfig.xml).toExternalForm()
);
So check here whether such file exists:
if (userConfigFile.exists())
Otions options = new
[EMAIL PROTECTED] wrote:
I am using FOP 0.20.5rc to produce TIFF files from XML in an EJB
environment. I experience strange multithreading issues when I run the
thing in the (production-near) test-environement on a 4-proc box - the font
sizes get messed up completly on the 4 proc machine but only
I keep getting the noclassdeffounderror for hashmap.
Where is this MS VM?
Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd
Tel: +44 1282 473554
Fax: +44 1254 267552
-
To unsubscribe, e-mail: [EMAIL
Matthew Lancashire wrote:
VJ++ 6.0 Yeah.
I have both Sun JDK and MS JDK. Is it in there?
If the Sun JDK is above version 1.2 then yes. Try java -version on the
command line, or print System.getProperty( java.version ) in a program.
i.e
public class Prop
{
public static void main( String[] args
Matthew Lancashire wrote:
VJ++ 6.0 Yeah.
I have both Sun JDK and MS JDK. Is it in there?
MS JDK is ancient java 1.1.4, you cannot use it with FOP.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe,
Its 1.3.1_06.
What do I need to do to get the class in to my classes folder.
-Original Message-
From: Johan Åbrandt [mailto:[EMAIL PROTECTED]
Sent: 31 Jan 2003 15:34
To: [EMAIL PROTECTED]
Subject: Re: java/util/Hashmap
Matthew Lancashire wrote:
VJ++ 6.0 Yeah.
I have both Sun JDK and
What about the sun one?
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: 31 Jan 2003 15:36
To: [EMAIL PROTECTED]
Subject: Re: java/util/Hashmap
Matthew Lancashire wrote:
VJ++ 6.0 Yeah.
I have both Sun JDK and MS JDK. Is it in there?
MS JDK is ancient java
Hi Peter,
I had the same issue. Here's my servlet code:
ServletContext scntxt = this.getServletContext();
String pathToFile = scntxt.getRealPath(/WEB-INF);
String imagePath = file: + pathToFile;
org.apache.fop.configuration.Configuration.put(baseDir, imagePath);
Hope that helps
Rakesh
Peter Menzel wrote:
I cannot specify the basedir/fontbasedir in the userconfig.xml, because I do
not know it.
My web application will be deployed as a war file in some servlet container
from which I do not know anything about directory structures..
Is there another way, to set the font basedir in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Matthew,
I keep getting the noclassdeffounderror for hashmap.
Yes.
What do I need to do to get the class in to my classes folder.
You're not supposed to extract system classes from their library and include
them with your code.
1. How do you
Thanks, but it still does not work.
I use
File userConfigFile = new
File(getServletContext().getRealPath(/WEB-INF/userconfig.xml));
to set the userconfig file, and this works fine.
but all efforts to set the baseDir didn't work:
I tried:
String pathToFile =
I used the command java -version
-Original Message-
From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED]
Sent: 31 Jan 2003 16:14
To: [EMAIL PROTECTED]; Matthew Lancashire
Subject: Re: java/util/Hashmap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Matthew,
I keep getting
Just looked in the JDK folder and there is an src.zip that contains the
.java for hashmap
-Original Message-
From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED]
Sent: 31 Jan 2003 16:14
To: [EMAIL PROTECTED]; Matthew Lancashire
Subject: Re: java/util/Hashmap
-BEGIN PGP
Hi,
the standard way is to add a block (with an id value) on the end of the fo and
then reference it.
Rakesh
-Original Message-
From: MARTIN Franck [mailto:[EMAIL PROTECTED]
Sent: 31 January 2003 16:52
To: [EMAIL PROTECTED]
Subject: Counting the number of pages generated in the pdf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Matthew,
Am Freitag, 31. Januar 2003 17:44 schrieb Matthew Lancashire:
Just looked in the JDK folder and there is an src.zip that contains the
.java for hashmap
but you're not supposed to do that for
a) SUN's copyright.
b) It must work without
MARTIN Franck wrote:
Is there any way to count the number of pages for a pdf generated file?
You can get number of generated pages using
driver.getResults().getPageCount();
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
On Fri, 2003-01-31 at 13:51, MARTIN Franck wrote:
Is there any way to count the number of pages for a pdf generated file?
Maybe the following code can help:
File userConfigFile = new File(lib/userconfig.xml);
options = new Options(userConfigFile);
output = new FileOutputStream(outputFile);
Peter Menzel wrote:
...
String pathToFile = file://w:/projekte/owservlet/build/WEB-INF/;
...
but the fop tells me
[ERROR] Failed to read font metrics file
/projekte/owservlet/build/WEB-INF/mtcorsiva.xml : null
whats happening to the file://w: part of the path ?
Study the file: scheme URI syntax,
MARTIN Franck wrote:
Is there any way to count the number of pages for a pdf generated file?
Check the FAQ for hints and caveats:
http://xml.apache.org/fop/faq.html#faq-N10597
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL
27 matches
Mail list logo