reference-orientation

2002-11-27 Thread bernt asbjørn omland
Hi, I am developing a stylesheet which generates a pdf document. I need to rotate some of the text so that it appears vertically from top to bottom. I have not been able to do this with fop, so my questions are: Is reference-orientation for block-container implemented in fop? If not, is there some

Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg, You've been a great help. Through all of this, I've learned a bunch about FOP (particularly limitations & abilities). At 02:17 PM 11/27/2002, you wrote: Clay Leeds wrote: What's currently happening: (I currently have enough FLOW content to print 3 ODD pages). ODD page prints Page 1 of 5, E

Re: AW: automatic image scaling

2002-11-27 Thread Oleg Tkachenko
Alexander Koppelhuber wrote: content-width and content-height do not have any effect at all They are just not implemented yet. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: using fop-0.20.4 I'll check into the cvs version stuff if I can. However, I doubt my clients will be interested in using a non-release version. Well, then wait 0.20.5rc, probably next week. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel -

Re: Odd, Even & Last-odd Problem

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: I removed all references to LAST after finding this out yesterday. OT: I sure wish there were a reference to "position=LAST" not being implemented yet on the FOP "limitations" page. You right. Probably a warning ar even error should be logged also. Actually, the new problem (ref

Re: FOP 0.20.4 (NoClassDefFound)

2002-11-27 Thread Oleg Tkachenko
Ken Teague wrote: java org.apache.fop.apps.Fop -fo resume.fo -pdf resume.pdf Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) Add avalon jar to the classpath, avalon-framework-cvs-.jar

Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: What's currently happening: (I currently have enough FLOW content to print 3 ODD pages). ODD page prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page (Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back and read that. Yes, it's an ODD page with

Re: Unknown formatting object null^null ... again

2002-11-27 Thread Oleg Tkachenko
Matthias Kräuter wrote: my old problem still exists. The stacktrace now shows line numbers but I don´t think it helps very much. I tried newer versions of Xalan (2.4D1) and Xerces (2.1.0) but nothing changed. My supplied Document is not read from file but is a transformation result I´m holding i

Re: Odd, Even & Last-odd Problem

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: Thanks for the input! BTW, I noticed that "bug" was added to bugzilla back in March, and referenced 0.20.3. Unfortunately, I scoured the release notes and did not find a "fix" for it in 0.20.4. :-( It's not fixed therefore. A workaround I'm considering, is to use the combination

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg, At 01:25 PM 11/27/2002, you wrote: Clay Leeds wrote: I'll try this. Unfortunately, at this time, my clients are already complaining about how long it takes to output using FOP. Here's the info from FOP's debug mode: [DEBUG] Initial heap size: 1828Kb [DEBUG] Current heap size: 7003Kb [DEBUG]

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: I'll try this. Unfortunately, at this time, my clients are already complaining about how long it takes to output using FOP. Here's the info from FOP's debug mode: [DEBUG] Initial heap size: 1828Kb [DEBUG] Current heap size: 7003Kb [DEBUG] Total memory used: 5174Kb [DEBUG] Mem

Re: Odd, Even & Last-odd Problem

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: Sorry for responding to my own post, but... does anyone know of a workaround for this? Originally, I was thinking of doing something like this:   (NOTE: that is "page-position=last()" and not position of XML content). You cannot do

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg, Thanks for the reply! At 10:36 AM 11/27/2002, you wrote: Clay Leeds wrote: I didn't find this answer in the archives. I'd like to pass an xsl:param value to FOP. Is this possible? I found some information about doing this through the use of a servlet, however I'm using *.BAT files (under W

Re: Odd, Even & Last-odd Problem

2002-11-27 Thread Clay Leeds
Oleg & all you other helpful folks, At 10:40 AM 11/27/2002, you wrote: Clay Leeds wrote: 1. My EVEN page is not rendering every other page (EVEN pages). PROBLEM: It prints at the end of the document. How much pages do you have? "rest" means not first and not last actually. I don't know how many pa

Re: UML diagrams for FOP

2002-11-27 Thread Oleg Tkachenko
Raffi Simon wrote: Does anyone know if there are any UML diagrams for FOP. Not really. I remember http://opensource.objectsbydesign.com/fop stuff, but it's about very old FOP version. I am still trying to extend FOP to allow me to insert some custom PCL commands with a custom element, but I do

Re: Odd, Even & Last-odd Problem

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: 1. My EVEN page is not rendering every other page (EVEN pages). PROBLEM: It prints at the end of the document. How much pages do you have? "rest" means not first and not last actually. 2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOT

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: I didn't find this answer in the archives. I'd like to pass an xsl:param value to FOP. Is this possible? I found some information about doing this through the use of a servlet, however I'm using *.BAT files (under Windows) & *.sh scripts (in *NIX). I'd like to be able to pass x

Re: Font embending

2002-11-27 Thread Oleg Tkachenko
Nyári Gyõzõ wrote: Another question: '#' character replaces the 'õ' characters (and all iso-8859-2 specific characters). The font contains the characters, we used it already. Did you solve the problem? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: Want to contract a FOP stylesheet developer$$

2002-11-27 Thread Mark Bitz
Phillip, My name is Mark Bitz and I was just wondering if you happen to find somebody to help you with this. If you have not, please get back to me and we can work something out. I have been working with this FOP stuff for quite a while 2+ years and have developed quite a few xsl:fo stylesheets. T

FOP 0.20.4 (NoClassDefFound)

2002-11-27 Thread Ken Teague
Hello. I'm trying to use FOP to generate PDF/HTML/text files from XML using the XML Resume Library (xmlresume.sourceforge.net). I was able to get HTML and TEXT output a la xalan but PDF output fails with the following error: [EMAIL PROTECTED]:~/resume/examples$ make java org.apache.xalan.xslt

Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Hi Thorsten, At 07:07 AM 11/27/2002, you wrote: Hello Clay, You wrote: Unfortunately, that's the smallest part of the problem I'm working with right now. My main problem is to determine how to implement the ODD/EVEN functionality correctly. I've finally gotten some headway with an ODD/EVEN, but it'

AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Scherler, Thorsten
Hello Clay, hi group, Maybe this links will help you (search for: Page sequences) http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html Howto "fop insert blank page" http://www.xml.com/pub/a/2001/01/17/xsl-fo/?page=2 http://www.cs.uku.fi/~kilpelai/RDK01/refs/xsl-fo1.html Hope that helps

Re: set dpi for the result pdf?

2002-11-27 Thread Clay Leeds
I had problems with images myself. The text printed sharply, but the images were showing up pixelated, and I wanted cleaner pictures. The fix was to make the *images* 300dpi JPG files (I suspect it would be the same for another format like PNG). Once I changed to hi-resolution images, the docum

AW: automatic image scaling

2002-11-27 Thread Alexander Koppelhuber
if block-container.height >= img.height and block-container.width < img.width then the image gets scaled to the width of the block-containter (gets smaller); if bloc-container.height >= img.height and block-container.width >= img.width then the image gets rendered according to the image size (no s

AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Scherler, Thorsten
Hello Clay, You wrote: Unfortunately, that's the smallest part of the problem I'm working with right now. My main problem is to determine how to implement the ODD/EVEN functionality correctly. I've finally gotten some headway with an ODD/EVEN, but it's still not working right. I'm only getting

Re: Writing to a file already open in another application

2002-11-27 Thread Jeremias Maerki
I thought so, yes. On 27.11.2002 15:29:27 Illiano, Vincent wrote: > Is Acrobat OLE-Automatable? My controlling application is an MFC app, so I > could easily establish an OLE connection to Acrobat if that's possible. Jeremias Maerki

Re: Writing to a file already open in another application

2002-11-27 Thread Noel Golding
If the pdf is launched in the IE browser, it does not lock the file. - Original Message - From: "Jeremias Maerki" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 9:25 AM Subject: Re: Writing to a file already open in another application > You can't because

Re: automatic image scaling

2002-11-27 Thread Keiron Liddle
On Wed, 2002-11-27 at 15:11, Alexander Koppelhuber wrote: > In my fo file I have the following part: > > position="absolute" > > >content-height="auto" content-width="auto"/> > > IIRC the content-width and content-height of auto means that it should use the width a

RE: Writing to a file already open in another application

2002-11-27 Thread Illiano, Vincent
Is Acrobat OLE-Automatable? My controlling application is an MFC app, so I could easily establish an OLE connection to Acrobat if that's possible. Thank, -Vincent > -- > From: Jeremias Maerki[SMTP:[EMAIL PROTECTED] > Reply To: [EMAIL PROTECTED] > Sent: Wednesday, Novem

Re: Writing to a file already open in another application

2002-11-27 Thread Jeremias Maerki
You can't because Acrobat has an exclusive lock on the file. There's no way to release that lock other than to tell Acrobat to close the file either by closing the window with the mouse or by closing the file over OLE automation (not an easy task in Java). By the way, GhostScript doesn't lock the

Writing to a file already open in another application

2002-11-27 Thread Illiano, Vincent
Hi Fellow FOPers, I've run into a problem when generating pdf's with FOP. When the target pdf file is already open in Acrobat, or any other application for that matter, FOP cannot regenerate the pdf file. I see the following message in the FOP console window (running fop.bat): java.io.FileNotFo

automatic image scaling

2002-11-27 Thread Alexander Koppelhuber
In my fo file I have the following part: With this settings of the block-container everything works fine. The image is larger in width an gets scaled correctly. However, if I change the height parameter of the container to my desired value no image will be rendered. The

Re: block container

2002-11-27 Thread Jeremias Maerki
Block-container with relative positioning as in your example is not implemented, only absolute positioning. You can easily rewrite your code to: tekst tekst tekst ...which does the same. On 27.11.2002 14:58:11 Brienen, SJP (Sander) wrote

block container

2002-11-27 Thread Brienen, SJP (Sander)
Hello all, I am using the block container element to keep together a few blocks. But when I generate my PDF nothing seems to display. Is this a problem of fop or is it anything else? Here is my code snippet: tekst tekst tekst regards Sander Brienen ===

Sample FOP extension for PCL (was: Re: Does anyone know how to extend elements in FOP)

2002-11-27 Thread Jeremias Maerki
This whole stuff troubled me a bit, so I sat down and wrote a sample extension that you only have to rename and adjust to your needs. So far, I managed to get some special codes into the PCL stream. I didn't even have to change the PCLRenderer as I feared. What you have to do now is the following

Re: Does anyone know how to extend elements in FOP

2002-11-27 Thread Jeremias Maerki
The best example for the maintenance branch is really the SVG support because it's very close to what you want to do. In the redesign there's the MathML example but the design is slightly different, I think. Try to create a copy of SVGObj and adjust it to your needs (Same for SVGElement and SVGEle

AW: UML diagrams for FOP

2002-11-27 Thread Ilja Preuss
> I think not. But what prevents you from > loading fop sources into UML tool of your choice > and reverse engineeer it? A UML tool can't automatically layout and filter the diagram in a meaningfull way - that needs a developer who is already familiar with the code. Regards, Ilja -- ++ wir optim

Re: set dpi for the result pdf?

2002-11-27 Thread Jeremias Maerki
You're looking at the redesign. It takes some time until a release will come out of this development thread. The next version of FOP (0.20.5, coming out of the maintenance branch in CVS) won't have that feature. PDF itself doesn't have a dpi setting, it's just that images get rescaled when includin

Re: Unknown Fromatting Object null^null

2002-11-27 Thread Jeremias Maerki
On 27.11.2002 08:53:04 Matthias Kräuter wrote: > Hello, > > my old problem still exists. The stacktrace now shows line numbers but I > don´t think it helps very much. I tried newer versions of Xalan (2.4D1) > and Xerces (2.1.0) but nothing changed. My supplied Document is not > read from file

Unknown formatting object null^null ...again

2002-11-27 Thread Matthias Kräuter
Hello, my old problem still exists. The stacktrace now shows line numbers but I don´t think it helps very much. I tried newer versions of Xalan (2.4D1) and Xerces (2.1.0) but nothing changed. My supplied Document is not read from file but is a transformation result in memory. I than inserted a

set dpi for the result pdf?

2002-11-27 Thread Christian
Hi. Is it possible to set the dpi of the result PDF File in the next version of FOP? * Create a fop.xconf file in the xml-fop/conf/ directory and write: Is this all what I have to do? Christian --

Unknown formatting object null^null ... again

2002-11-27 Thread Matthias Kräuter
Hello, my old problem still exists. The stacktrace now shows line numbers but I don´t think it helps very much. I tried newer versions of Xalan (2.4D1) and Xerces (2.1.0) but nothing changed. My supplied Document is not read from file but is a transformation result I´m holding in memory. I than

Unknown Fromatting Object null^null

2002-11-27 Thread Matthias Kräuter
Hello, my old problem still exists. The stacktrace now shows line numbers but I don´t think it helps very much. I tried newer versions of Xalan (2.4D1) and Xerces (2.1.0) but nothing changed. My supplied Document is not read from file but a transformation result in memory. I than inserted a do

RE: Reading XML from JAR.

2002-11-27 Thread Dang Minh Phuong
I have faced this problem before. I think this link is useful for you http://www.javaworld.com/javaworld/javatips/jw-javatip49.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]