embedded FOP from Document to PDF

2002-05-21 Thread Juergen Lippold
Hello, I have no Problems reading the XML and the XSL-file and directly generating the PDF-output. That works fine. But in my application I'm filling the XMl-file, writing it to the harddisk and then starting the FOP-conversion. It would be nice to start the conversion directly with the org.w3

Re: embedded FOP from Document to PDF

2002-05-21 Thread Jeremias Maerki
It is. Have a look at http://xml.apache.org/fop/embedding.html. This page describes how to embedd FOP into your own applications. The info on this page may already be ahead of time (reflecting changes to logging for the next release), so you may have to consult the docs directory in the distributi

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Massimiliano Cuccia
- Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 18, 2002 7:50 PM Subject: Re: runtime ExceptionInInitializerError: first steps > > Uncaught exception (java.lang.ExceptionInInitializerError) > > > > SVGElementMapping.setupSVG

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Massimiliano Cuccia
Ok, thanks  ... this is (now) clear!! :-) but why it does not work width the URI???   thanks Massimiliano - Original Message - From: Oleg Tkachenko To: [EMAIL PROTECTED] Sent: Friday, May 17, 2002 11:35 PM Subject: RE: runtime ExceptionInInitializerError: first st

Antw: Re: embedded FOP from Document to PDF

2002-05-21 Thread Juergen Lippold
Hi, hey that fine, but how can I give the xsl-document to the driver? Thanks Juergen Lippold >>> [EMAIL PROTECTED] 21.05.2002 10.34 Uhr >>> It is. Have a look at http://xml.apache.org/fop/embedding.html. This page describes how to embedd FOP into your own applications. The info on this page m

Re: Antw: Re: embedded FOP from Document to PDF

2002-05-21 Thread Keiron Liddle
On Tue, 2002-05-21 at 11:15, Juergen Lippold wrote: > Hi, > > hey that fine, but how can I give the xsl-document to the driver? Thats easy. Create your driver. Call "getContentHandler()". Use this content handler to fire sax events on. Use your DOM and xsl with your favourite xml+xsl libraries t

Re: diffs for on-the-fly image support

2002-05-21 Thread Keiron Liddle
Hi Paul, I don't think we can apply this patch directly for a number of reasons. Although there are parts in it with value that should be put into cvs when you have finished. The patch should be done against cvs rather than what you did which seems to be in reverse anyway (I suppose this is what

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Oleg Tkachenko
Hello! What do you mean? Give us some more info, what doesn't work and which URI are you using. -- Oleg Tkachenko Multiconn International, Israel Massimiliano Cuccia wrote: > Ok, thanks > ... this is (now) clear!! :-) > but why it does not work width the URI??? > > thanks > Massimiliano >

Re: Font Metrics AWT

2002-05-21 Thread Ralph LaChance
At 05:15 PM 5/19/02, you wrote: >There may be still an issue about the actual vertical >position of an overline. Yes, I expect so; since java.awt.Font contains no specification for where to put the underline (as I pointed out in my code comments.) Unfortunately my word processor doesn't know abou

column width in percent

2002-05-21 Thread Juergen Lippold
Hello, in my xml-document I'm using a value for the column-width in a table. But this is a fixed value. Is it possible to work with values in percent of the table-width? There is one solution with the right direction to use a proportional-column-width, but this doesn't work with JFOR to create

Re: Font Metrics AWT

2002-05-21 Thread Jeremias Maerki
> At 05:15 PM 5/19/02, you wrote: > >There may be still an issue about the actual vertical > >position of an overline. > > Yes, I expect so; since java.awt.Font contains no specification > for where to put the underline (as I pointed out in my code comments.) > Unfortunately my word processor doe

Re: embedded FOP from Document to PDF

2002-05-21 Thread Joerg Pietschmann
"Juergen Lippold" <[EMAIL PROTECTED]> > It would be nice to start the conversion directly with the > org.w3c.dom.Document in memory and the XSL-File from harddisk. Look here for a code sample. You can pass whatever Source subclass you want to the transformer object, including a DOMSource. http:

cvs commit: xml-fop/docs/xml-docs/fop embedding.xml

2002-05-21 Thread keiron
keiron 02/05/21 05:09:04 Modified:docs/xml-docs/fop embedding.xml Log: added a bit of info about using xalan Revision ChangesPath 1.19 +15 -0 xml-fop/docs/xml-docs/fop/embedding.xml Index: embedding.xml ===

TIFFRenderer

2002-05-21 Thread Oleg Tkachenko
Hello! I'm just wondering if fop developers are interested in one more output format such as TIFF ? I beleive it's very easy to produce tiff having AWTrenderer. The only things one have to do is to extend AWTRenderer, to pick up generated BufferedImages page by page and to encode them by tiff

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Massimiliano Cuccia
Sorry for missing informations ... now I will try to be more unambiguous this is my Java code 1Driver driver = new Driver( new InputSource(new java.io.FileInputStream("C:\\character.fo")), new FileOutputStream("C:\\prova.pdf")); 2driver

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Joerg Pietschmann
"Massimiliano Cuccia" <[EMAIL PROTECTED]> wrote: > > > Uncaught exception (java.lang.ExceptionInInitializerError) > > > > > > SVGElementMapping.setupSVG() > > > SVGElementMapping.addToBuilder(TreeBuilder) ... > > Do you have Batik in the classpath? > YES, it is. > > >If so, it is the version

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Oleg Tkachenko
Massimiliano Cuccia wrote: > Sorry for missing informations ... > now I will try to be more unambiguous > > this is my Java code > > 1Driver driver = > new Driver( > new InputSource(new > java.io.FileInputStream("C:\\character.fo")), > new File

Re: TIFFRenderer

2002-05-21 Thread Jeremias Maerki
I think you're the second one who announced such a TIFF renderer in a short period of time. Personally, I would like to see a bitmap renderer in FOP even though I don't have an immediate need myself. I'd like to offer my sponsorship. If no other committer wants to take it, I'm going to look at the

Re: diffs for on-the-fly image support

2002-05-21 Thread Paul Reavis
Keiron Liddle ([EMAIL PROTECTED]) wrote To FOP on Tue, May 21, 2002 at 11:47:19AM +0200: > I don't think we can apply this patch directly for a number of reasons. > Although there are parts in it with value that should be put into cvs > when you have finished. I figured as much. Mainly I wanted

RE: TIFFRenderer

2002-05-21 Thread Jim Urban
We would be real interested in TIFF rendering from FOP since our application includes a fax component. My only concern is the use of the AWTRenderer. Whenever we use the AWTRenderer the output (on screen and print) is not as crisp and sharp as the PDF version. The spacing of letters and words is

Re: TIFFRenderer

2002-05-21 Thread Jeremias Maerki
Ralph LaChance is working on it. Check the current CVS. Ralph's diff should have improved some of this. But it seems like AWT still has its pitfalls. Implementing a full bitmap renderer without the use of AWT would be a major pile of work, I think. But you can always try to use GhostScript to con

Re: TIFFRenderer

2002-05-21 Thread Oleg Tkachenko
Jim Urban wrote: > We would be real interested in TIFF rendering from FOP since our application > includes a fax component. My only concern is the use of the AWTRenderer. > Whenever we use the AWTRenderer the output (on screen and print) is not as > crisp and sharp as the PDF version. The spaci

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Massimiliano Cuccia
GREAT!!! > Did you import resources from batik.jar along with classes ? ... very very well!! :-) I had not checked the item in import phase!! sorry ... Now there is another problem import of Xerces 1.2.3 is impossible ... VisualAge starts the import than close the window without any message and

Re: TIFFRenderer

2002-05-21 Thread Oleg Tkachenko
Jeremias Maerki wrote: > Implementing a full bitmap renderer without the use of AWT would be a > major pile of work, I think. But you can always try to use GhostScript > to convert a PDF/PS to TIFF which should have about the same qualities > as the PDF. Which method are you using right now? You

AW: diffs for on-the-fly image support

2002-05-21 Thread J.U. Anderegg
Inserting JPEG into a PDF file is a simple file copy - given the URI, bits/pixel and color model. The latter are coded within JPEG files. PDF stores the image once and allows multiple references to it. Is programmed caching superior to the caching of the file system? >From PDF view, memory = (JPE

Re: diffs for on-the-fly image support

2002-05-21 Thread Paul Reavis
J.U. Anderegg ([EMAIL PROTECTED]) wrote To [EMAIL PROTECTED] on Tue, May 21, 2002 at 05:31:53PM +0200: > Inserting JPEG into a PDF file is a simple file copy - given the URI, > bits/pixel and color model. The latter are coded within JPEG files. PDF > stores the image once and allows multiple ref

DO NOT REPLY [Bug 9292] New: - FOP rejects a property value of "inherit" as an unknown value

2002-05-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Next maintenace release

2002-05-21 Thread Christian Geisert
Ok, as a lot of people want a date for the next release I propose 1st of june as target date for the release candidate for 0.20.4 What do you think? Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: build changes

2002-05-21 Thread Christian Geisert
Peter B. West schrieb: > Ladies and gentlemen, boys and girls, > > What's the state of play now with the changes to the build system? Has > the elimination of Xalan1 been completed? Who's doing what there? Xalan1 has been removed. Upgrade of xerces/xalan hasn't been done yet (but I'll hopeful

Re: TIFFRenderer

2002-05-21 Thread Ralph LaChance
At 10:11 AM 5/21/02, you wrote: >Ralph LaChance is working on it. Check the current CVS. Ralph's diff >should have improved some of this. But it seems like AWT still has its >pitfalls. > >Implementing a full bitmap renderer without the use of AWT would be a >major pile of work, I think. But you ca

RE: TIFFRenderer

2002-05-21 Thread Jim Urban
Are the AWTRenderer spacing fixes in a release version of FOP? If so, which version? Thanks, Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax: (630) 250-3046 CONFIDENTI

Re: column width in percent

2002-05-21 Thread J.Pietschmann
Juergen Lippold wrote: > in my xml-document I'm using a value for the column-width in a table. > But this is a fixed value. Is it possible to work with values in percent of the >table-width? Not implemented yet. > There is one solution with the right direction to use a proportional-column-width

[REDESIGN] Warning: hyphenation commit on the way

2002-05-21 Thread Karen Lease
Hi all, Just a heads up. I've got some code to handle hyphenation in the new layout logic almost ready. Should be in tomorrow (Wed) or the next day. Regards, Karen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Next maintenace release

2002-05-21 Thread Peter B. West
Christian Geisert wrote: > Ok, > > as a lot of people want a date for the next release I propose 1st > of june as target date for the release candidate for 0.20.4 > > What do you think? Christian, OK by me. Anyone have any specifics he or she wants to get into the release? Peter ---

Re: Next maintenace release

2002-05-21 Thread Jeremias Maerki
Yeah, that's OK. I'm not sure if I can get the bitmap renderer in this weekend. I hope so, but I can't promise. > > as a lot of people want a date for the next release I propose 1st > > of june as target date for the release candidate for 0.20.4 > > > > What do you think? > > > Christian, > >

Re: TIFFRenderer

2002-05-21 Thread Jeremias Maerki
> Are the AWTRenderer spacing fixes in a release version of FOP? If so, which > version? In the next: 0.20.4. It's already fixed in CVS. Christian has announced that we can expect a candidate release around June 1st. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - R

basedir fix for fop 0.20.4

2002-05-21 Thread Arnd Beißner
Hi there, as you are discussing 0.20.4, I have a fix for bug 7608 (The property baseDir is not used when custom fonts are specified.) The fix works ok for me, and some requests that I got on this haven't complained so far. Still, I'm not altogether comfortable with the fix, as I did it with onl

Re: basedir fix for fop 0.20.4

2002-05-21 Thread Jeremias Maerki
Please attach the patch as attachment to the bugreport. Hopefully, I or someone else will look at it before the release. > as you are discussing 0.20.4, I have a fix for bug 7608 > (The property baseDir is not used when custom fonts are specified.) > > The fix works ok for me, and some requests

DO NOT REPLY [Bug 7608] - baseDir property not used when using custom fonts

2002-05-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Why do links generate multiple rectangles in PDF?

2002-05-21 Thread Adrian Edwards
Can anyone (Arved?) give me a brief explanation of why one will generate multiple link rectangles (one for each word!) in a PDF rendering? This would seem to have a dramatic effect on the file size of larger PDF documents with many multi-word links. It's such a (seemingly) strange behaviour t