RE: Infinite loop on pagination

2003-07-30 Thread Torsten Erler
OK X---snip > > FOP version 0.20.4 (also tried with 0.20.5) > OS WinNT 4.0 > JDK version JDK 1.3.1_03 > Are you running FOP from command line or standalone? Both no -> embedded via org.apache.fop.apps.Driver.run() > Do you get any output at the console when using the -d > option? If so could >

Infinite loop on pagination

2003-07-30 Thread Torsten Erler
Hi all... I've a problem that fop runs in an infinite loop if a table cell spans over more than one page. F.e.: 1.Cell | 2.Cell A CELL | simply with a | some lot of | text bocks | inside | and| here | is the | page | break | end first page but the| c

RE: fo & word

2003-07-16 Thread Torsten Erler
Hi... There is a Word-2000 Html2Fo converter: http://www-uk.hpl.hp.com/people/fabgia/wh2fo/wh2fo.html Save your original as html (in word) and try to convert it. p.s.: I never used it, so feel not sad if the result looks not as you expected. cu Torsten > -Original Message- > From: Mir

RE: Croatian letters in pdf

2003-07-15 Thread Torsten Erler
hi see: http://xml.apache.org/fop/fo.html#xml-special-chars to add your own font see: http://xml.apache.org/fop/fonts.html#custom (ensure that the font has the needed glyphs (charachters) inside.) All characters (and their addresses) of the PDF Base14 Fonts you can see at: http://xml.apache.

RE: Aligning table in center without indenting...

2003-07-15 Thread Torsten Erler
Hi... see: http://xml.apache.org/fop/fo.html#fo-center-table-horizon regards Torsten > -Original Message- > From: Kodandapani A. [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 15. Juli 2003 14:01 > To: [EMAIL PROTECTED] > Subject: Aligning table in center without indenting... > > > Hi, >

RE: [newbie] Page orientation in fop

2003-07-14 Thread Torsten Erler
Define a ???-page-master with the appropriate width * heigth e.g. for A4 Paper: cu Torsten > -Original Message- > From: Leonard Wolters [mailto:[EMAIL PROTECTED] > Sent: Montag, 14. Juli 2003 11:50 > To: [EMAIL PROTECTED] > Subject: [newbie] Page orientation in fop > > > Is it pos

RE: combine 2 or more PDF files

2003-07-14 Thread Torsten Erler
Hi A post-processor like iText / ghostscript can do this for you. see: http://xml.apache.org/fop/resources.html#products-pdf cu Torsten -Original Message- From: Yudhistira Ardhi Nugraha [mailto:[EMAIL PROTECTED] Sent: Montag, 14. Juli 2003 05:00 To: [EMAIL PROTECTED] Subject: combine 2

RE: checkbox

2003-07-10 Thread Torsten Erler
$> Hello! > $> > $> I've never before embedded special symbols in fo. Why do you > $> write "#x"? > $> Does the x mean hexadecimal? I'm wondering because I've > $> tried to find the > $> symbol by looking for a symbol from ZapfDingbats with

RE: checkbox

2003-07-08 Thread Torsten Erler
Hi, either you use the (unchecked) checkbox from ZapfDingbats Font ❏ or draw it by yourself (svg requires batik.jar) like that: cu Torsten > -Original Message- > From: Todtenhaupt, Susann > [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 8. J

RE: line break at long string - overlap the following table cell

2003-06-25 Thread Torsten Erler
Turn on hyphanation in your stylesheet like below: cu Torsten > -Original Message- > From: Zmitko, Jan [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 25. Juni 2003 13:36 > To: [EMAIL PROTECTED] > Subject: line break at long string - overlap the following table cell > > > Hello, > > I´ve an

RE: Large XML Files and FOP: Out of Memory Exception

2003-06-25 Thread Torsten Erler
Try to increase the memory size like below: javaw -Xmx256m -Xms150m %CLASSPATH% ... cu Torsten -Original Message- From: Meier Reto [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 25. Juni 2003 12:22 To: [EMAIL PROTECTED] Subject: Large XML Files and FOP: Out of Memory Exception hi all,

RE: checkbox in pdf

2003-06-18 Thread Torsten Erler
I thought do you need SOME checkboxes but afaik Zapf contains only the unchecked one (with different dropping shadow). To use external graphic shouldn't be a perfomance problem I think (the glyph must also been read from the font file!). For best quality you can use SVG to draw the boxes your'e ne

RE: checkbox in pdf

2003-06-18 Thread Torsten Erler
Hi AFAIK neither Helvetica nor the other fonts youv'e tried out, contain this glyph so U've to use a font which has this character at this address. Unfortunality I cant help you which font has it but I think another solution would be to create a simple graphic (box.gif) which can be scaled to

RE: FOP locks output file under WinXP

2003-06-18 Thread Torsten Erler
;~) I thought it. It was just a lark to be not lurking on the thread because it was already solved. Sorry if I've violated your programmer proudness ;) cu > -Original Message----- > To Torsten Erler: "Thread.sleep(2);" was just to > demonstrate that Acrobat >

RE: FOP locks output file under WinXP

2003-06-17 Thread Torsten Erler
> > Hi Nicolas > > > > hmm... you've forgot to flushing and closing the OutputStream! > > and you have to do it in a "finally" clause if you want it to be > reliable. > I've also to bleat ;) Remove 'Thread.sleep(2)', if your'e waiting for the execution do that: * //close the Stream befo

RE: Pls help: Showing images of their own size

2003-06-17 Thread Torsten Erler
Hi Zahidul ... I've adapted your xsl code snip with a few surrounding necessary tags to reproduce it and behold there are the images in both cases !!! I don't know exactly what's missing in your stylesheet, but it works without fixed image sizes (as a said yesterday) I swear ;) Find the working

RE: multipage postscript files

2003-06-17 Thread Torsten Erler
bject: Re: multipage postscript files > > > Using Ghostscript you can merge 2 or more pdf files. > > ----- Original Message - > From: "Torsten Erler" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 17, 2003 2:05 PM > Subject: RE: multi

RE: multipage postscript files

2003-06-17 Thread Torsten Erler
Ok Thanx Jeremias, U'r suggestions were very helpful for me. cu Torsten > -Original Message- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 17. Juni 2003 13:54 > To: [EMAIL PROTECTED] > Subject: Re: multipage postscript files > > > >

RE: multipage postscript files

2003-06-17 Thread Torsten Erler
The last one sounds good... Any other Idea (don't know whether it works): I've tried to distill the postscript file by GhostScript and the result looks good. It creates a pdf site for each postcript page. Can I append/insert the created pdf into the original one, created by FOP? cu and ThanX Tors

RE: multipage postscript files

2003-06-17 Thread Torsten Erler
us what exactly > you need to > do. Are you trying to do some kind of PS2PDF/Distiller thing? Do you > want to append a few pages from a PostScript file to a PDF you're > generating with FOP? I may be able to give you a few hints. > > On 17.06.2003 13:00:27 Torsten Erler wrote

multipage postscript files

2003-06-17 Thread Torsten Erler
Hi all,   I've tried to insert a multipage postscript document into a pdf-document (via external-graphic) but the result looks not as expected (only one side was rendered and the different pages are overdrawing each to the other). I'm afraid that the feature isn't implemented now.   Is it i

RE: Pls help: Showing images of their own size

2003-06-16 Thread Torsten Erler
I don't understand the problem. AFAIK 'content-width'/'content-height' isn't imlemented but 'width'/'height' isn't required to show an image! FOP tries to render the image in its original size except it overflows your imageable area. In this case the image will be scaled down to fit at least one w

RE: FOP format is different between DPF and printed output

2003-06-16 Thread Torsten Erler
PrintRenderer uses the Result of AWTRenderer... see: http://xml.apache.org/fop/output.html#general citation start<< General Information Fonts Most FOP renderers use a FOP-specific system for font registration. However, the AWT and print renderers use the java awt package, which gets its font i

RE: line break

2003-06-05 Thread Torsten Erler
Use mailto:[EMAIL PROTECTED] Sent: Donnerstag, 5. Juni 2003 12:44 To: [EMAIL PROTECTED] Subject: line break Hello. I have a xml: ... My name is Francisco I live in Madrid . and i use that with FOP: and i get in the Pdf

RE: can I use ?

2003-06-05 Thread Torsten Erler
move table header out of the body: cu Torsten -Original Message- From: Francisco García [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 5. Juni 2003 10:44 To: [EMAIL PROTECTED] Subject: can I use ? Hello. I use in a table, but i get: Error: org.apache.fop.apps.FOPE

RE: Graphic Problem

2003-05-22 Thread Torsten Erler
The Problem is located at FOPImageFactory.   The m_urlMap caches the url of the Image to the produced FopImage (it doesn't check for last modified or something else, so you get the same image for the url until the image reference is cleared).   Solution:   in FOP 0.20.5rc2 you can call Fop

RE: transform pdf to xsl-fo

2003-05-21 Thread Torsten Erler
First option - save your word file as word 2000 html and try:   http://wh2fo.sourceforge.net/   Second - I don't know ;(   cu Torsten   -Original Message-From: Olivier George [mailto:[EMAIL PROTECTED]Sent: Mittwoch, 21. Mai 2003 15:26To: [EMAIL PROTECTED]Subject: transform pd

RE: PCL - Postscript Print

2003-05-20 Thread Torsten Erler
Hi there, has anyone got an example on how to implement PCL and/or Postcript printing directly to a printer in a servlet using FOP? Couldn´t find anything like it. Yepp OutputStream out = null; //IP-Stream Printing if( iPPrinting) { Socket s = new Socket( printerName, printerPort );

RE: XPath expression

2003-05-15 Thread Torsten Erler
ThanX alot -- your explanation reduces dramatically the size of my xsl and enlarges my xsl-understanding. All what I've written in many hours, is shrinked to a few lines of code ;(. But it works great ;))) cu Torsten > -Original Message- > From: David Neary [mailto:[EMAIL PROTECTED] > Sen

RE: XPath expression

2003-05-15 Thread Torsten Erler
xsl. If anyone has time to look in it ...any comments/proposals etc. are very welcome cu Torsten > -Original Message- > From: David Neary [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 15. Mai 2003 11:43 > To: '[EMAIL PROTECTED]' > Subject: RE: XPath expression

OT: XPath expression

2003-05-15 Thread Torsten Erler
Hi all,   I know it's not the right List, but I think there are a lot of XSL-Experts here in this list.   Does anyone know the XPath _expression_ for counting all Attributes and all childs (grandchilds...) of all preceding siblings of the selected node??? In Other words which row number h

RE: external graphics and memory usage

2003-05-15 Thread Torsten Erler
... Sorry I use 0.20.4. Just now I've downloaded 0.20.5rc2 and I'm enjoyed to see a method at the end of the class: FopImageFactory.resetCache() Simply call it ;) cu > -Original Message- > From: Torsten Erler [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 15. Mai 2003

RE: external graphics and memory usage

2003-05-15 Thread Torsten Erler
Hi, I had the same Problem, org.apache.fop.image.FopImageFactory is caching the Images and will never release the Reference. I've commented out "m_urlMap.put(href, imageInstance);" @ line 223. You can also try to use WeakHashMap for m_urlMap or add a method which clears the Map on programmatical

RE: testing support for various graphics formats

2003-05-12 Thread Torsten Erler
FYI ghostscript v8.00++ (and naturally ghostview) doesn't render postscript/eps inside pdf by default, unless you set -dDOPS flag on command line or ghostsview config. Reason for that is a security problem with postscript, which has file access to the client, who is interpreting the postscript fil

RE: HTML render class available?

2003-04-25 Thread Torsten Erler
No I don't think that anyone has written this Renderer, because you've to translate the whole fo-reference back into html syntax, which would be like a shot from the back through the breast into the eye. You can try to write it, but before take a look at http://www.w3.org/TR/xsl/slice7.html Each

RE: HTML render class available?

2003-04-25 Thread Torsten Erler
False you dont use XML->PDF, XML->PS, XML->SVG you're using XML+XSL->FO->PDF, XML+XSL->FO->PS.. for HTML you need XML+XSL->FO where FO is your friend. your xsl stylesheet can contain: the resultig FO is: ThatsTheDataFromXML

table--row background

2003-04-24 Thread Torsten Erler
Hi all, I need help again with FOPing. I've a table with many rows. Each second row has a gray colored background. Now it appears that the gray backgound overlaps the table border (approximately for a half point) and between the column borders are breaks (also 1/2 point) on every top of a colored

RE: accessing attributes in xml

2003-04-24 Thread Torsten Erler
  Hope this helps   Cheers   Mirko -Ursprüngliche Nachricht-Von: Torsten Erler [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 24. April 2003 15:03An: Fop-User (E-mail)Betreff: accessing attributes in xml Hi all,   I've an xml

accessing attributes in xml

2003-04-24 Thread Torsten Erler
Hi all,   I've an xml like:   ... Hans Friedrich Mueller   Now I've to check inside the xsl this:         Can anyone help me how to check the value for the tag where the attribute is 'SALES' and how to access this value.   ThanX in Advance   cu Torsten  

RE: foa extension

2002-11-28 Thread Torsten Erler
ons"; > xmlns:foa="http://fabio";> > > Maybe that helps! > > Regards > > -Ursprüngliche Nachricht- > Von: Torsten Erler [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 28. November 2002 11:29 > An: Fop-User (E-mail) > Betreff: foa extension

foa extension

2002-11-28 Thread Torsten Erler
:group' ignored The screen rendering result and the produced PDF-file looks very good (except a few character encoding problems). Does anyone know how avoid the error ThanX Torsten Erler - To unsubscribe, e-mail: [EMAIL

Euro Sign Problem

2002-11-13 Thread Torsten Erler
xmlSource = new StreamSource( reader );Result foResult = new StreamResult( out );Transformer transformer = getTransformer( xslFilePath );transformer.transform( xmlSource, foResult );     ThanX Torsten Erler   Junior Software DeveloperE-mail: mailto:[EMAIL PROTECTED] Telephone: (+49) 351-318

RE: PFM font embedding problems.

2002-11-13 Thread Torsten Erler
HI IIRC try to use *.pfb files in embed-file="..." cu Torsten <>

RE: Fonts in PDF (embedded postscript)

2002-11-12 Thread Torsten Erler
Attached is a sample pdf file with one included postscsript-ad (Ad.ps). The PDF uses the same font like the original postscript file (BellCentennial). The postscript file is called in the generated fo-file as followed: I print the document on command line from whithin a java program:

Fonts in PDF (embedded postscript)

2002-11-12 Thread Torsten Erler
fonts correct but the embedded postscript looks still poor on printing.   I print the pdf via command line on Acrobat Reader 5.0.   Has anyone an idea?   ThanX   Torsten Erler   Junior Software DeveloperE-mail: mailto:[EMAIL PROTECTED] Telephone: (+49) 351-31875-0Direct: (+49) 351-31875-754net

RE: How to Center a text in a table cell?

2002-06-28 Thread Torsten Erler
try: Greeting Torsten > -Original Message- > From: Stefano Barella [mailto:[EMAIL PROTECTED] > Sent: Freitag, 28. Juni 2002 10:29 > To: [EMAIL PROTECTED] > Subject: How to Center a text in a table cell? > > > Hi, I'm Stefano and I have a problem > with xsl-fo tables. I don't know how

[OT] ToastScript using

2002-06-14 Thread Torsten Erler
Hi all! Has anyone experience with ToastScript? I need a possibility to preview embedded postscript in pdf with AWTRenderer. Therefore I've downloaded ToastScript, but I cannot find any documentation (expect api-doc) how to use this. I don't need the gui viewer, because I have to render the postsr

RE: stykesheet attribute version

2002-06-11 Thread Torsten Erler
I think you should try this: http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0"> note at the version attribute inside the xsl:stylesheet tag cu Torsten ps: > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Se

RE: Landscape Layout

2002-06-07 Thread Torsten Erler
Simplest way: swap the values of the page-width and page-height Attributes in the Page Master reference of your xsl-template. greetings torsten -Original Message- > From: Urban, Patrick [mailto:[EMAIL PROTECTED] > Sent: Freitag, 7. Juni 2002 16:05 > To: [EMAIL PROTECTED] > Subject: Landsc

RE: about drawing a Horizontal Line in PDF

2002-06-07 Thread Torsten Erler
try something like this cu torsten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Freitag, 7. Juni 2002 11:14 To: [EMAIL PROTECTED] Subject: about drawing a Horizontal Line in PDF Hi, How to create a horizontal line in PDF. I am using fop-0.20.3rc.jar for P