which batik should i use with fop 20.5rc2?
i'm aware that the latest FOP comes with its own batik.jar file. i just happened to already have the latest batik on my system, so i thought i could just use that instead. when i tried to run a simple FOP example, i got the java error for an undefined class: org/apache/batik/util/XMLResourceDescriptor sure enough, it looks like that class might be in the fop-associated batik.jar file, but it certainly doesn't look like it comes in *any* of the jar files with the latest batik distribution. can someone clarify what the compatibility is between FOP and batik regarding versions and jar files? thanks. rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: which batik should i use with fop 20.5rc2?
I also have the same question. I am using 20.4 version. Then, which batik version should I use? Can I use the batik 1.1.1 download from apache? Thanks Sherlane --- Robert P. J. Day [EMAIL PROTECTED] wrote: i'm aware that the latest FOP comes with its own batik.jar file. i just happened to already have the latest batik on my system, so i thought i could just use that instead. when i tried to run a simple FOP example, i got the java error for an undefined class: org/apache/batik/util/XMLResourceDescriptor sure enough, it looks like that class might be in the fop-associated batik.jar file, but it certainly doesn't look like it comes in *any* of the jar files with the latest batik distribution. can someone clarify what the compatibility is between FOP and batik regarding versions and jar files? thanks. rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: which batik should i use with fop 20.5rc2?
Sherlane Lam wrote: I am using 20.4 version. Then, which batik version should I use? Can I use the batik 1.1.1 download from apache? No. Both with 0.20.4 and 0.20.5rc1 you'll *have* to use the batik.jar distributed with FOP. I think 0.20.5rc2 will work with batik 1.5beta5 but i may be mistaken. No version of FOP will work with batik 1.5beta4. Only older FOP releases will work with batik 1.1.1. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: which batik should i use with fop 20.5rc2?
On Fri, 11 Apr 2003, J.Pietschmann wrote: Sherlane Lam wrote: I am using 20.4 version. Then, which batik version should I use? Can I use the batik 1.1.1 download from apache? No. Both with 0.20.4 and 0.20.5rc1 you'll *have* to use the batik.jar distributed with FOP. I think 0.20.5rc2 will work with batik 1.5beta5 but i may be mistaken. ok, i've just confirmed that fop...rc2 does not work with the latest batik1.5beta5. with the batik.jar file that comes with fop, i could do a simple example that comes with the fop distribution -- table.fo - table.pdf. when i put the batik beta jar files into the class path, i get an exception. rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tab set
I'd like to add that tabs are considered whitespace in XML. Tabs as in Word can't be used in XSL-FO. from the XML spec: (white space) consists of one or more space (#x20) characters, carriage returns, line feeds, or tabs. On 10.04.2003 20:30:40 Partridge, Michael wrote: I would suggest using fo:block start-indent=n !-- where n is your indent -- !-- content1 -- /fo:block fo:block start-indent=n !-- where n is your indent -- !-- content2 -- /fo:block If you want to indent a table, I think the easiest way is to make an empty column at the edge. Mike -Original Message- From: Zmitko, Jan [mailto:[EMAIL PROTECTED] Sent: Thu 4/10/2003 10:47 AM To: [EMAIL PROTECTED] Cc: Subject: tab set Hello, is it possible to set a tab within a block or another elemnt. I want to indent text, which is in two lines. The indent Text have to start a the same position in both lines. Insert #160; does not help, because there is always displacement depentent of the letter before. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ERROR] -2
Hello! While processing with fop I get the error [ERROR] -2. What does it mean? Thanx suse! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ERROR] -2
I don't know. Run FOP on the command-line with the -d (debug) option. You'll get a stacktrace that will be more informative. On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: While processing with fop I get the error [ERROR] -2. What does it mean? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
I get an ArrayOutOfBoundsException. But I can't retrace my fault... As attachment I'm sending my fo-file. Anybody is kindly asked to have a look. :-) Million thanx! suse -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:16 An: [EMAIL PROTECTED] Betreff: Re: [ERROR] -2 I don't know. Run FOP on the command-line with the -d (debug) option. You'll get a stacktrace that will be more informative. On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: While processing with fop I get the error [ERROR] -2. What does it mean? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] NCR.fo Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Footnote problem
I have problem with footnotes. When the fo:flow text fills the whole page, I am able only to show what is in footnote's fo:inline, but the footnote text itself is not shown at all, not even on another page. I slightly modified example from FOP (0.20.5), so it shows exactly that case. Is there some solution in this case to show footnote's text and keep it on last page ? Thanks. (See attached file: footnote_problem.fo) Thanks, Jiri footnote_problem.fo Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: attribute border-style doesn't work
Hello clay! Be unconcerned about this. ;-) Greetz suse -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. April 2003 19:19 An: [EMAIL PROTECTED] Betreff: Re: attribute border-style doesn't work It looks like I err'd. It wasn't the border-style=dashed that works, but rule-style=dashed that works (in PDF only--not AWT) in 0.20.4: fo:leader leader-pattern=rule leader-length=100% rule-style=dashed/ don't bother me I'm eating crow Sorry for any confusion. /don't bother me I'm eating crow Web Maestro Clay Clay Leeds wrote: Forgive my eavesdropping, but in my experience with FOP, I've seen that when outputting to -pdf, other border-styles work. In particular, I've got dashed working, and I believe dotted works as well. However, I noticed when outputting to -awt/-print it turns into a solid line. This is fine for me. If one of my clients wants it to look pretty, they'll make a PDF first, and then print that. Christian Geisert wrote: Todtenhaupt, Susann wrote: Hello! There're several values for the attribute border-style when designing a table-cell with xsl:fo. For example dotted, dashed etc. but it doesn't work. There's no aftereffect if this is setted... fo:table-cell border-width=0.5mm border-style=dotted fo:block font-size=14pt font-weight=boldName/fo:block /fo:table-cell What's the fault? Unimplemented feature (only solid works) Christian -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Review
Hello, Apologies in advance if this is not accepted fop-user etiquette or a breach of the rules in some way. I am new to fop and indeed xsl. My pdf is working fine and looks the way I want it to. I was just wondering if someone would be kind enough to review it quickly and maybe point out things that are wrong or if there is a better way of doing something or any potential pitfalls. Kind Regards, Celine This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you should not copy, retransmit or use the e-mail and/or files transmitted with it and should not disclose their contents. In such a case, please notify [EMAIL PROTECTED] and delete the message from your own system. Any opinions expressed in this e-mail and/or files transmitted with it that do not relate to the official business of this company are those solely of the author and should not be interpreted as being endorsed by this company. premium_shortreport.xsl Description: Binary data premium_header.xsl Description: Binary data premium_geographygraph.xsl Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi mark, I've left out the static text in my flow and it didn't work. I want to create a form with nested fields. It would be very complicated if I tried this only with table-cells. So I decided to use containers. Yesterday I solved my layout with fixed blocks and containers (position based) on my page. But if this is efficient... every time you want to change your layout you have to change all positions in your layout. I can't really get along with these tables ;-( suse -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:10 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, i've tested your fo and added two extra table-columns fo:flow flow-name=xsl-region-body fo:table fo:table-column column-width=3.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=6.5cm/ fo:table-body fo:table-row and surprise the attached pdf was created. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:20 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark, I've left out the static text in my flow and it didn't work. I want to create a form with nested fields. It would be very complicated if I tried this only with table-cells. So I decided to use containers. Yesterday I solved my layout with fixed blocks and containers (position based) on my page. But if this is efficient... every time you want to change your layout you have to change all positions in your layout. I can't really get along with these tables ;-( suse -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:10 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Producing Chinese documents
Attached is a sample XSL-FO file containing Chinese characters. You may view it by the given sample program FopServlet, e.g. the simpleTableFO.fo was saved in /var/tmp : http://TestServer:8080/Project1/servlet/FopServlet?fo=/var/tmp/simpleTableFO.fo I have a software for writing chinese. So, if I mix the fo files with fo tags and chinese chars, is it ok? or I should change it using other tools to the unicode and then paste them? As long as you could produce a proper formatter XSL-FO in unicode. I have many chinese fonts but they are in winword. is it ok? if not, how to install them? Copy the font file from Microsoft Windows, Control Panel - Fonts, e.g. mingliu.ttc. Then, build the font matrix file :- java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; lib\xercesImpl.jar;lib\xalan.jar org.apache.fop.fonts.apps.TTFReader -ttcname MingLiU mingliu.ttc mingliu.xml Finally, register the font matrix file according the instructions at :- http://xml.apache.org/fop/fonts.html Thank you, John Mok Can give me a fo file containing chinese chars? I am just curious :). === Malas antri buat mendapatkan print-out tagihan telepon ? Klik aja http://billinfo2.plasa.com Gratis Perpanjangan dan Pendaftaran Nama Domain http://idc.plasa.com khusus di bulan Maret ! === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ?xml version=1.0 encoding=UTF-8?fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:rs=http://www.sml-citizen.com.hk/xml/sql/ResultSet;fo:layout-master-setfo:simple-page-master margin-bottom=10mm margin-left=5mm margin-right=5mm margin-top=10mm master-name=a4-landscape page-height=21cm page-width=29.7cmfo:region-body/fo:region-bodyfo:region-after extent=8mm/fo:region-after/fo:simple-page-master/fo:layout-master-setfo:page-sequence master-reference=a4-landscapefo:static-content flow-name=xsl-region-afterfo:block font-size=10pt line-height=14pt text-align=centerPage fo:page-number/fo:page-number/fo:block/fo:static-contentfo:flow flow-name=xsl-region-bodyfo:block font-family=MSGothic帆船酒店/fo:blockfo:tablefo:table-column column-width=70pt/fo:table-columnfo:table-column column-width=70pt/fo:table-columnfo:table-column column-width=70pt/fo:table-columnfo:table-column column-width=90pt/fo:table-columnfo:table-column column-width=130pt/fo:table-columnfo:table-column column-width=230pt/fo:table-columnfo:table-body font-family=sans-serif font-size=10ptfo:table-row line-height=12ptfo:table-cellfo:block text-align=startRs_Code/fo:block/fo:table-cellfo:table-cellfo:block text-align=startRs_Desc/fo:block/fo:table-cellfo:table-cellfo:block text-align=startRs_Chin/fo:block/fo:table-cellfo:table-cellfo:block text-align=startLock_Flag/fo:block/fo:table-cellfo:table-cellfo:block text-align=startUpdateUser_ID/fo:block/fo:table-cellfo:table-cellfo:block text-align=startUpdate_Datetime/fo:block/fo:table-cell/fo:table-row/fo:table-body/fo:tablefo:tablefo:table-column column-width=70pt/fo:table-columnfo:table-column column-width=70pt/fo:table-columnfo:table-column column-width=70pt/fo:table-columnfo:table-column column-width=90pt/fo:table-columnfo:table-column column-width=130pt/fo:table-columnfo:table-column column-width=230pt/fo:table-columnfo:table-body font-family=sans-serif font-size=10ptfo:table-row line-height=12ptfo:table-cellfo:block font-family=MingLiU text-align=startRS001/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startCHAN/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=start陳世業/俞彩芳/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startfalse/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startCFYU/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=end2000-08-21 09:26:36.763/fo:block/fo:table-cell/fo:table-rowfo:table-row line-height=12ptfo:table-cellfo:block font-family=MingLiU text-align=startRS002/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startCHOI/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=start蔡金星/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startfalse/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startSA/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=end2000-08-21 09:26:36.763/fo:block/fo:table-cell/fo:table-rowfo:table-row line-height=12ptfo:table-cellfo:block font-family=MingLiU text-align=startRS003/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU text-align=startLAW/fo:block/fo:table-cellfo:table-cellfo:block font-family=MingLiU
FOP for XML - FO?
it's not mentioned in the online help, so i just wanted to verify that there's no XML - FO transform supported by FOP, which would allow me to examine the intermediate FO before going on to generate the final PDF. is this the case? rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [fop] FOP for XML - FO?
because that is an XSLT transformation bye From: Robert P. J. Day [EMAIL PROTECTED] it's not mentioned in the online help, so i just wanted to verify that there's no XML - FO transform supported by FOP, which would allow me to examine the intermediate FO before going on to generate the final PDF. is this the case? rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [fop] FOP for XML - FO?
Hello, if you just want the .fo-File, you could use just Xalan to transform you XML and XSL, liek Fabrizion suggested... the resulting .fo-file can also be used as input for FOP instead of XML and XSL Greetz Carsten -Ursprüngliche Nachricht- Von: Fabrizio Tringali [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 14:59 An: [EMAIL PROTECTED] Betreff: Re: [fop] FOP for XML - FO? because that is an XSLT transformation bye From: Robert P. J. Day [EMAIL PROTECTED] it's not mentioned in the online help, so i just wanted to verify that there's no XML - FO transform supported by FOP, which would allow me to examine the intermediate FO before going on to generate the final PDF. is this the case? rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [fop] FOP for XML - FO?
On Fri, 11 Apr 2003, Fabrizio Tringali wrote: because that is an XSLT transformation bye From: Robert P. J. Day [EMAIL PROTECTED] it's not mentioned in the online help, so i just wanted to verify that there's no XML - FO transform supported by FOP, which would allow me to examine the intermediate FO before going on to generate the final PDF. is this the case? oh, i understand that. it's just that, since FOP already supports XML+XSL - FO, it must already be invoking what i assume is xalan/xerces underneath to generate the FO, yes? i assume that i could always invoke xalan directly to do the XSLT transformation, but it would just have been convenient if FOP supported that directly from the command line. no big deal. rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [fop] FOP for XML - FO?
FOP supports FO-PDF. My impression is it does not support XML+XSL-FO. quote: oh, i understand that. it's just that, since FOP already supportsXML+XSL - FO, it must already be invoking what i assume isxalan/xerces underneath to generate the FO, yes? Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more
Re: [fop] FOP for XML - FO?
Starting with FOP 0.20.5rc2 FOP contains a xalan.bat to do just that. On 11.04.2003 15:25:25 Steve Guo wrote: FOP supports FO-PDF. My impression is it does not support XML+XSL-FO. quote: oh, i understand that. it's just that, since FOP already supports XML+XSL - FO, it must already be invoking what i assume is xalan/xerces underneath to generate the FO, yes? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [fop] FOP for XML - FO?
On Fri, 11 Apr 2003, Jeremias Maerki wrote: Starting with FOP 0.20.5rc2 FOP contains a xalan.bat to do just that. ah, i hadn't noticed that, thanks. and i realize that this may be painfully obvious, but it's important for me that invoking this xalan.bat to generate the intermediate FO would produce exactly the same intermediate FO that would be generated by going directly from XML+XSL - PDF. (since FOP would simply call xalan underneath to do the XSLT transformation, it seems that this would be obvious.) thanks for the pointer to xalan.bat. rday p.s. and on another note, i'm just getting back to seeing how well FOP supports docbook, as i'm about to start converting a bunch of courseware manuals into docbook. if anyone out there has been heavily involved with FOP and docbook, drop me a line. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
processing docbook input with FOP
i remember memntioning this before, but as i noted at the end of my last post, i'm big-time interested in using FOP for docbook-PDF transformation. at the moment, i'm using, as a sample docbook, tim waugh's selfdocbookx tarball at www.cyberelk.net. tim was gracious enough to add an extra rule to his Makefile to generate intermediate .fo output, so i can at least see what happens when i try to finish the transformation with FOP. definitely still a few shortcomings, but again, if anyone else is working with FOP and docbook (or has pointers to resources for this), i'd like to hear about it. rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: processing docbook input with FOP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 11, 2003 at 09:56:32AM -0400, Robert P. J. Day wrote: definitely still a few shortcomings, but again, if anyone else is working with FOP and docbook (or has pointers to resources for this), I'd like to hear about it. We're using FOP to produce PDF from docbook and it works great! We've made a lot of customizations to Norm's stylesheets like adding a banner graphic. My boss is so excited about it that he's pushing for docbook-fo-pdf to be the company standard for internal and external document production. We're using CVS as the document repository and make as our build tool. All docs get built once every five minutes and published to an intranet website. If you would like to see some sample makefiles or stylesheet customizations, I'd be glad to send you some. - - Ryan -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ltm56ZA8+1/wXqMRApAPAJ0Vv09DN8r11SrB2npgT5wped9wRwCfdQbT 1g0rCR6W23BhWAWm5NmE1dE= =k5Ww -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: processing docbook input with FOP
Ryan Nowakowski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 11, 2003 at 09:56:32AM -0400, Robert P. J. Day wrote: definitely still a few shortcomings, but again, if anyone else is working with FOP and docbook (or has pointers to resources for this), I'd like to hear about it. We're using FOP to produce PDF from docbook and it works great! We've made a lot of customizations to Norm's stylesheets like adding a banner graphic. My boss is so excited about it that he's pushing for docbook-fo-pdf to be the company standard for internal and external document production. We're using CVS as the document repository and make as our build tool. All docs get built once every five minutes and published to an intranet website. If you would like to see some sample makefiles or stylesheet customizations, I'd be glad to send you some. I would, definitely. I'm in a similar situation, as I'm trying to convince my team to use docbook for internal and external documents, together with some convenient tools to edit and process them. Please post your 'success stories' also to the docbook list and or the docbook wiki, so other people can learn from it. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ERROR] -2
Hello, I noticed that you are using table-layout-auto, is this supported? You also have data like crysat test and 1 of 1 Non conformance report both outside the bounds of a table-cell but within table row? I'm not an expert so i don't really know, but i'd change your table to include a fixed number of columns and use the proportional widths properties and also put all your data in your table within a table cell. -Adam -Original Message- From: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Sent: April 11, 2003 3:55 AM To: '[EMAIL PROTECTED]' Subject: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [fop] FOP for XML - FO?
Robert P. J. Day wrote: Starting with FOP 0.20.5rc2 FOP contains a xalan.bat to do just that. ah, i hadn't noticed that, thanks. and i realize that this may be painfully obvious, but it's important for me that invoking this xalan.bat to generate the intermediate FO would produce exactly the same intermediate FO that would be generated by going directly from XML+XSL - PDF. (since FOP would simply call xalan underneath to do the XSLT transformation, it seems that this would be obvious.) Your assumption is almost certainly true, but the easiest way to make sure is to use the xalan.bat to produce the fo file, then use fop.bat to convert that fo file (not the original xml file) to your output format. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with sFOPervlet
I am having a odd problem.I forward to servlet which does the fop conversion. The problem is the forward is called twice, it works fine though.If I comment out response.setContentType(application/pdf); It is called only once which is right . Thanks vikram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ot] pdf file format
Hello, I wrote a program that generates pdf's and it works but when i open my pdf with acrobat it says 'file is damaged and is being repaired, but it opens flawlessly after that. Is there anyone that has the tools, the knowledge and the will to review this file? This program is really simple and doesn't do much in terms of formatting accept i programmed in the ability to 'fit-to-page' and put grid lines or green bars (i use it for reports on our business system). It'd just be nice to have this error stop. I think it occurs because i don't really use text encoding but i dunno. Of course i'm using FOP now to do prettier pdf's but I still am using this to generate huge reports (instead of printing to fast line printers). Attached is the example. Anyone in the know, let me know :D -Adam TEST.PDF Description: Adobe PDF document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ot] pdf file format
Adam Shelley wrote: Is there anyone that has the tools, the knowledge and the will to review this file? -Adam I've done a file-diff with TextPad, and am sending the results of that to your address (offline). But the top two lines were interesting: Compare: ()C:\_Web_DLs\_WEB_DEV\TEST.PDF (3517 bytes) with: ()C:\_Web_DLs\_WEB_DEV\TEST_fixed.pdf (3365 bytes) That said, I don't have the knowledge but my guess is your problem is related to one of thes items: - You specify PDF-1.4 (perhaps it's really 1.1, 1.2, or 1.3?) - In the Document Summary, The Title has a space at the beginning. I noticed that for the Dublin Core Properties section (the 3rd section), title and creator are lowercase (the other items they're uppercase), and there's no Producer or CreatDate TEST.PDF's Document Metadata (possibly already modified, since this info was grabbed from within Acrobat): rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/' rdf:Description about='' xmlns='http://ns.adobe.com/pdf/1.3/' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Title INLAND KENWORTH PDF DOCUMENT /pdf:Title pdf:Author /pdf:Author pdf:Creator PDF CONVERTOR FOR D3 /pdf:Creator pdf:Producer /pdf:Producer pdf:CreationDate0-01-01T00:00:00Z/pdf:CreationDate /rdf:Description rdf:Description about='' xmlns='http://ns.adobe.com/xap/1.0/' xmlns:xap='http://ns.adobe.com/xap/1.0/' xap:Title rdf:Alt rdf:li xml:lang='x-default' INLAND KENWORTH PDF DOCUMENT /rdf:li /rdf:Alt /xap:Title xap:Author /xap:Author xap:CreateDate0-01-01T00:00:00Z/xap:CreateDate /rdf:Description rdf:Description about='' xmlns='http://purl.org/dc/elements/1.1/' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:title INLAND KENWORTH PDF DOCUMENT /dc:title dc:creator /dc:creator /rdf:Description /rdf:RDF -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: feature overview
Is there a way to include a psd graphic Thanks vikram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: processing docbook input with FOP
Stefan Seefeld wrote: Ryan Nowakowski wrote: If you would like to see some sample makefiles or stylesheet customizations, I'd be glad to send you some. Me too. :-) Please post your 'success stories' also to the docbook list and or the docbook wiki, so other people can learn from it. Could you please send me a link to both? Thanks! Best regards, Martin Stricker -- Homepage: http://www.martin-stricker.de/ Linux Migration Project: http://www.linux-migration.org/ Red Hat Linux 7.3 for low memory: http://www.rule-project.org/ Registered Linux user #210635: http://counter.li.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: feature overview
This is sort of a FAQ (although the FAQ only mentions PNG images). The answer appears to be JIMI which is used by FOP for all image formats except most forms of JPG GIF files: http://java.sun.com/products/jimi/ (if FOP handles other image formats, I couldn't find them quickly). According to Sun's JIMI download page: Jimi's range of supported formats includes GIF, JPEG, TIFF, PNG, PICT, Photoshop, BMP, Targa, ICO, CUR, Sunraster, XBM, XPM, and PCX, although some of these formats do not have complete support for all features. Since Photoshop is listed, I assume the PSD graphic you're referring to is supported. Good luck! p.s. Note to Victor: Might we update FAQ 3.2 to: My PNG|JPEG|TIFF|GIF|PICT|PSD|BMP|ICO|CUR|SUNRASTER(?)|XBM|XPM|PCX images don't work. or better yet (borrowing from one of Joerg's replies): Q: My image(s) don't work. A: If you're using a JPG, JPG images can contain all kind of weird color lookup tables and color profiles, not all variants are supported (not to mention the *illegal* subformats seen here and there in the wild). Try a JPG produced by a different graphic program. Specifying 24-bit color output may also help. Alternatively, if you're not using a JPG or GIF image, Sun's Jimi image library, is by default used for processing images in the following formats: GIF, JPEG (JPG), TIFF, PNG, PICT, Photoshop (PSD), BMP, Targa, ICO, CUR, Sunraster, XBM, XPM, and PCX, although some of these formats do not have complete support for all features. The JIMI class library was removed from the FOP distribution for licensing reasons. You'll have to download (linked to http://java.sun.com/products/jimi) and install it by yourself. Extract the file JimiProClasses.zip from the archive you've downloaded, rename it to jimi-1.0.jar and move it to FOP's lib directory. An alternative to Jimi is to use Sun's JAI. It is much faster, but not available for all platforms. Double-check all my content, as it was copy/pasted (and some of it may not be true!). This would help with Joerg my handy dandy ultimate assistant idea (Ctrl-F--ROTFL!) come to fruition... ;-p [EMAIL PROTECTED] wrote: Is there a way to include a psd graphic Thanks vikram -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]