Re: Commercial Processors
Hi, we're using FOP 0.25 / 0.92 in a tool which creates dynamic papers and the same tool is used to create paper-based catalogs by using XEP as renderer. XEP-> PDF -> Offset print... The difference XEP / fop0.92 at our case is only the color handling (for print we need CMYK and pantone colors, which fop does'nt support). At fop 0.25 we must change some things like 0.92/XEP"content-width" <--> "width"0.25 at images different. But at all the switch is not so big just a few lines of xsl... it depends on your layout... Dirk Pascal Sancho schrieb: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 2:24 PM To: fop-users@xmlgraphics.apache.org Subject: Commercial Processors Is there any information available on how comparable fop is in relation to commercial processors. Has anyone switched from one to the other? thanks as always Andyr Hi Andy, Here [1] was a very old camparison page between FOP 0.20.5 and commercial tools. It is very far from current reality, but it exists... [1] http://www.antennahouse.com/xslfo/axf3fo.htm Pascal - 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: Commercial Processors
Yes, our dynamic tool is embedded in a customer application, so by using fop for this part there a no costs per unit. And for the highres "print" there are a few xep users which can create the printable output. Dirk [EMAIL PROTECTED] schrieb: Thanks for the response. Is there a reason you still do your dynamic documents in FOP rather than XEP? Andy R -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/message/fop-users@xmlgraphics.apache.org/4794903.html - 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]
fo:table in fo:list Question
Hi all, i've a "indent" question. I've a fo:list with an embedded fo:table (full fo attached) then i've the problem that the elements (blocks) in the cells are indent by the lists start-indent. But the only thing i want is to indent the list-item-body and it content but not the elements in the content one for one... or must i use a table aaround my table with one column for the "list-item-labels" and one for the "list-item-body"?? Thanks Dirk 1. distance-between-starts = 2 in label-separation = 0 in table-layout="fixed" width="100%" border-collapse="separate"> http://www.w3.org/1999/XSL/Format";> 1. distance-between-starts = 2 in label-separation = 0 in good bad ugly nice dice vice literature music art java perl python - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Commercial Processors
This sounds very nice :-) Dirk Jeremias Maerki schrieb: Good news then: CMYK and Pantone support has recently appeared on my planning radar for FOP. On 31.08.2006 18:37:08 Dirk Bromberg wrote: Yes, our dynamic tool is embedded in a customer application, so by using fop for this part there a no costs per unit. And for the highres "print" there are a few xep users which can create the printable output. Dirk [EMAIL PROTECTED] schrieb: Thanks for the response. Is there a reason you still do your dynamic documents in FOP rather than XEP? 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]
Re: trouble positionning an image on the top of my document
Hi, try to set font-size="0pt" at the fo:block where the image is in. Dirk Olivier Mansour schrieb: Hello I have a problem with fop 0.92. I try to set a picture on the top left of the page. It's obvious but I have a little white space on the top of the PDF doc. Here the fo file and the pdf given An idea ? Thank you ! - 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]
Table Border Help needed
Hi, i've written an "generic table modell" which creates the fo code for a table. Inline is a sample of the table as screenshot. My problem are the borders in cell which don't have a top and bottom border, here the line in the middle. You can see that the border is thicker than the border in the first and last line... The Table has border-collapse="separate" and each Cell has a: border-top="[EMAIL PROTECTED]" border-bottom="[EMAIL PROTECTED]" border-left="[EMAIL PROTECTED]" border-right="[EMAIL PROTECTED]" with: “none” or “1mm solid gray” as value. Is there a better was to create such borders? What is the mistake? Thanks. Dirk
Re: Table Border Help needed
Very thanks, that was it. I've disabled the Acrobat anti-aliasing "Smooth line art" and now it works fine in the Reader. But when i print the page the borders are like before... is there a "Smooth line art" setting in the Adobe Reader print settings? I can't find something like that. Dirk Jeremias Maerki schrieb: It could very well be that there is no mistake. I'm fairly sure that the problem goes away if you disable anti-aliasing in Acrobat Reader and that the problem doesn't occur in print. Is that so? If that's the case, you might be asking if there's a way to avoid that effect. I don't think it's worth the effort but if the PDF renderer were extended with some smart algorithm that can combine border elements to larger combinations this effect could be avoided. On 24.10.2006 15:41:19 Dirk Bromberg wrote: Hi, i've written an "generic table modell" which creates the fo code for a table. Inline is a sample of the table as screenshot. My problem are the borders in cell which don't have a top and bottom border, here the line in the middle. You can see that the border is thicker than the border in the first and last line... The Table has border-collapse="separate" and each Cell has a: border-top="[EMAIL PROTECTED]" border-bottom="[EMAIL PROTECTED]" border-left="[EMAIL PROTECTED]" border-right="[EMAIL PROTECTED]" with: "none" or "1mm solid gray" as value. Is there a better was to create such borders? What is the mistake? Thanks. Dirk 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]
Re: Table Border Help needed
Hm, i'll try some older versions of the Reader... Thanks. Dirk Jeremias Maerki schrieb: No, there's no setting for print. But so far I've never seen anti-aliasing artifacts in print with Acrobat Reader. That's weird but short of investing a lot of time to improve border painting I have no idea how to solve this. On 25.10.2006 09:23:30 Dirk Bromberg wrote: Very thanks, that was it. I've disabled the Acrobat anti-aliasing "Smooth line art" and now it works fine in the Reader. But when i print the page the borders are like before... is there a "Smooth line art" setting in the Adobe Reader print settings? I can't find something like that. Dirk Jeremias Maerki schrieb: It could very well be that there is no mistake. I'm fairly sure that the problem goes away if you disable anti-aliasing in Acrobat Reader and that the problem doesn't occur in print. Is that so? If that's the case, you might be asking if there's a way to avoid that effect. I don't think it's worth the effort but if the PDF renderer were extended with some smart algorithm that can combine border elements to larger combinations this effect could be avoided. On 24.10.2006 15:41:19 Dirk Bromberg wrote: Hi, i've written an "generic table modell" which creates the fo code for a table. Inline is a sample of the table as screenshot. My problem are the borders in cell which don't have a top and bottom border, here the line in the middle. You can see that the border is thicker than the border in the first and last line... The Table has border-collapse="separate" and each Cell has a: border-top="[EMAIL PROTECTED]" border-bottom="[EMAIL PROTECTED]" border-left="[EMAIL PROTECTED]" border-right="[EMAIL PROTECTED]" with: "none" or "1mm solid gray" as value. Is there a better was to create such borders? What is the mistake? Thanks. Dirk Jeremias Maerki 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]
none break space and fop
Hi, some time ago i've asked for the implementation state fo soft-hyphens. Now i need an answer if "none break spaces" are implemented in fop (0.92 or trunk) and working!? if they are implemented, which signs are allowed? U+00A0, U+200C and U+200D; ( ) ? I can't find something at the website... (only in the 0.25 section) Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: none break space and fop
Thanks. So, we'll try to use this feature. Dirk Manuel Mall schrieb: On Friday 24 November 2006 19:08, Dirk Bromberg wrote: Hi, some time ago i've asked for the implementation state fo soft-hyphens. Now i need an answer if "none break spaces" are implemented in fop (0.92 or trunk) and working!? if they are implemented, which signs are allowed? U+00A0, U+200C and U+200D; ( ) ? Looking through the code and our testcases U+00A0 is supported. I don't think the U+200C and U+200D (ZW[N]J) code points are properly supported. However, as FOP does not (yet) implement ligatures or Unicode compliant linebreaking this may not be a problem. I can't find something at the website... (only in the 0.25 section) Thanks Dirk Manuel - 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: Use PDF as input source for FOP
Hi, what you want can be done with itext. www.lowagie.com/*iText*/ fop can only create pdfs with some like xml:fo as source. Dirk [EMAIL PROTECTED] schrieb: Has anyone had any experience with using PDF's as input for FOP? We are using FOP 0.20.5 with Java 1.5. We have a PDF that was provided to us by an outside source. We would like to leverage the existing PDF (or as much of it as we can) by using it as an input source. Our goal is to modify it with our data, and have FOP generate a new PDF for us, which would be a combination of the original PDF and our data. From reading the FAQ's and the mail archives for FOP, it appears FOP will only take XML and XSL-FO as input. So, I am wondering, do I need to use some independent PDF to XML conversion tool, or if there is a better/easier way to do this? Thank you for any insight you can offer us regarding this issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
own URIResolver for ttf fonts?
Hi, is it possible the override a resolver for the destination of the ttf file (whole font handling)? - ttf file - metrics xml file I've tried the URIResolver but it works only for things like images ... Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: own URIResolver for ttf fonts?
No, what i need is a way to add a resolver which pulls the files out of an database. So it is more like the basepath... Dirk Peter schrieb: Perhaps the setFontBaseURL method in FopFactory does what you want ? Peter -Original Message- From: Dirk Bromberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 6:34 PM To: fop-users@xmlgraphics.apache.org Subject: own URIResolver for ttf fonts? Hi, is it possible the override a resolver for the destination of the ttf file (whole font handling)? - ttf file - metrics xml file I've tried the URIResolver but it works only for things like images ... Thanks Dirk - 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: own URIResolver for ttf fonts?
Hey, this sounds great. So i'll hope that the release it going fine this time :-) good luck! Dirk Jeremias Maerki schrieb: The latest FOP Trunk (and the soon-to-be-released 0.93) loads fonts and metric files through the URIResolver. You can easily write your own URIResolver (see [1] as an example) to handle URIs to font resources in a special way. BTW, you can omit the step with the metrics file with the latest version. This is a new feature where we'd be glad for some feedback. [1] http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/ServletContextURIResolver.java?view=markup On 03.01.2007 18:33:53 Dirk Bromberg wrote: Hi, is it possible the override a resolver for the destination of the ttf file (whole font handling)? - ttf file - metrics xml file I've tried the URIResolver but it works only for things like images ... Thanks Dirk 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]
fop pagebreak problems / errors
Hi fops, I've got some strange behaviour of the fop-mechanisms when I try to force a page break from within a table. Basically the page breaks seem to have no effect, as long as the height of an enclosing row is not reached. I'm using fop-0.93. I attached a small set of files to illustrate that. In the file not_paging.fo, the page-break is the only block element within a row with enforced height of 10. The page break is ignored here. Changing to break-before doesn't change that. After inserting a bit of text (as in is_paging.fo), the height of the cell is taller than indicated in the fo, and surprisingly the page break *is* included. Can you please check, if this is an intended behaviour? If so: How can I enforce a page break then without having to remove the height constraints? Thanks Dirk PS - On a different note: break-after crashes in the fo given in crash.fo with an illegal state exception (this surely is a bug, isn't it?): java.lang.IllegalStateException: Invalid break class: -1 at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) at org.apache.fop.cli.Main.startFOP(Main.java:160) at org.apache.fop.cli.Main.main(Main.java:191) When I change to break-before, it doesn't crash. http://www.w3.org/1999/XSL/Format";> page page page page page page http://www.w3.org/1999/XSL/Format";> Page 1 Just adding a bit of text here... Page 2 http://www.w3.org/1999/XSL/Format";> Page 1 Just adding a bit of text here... Page 2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table of Contens fo:leader Problem
Hi Users, i've a small problem with the usage of a leader. When i will render a TOC, i use this code: 1 Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo leader-pattern="rule" rule-thickness="0.5pt"/> 555 The problem: When the text "Demo" is too long for the page then it breaks above the pagenumber and starts in a new line under the start of the first line. Is there way to create a style like: --- 1 Demo Demo Demo BREAK Demo Demo 555 Thanks. Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table of Contens fo:leader Problem
Hey, thanks for this "workaround". I'think it is ok. Dirk Jeremias Maerki schrieb: I can't think of an FO construct that would accomplish this. The only work-around would be a table but that leaves you with a possible compromise concerning the leader which cannot come as close to the page number as you might wish. 1 Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo leader-pattern="rule" rule-thickness="0.5pt"/> 555 I guess, we'd need a "text-indent-last" or something. Jeremias Maerki On 26.11.2007 12:46:43 Dirk Bromberg wrote: Hi Users, i've a small problem with the usage of a leader. When i will render a TOC, i use this code: 1 Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo Demo leader-pattern="rule" rule-thickness="0.5pt"/> 555 The problem: When the text "Demo" is too long for the page then it breaks above the pagenumber and starts in a new line under the start of the first line. Is there way to create a style like: --- 1 Demo Demo Demo BREAK Demo Demo 555 Thanks. Dirk - 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: Vertical alignment
Hi, display-align="center" at the cell works! border-style="solid"> font-family="{$font.family}" font-size="14pt" > Text1 Dirk Renan Collin wrote: Hello, It seems this functionnality is not implemented yet on fop 0.20.5. Renan Samuel Remacle a écrit: Hello, My problem is the following, I'd like to align vertically a text inside a table-cell but after searching the web I couldn't find the property to do that. So I would be glad if you could help me, how do I put the text in a table-cell, at the middle of that table-cell? Thanks Samuel - 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: footnotes: baseline-shift
Take vertical-align="super" in fop 20.5 Dirk [EMAIL PROTECTED] wrote: Hi, the FOP compliance list describes a partial implementation of the attribute baseline-shift. But regardless of using "super" or "sub", the footnote number gets always written on the bottom. The XML looks like: 2 237 2) the fo: font-size="6pt"> So "super" is not working in the expected way, or is there any corresponding property not set in a correct manner ? Besides, there is another strange effect, since in the PDF something like this is written 2 237)2) with the last two digits written in 6pt at the bottom of the page. But regarding the XML, where is the origin of the first opening bracket ?! Thanks for any helpful hints on this issue. kind regards Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: footnotes: baseline-shift
This work at my fop font-size="{$footnotenumberfontsize}"> [EMAIL PROTECTED] wrote: Hi, thanks, Dirk, did you mean this does not work, as it doesn't even show the values anymore ?!? Regards Jens -Ursprüngliche Nachricht- Von: Dirk Bromberg [mailto:[EMAIL PROTECTED] Gesendet: Montag, 1. August 2005 13:18 An: fop-users@xmlgraphics.apache.org Betreff: Re: footnotes: baseline-shift Take vertical-align="super" in fop 20.5 Dirk [EMAIL PROTECTED] wrote: Hi, the FOP compliance list describes a partial implementation of the attribute baseline-shift. But regardless of using "super" or "sub", the footnote number gets always written on the bottom. The XML looks like: 2 237 2) the fo: font-size="6pt"> So "super" is not working in the expected way, or is there any corresponding property not set in a correct manner ? Besides, there is another strange effect, since in the PDF something like this is written 2 237)2) with the last two digits written in 6pt at the bottom of the page. But regarding the XML, where is the origin of the first opening bracket ?! Thanks for any helpful hints on this issue. kind regards Jens - 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]
Include PDF into another...
Hi, is it possible to create a PDF Document wich includes other PDF Files? -> I've a number of PDF Files and want to include them into my fop generated PDF. Is this possible with 0.25 or 1.0dev? patch? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I unsubscribe successfully?
[EMAIL PROTECTED] Andrew Mercer wrote: Hi, I am trying to unsubscribe from the dev list however despite trying the unsubscribe links on the web page have failed to do so. I registered in 2003 so also tried the unsubscribe links suggested then eg: <[EMAIL PROTECTED]> I used old email address (my domain has since altered) but without success. What do I need to do. Thanks Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
creating printable high res PDF 2400dpi
Hi, i've a short question. I'll be asked if fop can generate a high res -> 2400dpi PDF for offset printing... I've see the set Res Method in the trunk, but does it work? I don't know waht makes a high res PDF to a high res PDF, only the res of the images, or the lines of a table, or is there a different in the font res? does someone have a clue about that? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: creating printable high res PDF 2400dpi
Thanks, for the first i'll have a look what we need for printing and than see how to solve possible problems in fop if there are.. Dirk Jeremias Maerki wrote: PDF is normally resolution-independent as it is mostly a vector-format. FOP includes bitmap images as-is into the PDF, so bullshit in, bullshit out. :-) If you have 2400dpi bitmap images, they make it into PDF as a 2400dpi image if your Java VM doesn't collapse because of the memory requirements. Use JPEG images where possible to minimize memory usage. The resolution setting in the trunk is only used to control the vector-to-bitmap conversion that is done by Batik in case of certain elements in SVG. And this part works. In offset printing you will often be asked about stuff like CMYK and spot colors. FOP currently doesn't support these features although some people have done a few experiments. You might want to search the mailing list archives. So, although it's possible to produce PDFs for offset printing, FOP is probably not the ideal tool, yet. Help is welcome to improve that. On 05.08.2005 09:31:45 Dirk Bromberg wrote: Hi, i've a short question. I'll be asked if fop can generate a high res -> 2400dpi PDF for offset printing... I've see the set Res Method in the trunk, but does it work? I don't know waht makes a high res PDF to a high res PDF, only the res of the images, or the lines of a table, or is there a different in the font res? does someone have a clue about that? 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]
Re: wingdings font - ttfreader exception
Hi, can you post the error / stacktrace? Dirk Riz Virk wrote: This may already have been answered somewhere, but can't seem to find it. When trying to import wingdings or wingdings2 fonts into fop, I get a TTFReader exception when trying to generate the "font metrics file" that fop needs. Is this a known issue? If so, is there a fix somewhere? Thanks Riz Rizwan Virk CTO CambridgeDocs [EMAIL PROTECTED] personal: [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: download latest SVN source fop version
You must check out the tree from the url with a subversion client to a local sandbox and then you can compile your latest fop.jar... open the url in the browser is not what you want :-) so take a look at this page : http://xml.apache.org/fop/dev/tools.html Dirk Stanislav wrote: Hi, i went to http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/ and i don't know what to download? I want to download latest source file, compile it (using ant, if i don't mistaken) and than try to generate rtf. I'm using stxx and struts to generate pdf (wish to generate rtf), server is JBoss 4.02 and OS id WINXP SP1. If you want to send me source code, please send it to [EMAIL PROTECTED] Thank you very much! :-) Stanislav Hi, Try looking here : http://xmlgraphics.apache.org/repo.html If you still can't get the latest fop version give us more details such as what you have tried and what operating system you are using. Good luck, Patrick Paul Stanislav wrote: Hello! I tried to download latest fop version because i need fo-rtf conversion and i can't find where can i do that :- can anyone help me? Tnx, Stanislav - 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: download latest SVN source fop version
you know that the latest trunk code is not 100% compatible to the 0.20.5 version!? Stanislav wrote: Hi, i went to http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/ and i don't know what to download? I want to download latest source file, compile it (using ant, if i don't mistaken) and than try to generate rtf. I'm using stxx and struts to generate pdf (wish to generate rtf), server is JBoss 4.02 and OS id WINXP SP1. If you want to send me source code, please send it to [EMAIL PROTECTED] Thank you very much! :-) Stanislav Hi, Try looking here : http://xmlgraphics.apache.org/repo.html If you still can't get the latest fop version give us more details such as what you have tried and what operating system you are using. Good luck, Patrick Paul Stanislav wrote: Hello! I tried to download latest fop version because i need fo-rtf conversion and i can't find where can i do that :- can anyone help me? Tnx, Stanislav - 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: how to unsubscribe
See at the footer of this (every) mail... Adolf Špenko wrote: Hi, can someone please help me how can i unsubscribe from this mailing list... Best regards, Adolf Spenko http://www.email.si/ - 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]
Number of Pages?
Hi, when i want to have a page numbering like page/number of pages, is there a tag for the number of pages in fo? i' ve only found the page-number... must i generate the pdf, take the number of pages via the api, set them to my xml and rerender the pdf? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Number of Pages?
Thx. Andreas L Delmelle wrote: On Aug 24, 2005, at 21:07, Dirk Bromberg wrote: Hi Dirk, when i want to have a page numbering like page/number of pages, is there a tag for the number of pages in fo? This is a FAQ. See: http://xmlgraphics.apache.org/fop/fo.html#fo-total-pages HTH! Greetz, Andreas - 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]
Keep Together FO
Hi, i've a short question using fop 20.5. When i want to keep two "elements" on my page together what must i do? First Element Second Element or First Element Second Element Thanks. Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Keep Together FO
Thanks.. Manuel Mall wrote: On Wed, 31 Aug 2005 03:46 pm, Dirk Bromberg wrote: Hi, i've a short question using fop 20.5. When i want to keep two "elements" on my page together what must i do? Have you seen: http://xmlgraphics.apache.org/fop/faq.html#keep-with Manuel First Element Second Element or First Element Second Element Thanks. Dirk - 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]
Numbering Chapter / Section / SubSection
Hi, i'm searching for a solution for numbering some chapter / section / subsection in fop? i'll be able to do it like: 1. HeadLine 1.1 SubHeadLine 1.1.1 SubSubHeadLine 2. HeadLine and so on. How can i do this? THX Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Numbering Chapter / Section / SubSection
Thanks, so i'll have a look at this... i'was thinking that there is something in the fo e.g for toc an so onlike in latex but i think i can go the way of numbering via xsl... :-) Dirk [EMAIL PROTECTED] wrote: Dirk: This is more of an XSL question, but check out the following resource: http://www.dpawson.co.uk/xsl/sect2/N5758.html There is a section on "Legal Style Numbering" which looks like what you want. -Lou Dirk Bromberg <[EMAIL PROTECTED]> wrote on 09/12/2005 07:21:37 AM: > Hi, > > i'm searching for a solution for numbering some chapter / section / > subsection in fop? > > i'll be able to do it like: > > 1. HeadLine > 1.1 SubHeadLine > 1.1.1 SubSubHeadLine > 2. HeadLine > and so on. > > How can i do this? > > THX > > Dirk > > - > 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: Numbering Chapter / Section / SubSection
than it makes sense :-) Vincent Hennebert wrote: Dirk Bromberg a écrit : Thanks, so i'll have a look at this... i'was thinking that there is something in the fo e.g for toc an so onlike in latex If it may help you see the correspondance: FO is more at the TeX level. See LaTeX as a kind of XSLT stylesheet that produces TeX. All high-level features (ToC generation, automatic section numbering...) belong to the LaTeX world, so with XML you'd have to use XSLT. Vincent - 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: problems with times
To improve the first time i use this http://xml.apache.org/xalan-j/xsltc_usage.html to compile my xsl files when i compile my application. At the runtime there is a jar with the xsl classes and this is what i use at the runtime. So, there are no plain xsl file anymore in my application. Dirk Jeremias Maerki wrote: On 21.09.2005 11:41:43 Manuel Mall wrote: Transformer transformer = factory .newTransformer(new StreamSource(xsltfile)); That's exactly it. You reload the stylesheet every time. If you create a stylesheet cache, you can simply reuse Templates instances. Why would cacheing the stylesheet make the first invocation faster? It doesn't. It just improves overall performance. The original question was about executing a transformation multiple times in a loop and why the first invocation takes so much longer than the second and by the 3rd execution times becomes stable. I still think these time differences are solely JVM/application startup/warmup related and have nothing to do with cacheing the stylesheet as that would only make subsequent invocations faster. That's correct. But ALi asked for stylesheet caching, so I gave him a tip. I assume he won't be against a generally faster solution. :-) 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]
Re: problems with times
To improve the first time i use this http://xml.apache.org/xalan-j/xsltc_usage.html to compile my xsl files when i compile my application. At the runtime there is a jar with the xsl classes and this is what i use at the runtime. So, there are no plain xsl file anymore in my application. Dirk Jeremias Maerki wrote: On 21.09.2005 11:41:43 Manuel Mall wrote: Transformer transformer = factory .newTransformer(new StreamSource(xsltfile)); That's exactly it. You reload the stylesheet every time. If you create a stylesheet cache, you can simply reuse Templates instances. Why would cacheing the stylesheet make the first invocation faster? It doesn't. It just improves overall performance. The original question was about executing a transformation multiple times in a loop and why the first invocation takes so much longer than the second and by the 3rd execution times becomes stable. I still think these time differences are solely JVM/application startup/warmup related and have nothing to do with cacheing the stylesheet as that would only make subsequent invocations faster. That's correct. But ALi asked for stylesheet caching, so I gave him a tip. I assume he won't be against a generally faster solution. :-) 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]
Re: problems with times
To improve the first time i use this http://xml.apache.org/xalan-j/xsltc_usage.html to compile my xsl files when i compile my application. At the runtime there is a jar with the xsl classes and this is what i use at the runtime. So, there are no plain xsl file anymore in my application. Dirk Jeremias Maerki wrote: On 21.09.2005 11:41:43 Manuel Mall wrote: Transformer transformer = factory .newTransformer(new StreamSource(xsltfile)); That's exactly it. You reload the stylesheet every time. If you create a stylesheet cache, you can simply reuse Templates instances. Why would cacheing the stylesheet make the first invocation faster? It doesn't. It just improves overall performance. The original question was about executing a transformation multiple times in a loop and why the first invocation takes so much longer than the second and by the 3rd execution times becomes stable. I still think these time differences are solely JVM/application startup/warmup related and have nothing to do with cacheing the stylesheet as that would only make subsequent invocations faster. That's correct. But ALi asked for stylesheet caching, so I gave him a tip. I assume he won't be against a generally faster solution. :-) 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]
Font embedding FOP dev
Hi, i wants to test to switch my project from 20.5 to dev. Now i want to embedd my ttf fonts via the fop.xconf. There i've these entrys: Now i call: File userConfigFile = new File(basePath+"/confdir/fop.xconf"); fop.getUserAgent().setUserConfig(new DefaultConfigurationBuilder().buildFromFile(userConfigFile)); but i always get the exception "D:\mypath_to_run\ArialUNI.xml FileNotFoundException" the Path is not relative to the xconf! it is relative to my running directory. How can i set the right directory? I've tried to set the D:\mypath_to_run\confdir as basePath via the fop.getUserAgent().setBaseURL(...) but there was no change... How to do? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Font embedding FOP dev
Ok, thanks. with file:///E:/mypath_to_font it works... btw: the path to the metrics can be setup as relative path to the "startup dir" but the "fontpath has to be absolute..." Dirk Manuel Mall wrote: On Wed, 28 Sep 2005 05:07 am, Andreas L Delmelle wrote: On Sep 27, 2005, at 22:27, Dirk Bromberg wrote: i wants to test to switch my project from 20.5 to dev. Now i want to embedd my ttf fonts via the fop.xconf. but i always get the exception "D:\mypath_to_run\ArialUNI.xml FileNotFoundException" the Path is not relative to the xconf! it is relative to my running directory. Ouch! The user-configuration functionality is not fully ported yet, especially the baseURL bit... Sorry. The entry is present in fop.xconf, but currently serves no purpose. Since I do need to finish up a few things in that area of the code, most likely I'll be able to squeeze it in during the weekend. How can i set the right directory? I've tried to set the D:\mypath_to_run\confdir as basePath via the fop.getUserAgent().setBaseURL(...) but there was no change... The only way I see that might --note: not 100% sure-- temporarily solve your problem is to include the full pathnames in the font-triplet (possibly even as full 'file://' URLs to avoid them from being interpreted as a relative URLs) Why the baseURL isn't taken into account when building the font-list, I'm not certain, but this does mean that even if I complete the user-configurable baseURL, it still won't work as it did before... For now, try out with absolute URLs in the triplets. As far as I understand the related code, that should do the trick. This is a known problem with the trunk code (see http://issues.apache.org/bugzilla/show_bug.cgi?id=36729). I had a look at fixing it but it involves changes to the font subsystem. That area of code is currently being completely rewritten (integration of a 3rd party font system) and I would expect this to be fixed as part of that work. However, this may not happen in a real hurry. For the time being you have to use absolute paths or to be more correct full URLs in your font definition files, that is everything must start with file:// as Andreas suggested and be fully qualified. If not, don't hesitate to report back. HTH! Cheers, Andreas Manuel - 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]
CMYK colors in pdf via fop
Hi, i've asked before a few weeks if it is possible to use CMYK colors at the fo document to get them in the pdf. There the answer was no. :-) I want to create a fo document with colors like "rgb-icc(0,0,0,#CMYK,100%,0%,0%,0%)" I've done a short look at the code and the pdf spec and have much questions about the coloring world My first questions to understand the coloring in fop a bit more are: 1. when i set a color (e.g. background-color at table) the ColorTypeProperty(String value); object is build for this color or not? 2. how goes this property into the pdf file? i saw the PDFColor class which already has the cmyk support!? 3. when i generate a pdf document and open it into the texteditor i can find things like /DeviceRGB when i use the rgb(100,10,50) colors, is it possible that my pdf has "encrypted" sections? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMYK colors in pdf via fop
Jeremias Maerki wrote: On 28.09.2005 13:43:53 Dirk Bromberg wrote: Hi, i've asked before a few weeks if it is possible to use CMYK colors at the fo document to get them in the pdf. There the answer was no. :-) I want to create a fo document with colors like "rgb-icc(0,0,0,#CMYK,100%,0%,0%,0%)" I've seen the #CMYK pseudo-profile in AntennaHouse and RenderX but haven't found any reference in a specification. Is there one? Anyway, FOP doesn't implement the rgb-icc function, yet. You'd have to implement that yourself. I've also found nothing at the fo spec about cmyk :-( I've done a short look at the code and the pdf spec and have much questions about the coloring world My first questions to understand the coloring in fop a bit more are: 1. when i set a color (e.g. background-color at table) the ColorTypeProperty(String value); object is build for this color or not? Yes, but currently only with sRGB plus alpha channel (in FOP Trunk). 2. how goes this property into the pdf file? i saw the PDFColor class which already has the cmyk support!? Yes, there are some provisions for CMYK, but FOP internally transfers only RGB values. This will have to be generalized, possibily by using more of Java's color support classes, if the rgb-icc function is to be supported. 3. when i generate a pdf document and open it into the texteditor i can find things like /DeviceRGB when i use the rgb(100,10,50) colors, is it possible that my pdf has "encrypted" sections? If you don't do anything special, the page streams are compressed using the Flate filter. You can disable the filter in the userconfig file as shown in a post here on fop-users a few days ago. You will then see the right PDF commands to set the colors. Are you working on FOP Trunk or the old code? I' m using the old at production version and for the "cmyk" task i'll switch to the trunk, because i think it is easier to add the cmyk to the trunk and the cmyk tiff image support of the trunk work -> 20.5 not... But before adding some support for cmyk, i muss see if the other thinks we use at 20.5 will work on trunk.. with the same layout :-) Dirk 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]
Re: CMYK colors in pdf via fop
Jeremias Maerki wrote: On 28.09.2005 13:43:53 Dirk Bromberg wrote: Hi, i've asked before a few weeks if it is possible to use CMYK colors at the fo document to get them in the pdf. There the answer was no. :-) I want to create a fo document with colors like "rgb-icc(0,0,0,#CMYK,100%,0%,0%,0%)" I've seen the #CMYK pseudo-profile in AntennaHouse and RenderX but haven't found any reference in a specification. Is there one? Anyway, FOP doesn't implement the rgb-icc function, yet. You'd have to implement that yourself. I've done a short look at the code and the pdf spec and have much questions about the coloring world My first questions to understand the coloring in fop a bit more are: 1. when i set a color (e.g. background-color at table) the ColorTypeProperty(String value); object is build for this color or not? Yes, but currently only with sRGB plus alpha channel (in FOP Trunk). 2. how goes this property into the pdf file? i saw the PDFColor class which already has the cmyk support!? Yes, there are some provisions for CMYK, but FOP internally transfers only RGB values. This will have to be generalized, possibily by using more of Java's color support classes, if the rgb-icc function is to be supported. 3. when i generate a pdf document and open it into the texteditor i can find things like /DeviceRGB when i use the rgb(100,10,50) colors, is it possible that my pdf has "encrypted" sections? If you don't do anything special, the page streams are compressed using the Flate filter. You can disable the filter in the userconfig file as shown in a post here on fop-users a few days ago. You will then see the right PDF commands to set the colors. Are you working on FOP Trunk or the old code? When i check my fop.xconf, must have an empty in my to get the plain pdf? This is not working or must i enable another value? Dirk 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]
Re: CMYK colors in pdf via fop
Yes, this works! Thanks. Jeremias Maerki wrote: For FOP Trunk: null On 28.09.2005 14:50:03 Dirk Bromberg wrote: When i check my fop.xconf, must have an empty in my to get the plain pdf? This is not working or must i enable another value? 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]
Re: Any good / free FO editors around?
Hi, there is a free personal home edition of xmlspy at http://www.altova.com there you can type the xml with support of the schema or dtd. But i don't think that there is a wysiwyg editor for fodocuments everywhere. so you must search a good xml editor. and compile your code with fop and see the result. At http://www.ahmadsoft.org/fopbridge.html there is a fop plugin for eclipse www.eclipse.org but then you will also need a plugin for xml, and i don't know a free one with dtd or schema support at typing. Dirk Martin Smales wrote: Are there any good / free FO editors around for a newbie like me? I think that using Notepad is not sufficient for me learning-wise. - 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: PDF/X and CMYK respectively
In XEP you can setup the colors via: rgb-icc (255, 255, 0, #CMYK, 0, 0, 1, 0) and rgb-icc(255,255,0, #SpotColor,'PANTONE Orange 021 C',0.33) rgb-icc(255,255,0, #SpotColor,'PANTONE 169 M',0.5, #CMYK,0,0.2,0.2,0) rgb-icc(255,255,0, #SpotColor,MyColor,0.33, #Grayscale,0.5) is it possible to think about using the same way or is this not allowed? The first values are the fallback rgb and then there is a way to setup cmyk or Pantone. Dirk Andreas L Delmelle wrote: On Oct 4, 2005, at 21:52, Warren Young wrote: J.Pietschmann wrote: "the spec doesn't contain a CMYK color model, therefore it's unlikely we'll integrate support even if we get a code contribution." I just downloaded the v1.6 spec, FWIW (but this may have already become apparent in the meantime :-)): The talk was about the XSL-FO 1.0 spec here. Greetz, Andreas - 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: using Arial Font with fop in PDF, but support copy & paste
Hm, i can't understand your problem, we produce many pdfs with two fonts "arial unicode" and "customer.ttf" as embedded fonts and we are able to search via Acrobat or copy & paste text out of these documents. so what is your problem? Dirk Gaeb, Jörn wrote: Hi, i have a big problem to use Arial Font in my PDF. The main thing is, that the document must be searchable, so embedding is not the solution. I look for weeks on many webpages and newsgroups, but nothing helps. Things I have done: Convert Arial to SVG and insert it via Fop -> Bug in Baltik generates negative height Generate Font metrics with -enc Ansi -> Ansi is not enough I need cyrillic characters I use Fop 0.20.5 and try Fop 1.0 dev for tests. Some commercial tools support using own Fonts. I try IBEX PDF Creator and it produce from a fo File a PDF. So what is the Problem in fop. I saw that the Bug (#5335) is open in 2002. Please help. Thank you very much Jörn - 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 Performance
Hi, is there a different Hardware? Or is the java version (memorysettings) different? Thanks Dirk Christian Loock wrote: Hi Everybody, I've set up an application using FOP 0.20.5 to generate dynamic PDF Contents... Using it on our development Server works very finde and fast but the same app on an other Server seems to be much slower... What I'd like to know are things which are important for the Server that FOP can run fast as it does on our dev Server. Best Regard, Christian - 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]
XSL Question
Hi, i've a short xml->xsl->fo question. my xml is: Here is some text with bold and italic and both elements in it. when i've a template for "text", "B" and "I" how can i get the real text in the right order? some xsl: don't look for typos!! Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSL Question
Hey, thanks Glen. The trick is to select the text() or * :-) Dirk Glen Mazza wrote: http://www-128.ibm.com/developerworks/library/x-xslfo2app/#b? Read the "Notice that the select attribute..." blurb at the end of the discussion here. Glen Dirk Bromberg wrote: Hi, i've a short xml->xsl->fo question. my xml is: Here is some text with bold and italic and both elements in it. when i've a template for "text", "B" and "I" how can i get the real text in the right order? - 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:
Hi, must it be: src="{$logo_path}"/> ?? btw. which fop version are you using? Dirk mike wrote: Hi all, I would like to load an external graphic through a parameter value? Because it does not seem to work for me ;-( For example, the following produces the error: [ERROR] Error while creating area : Error with image URL: $logo_path (No such file or directory) and no base URL is specified http://www.w3.org/1999/XSL/Transform"; version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format";> http://www.w3.org/1999/XSL/Format";> [...] I've checked the value of logo_path and it is correct. Maybe there's another way to do it ... Any idea? thanx, --mike - 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: MS Excel 2 FO --> PDF
Yes, POI/HSSF works with Office 2003 -> Excel 12. Dirk [EMAIL PROTECTED] wrote: Does POI/HSSF work on the newest version of Excel? Also, just to get it straight, this is the pipeline: 1. Excel SS -> XML (using POI/HSSF) 2. XML -> FO (using Xalan or another transformer) 3. FO -> PDF (using FOP) So, if the files are already in MS's XML/HTML, we can skip step 1? I'm curious to see if this is a better solution than what we are doing. -Lou "Singhal, Ramneek (Exchange)" <[EMAIL PROTECTED]> wrote on 12/01/2005 09:57:31: > Please visit http://jakarta.apache.org/poi/ for working examples of > reading an excel file. You can use xerces to create an xml Dom for > the data read. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 01, 2005 9:48 AM > To: fop-users > Subject: Re: MS Excel 2 FO --> PDF > > How does that work? > -- > Sent from my BlackBerry Wireless Handheld > > > > - Original Message - > From: "Singhal, Ramneek \(Exchange\)" [EMAIL PROTECTED] > Sent: 12/01/2005 09:35 AM > To: > Subject: RE: MS Excel 2 FO --> PDF > > You can use Apache POI or JDBC to read your excel sheet and create > an xml out of it. then you can apply your stylesheet to convert it to FO > > -Original Message- > From: Braumüller, Hans [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 01, 2005 6:47 AM > To: fop-users@xmlgraphics.apache.org > Subject: MS Excel 2 FO --> PDF > > Hello, > > enclosed a short newbie question. > > Context: > I have some excel-sheet templates, that i shall convert to PDF for > reporting purposes. > > Question: > My question is belonging to that, if there are somewhere in www, a > tool or source-code, > to convert these excel-sheet to FO-Templates, which would get the > dynamic xml, to generate PDF. > > Thanks, > > Hans Braumüller > http://braumueller.crosses.net/plus_malerei > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ** > Please be aware that, notwithstanding the fact that the person sending > this communication has an address in Bear Stearns' e-mail system, this > person is not an employee, agent or representative of Bear Stearns. > Accordingly, this person has no power or authority to represent, make > any recommendation, solicitation, offer or statements or disclose > information on behalf of or in any way bind Bear Stearns or any of its > affiliates. > ** > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > * > This message and any attachments (the "message") are confidential and > intended solely for the addressees. > Any unauthorised use or dissemination is prohibited. > E-mails are susceptible to alteration. > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > shall be liable for the message if altered, changed or falsified. > > * > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ** > Please be aware that, notwithstanding the fact that the person sending > this communication has an address in Bear Stearns' e-mail system, this > person is not an employee, agent or representative of Bear Stearns. > Accordingly, this person has no power or authority to represent, make > any recommendation, solicitation, offer or statements or disclose > information on behalf of or in any way bind Bear Stearns or any of its > affiliates. > ** > > > - > 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]
Image in table not fitting full height?
Hi, i've a problem with an image into a table. Here is my fo sample. And a screenshot form the pdf. I want the image in the "xsl-region-before" to scale the full height of the cell (table) but there is 1mm border above and 2 mm border below the image remaining. Are there default marigns paddings or borders at cells block or tables? Please tell me how to make the "logo" fits image to the full table height. I tryed with fop 20.5 / 0.90 a1 and renderx alle the same result... Thanks Dirk http://www.w3.org/1999/XSL/Format";> Header 1 Header 2 Footer Content Page Content - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Image in table not fitting full height?
Here is the result PDF. Thanks Dirk Dirk Bromberg wrote: Hi, i've a problem with an image into a table. Here is my fo sample. And a screenshot form the pdf. I want the image in the "xsl-region-before" to scale the full height of the cell (table) but there is 1mm border above and 2 mm border below the image remaining. Are there default marigns paddings or borders at cells block or tables? Please tell me how to make the "logo" fits image to the full table height. I tryed with fop 20.5 / 0.90 a1 and renderx alle the same result... Thanks Dirk http://www.w3.org/1999/XSL/Format";> Header 1 Header 2 Footer Content Page Content - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] out.pdf Description: Adobe PDF document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Image in table not fitting full height?
Thanks. the workaround with the font-size works great! Dirk Jeremias Maerki wrote: scaling-method is not evaluated by FOP, so it can't be the problem. Images are always embedded as is and scaled by the viewer/RIP. That means that the scaling is always target-device-specific. The gaps above and below of the images come from line-building, i.e. from the line-height property among other factors. I was asked about the same problem by the manufacturer of an FO editor. I still owe him a reponse. :-( Anyway, I think we still have a bug in line-building. I'll have to investigate a little further to come up with a test case. But I think I found a work-around that works for now: http://www.apache.org/images/asf_logo_wide.gif')"/> Setting font-size to 0pt does the trick because it doesn't create any half-leading trait, or rather a "0mpt" value. In theory, the problem should be solved like this, I think: http://www.apache.org/images/asf_logo_wide.gif')" alignment-baseline="after-edge"/> If I'm not mistaken, line-height="1.0" should in theory not lead to a half-leading trait but that doesn't seem to happen right now. The alignment-baseline is optional here as there are no characters in this block that could have a descender because external-graphic is normally aligned with the "baseline" AFAIK. But if there were additional characters, this might be necessary depending on the expectations. Maybe Manuel has some additional insight here. I'm not the line-building specialist. HTH On 10.12.2005 22:20:23 Andreas L Delmelle wrote: On Dec 10, 2005, at 13:52, Dirk Bromberg wrote: Here is my fo sample. And a screenshot form the pdf. I want the image in the "xsl-region-before" to scale the full height of the cell (table) but there is 1mm border above and 2 mm border below the image remaining. Are there default marigns paddings or borders at cells block or tables? Please tell me how to make the "logo" fits image to the full table height. The most likely cause seems to be "scaling-method". If that property set to "auto" (= initial value) then the formatter may choose the method. I'm guessing all three tested formatters default to "integer- pixels", which could cause rounding in determining the number of device pixels... As a workaround, maybe you could try making the table-cell's background-color black, which would at least create the desired appearance. 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]
Re: FOP and PDF Print
Hi, if the PDF in the Reader looks ok and your print out from the Reader looks not ok, then it is a problem between the reader and the printer. We've the same problem with colors. In the Reader they looks good but the printer prints them a bit other... Dirk [EMAIL PROTECTED] wrote: Dear all , i have a problem printing the pdf generated from fo. All images have a darker background (where they are supposed to be white), allthough in the Acrobat reader itself it looks perfect. Only the physical printout from Acrobat reader is screwed up. Does FOP have a problem with printing images ? Thanks for your help. Thomas Schmitt - 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]
fop_20.5 fo validation??
Hi, is there a xsd or something else to validate a fo.file for using it with fop_20.5 like the trunk version has? I mean a validation which has build in all the differences form the specs to fop :-) (eg. image width and not content-width) we have new developer at our project and the ask me... Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cmyk and FOP 0.91
Hi, i think it is not supported. you can only use rgb() and hex. Dirk Pierre-Yves Landure wrote: Hello, i'm currently using FOP 0.20.5 and having issue with RGB / CMYK. Can someone tell me if CMYK is supported in FOP 0.91 (using rgb-icc) ? Thanx Pierre-Yves Landure - 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: no runtime java--how to install
Hi, yes, you can run java from CD. Like Glen said, you must copy the JRE directory from your java install dir to the CD and if you want to run fop you must call the java.exe direct (relative from your script). Dirk Glen Mazza wrote: Paul Tremblay wrote: I am trying to run fop from a CD (or other removable device). I am at a different place every day and at a different computer. At some of the places java is installed, so I can run fop no problem. I'm assuming you're running fop by calling "fop.bat". However, at other places there is no java runtime. So is it possible to to install the java runtime on a removable device such as a CD? I want to do with java what I do with python, put the executables on a removable device and then sat the path to these executables. I *think* so, although I haven't tried it. I would install (expand) the J2SDK (or JRE) on your computer's hard drive, then move the entire expanded directory to the CD that will have FOP on it. Next, modify FOP's fop.bat (located in FOP's root directory); the line at the bottom that says "java -CP %LOCALCLASSPATH%..."; switch it to "..\jd2sdk\jre\bin\java -CP..." or whereever the java.exe will be on the CD. Make sure you use a relative path ("..\..", etc.) instead of hardcoding the drive letter because that will probably change from machine to machine. Glen - 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]
Using 20.5 and Trunk in same project?
Hi all, we've a project in which fop20.5 is already working for many year. now we wants to add some new features and are not sure if it is possible to use 20.5 and the trunk version in the same application. all jars are in the same classpath has someone some experience with this? we don't want to port the 20.5 yet.. Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using 20.5 and Trunk in same project?
Thanks for answer, so i'll have a look at it. Dirk Jeremias Maerki wrote: Yes, I do have experience with that. I've written a wrapper API for XSL-FO implementations [1] where I support exactly that: Support multiple FO implementations in the same VM. For that to work you have to isolate the two versions using different class loaders. FOP Trunk still uses the same package names as 0.20.5 so you can't have both in the same classpath. The problem with [1] is that it's currently a little behind. If you want to use it with the latest FOP release I'd have to update it first. And I'm still looking for a better name for that thing. Sun doesn't like my using "JAXG". :-( You can also just look at the source code to get some ideas how to isolate the FOP versions. [1] http://www.jeremias-maerki.ch/dev/jaxg/index.html On 03.03.2006 11:23:45 Dirk Bromberg wrote: we've a project in which fop20.5 is already working for many year. now we wants to add some new features and are not sure if it is possible to use 20.5 and the trunk version in the same application. all jars are in the same classpath has someone some experience with this? we don't want to port the 20.5 yet.. 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]
Re: getting veradana font to work
Have you seen the typo error ?: metrics-url="fle:///C:/unzipped/fop-0.91beta-bin-jdk1.4/fop-0.91beta/ttfcm.xml"> ---> Dirk Tracey Zellmann wrote: I am not able to get Verdana to work. I have tried to follow the documentation. I have also read the recent emails about embedded font problems, but I can't quite follow the details. I am getting this error. SEVERE: svg graphic could not be rendered: null java.lang.NullPointerException at org.apache.fop.fonts.LazyFont.mapChar(LazyFont.java:97) at org.apache.fop.fonts.Font.mapChar(Font.java:144) at org.apache.fop.svg.PDFTextPainter.getStringWidth(PDFTextPainter.java:266) at org.apache.fop.svg.PDFTextPainter.paint(PDFTextPainter.java:219) at org.apache.batik.gvt.TextNode.primitivePaint(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source) at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source) at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source) at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source), and many more... Here are the steps I have taken Create font metrics from the local Verdana.ttf file in C:\WINDOWS\FONTS using TTFReader the command window messages indicates it was successful, and the file is ttfcm.xml I did use the -enc ansi otpion. My target customers are using Windows and will have the same Verdana font available locally. Register Fonts with FOP. I took the configuration file that comes with the distribution fop.xconf, and added these elements in the fonts element. font-style="normal"> Verdana-normal-normal font metrics-url="fle:///C:/unzipped/fop-0.91beta-bin-jdk1.4/fop-0.91beta/ttfcm.xml"> Tell FOP about the configuration Fop fop = new Fop(MimeConstants.MIME_PDF); DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder(); Configuration cfg = cfgBuilder.buildFromFile( "C:/unzipped/fop-0.91beta-bin-jdk1.4/fop- 0.91beta/conf/fop.xconf"); FOUserAgent userAgent = fop.getUserAgent(); userAgent.setUserConfig(cfg); For completeness, here is how I am trying to invoke the font within the svg element. Any help would be appreciated. Is there a worked example that touches all the aspects? - 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]
creating SVG from MathML
Hi, i've a short question: i want to create SVG images to embedd in fop from MathML XML Code. I don't want to use the direct way, because i want to use the SVG images in another application too... But how can i do this? (in Java Code...) Some hints? Thanks. Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: creating SVG from MathML
Hello, [EMAIL PROTECTED] wrote: Since MathML is XML and SVG is XML, the natural way to convert one to another, as I see it, is with with XSLT. Are you looking for a ready-made Java package with classes to produce a variety of SVG formats, or are you looking for a general approach? i'm looking for some like "fop" but not for fo->pdf, but even for MathML->SVG. Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: creating SVG from MathML
Thanks for answers. I'll have a look at JEuclid and the fop source. Dirk Jeremias Maerki wrote: http://sourceforge.net/projects/jeuclid FOP has a demo extension that uses JEuclid to convert MathML to SVG internally. On 31.03.2006 15:50:35 Dirk Bromberg wrote: Hello, [EMAIL PROTECTED] wrote: Since MathML is XML and SVG is XML, the natural way to convert one to another, as I see it, is with with XSLT. Are you looking for a ready-made Java package with classes to produce a variety of SVG formats, or are you looking for a general approach? i'm looking for some like "fop" but not for fo->pdf, but even for MathML->SVG. 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]
Re: creating SVG from MathML
J.Pietschmann wrote: [EMAIL PROTECTED] wrote: Since MathML is XML and SVG is XML, the natural way to convert one to another, as I see it, is with with XSLT. Well, converting the structure of a mathematical expression, which is what MathML represents, into a 2D image involves some tricky computations. I'd expect an XSLT program for this task to be rather messy. JEuclid is a better choice. Yes, that's the reason i was searching for some already existing... :-) Dirk J.Pietschmann - 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: external-graphic size in PDF
Hi, the new version must have the content-height attribute not the height... Dirk Will Peterson wrote: I'm currently using FOP .2 for a project. Testing the SVN .9. Just wondering if I'm the only one have problems sizing images. For example: Using FOP .2 the image comes out perfect, resized to a width of 300 pixels. The newer FOP, however, does not resize the image causing (in my case) the image to be bigger than the virtual PDF paper it is rendered on. Thanks in advance for any help. -Will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache Jar Question
Hi all, short question: is it allowed to extract the files from some apache jar and build one big jar? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Jar Question
Thanks for answer, so i'll watch one it :-) Dirk Jeremias Maerki wrote: That's perfectly feasible. Two things come to my mind that you'll have to pay attention to: - If the JARs have different licensing, you have to take care if you plan to redistribute. - Duplicate files such as service descriptors in the META-INF/services directory, for example. You may have to merge these if you encounter any. On 07.04.2006 13:22:32 Dirk Bromberg wrote: is it allowed to extract the files from some apache jar and build one big jar? 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]
Re: creating SVG from MathML
Hi, i've testet converting MathML with JEuclid and the code from the MathMLElement.java from FOP to SVG but in most cases i get exceptions or warnings... 1. Most Warnings i get are like: "Warning element mpadded is not implemented" is there a known overview which MathML Elements are supportet by JEuclid? 2. Exceptions are mostly like: Exception in thread "main" java.lang.NullPointerException at org.apache.batik.svggen.SVGGeneratorContext.doubleString(Unknown Source) at org.apache.batik.svggen.SVGPath.appendPoint(Unknown Source) at org.apache.batik.svggen.SVGPath.toSVGPathData(Unknown Source) at org.apache.batik.svggen.SVGPath.toSVG(Unknown Source) at org.apache.batik.svggen.SVGShape.toSVG(Unknown Source) at org.apache.batik.svggen.SVGGraphics2D.fill(Unknown Source) at org.apache.batik.ext.awt.g2d.AbstractGraphics2D.drawGlyphVector(Unknown Source) at net.sourceforge.jeuclid.element.MathOperator.paintCurlyDelimiterHorizontal(MathOperator.java:359) at net.sourceforge.jeuclid.element.MathOperator.paint(MathOperator.java:505) at net.sourceforge.jeuclid.element.MathOver.paint(MathOver.java:102) at net.sourceforge.jeuclid.element.MathOver.paint(MathOver.java:103) at net.sourceforge.jeuclid.element.MathElement.paint(MathElement.java:688) at net.sourceforge.jeuclid.element.MathUnder.paint(MathUnder.java:102) at net.sourceforge.jeuclid.element.MathElement.paint(MathElement.java:688) at net.sourceforge.jeuclid.element.MathElement.paint(MathElement.java:688) at net.sourceforge.jeuclid.element.MathRootElement.paint(MathRootElement.java:182) at net.sourceforge.jeuclid.element.MathRootElement.paint(MathRootElement.java:135) at net.sourceforge.jeuclid.MathBase.paint(MathBase.java:310) Can someone help? Does someone know a better source for getting help? The JEuclid project seems to be idle... Thanks Dirk Dirk Bromberg wrote: Thanks for answers. I'll have a look at JEuclid and the fop source. Dirk Jeremias Maerki wrote: http://sourceforge.net/projects/jeuclid FOP has a demo extension that uses JEuclid to convert MathML to SVG internally. On 31.03.2006 15:50:35 Dirk Bromberg wrote: Hello, [EMAIL PROTECTED] wrote: Since MathML is XML and SVG is XML, the natural way to convert one to another, as I see it, is with with XSLT. Are you looking for a ready-made Java package with classes to produce a variety of SVG formats, or are you looking for a general approach? i'm looking for some like "fop" but not for fo->pdf, but even for MathML->SVG. 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]
Font Problem -> Cannot load font
Hi all, with the 0.92 release i'get this error: java.lang.RuntimeException: Cannot load font: failed to create Source from metrics file MyFont.xml at org.apache.fop.fonts.LazyFont.load(LazyFont.java:75) at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:183) at org.apache.fop.fonts.Font.getAscender(Font.java:66) with 0.20.5 it works ... where can i search? the metrics it generated with "-enc ansi" from an ttf font file. Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Font Problem -> Cannot load font
Thanks for answer, i'll have a closer look at it on Tuesday. btw. the result of the new fop looks great at this moment... i've a rendering component which uses "0.20.5" (for redistribute) and xep (for offset printing) and now i don't want to customize 2 versions of the stylesheets, so i'm going to switch to 0.92b because it can use the same input as xep :-) at it seems working... without fonts ;-) Dirk Jeremias Maerki wrote: FOP can't find MyFont.xml. Maybe the file isn't there, or the base directory is not correct or something like that. On 28.04.2006 17:19:43 Dirk Bromberg wrote: Hi all, with the 0.92 release i'get this error: java.lang.RuntimeException: Cannot load font: failed to create Source from metrics file MyFont.xml at org.apache.fop.fonts.LazyFont.load(LazyFont.java:75) at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:183) at org.apache.fop.fonts.Font.getAscender(Font.java:66) with 0.20.5 it works ... where can i search? the metrics it generated with "-enc ansi" from an ttf font file. 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]
vertical-align 50% does not work?
Hi all, ... does result as: ERROR org.apache.fop.fo.PropertyList - No conversion defined 50%; property:'vertical-align' but the website: http://xmlgraphics.apache.org/fop/compliance.html#fo-property-vertical-align says: Trunk: yes I'm using 0.92 release. Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error while creating font metric file
You shoud you use some like: java -cp build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.1.jar org.apache.fop.fonts.apps.TTFReader ?? the jars have version numbers in... Dirk kralik wrote: Hi, I am trying to create font metrics file for FOP Trunk. I use the following command: java org.apache.fop.fonts.apps.TTFReader C:\myfont\times.ttf C:\FopTrunk\conf\my_new_font.xml In my CLASSPATH I have: C:\FopTrunk\build\fop.jar;C:\FopTrunk\lib\avalon-framework.jar;C:\FopTrunk\lib\xml-apis.jar;C:\FopTrunk\lib\xercesImpl.jar;C:\FopTrunk\lib\xalan.jar and C:\myfont\times.ttf exists. I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:109) Where can be problem? And is there any possibility then to copy text from PDF? Thanks, Pavel Tyl -- View this message in context: http://www.nabble.com/Error-while-creating-font-metric-file-t1563275.html#a4245353 Sent from the FOP - Users forum at Nabble.com. - 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: vertical-align 50% does not work?
It is working. Thanks. Dirk Manuel Mall wrote: On Friday 05 May 2006 15:45, Dirk Bromberg wrote: Hi all, ... does result as: ERROR org.apache.fop.fo.PropertyList - No conversion defined 50%; property:'vertical-align' but the website: http://xmlgraphics.apache.org/fop/compliance.html#fo-property-vertica l-align says: Trunk: yes I'm using 0.92 release. Had a quick look at the code and the vertical-align shorthand expansion does indeed not support percentages. You could try to use the expanded properties instead (see XSL-FO spec 7.29.22). In this particular case vertical-align="50%" is suppose to be expanded into: alignment-baseline="baseline" alignment-adjust="50%" baseline=shift="baseline" dominant-baseline="auto" This actually means under 'usual circumstances' vertical-align="50%" is equivalent to alignment-adjust="50%". So try that and let us know if it fixed it. Thanks Dirk Manuel - 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: vertical-align 50% does not work?
Now I've seen that on XEP there is a property to aviod the shift of the "normal text" when there is a piec of "super text" (Line gets heigher...) |* <http://www.stylusstudio.com/api/fop-0.20.5/org/apache/fop/fo/properties/DominantBaseline.htm#NO_CHANGE>*|line-stacking-strategy="max-height" line-height-shift-adjustment="disregard-shifts" is there a way to get some text as "super text 50%" and not increase the line-height and align of the other text...? Thanks Dirk Dirk Bromberg wrote: It is working. Thanks. Dirk Manuel Mall wrote: On Friday 05 May 2006 15:45, Dirk Bromberg wrote: Hi all, ... does result as: ERROR org.apache.fop.fo.PropertyList - No conversion defined 50%; property:'vertical-align' but the website: http://xmlgraphics.apache.org/fop/compliance.html#fo-property-vertica l-align says: Trunk: yes I'm using 0.92 release. Had a quick look at the code and the vertical-align shorthand expansion does indeed not support percentages. You could try to use the expanded properties instead (see XSL-FO spec 7.29.22). In this particular case vertical-align="50%" is suppose to be expanded into: alignment-baseline="baseline" alignment-adjust="50%" baseline=shift="baseline" dominant-baseline="auto" This actually means under 'usual circumstances' vertical-align="50%" is equivalent to alignment-adjust="50%". So try that and let us know if it fixed it. Thanks Dirk Manuel - 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: vertical-align 50% does not work?
Manuel Mall wrote: On Friday 05 May 2006 20:09, Dirk Bromberg wrote: Now I've seen that on XEP there is a property to aviod the shift of the "normal text" when there is a piec of "super text" (Line gets heigher...) |* <http://www.stylusstudio.com/api/fop-0.20.5/org/apache/fop/fo/propert ies/DominantBaseline.htm#NO_CHANGE>*|line-stacking-strategy="max-heigh t" line-height-shift-adjustment="disregard-shifts" is there a way to get some text as "super text 50%" and not increase the line-height and align of the other text...? line-height-shift-adjustment is not yet implemented. Actually as far as I can recall you are the first one mentioning this property on this list. However, I believe setting line-stacking-strategy="font-height" on the enclosing block may do the trick depending on the complexity of what you doing. Yes, that's it :-) Thanks! Dirk Thanks Dirk Manuel - 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: Read only PDF with fop
Have a look at the samplecode at: Usage (embedded) or here inline: Lukem wrote: Thank you very much This is my code: ByteArrayOutputStream BAout = new ByteArrayOutputStream(); org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); driver.setRenderer(org.apache.fop.apps.Driver.RENDER_PDF); driver.setOutputStream(BAout); this should work: Map rendererOptions = new java.util.HashMap(); rendererOptions.put("ownerPassword", "mypassword"); rendererOptions.put("allowCopyContent", "FALSE"); rendererOptions.put("allowEditContent", "FALSE"); rendererOptions.put("allowPrint", "FALSE"); driver.getRenderer().setOptions(rendererOptions); Dirk driver.render(input.getParser(), input.getInputSource()); File outputFile = new File(filenamePDF); FileOutputStream outFileWriter = new FileOutputStream(filenamePDF); byte[] content = BAout.toByteArray(); outFileWriter.write(content); outFileWriter.flush(); outFileWriter.close(); How can I integrate with the code of the page you redirect me? thanks -- View this message in context: http://www.nabble.com/Read-only-PDF-with-fop-t1627655.html#a4410423 Sent from the FOP - Users forum at Nabble.com. - 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: Read only PDF with fop
Please read the section Environment ... at http://xmlgraphics.apache.org/fop/0.20.5/pdfencryption.html Lukem wrote: sorry, it was my mistake. this is the real error: Algorithm RC4 not available -- View this message in context: http://www.nabble.com/Read-only-PDF-with-fop-t1627655.html#a4411290 Sent from the FOP - Users forum at Nabble.com. - 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]
space-after at 0.92b
Hi all, when i need some space after some fo elements i set a space-after="x mm" to these elements. but at 0.92b there are no spaces in output. (like http://xmlgraphics.apache.org/fop/compliance.html#fo-property-space-after says...) so i use margin-bottom="x mm". is this a good workaround? is there a better one? Thanks. Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SoftHyphen
Hi, i wants to have a resolution for this scenario: I've a long word "thisismyword" and it is in two cells with hyphen on. 1. Now, in the first cell the word fits and all is fine. 2. The word does not fit in the second cell and the hyphen breaks -> all is fine. I've no chance to enable or disable the hyphen (must always be enabled). In the second cell i want to force the hyphen mechanism to break the word at a special char. Can i use the soft-hyphens like the "U+00AD" for this, like thisis(U+00AD)myword? Is the priority for this soft hyphen higher as for the hyphen pattern from the hyphen-file? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SoftHyphen
Hi, i wants to have a resolution for this scenario: I've a long word "thisismyword" and it is in two cells with hyphen on. 1. Now, in the first cell the word fits and all is fine. 2. The word does not fit in the second cell and the hyphen breaks -> all is fine. I've no chance to enable or disable the hyphen (must always be enabled). In the second cell i want to force the hyphen mechanism to break the word at a special char. Can i use the soft-hyphens like the "U+00AD" for this, like thisis(U+00AD)myword? Is the priority for this soft hyphen higher as for the hyphen pattern from the hyphen-file? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: SoftHyphen
Thanks for answers. I'll try both ways to choose the best :-) Dirk Beat Pfister wrote: Hi, i wants to have a resolution for this scenario: I've a long word "thisismyword" and it is in two cells with hyphen on. 1. Now, in the first cell the word fits and all is fine. 2. The word does not fit in the second cell and the hyphen breaks -> all is fine. I've no chance to enable or disable the hyphen (must always be enabled). In the second cell i want to force the hyphen mechanism to break the word at a special char. Can i use the soft-hyphens like the "U+00AD" for this, like thisis(U+00AD)myword? Is the priority for this soft hyphen higher as for the hyphen pattern from the hyphen-file? To force the hypen mechnism to break the word at a spcific 'place' you can define an exception in the hyphen-file. Example: Thisis-myword Beat Pfister Thanks Dirk - 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: rotating text in table cell
In fop 0.92 it works. Which version do you use? lucky schrieb: Hi All, I'm trying to use the reference-orientation attribute to rotate the text in a table cell, my xsl looks something like this: Last Name However, this doesn't seem to be working, once I added the reference-orientation attribute in, the "Last Name" text disappeared from the PDF output. Any ideas why this could be? Is reference-orientation supported in FOP? Is there another way I can accomplish what I'm trying to do here? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]