RE: xml to pdf (generic)

2006-09-19 Thread Rick Roen
PDF. Rick Roen wrote: Vijay, This seems more like a question about XML - XSLT conversion. A better group for that would be [EMAIL PROTECTED] Perhaps if you posted your XSLT and brief example of your XML we, or xsl-lists could be of more help, or if I misunderstand a more

RE: xml to pdf (generic)

2006-09-19 Thread Rick Roen
uploading my pdf.xsl(what i wrote for some other xml ) file. could you see it once please. Thanks Rick Roen wrote: Vijay, You will have to post a copy of your coun.xslt also. With just the xml we cannot tell what you are trying to do to convert to XSL-FO Rick

RE: xml to pdf (generic)

2006-09-18 Thread Rick Roen
Vijay, This seems more like a question about XML - XSLT conversion. A better group for that would be [EMAIL PROTECTED] Perhaps if you posted your XSLT and brief example of your XML we, or xsl-lists could be of more help, or if I misunderstand a more complete explanation of your problem since I

RE: ant task

2006-09-01 Thread Rick Roen
, this NullPointerException should not happen. There are guards against it. Or maybe I missed something. Anyway, I can't reproduce it. Shrug. On 31.08.2006 23:04:33 Rick Roen wrote: Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: tables or no tables

2006-09-01 Thread Rick Roen
Niek, I have been using FOP for about six months and I have not found a way better than tables yet. With HTML I could specify a width of a span element and make if right or left aligned, however I dont know of a way to do this with FOP so I am left with tables. With FOP I dont

RE: ant task

2006-08-31 Thread Rick Roen
Thanks Jeremias, I figured it out once I had the -d switch. I had a mistake in the path on a few of the jar files so Ant could not find them. I was testing this to see if it was faster than the batch file I have now. It doesn't seem too different since it is a two step operation now of doing

RE: Ending a row and starting a new one.

2006-08-10 Thread Rick Roen
You can skip the fo:table-row and use fo:table-cell starts-row=true for the first row and fo:table-cell ends-row=true for the last row. Now to get this information: ...xslt fo:table-cell xsl:choose xsl:when test=pos(.) eq 1xsl:attribute select=starts-rowtrue/xsl:when

RE: latest build

2006-08-03 Thread Rick Roen
Barcode4J in the meantime, so you can use the FOP extension instead of working with pregenerated PNG images. That will be much more efficient. On 27.07.2006 15:59:06 Rick Roen wrote: I downloaded and built FOP from the SVN yesterday (26-07-2006). The build appeared successful and I copied all

RE: Commercial Documents

2006-08-03 Thread Rick Roen
Yes, I am using it in a product for occasional reports, but mostly for sales documents. I used to do them in HTML, but the inconsistencies between one browser and another drove me nuts! PDF may not be exactly the same everywhere, but it is a huge improvement. I like the pdf format because I

latest build

2006-07-27 Thread Rick Roen
I downloaded and built FOP from the SVN yesterday (26-07-2006). The build appeared successful and I copied all the files into my working folder. Now when I do a PDF that contains png graphics (barcodes generated from BarCode4j) they turn out as fuzzy unreadable images. I have

RE: out of memory error

2006-07-26 Thread Rick Roen
Thanks everyone for your responses. The size does not appear large to me either, 25+ pages, but nevertheless it does run out of memory. I have only three images (small) and several tables with embedded tables, plus the page-number-citation for page x of y. FYI in case it helps someone else, the

out of memory error

2006-07-25 Thread Rick Roen
Im running FOP from the current build of about a month ago on XP Pro SP2 1.5GB RAM I have a command line routine that runs sales documents (packing list, invoice etc.) from xml .- xslt (using Saxon 8 )-pdf. This works with no problem except when I have an extra large document (maybe

RE: out of memory error

2006-07-25 Thread Rick Roen
Update I was googling in the wrong place. When I looked in Java I found the switch XX:+AggessiveHeap which fixed the problem. Is this the best switch to use, or is there something better? Rick From: Rick Roen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 4:12

RE: FOP extension for Barcode4j

2006-06-26 Thread Rick Roen
, June 26, 2006 4:58 AM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP extension for Barcode4j On 26.06.2006 11:46:27 Chris Bowditch wrote: Rick Roen wrote: Thanks for the help. I am a complete novice at CVS. I used Tortoise to get the FOP trunk which was pretty easy

FOP extension for Barcode4j

2006-06-25 Thread Rick Roen
How do I get the extension so the latest trunk version of FOP can use Barcode4j? There was a Barcode4j-fop-ext-0.20.5.jar, but I dont know where to find the latest. Thanks, Rick

RE: FOP extension for Barcode4j

2006-06-25 Thread Rick Roen
, 2006, at 9:37 AM, Rick Roen wrote: Thanks Clay, I have read that there is an update jar to work with FOP 0.9?, I just don't know where it is. I'll post again after the conference if I don't hear back. Rick Here's some info on updating to fop-0.91 and later: That should read... 'Here's

RE: Changing Orientation on Page Break

2006-06-22 Thread Rick Roen
Jason, I have done this for tables that need either landscape or portrait orientation based on the width of the table. I setup two simple-page-masters: fo:layout-master-set fo:simple-page-master master-name=landscape margin=1cm 1cm 1cm 1cm

RE: margins

2006-06-16 Thread Rick Roen
Indeed, that was the problem. Thank you Andreas! I use Page scaling - None and I get margins that correlate with my FO. Rick -Original Message- From: Andreas L Delmelle [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 3:10 AM To: fop-users@xmlgraphics.apache.org Subject: Re:

margins

2006-06-15 Thread Rick Roen
FOP trunk Im confused by the page margins I am getting with the xslt below. I would like to get 1cm margins on all sides with the footer taking 5mm and the body above that by 5mm. What I am getting when I render to a pdf is 1cm top, approx 1.5cm right and left, and about 2.5cm

schema validation

2006-06-12 Thread Rick Roen
FOP trunk Im using the batch file on Win-XP to run xml + xsl = fo -pdf. Is there some switch I can include in the batch file to allow schema validation for the xml? Im using Saxon-B 8.7.1 for the xslt which does not process schema, so I need an alternative. Thanks, Rick

RE: schema validation

2006-06-12 Thread Rick Roen
%LOCALCLASSPATH% org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS% -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 12, 2006 3:26 PM To: fop-users@xmlgraphics.apache.org Subject: Re: schema validation Rick Roen wrote: I'm using the batch file on Win-XP to run xml + xsl

hyphenation not working in table cell

2006-06-08 Thread Rick Roen
FOP 0.92 trunk I have the following xsl fo:table-cell padding=.25em border=thin solid black height=7em fo:block-container text-align=center hyphenate=true wrap-option=wrap overflow=hidden fo:block color=green#xsl:value-of select=@itemnum/ qty: xsl:value-of

RE: hyphenation not working in table cell

2006-06-08 Thread Rick Roen
I saw an error from Saxon 8 about being unable to find hyphenation, so from there I found the OFFO jar file to include in the \lib. Now it works. Rick From: Rick Roen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:41 PM To: fop-users@xmlgraphics.apache.org

RE: 200K increase for xml - pdf when using images

2006-06-02 Thread Rick Roen
Thanks Jeremias and Joerg, I downloaded the latest (you're right, it's not all that hard) and the resulting pdf is now 27K, not 225K!) Rick -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 12:27 AM To: fop-users@xmlgraphics.apache.org

Jeremias - offset error when xml - xsl -print

2006-06-02 Thread Rick Roen
Jeremias, Perhaps you recall the problem I had with the top block offsetting 2 cm up and left with xml + xsl - print. Now that I have downloaded and built the latest release the problem is gone! Just an FYI. Rick

RE: Saxon 8 with FOP 0.92b

2006-06-01 Thread Rick Roen
OK, got it working now. Here are the changes to the batch file in case it can help someone else: rem set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\Saxon8.jar set

running FOP.bat from another folder

2006-06-01 Thread Rick Roen
FOP 0.92 XP Pro Java 1.5.0_6 Im trying to run the FOP batch file to create pdf from a folder other than the ..\FOP folder where the other fop files are located. My batch file is below. I have hard-coded some of the input variables to limit errors, but I get Exception in thread main

RE: different results with -print and -pdf

2006-06-01 Thread Rick Roen
-arounds are certainly correct. On 01.06.2006 12:22:59 Chris Bowditch wrote: Rick Roen wrote: FOP 0.92b + Saxon 8 I'm getting different results with the attached files when I do the following: 1) FOP -xml test.xml -xsl test.xsl -pdf test.pdf And 2

RE: 200K increase for xml - pdf when using images

2006-06-01 Thread Rick Roen
Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 4:27 PM To: fop-users@xmlgraphics.apache.org Subject: Re: 200K increase for xml - pdf when using images Rick Roen wrote: When I add two postnet bar codes, each of which are 1K png files, the pdf goes to about

RE: Saxon 8 with FOP 0.92b

2006-05-31 Thread Rick Roen
Andreas, I did add this line to my batch file, which does make it work, however I still have to have the saxon8.jar and saxon8-dom.jar in my java\lib\endorsed. In fact my batch file works the same with or without the additional TransformerFactory=... I believe that FOP will automatically use

keep-together not keeping!

2006-05-25 Thread Rick Roen
FOP 0.92b I have the following fragment of an fo file that is not working as expected: fo:block id=endofdoc keep-together=always keep-together.within-page=always fo:footnote fo:inline/ fo:footnote-body fo:block text-align=center fo:leader rule-style=solid leader-length=70%

RE: use java from server

2006-05-19 Thread Rick Roen
- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 5:20 PM To: fop-users@xmlgraphics.apache.org Subject: Re: use java from server Rick Roen wrote: Can I tell fop to use the server version of java, or does it have to be installed on each client? Assuming you're running

-print option to specific printer

2006-05-18 Thread Rick Roen
FOP 0.92b How do I specify a specific printer when using the command line. This works to the Windows default printer: FOP file.fo -print This brings up the following error information, but does not print anything: FOP file.fo -print \\lvsserver0\Kyocera Mita KM-4035 KX

integrating Barcode4j into FOP 0.92b

2006-05-18 Thread Rick Roen
FOP 0.92b Barcode4j (whatever the latest is from SF) Win XP I have Barcode4j working from the command line and want to integrate it into FOP. I have modified the FOP.bat and have the following: set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set

FW: integrating Barcode4j into FOP 0.92b

2006-05-18 Thread Rick Roen
FOP 0.92b Barcode4j (whatever the latest is from SF) Win XP I have Barcode4j working from the command line and want to integrate it into FOP. I have modified the FOP.bat and have the following: set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set

use java from server

2006-05-18 Thread Rick Roen
Fop 0.92b I am calling FOP from a command line bat file. The actual FOP folder is located on a server on a Win 2000 server with mainly XP pro clients. On occasion a client does not have java installed locally, so fop errors with 'java' is not recognized as an internal or external

get 0.92beta

2006-05-12 Thread Rick Roen
I am currently using 0.90alpha. Since I have a problem, which apparently has been fixed, in using a table inside a footnote, I would like to get 0.92beta. Im confused about how to download the version. I see various references to where the files are located, however I dont

set inline element width

2006-05-11 Thread Rick Roen
FOP 0.90alpha 1 Can someone tell me if it is possible to set the width of an inline element? I would like to stack inline elements from left to right, but I want them to be standard widths, like this |-- 2cm | | ---6cm

RE: set inline element width

2006-05-11 Thread Rick Roen
Thanks Philippe, yes I thought of that, its just that it's a bit easier for me without the table, although I will certainly resort to this if necessary. I always have an unknown number of elements, so I have to test to end the table-row. If I use fixed width elements, then they just wrap