PNG question, and Link to cgi script that generates image example

2003-02-05 Thread Rich Gibson
Hi, I've figured out how to link to a file that contains a gif or jpg image, but not a png. fo:block fo:external-graphic src=file:test.jpg /fo:block After reading the FAQ I extracted the file JimiProClasses.zip from the Jimi library, and renamed it 'jimi-1.0.jar' and moved it to FOP's lib

RE: Class not found applet error

2003-02-05 Thread Matthew Lancashire
When I I copied all these in the the classes folder. Can I not get the JRE to look here? -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 04 Feb 2003 20:17 To: [EMAIL PROTECTED] Subject: Re: Class not found applet error Matthew Lancashire wrote: When I access the

Re: Class not found applet error

2003-02-05 Thread Oleg Tkachenko
Matthew Lancashire wrote: When I I copied all these in the the classes folder. Can I not get the JRE to look here? Read html specification, http://www.w3.org/TR/html401/struct/objects.html#edef-APPLET, archive = uri-list [CT] This attribute specifies a comma-separated list of URIs for

How to stop a render FOP ?

2003-02-05 Thread Philippe PITHON
How to stop a render FOP?

Re: external-graphic problem

2003-02-05 Thread Oleg Tkachenko
Mihael Knezevic wrote: thanx for the response. correct me if i'm wrong, but i thought the base dir must only be set if i use this in a servlet? baseDir *may* be set if you need it. Environment doesn't matter, that's just a convenient way to resolve relative URI's. -- Oleg Tkachenko Multiconn

RE: external-graphic problem

2003-02-05 Thread Mihael Knezevic
thanx again. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic problem Mihael Knezevic wrote: thanx for the response. correct me if i'm wrong, but i thought the base dir

RE: Class not found applet error

2003-02-05 Thread Matthew Lancashire
Is there no way around using the archive attribute to d/l the jars. I can ensure that they are already on the client machine. Does this not help? -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: 05 Feb 2003 10:02 To: [EMAIL PROTECTED] Subject: Re: Class not found

Re: Class not found applet error

2003-02-05 Thread Oleg Tkachenko
Matthew Lancashire wrote: Is there no way around using the archive attribute to d/l the jars. I can ensure that they are already on the client machine. Does this not help? Then it seems to me you are using wrong hammer, afair applets cannot access client file system. If you want to start java

Re: How to adjust page layout

2003-02-05 Thread Mohamed Abdel Hamid
thanx for your answer about printer setting which i adjust is only paper size ( i choose A4) becuase i adjust page on this size. there is another option called Scale to fit in the printer setting but i didn't try it yet . - Original Message - From: Oleg Tkachenko [EMAIL PROTECTED] To:

Problem with imported footer

2003-02-05 Thread Miltos Margetis
Hello: I made an xsl:fo file, whitch imports another xsl:fo so as to implement the footer.Both files match data from the same xml. Everything seem ok by now, except the position of my footer (its a table with one row, and the column number depend from 1 to 6).How can i centralised the footer

Re: Converting SVG files to different file formats

2003-02-05 Thread Hans Stoessel
Thomas E Deweese [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] HS == Hans Stoessel [EMAIL PROTECTED] writes: HS I try to do that on different ways, f.e. with Batik, FOP HS and Image Magick, but the results are bad. I guess we need to understand what 'results are bad'

Suppress new line creation in a fo:block

2003-02-05 Thread Celine Murphy
Hi, I am trying to place textthus: MyCompany MyDate currently i am using fo:leader which works but if the length of either of these changes then it goes on to a newline. I would ideally like to use a fo:block and suppress the new line creation and just align the text to the end of the

AW: Suppress new line creation in a fo:block

2003-02-05 Thread Zieseniß, Markus
try it with table: fo:table table-layout=fixed fo:table-column column-width=60mm/ fo:table-column column-width=30mm/ fo:table-column column-width=60mm/ fo:table-body fo:table-row fo:table-cell fo:blockMyCompany/fo:block /fo:table-cell fo:table-cell

How: calculate the length of a text

2003-02-05 Thread Unger, Joachim
How can I calculate the length (in mm) of a text before output? Is there a solution für FOP? Regards, Joachim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Suppress new line creation in a fo:block

2003-02-05 Thread Celine Murphy
Title: RE: Suppress new line creation in a fo:block Thank you Markus - this works perfectly. By the way what does #160; mean?? -Original Message- From: Zieseniß, Markus [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 15:56 To: '[EMAIL PROTECTED]' Subject: AW: Suppress new line

Re: Suppress new line creation in a fo:block

2003-02-05 Thread Clay Leeds
Celine Murphy wrote: Thank you Markus - this works perfectly. By the way what does #160; mean?? #160; is a non-breaking space (similar to HTML's nbsp;). More info on it can be found here (watch wrap): http://www.zvon.org/other/charSearch/PHP/search.php?request=160searchType=2 -- Clay Leeds -

AW: How: calculate the length of a text

2003-02-05 Thread Unger, Joachim
I cannot use monospaced fonts - i forgot to write that ! Joachim -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. Februar 2003 17:16 An: [EMAIL PROTECTED] Betreff: Re: How: calculate the length of a text You could use a monospace font (e.g.,

RE: How: calculate the length of a text

2003-02-05 Thread Mihael Knezevic
if you want to calculate the width of the text on the screen then perhaps the class java.awt.FontMetrics is of some help though i never needed it and don't know exactly how it works. have a look at the javadocs. -Original Message- From: Unger, Joachim [mailto:[EMAIL PROTECTED] Sent:

Xerces 1.2.1 - Sax parsing

2003-02-05 Thread Sharma, Siddharth
Title: RE: Suppress new line creation in a fo:block Sorry for posting an XML query in an FOP forum, but I reckon most folks here are Xml gurus as well. I am using Xerces 1.2.1 (ships default with WAS 4.0.3). My Xml looks like this: ...RPP_promptanswer amp; question/RPP_prompt... Please

suppress sign in header on last page

2003-02-05 Thread Zieseniß, Markus
Hello, I have a floating text (1..n pages) and need a sign for our inserter (enveloping machine), which appears on all pages except the last. I tried to put the inserter-sign in the header, but this sign is also printed on the last page. Then I tried to overwrite this sign by a white-bitmap

Re: suppress sign in header on last page

2003-02-05 Thread Clay Leeds
Zieseniß, Markus wrote: Hello, I have a floating text (1..n pages) and need a sign for our inserter (enveloping machine), which appears on all pages except the last. I tried to put the inserter-sign in the header, but this sign is also printed on the last page. Then I tried to overwrite this sign

Re: suppress sign in header on last page

2003-02-05 Thread Toufic Nehme
Hi, I had the same problem and somebody on this list suggested something like this. fo:layout-master-set fo:simple-page-master master-name=lastPage page-height= page-width=

AW: suppress sign in header on last page

2003-02-05 Thread Zieseniß, Markus
I also thought so, but page-position=last did not work. -Ursprüngliche Nachricht- Von: Toufic Nehme [SMTP:[EMAIL PROTECTED] Gesendet am: Mittwoch, 5. Februar 2003 18:29 An: [EMAIL PROTECTED] Betreff: Re: suppress sign in header on last page Hi, I had the same problem

embed Fonts in FOP (not from the command line)

2003-02-05 Thread Noel Golding
I need to create a pdf that embeds the fonts. From what I could find in order to use the userconfig.xml file you need to use the command line. I have embeded FOP into a JAVA application and I am not sure how to proceed setit to use the config file. I am using FOP 2.0.1 Thank you Noel Golding

Re: embed Fonts in FOP (not from the command line)

2003-02-05 Thread Oleg Tkachenko
Noel Golding wrote: I need to create a pdf that embeds the fonts. From what I could find in order to use the userconfig.xml file you need to use the command line. I have embeded FOP into a JAVA application and I am not sure how to proceed setit to use the config file. That's a faq, see

Re: embed Fonts in FOP (not from the command line)

2003-02-05 Thread Louis . Masters
Actually, I don't use the userconfig.xml file anymore. I set most of my config info in my java class. For example: Configuration.put(baseDir, file: + new File(.).getAbsolutePath()); or Configuration.put(fonts, allFonts); Check out FontTriplet and FontInfo in the API. -Lou Noel Golding

Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-05 Thread alex elsholz
Hi, Check the FAQ for hints and caveats: http://xml.apache.org/fop/faq.html#faq-N10597 public static void main(String args[]) { try { Driver driver=new Driver(); driver.setOutputStream(new FileOutputStream(args[2])); driver.setRenderer(Driver.RENDER_PDF); Transformer

Re: Converting SVG files to different file formats

2003-02-05 Thread J.Pietschmann
Hans Stoessel wrote: Bad quality means that the text (fonts) is bad looking (rasterd, gray not black, ...). It seems to be the resolution or something like that. FAQ. See http://xml.apache.org/fop/faq.html#faq-N1036C Do you have a code example how I can convert SVG to PDF using Batik/FOP? Waht

Re: PNG question, and Link to cgi script that generates image example

2003-02-05 Thread J.Pietschmann
Rich Gibson wrote: I've figured out how to link to a file that contains a gif or jpg image, but not a png. ... Exception on thread 'main' java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage I assume that I have the wrong version of jimi, or I did something wrong :-) Any thoughts? Hm.

Re: White space

2003-02-05 Thread J.Pietschmann
Sal Tarantola wrote: As I said I know that the whole white-space issue has been tackled before. That's why there is a FAQ entry: http://xml.apache.org/fop/faq.html#faq-N10583 J.Pietschmann - To unsubscribe, e-mail: [EMAIL

Re: special characters

2003-02-05 Thread J.Pietschmann
Jon Steeves wrote: The special characters that didn't appear in the previous email are: pi, omega, and sigma. Well, as Roland said, chances are you need to declare the XML file to be encoded in the greek subset of ISO-8859 (IIRC ?xml version=1.0 encoding=ISO-8859-7? If this causes the parser to

Re: Problem with imported footer

2003-02-05 Thread J.Pietschmann
Miltos Margetis wrote: I made an xsl:fo file, whitch imports another xsl:fo so as to implement the footer.Both files match data from the same xml. Everything seem ok by now, except the position of my footer (its a table with one row, and the column number depend from 1 to 6).How can i

Re: How: calculate the length of a text

2003-02-05 Thread J.Pietschmann
Unger, Joachim wrote: How can I calculate the length (in mm) of a text before output? Why do you think you need this? Is there a solution für FOP? Wrong question. There is always a solution in software. J.Pietschmann - To

Re: suppress sign in header on last page

2003-02-05 Thread J.Pietschmann
Toufic Nehme wrote: fo:conditional-page-master-reference master-reference=lastPage page-position=last / Page-position=last is not implemented in FOP. There are several ways in the list archive to get around this though. J.Pietschmann

Re: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-05 Thread J.Pietschmann
alex elsholz wrote: but thats not what i want. I'm looking for an solution to calculate the number of pages without the complete rendering process. Great idea. If you tell me how to do it, I'll implement it. Note: In general, you can't know how many pages a text fills unless you actually filled

security exception with font metrics creation

2003-02-05 Thread Alexander Koppelhuber
I tried to create a font metrics file from a true type font and got the following exception: This font contains no embedding license restrictions java.lang.SecurityException: class org.apache.fop.fo.Unknown$Maker's signer information does not match signer information of other classes in the same