Re: CYMK
In a press project that i did a few years ago, i just used some special RGB colors on the fop part, and then post-processed the to transform all colors to CMYK. The rgb colors where those that when mapped to CMYK would return the correct % in one of the channels. At the press, they would then transform that channel to a pantone color with the same % (yes another post processing but alas, it worked like a charm). The program we used was PDF enhancer (the free, trial version actually, at least during the tests, I hope the client brought a full version, but anyway that is not my problem any more hehehe). We had to turn off any and all optimizations because mostly they would wreck the fonts in the pdf, but anyway we where using FOP 0.94 if I recall correctly... ;) p.s.- our problem where not only block colors, but also font colors... the conversion sorted it out, even if the pdf would exit fop kind of blueish... Iain Downs wrote: Just wanted to thank you and Jeremias for your suggestion. It seems to work fine (no crashes!), though I've not yet heard back from the press people... Iain *From:* Peter Coppens [mailto:[EMAIL PROTECTED] *Sent:* 05 December 2008 09:43 *To:* fop-users@xmlgraphics.apache.org *Subject:* Re: CYMK Wellif it is just rectangles I think you should be able to do that without svg. In that case you should be able to get away with fop's cmyk support. E.g. This seems to 'work' fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=pm page-height=10cm page-width=10cm fo:region-body/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=pm fo:flow flow-name=xsl-region-body fo:block-container absolute-position=fixed top=2cm left=2cm width=1cm height=1cm background-color=cmyk(1,0,0,0) fo:block/fo:block /fo:block-container fo:block-container absolute-position=fixed top=2cm left=3cm width=1cm height=1cm background-color=cmyk(0,1,0,0) fo:block/fo:block /fo:block-container fo:block-container absolute-position=fixed top=2cm left=4cm width=1cm height=1cm background-color=cmyk(0,0,1,0) fo:block/fo:block /fo:block-container fo:block-container absolute-position=fixed top=2cm left=5cm width=1cm height=1cm background-color=cmyk(0,0,0,1) fo:block/fo:block /fo:block-container /fo:flow /fo:page-sequence /fo:root Hth, Peter *From: *Iain Downs [EMAIL PROTECTED] *Reply-To: *fop-users@xmlgraphics.apache.org *Date: *Fri, 5 Dec 2008 09:20:53 - *To: *fop-users@xmlgraphics.apache.org *Subject: *RE: CYMK Hey, Peter. Thanks for this. Perhaps I could phrase my question more broadly. I have a need to create some pdf files for colour printing purposes. Each page will contain nothing but square blocks in one of two colours - no overlap. The printer requires that these colours are separable onto different plates so they must be either spot colours or 100% C Y M or K from the C Y M K palette. Ignoring (or not) FOP/SVG and other things, what is the easiest way of generating these files. I was reasonably expert in pdf and ps 15 years ago, but I've pretty much forgotten it all. so something fairly noddy (simple to understand and implement) would be ideal! Iain *From:* Peter Coppens [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Sent:* 05 December 2008 09:01 *To:* fop-users@xmlgraphics.apache.org *Subject:* Re: CYMK Don't think batik/svg supports cmyk Also see http://markmail.org/message/ogvc4we6n347vjvt?q=batik+cmyk Hth, Peter *From: *Iain Downs [EMAIL PROTECTED] *Reply-To: *fop-users@xmlgraphics.apache.org *Date: *Fri, 5 Dec 2008 08:12:50 - *To: *FOP MAILLIST fop-users@xmlgraphics.apache.org *Subject: *CYMK Hi, Guys. I'm (still) trying to produce a simple 'camera ready copy' with separable colours. I'm now trying to do this by using specifying my two colours to be Cyan and Magenta with the resulting CMYK in PDF files hopefully being separable. My chain is XSL-FO with embedded SVG - fop (0.95) - PDF. The problem is that magenta in the resulting PDF file actually contains some cyan and the cyan contains some yellow. So I appear to need to specify CMYK directly in the XSL-FO/SVG. The problem is that although 'fill=rgb(255,0,0)' seems to work ok 'fill=cmyk(100%, 0%, 0%,0%)' throws an exception (something about functions not being allowed) svg:rect x=0.5mm y=0.5mm width=5mm height=5mm fill=cmyk(100%, 0%, 0%, 0%) / There's an indication in the archives (http://fop.markmail.org/message/hoz4sp4l3imabkn5?q=spot+colors) http://fop.markmail.org/message/hoz4sp4l3imabkn5?q=spot+colors%29 that something of this sort should work in FOP proper
Re: Memory issues
You need patience... It will end up. For start, split the build in two steps... from xml to fo, and the from fo to pdf... That will allow for a break in the process alliviating it a bit. Then you need patience, because the fo will take it's time to process. In my case, i had smaller fo, but with bigger footprints... (and i had some of the files to take 20 or 30 minuts to process). Also there are stuff that takes a toll in performance. References mainly, from page to page. WTB lightweight reference keeping between pages... ;) Richard Forrester wrote: Hello, I have FOP 0.94 and I am running into some issues with Memory. I have a rather large XML file.. 2.5 MB. when I try to create a PDF from this file my memory usage spikes up to 700 MB when it starts converting. However it seems to stay there between 600 and 700 MB almost like it's frozen. I've waited 5 to10 minutes to see if it would finish, but never seems to. Is there something I can do to fix this memory usage issue and make it more manageable? Thank You! Richard C. Forrester IV IBM Global Sales Manual Technical Lead/Analyst/Developer Email : [EMAIL PROTECTED] Phone : (303) 596-5572 or (303) 924-6066 T/L : 8-263-6066 Fax: (303) 924-7616 Fax T/L : 8-263-7616 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Memory issues
Jean-François El Fouly wrote: Yes, it's so much easier right now than it has been :-) Well, at the time frame i had for the project, simply split the document to smaller chunks was the fastest way to accomplish chapter PDF's... But it was done with 0.94 i think... I may end up redo some testing pages just to check this out currently ;) (currently I'm more of a listener of the list, and keeping a svn tree updated locally just in case I need FOP again) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validate the integrity of the PDF
The first thing that occurred to me was some sort of pdf text extract... If it fails due to badly formed pdf on the previous step, then probably its because the file is corrupt. Check for instance: http://www.a-pdf.com/text/ Prolly there are tools like this for linux/korn shell compatible... H2HH :) Steffanina, Jeff wrote: FOP-0.95 Redhat Linux All output looks great. Situation: IF the XML file contains a bug, a PDF is still created. Therefore, I end up with a badly formed PDF on the disk. I then pass this bad file to the spooler and the PDF file hangs the spooler. Due to the multiple levels of system calls I am making in the application, I am unable to trap the error (in this case, an fop ValidationException error). Question: When woking in the Korn shell, is there a simple way to test/determine that the PDF file generated is properly formed and functional? Thanks. */Jeff/*
Footprint with new JRE (beta)
Has anyone tried to check how is the footprint of FOP with the new atomic beta JRE? I'm curious regarding the feasibility of adding FOP as an applet within a RIA/web distributed environment (with JavaFX for the RIA part)... Cheers, Kindaian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: alpha transparency in XML-defined color?
Hi Jeremias, thanks, what you suggest as a workaround does indeed work with SVG and .png that both support opacity attributes. Is there any idea on whether alpha values for background will be supported by FOP in the near future? all the best, Jeremias Maerki-2 wrote: XSL-FO, for one, doesn't support specifying alpha values for background colors. That would have to be done through extension attributes or functions. At the moment, FOP does not support that, except if you use an SVG graphic as background image where you can use fill-/stroke-opacity. I haven't checked that approach but it should work. HTH On 18.06.2008 14:11:42 Vangelis Karageorgos wrote: Hi everybody, a question we've come up with is whether FOP supports alpha transparency in, say, a block's background color. We have checked out the .png transparency that has been working fine, yet we're considering whether we could attempt similar transparency effects with nested blocks of different background colors including alpha transparency. thanks in advance, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/alpha-transparency-in-XML-defined-color--tp17981400p18153300.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: best format for high speed printing
Is there an efficient file format available that is much faster, and still allows me to control duplexing and tray selection per page? Some high end printers have special markings and language (with barcodes) that you can use outside the printing area to control the way the printing on that page is handled. I've seen it used in conjugation with printing-folding and enveloping systems (but can't be more precise because never used one, only watched the systems working on expos). As for optimization, one thing that i noticed is if you have loads of citation references, the document production takes an huge time more to be produced. And I'm only referring to fo-pdf production mind. For further optimization you can also decouple the xml-xslt-fo and fo-output production. Passing from a 32bit to full flagged 64bit environment may also allow further improvements (and break the Java limitation on the memory allocation that happens in all 32bit applications). In 32bit environment with 4gb ram on the machine, I wasn't able to use more then 1.2Gb ram in Java. The project I was involved is a book with more then 5k pages with extensive use of page references to produce automatically indexes. To be able to render the book it was needed to split the book in chapters and produce an index for each of the chapter. Not a nice hack, but it worked. Hope to have been of help, Cheers, Luís Ferro
Re: Font Recognition in FOP 0.20.4
I never touched 0.20.4, only the 0.20.5, but i remember that to make my fonts to work out, i needed to place the paths in the config file by hand, and explicitly to all files. And also, i was adding the config from java (well, php but running as if it was java), and i had to use also the full path to make it work... ;) p.s.- i would recomend an upgrade to the latest version, but... i still remember the pain i had to upgrade my project from 0.20.5 to 0.94... some years ago ;) Rakesh Kumar S escreveu: The way my application works is that i get a XML file, use XSL:FO and FOP to convert the XML into PDF. I dont use command line here I am sure i am making a mistake bby changing the userconfig.xml inside the fop jar directly but am not sure what's the right way of doing it Can anyone guide me ___ I don't if this can work. In my application I use a adapted conf file. To tell this to the fop processor I use command line parameter -c. Regards Stefan ___ From: Rakesh Kumar S Sent: Friday, May 16, 2008 7:49 PM To: fop-users@xmlgraphics.apache.org Subject: RE: Font Recognition in FOP 0.20.4 No luck mate Tell me this, We have the FOP jar and inside that we have the conf/userconfig.xml, i unzip this file and change the XML. Then i zip it back and run the application Is this the right approach Rakesh Kumar S schrieb: font metrics-file=file:C:/arial.xml kerning=yes embed-file=file:C:/arial.ttf font-triplet name=arial style=normal weight=normal/ /font The URL to your file doesn't seem correct. Test a little bit, like: - file://C:\arial.xml (should be most correct URL specification, but doesn't work every time) or - C:\arial.xml or - C:/arial.xml [ERROR] : unknown font arail,normal,normal defaulting to any A Typo?: arail Regards Stefan From: Rakesh Kumar S [EMAIL PROTECTED] Sent: Friday, May 16, 2008 7:05 PM To: fop-users@xmlgraphics.apache.org Subject: Font Recognition in FOP 0.20.4 Hi I am using fop version 0.20.4, i am a new bee in this arena. I want to use arial font in my PDF, I had made a post earlier in this mailing group and based on that i had referred a URL and had done the following steps. 1. I created a arial.xml file pointing to the arial.ttf file in my system using the following command. java -cp fop.jar;avalon-framework.jar;xml-apis.jar;xercesImpl.jar;xalan.jar org.apache.fop.fonts.apps.TTFReader C:\WINDOWS\fonts\arial.ttf arial.xml 2. Then i unzip my FOP jar file and change the userconfig.xml ( I doubt if i am doing something wrong here) 3. The changed entries in userconfig are below : font metrics-file=file:C:/arial.xml kerning=yes embed-file=file:C:/arial.ttf font-triplet name=arial style=normal weight=normal/ /font 4. Now i place both the ttf and the xml files in the corresponding locations and unzip the fop folder back. 5. Now i place the FOP jar in the necessary location and run my application, i still get a error stating that [ERROR] : unknown font arail,normal,normal defaulting to any. What is the mistake i am doing??? Could someone please help me in sorting out this??? I know that there are many new version of FOP but i am helpless i have to stick to 0.20.4. I know i am doing some basic mistake, please guide me. Thanks in Advance Rakesh CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - 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] ?xml version=1.0? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses
Re: Help Needed in XSL:FO
Ok... we can make some suggestions if you point out exactly what happens in the original and what happens in your version. And preferibly, provide the part of the sources (feel free to use xx to replace the content) of your version. This way, loads of people can provide you with help... without being specific... it's hard. Cheers... ;) Rakesh Kumar S escreveu: Hi I have created a PDF thats very very close, but the point is all the alignments stuff and all. Can you give me some suggestions. Regards, Rakesh Kumar S___ From: paul womack [EMAIL PROTECTED] Sent: Thursday, May 15, 2008 4:58 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Help Needed in XSL:FO Rakesh Kumar S wrote: Hi I am using XSL:FO to render PDF documents from XML File. Now i have a requirement where i have to exactly replicate a PDf file for which i dont have the XSL:FO. I had given them a version using my XSL:FO that is close but they want 100%. They are looking for 100% replication, I am a fresher in this arena of XSL:FO and i am not confident if i would be able to replicate it to 100%. Could somebody give me some ideas as to how it can be done. It can't be done; if the target PDF exhibits features that fop (or xsl-fo) doesn't support, you're dead in the water. e.g. a PDF from a specialist GIS package. BugBear - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xml file with html code inside. How to make xml - FOP - pdf
Ok... I had a worse problem with the project i was involved... I had to clean-up from MSOffice html to produce nice xml that would be eaten up by fop. The issue was simply sorted with the use of tons of regexp, coupled with the use of tidy to convert the html to xml compliant html and then the final fase of transform to fo (i opted for doing it by hand, but xslt can also be used after you have a compliant xml). I opted not to use xslt because of the ton of exceptions that MSOffice trash inserted into the html. And my cleanup system had more then 500 lines of code! Full of regexps, replaces and the like. My main problems where: a) tags intermingled in the wrong order like b i / b / i (tidy) b) tags without start/end br l i (replaces) c) uncompreensible stuff: all the css and meta tags MSOffice likes so much (regexp and replaces) d) strange characters: unicode entities not declared, characters that break xml (regexp and replaces) To conclude, yes, it was a work intensive task, but in the end, i had a clean html, with the formatings i needed to keep and those that i didn't needed removed. And when you have 5k pages of text to review, you don't go and tell the client: correct the text and try again... You do something to cleanup the problems (the great majority of them at least). In the example you provided the following will break xml: TitleNa zolotom krylapos;ce sideli/Title Most of the regexp and replaces i had to use was to replace stuff like that with the xml compliant ones (and/or define stuff as entity). So, good luck on the project... and hope i was of some help... LF P.S.- it was all done with php/tidy/javabridge/tomcat/fop btw and if you want an advice, twick the editor to allow only the stuff you need and try to use tidy for the rest, prolly you can sort out all the problems that way. Tatiyana escreveu: Dear All, Two months ago fop was completely new area for me but with great help of this forum I got our web application to use FOP transformation (xml - xsl - pdf) to make pdf summary form for users. Users were filling information fields and getting standard summary form in pdf format as a one of the results. Now users are allowed to edit some of the text fields using tiny-mce editor and because of it our xml file ended up having some parts with html code inside. Could somebody please help me to figure out what changes need to be done in the xml or xsl files to recognize html elements in xml file and show them in the pdf form properly? I am using fop-0.94, jdk1.5.0. I am attaching the part of xsl file and xml file. The Title and Description elements of the Public Service node and International Service node will have html code inside. Thank you. http://www.nabble.com/file/p17214471/xsl_file.xsl.doc xsl_file.xsl.doc http://www.nabble.com/file/p17214471/xml_file.xml.doc xml_file.xml.doc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page bottom padding
Some time ago I had a similar requirement. May happen it is the same. I have blocks in the format This is what I was getting: top of page | X -block one | X -block two | X - block three | | bottom of page This is what I wanted it to happen: top of page |X -block one | |X -block two | |X -block three bottom of the page I think what I'm looking can be called vertical-justify. And is something very useful to make layouts like yellow pages and the like (lots of small blocks of text, spread on several columns in the page, justified to the top and bottom of the page). I think that at the time, a management of the paddings and padding conditions would manage the wanted effect. [there was another issue regarding space management but that isn't the issue here hehehe] Cheers, Kindaian Jeremias Maerki escreveu: Not sure I understand you correctly. There are various way to generate padding at the page bottom: - margin-bottom on fo:simple-page-master - margin-bottom on fo:region-body - Enclose all your content in an fo:block and specify: padding-after=2cm padding-after.conditionality=retain Depends on what effect you need exactly. HTH On 02.05.2008 21:39:24 Vangelis Karageorgos wrote: Hi everybody, there's a question we've been confronted with during our development process using FOP. Is page bottom padding possible to materialize in FOP, while constructing a layout with several columns and flow from one onto another? Thanks in advance, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page bottom padding
Vincent Hennebert escreveu: Hi, kindaian a écrit : Some time ago I had a similar requirement. May happen it is the same. I have blocks in the format This is what I was getting: top of page | X -block one | X -block two | X - block three | | bottom of page This is what I wanted it to happen: top of page |X -block one | |X -block two | |X -block three bottom of the page I think what I'm looking can be called vertical-justify. And is something very useful to make layouts like yellow pages and the like (lots of small blocks of text, spread on several columns in the page, justified to the top and bottom of the page). There’s no need for a vertical-justify setting to achieve this. You can just specify elastic spaces between the blocks: fo:block space-after.minimum=0 space-after.optimum=0 space-after.maximum=30ptblock one/fo:block etc. FOP will use the amount of stretchable whitespace that’s avaialable to “justify” the content on the page. But I think that Vangelis’ requirement was to make visible the amount of whitespace left at the bottom of a column by the layout algorithm, when no elastic space is available. In which case I’m afraid I can’t think of any FO construction to achieve that. But maybe you will find the above hint useful, after all. There is a simple trick... |--| |||| || block 1 || |||| |||| || block 2 || |||| |||| || block 3 || |||| | | | unused space| |--| Just add a colored background in the table column. And add the indented-normal colour in background of each block. Some actual tests may be needed to check if this trick would do the expected result. The result will be that the unused space will appear coloured. Is this what you need Vangelis? Cheers ;) p.s.- this could be used to pre-render and ascertain block dimensions in a pdf engine, naturally, different output targets would generate different results (I've to think about this, because this gives me some interesting ideas). p.s.- and thank you for the tip on the elastic spacing... Jeremias Maerki escreveu: Not sure I understand you correctly. There are various way to generate padding at the page bottom: - margin-bottom on fo:simple-page-master - margin-bottom on fo:region-body - Enclose all your content in an fo:block and specify: padding-after=2cm padding-after.conditionality=retain Depends on what effect you need exactly. HTH On 02.05.2008 21:39:24 Vangelis Karageorgos wrote: Hi everybody, there's a question we've been confronted with during our development process using FOP. Is page bottom padding possible to materialize in FOP, while constructing a layout with several columns and flow from one onto another? Thanks in advance, HTH, Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem rendering .pdf with certain fonts (135)
Jeremias Maerki-2 wrote: I cannot reproduce the problem. It works fine with Acrobat 8. On the net I found references that this could be a bug in Acrobat 5 and/or 6. Some also mention it has to do with images embedded in the PDF. What Acrobat version are you working with? 135 is an error code which is described nowhere so it's difficult in the first place to know exactly what's wrong. My best guess is that it's really a bug in some Acrobat version. It wouldn't be the first. By far. We are using adobe reader 8 (the latest release) and get the problem, and the latest release of Foxit Reader (2.2.) where everything shows up fine. It does look like an adobe reader bug after all, since after extensive trial and error with different fonts, we failed to reproduce the problem on the Foxit pdf viewer. Some reports mention the possibility that the bug may be due to part of the text having hyperlink attributes, any ideas/comments on that? Any possible workarounds as well? thx, -- View this message in context: http://www.nabble.com/problem-rendering-.pdf-with-certain-fonts-%22%28135%29%22-tp15051331p15060913.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem rendering .pdf with certain fonts (135)
Hi everyone, we are facing a problem rendering a .pdf when using certain .ttf files, of e.g. Times New Roman font, or TrebuchetMS. Specifically, we get the following message: There was an error processing a page. There was a problem reading this document (135). When we change the font-face into something else, like e.g. Arial, Georgia etc., everything works fine and we get our .pdf rendered without any problem. We have the problem with both fop-0.93 and fop-0.94, on different installations (on different machines). The fonts we have the problem with, do not have embedding restrictions and no errors have been reported for any of them during the metrics creations process (pasted below). Any help/ideas would be greatly appreciated! -- Parsing font... Reading C:\server\fop-fonts\poster\win\times.ttf... Font Family: Times New Roman Creating xml font file... Creating CID encoded metrics... Writing xml font file C:\server\fop-fonts\poster\win\times.xml... This font contains no embedding license restrictions. XML font metrics file successfully created. -- -- View this message in context: http://www.nabble.com/problem-rendering-.pdf-with-certain-fonts-%22%28135%29%22-tp15051331p15051331.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem rendering .pdf with certain fonts (135)
I should add that we face this problem only on Adobe Reader. Trying the same with other .pdf viewers, like e.g. Foxit Reader, creates a .pdf without any problem. -- View this message in context: http://www.nabble.com/problem-rendering-.pdf-with-certain-fonts-%22%28135%29%22-tp15051331p15052984.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
swing to JSP
Hi all Is it FOP usefull for converting SWING GUI into HTML? -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multi-page pdf from swing Jcomponents
I've big troubles trying to stream large JComponents into a multi-page pdf. Watching other threads I learn there's no way to make this in a simple way; what's the best way to solve my problem? I want to make photoes of my JPanels, with the ability to split them over multi-pages, without page break JPanel's child components. I need to override paintComponent() and related methods, or just fop give me some other useful instruments? Could an intermediate SVG encoding step help me for this porpouse? Best regards, Fabio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-sequence and memory useage
Thank you for your replay, but I still need some info: 1) how can I help you? 2) there is something planned about the unlimited page-sequence problem? Best regards, Giorgio Jeremias Maerki wrote: The goal defined back then is still valid, but so far functionality was more important than handling large documents. If this is very very very important to you, then please consider allocating resources to help us implement it. This is open source; everybody can help. On 12.05.2006 18:03:55 Giorgio [EMAIL PROTECTED] wrote: BTW, I found a very old topic discussed on the fop-dev list (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200305.mbox/[EMAIL PROTECTED]) about possibility of arbitrary size page-sequence. Anyone know a fallow up of this? There is a planned release of this very very very important fix? Giorgio [EMAIL PROTECTED] wrote: I have a quite big fo file generated programmatically in this way: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master page-height=210mm page-width=297mm margin=10mm 2mm 2mm 2mm master-name=PageMaster fo:region-before region-name=header extent=15mm display-align=before/ fo:region-body margin=10mm 3mm 3mm 3mm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence initial-page-number=1 master-reference=PageMaster fo:static-content flow-name=header fo:block font-size=8pt text-align=center something /fo:block fo:block font-size=8pt text-align=center Anno: 2005 / Pagina: fo:page-number/ /fo:block /fo:static-content fo:flow flow-name=xsl-region-body lot's of things feeded via java trough a loop /fo:flow /fo:page-sequence /fo:root I need to generate a PDF file of about 1500 - 2000 pages but I got OutOfMemory (even If I use a large amount (more than 350 Mb) of it). I red about use more than one page-sequence but I can't split it in pages by my own hands because I dunno after how many iterations The document reach the end of a page. thanks in advance, best regrds Giorgio 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: page-sequence and memory usage
Jeremias Maerki wrote: That's where it gets tricky, at least for this particular issue. Supporting large documents will take some rather extensive changes in the layout engine: - Introduction of a first-fit page breaking algorithm which is selected on demand. etc... Thank you for the explanation. We can point anyone willing to dive in to the right spots in the code and the right book to read. Where can I find more documentation about FOP's architecture? As an alternative you can find someone who will implement the above for you. There are some people on this list who might be available for that. How can I ask for this people's help? I am sorry If I could seem obnoxious about this problem but I think that a solution to the problem of the page-squence would be helpful for all the people who choosed FOP, not only for me. Thank you very much, Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-sequence and memory useage
Thank you very much for your reply. I think it could be very useful to write it in the documentation as a disclaimer. I mean FOP is a beatiful project. Lots of people, like my company, would choose it as a component of thier application in production environment but I think that warn them about the fact that there are no way to use it with more then ca 50-100 pages BEFORE they start using it would be very appreciated. Anyway, keep up your very good work and thank you very much. Regards Giorgio Jeremias Maerki wrote: In this case, you have a problem with FOP. Splitting the document into multiple page-sequences is the only current work-around (except increasing the available memory). You will have to find a way to manually determine where you need to break a page. The only other option is to allocate resources to the FOP project and help us improve handling of large volumes. On 11.05.2006 17:35:08 Giorgio [EMAIL PROTECTED] wrote: I have a quite big fo file generated programmatically in this way: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master page-height=210mm page-width=297mm margin=10mm 2mm 2mm 2mm master-name=PageMaster fo:region-before region-name=header extent=15mm display-align=before/ fo:region-body margin=10mm 3mm 3mm 3mm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence initial-page-number=1 master-reference=PageMaster fo:static-content flow-name=header fo:block font-size=8pt text-align=center something /fo:block fo:block font-size=8pt text-align=center Anno: 2005 / Pagina: fo:page-number/ /fo:block /fo:static-content fo:flow flow-name=xsl-region-body lot's of things feeded via java trough a loop /fo:flow /fo:page-sequence /fo:root I need to generate a PDF file of about 1500 - 2000 pages but I got OutOfMemory (even If I use a large amount (more than 350 Mb) of it). I red about use more than one page-sequence but I can't split it in pages by my own hands because I dunno after how many iterations The document reach the end of a page. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dott. Giorgio Mannelli Eastway CMC Studios via della Cernaia, 20 50129 Firenze tel: 0555158287 mob: 3496752669 www.eastway.it begin:vcard fn:dott. Giorgio Mannelli n:Mannelli;Giorgio org:Eastway CMC Studios adr;dom:;;Via della Cernaia, 20;Firenze;;50129 email;internet:[EMAIL PROTECTED] tel;work:+390555158287 tel;cell:3495267669 url:http://www.eastway.it version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-sequence and memory useage
I do not agree with these values. I use FOP dayly to generate 100-250 pages documents with forward references (TOC at beginning) without memory problem (with FOP 0.20.5). We writes documents that can be easily splitted in short page-sequences (1-6 pages). This is a very good news for me, Pascal. My question is, how do you split your document? I mean, I think page-squence tag is made to solve the splitting document in pages problem but if there are better ways that doesn't consume large amount of memory I will be very glad to learn these. BTW, there are no examples in the FOP documentation on that task. Thank you very much ciao Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : page-sequence and memory useage
Hi, what if you don't know about the final lenght (in the PDF I mean) of Data set 1,2 and3? What if you want all the PDF pages with the same lengh except the last one? I thought the solution was to put all stuf in the same page-sequence as described in W3C raccomandation for FO (http://www.w3.org/TR/xsl/slice6.html#fo-section) but I didn't know that it could cost about 2 MB of ram per page... to much for me Foucault, Sebastien wrote: Hello, We encountered similar issues a long time ago. Because of the irregular structure of the page breaks, we used an approach based on SAX filters (quite complex) located just before the FOP ContentHandler aiming at transforming page-break into page sequences. The SAX filter approach allowed us to keep low memory consumption. eg. doc page-sequence Data set 1 break/ Data set 2 break/ Data set 3 /page-sequence /doc transformed by SAX filters into : doc page-sequence Data set 1 /page-sequence page-sequence Data set 2 /page-sequence page-sequence Data set 3 /page-sequence /doc Regards -- Sébastien FOUCAULT -Message d'origine- De : Pascal Sancho [mailto:[EMAIL PROTECTED] Envoyé : vendredi 12 mai 2006 12:00 À : fop-users@xmlgraphics.apache.org Objet : RE: page-sequence and memory useage -Original Message- From: Giorgio [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I do not agree with these values. I use FOP dayly to generate 100-250 pages documents with forward references (TOC at beginning) without memory problem (with FOP 0.20.5). We writes documents that can be easily splitted in short page-sequences (1-6 pages). This is a very good news for me, Pascal. My question is, how do you split your document? I mean, I think page-squence tag is made to solve the splitting document in pages problem but if there are better ways that doesn't consume large amount of memory I will be very glad to learn these. BTW, there are no examples in the FOP documentation on that task. We use a writting method that allows to cut heavy documents in short sequences. So, each sequence is titled and we can insert a page-break before title. It's especially an analytic approach, not a physical process, that consists in structuring and mapping the information. Since it is out of topic in this list, you can directly email me [EMAIL PROTECTED] for more information. 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: page-sequence and memory useage
BTW, I found a very old topic discussed on the fop-dev list (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200305.mbox/[EMAIL PROTECTED]) about possibility of arbitrary size page-sequence. Anyone know a fallow up of this? There is a planned release of this very very very important fix? Giorgio [EMAIL PROTECTED] wrote: I have a quite big fo file generated programmatically in this way: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master page-height=210mm page-width=297mm margin=10mm 2mm 2mm 2mm master-name=PageMaster fo:region-before region-name=header extent=15mm display-align=before/ fo:region-body margin=10mm 3mm 3mm 3mm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence initial-page-number=1 master-reference=PageMaster fo:static-content flow-name=header fo:block font-size=8pt text-align=center something /fo:block fo:block font-size=8pt text-align=center Anno: 2005 / Pagina: fo:page-number/ /fo:block /fo:static-content fo:flow flow-name=xsl-region-body lot's of things feeded via java trough a loop /fo:flow /fo:page-sequence /fo:root I need to generate a PDF file of about 1500 - 2000 pages but I got OutOfMemory (even If I use a large amount (more than 350 Mb) of it). I red about use more than one page-sequence but I can't split it in pages by my own hands because I dunno after how many iterations The document reach the end of a page. thanks in advance, best regrds Giorgio - 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]
page-sequence and memory useage
I have a quite big fo file generated programmatically in this way: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master page-height=210mm page-width=297mm margin=10mm 2mm 2mm 2mm master-name=PageMaster fo:region-before region-name=header extent=15mm display-align=before/ fo:region-body margin=10mm 3mm 3mm 3mm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence initial-page-number=1 master-reference=PageMaster fo:static-content flow-name=header fo:block font-size=8pt text-align=center something /fo:block fo:block font-size=8pt text-align=center Anno: 2005 / Pagina: fo:page-number/ /fo:block /fo:static-content fo:flow flow-name=xsl-region-body lot's of things feeded via java trough a loop /fo:flow /fo:page-sequence /fo:root I need to generate a PDF file of about 1500 - 2000 pages but I got OutOfMemory (even If I use a large amount (more than 350 Mb) of it). I red about use more than one page-sequence but I can't split it in pages by my own hands because I dunno after how many iterations The document reach the end of a page. thanks in advance, best regrds Giorgio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
still have problems with with fo:external-graphics and rtf
I 've still have problems with with fo:external-graphics and rtf.I have a web application that create dynamic documents. It's happen that if I create a pdf (using FOP 0.9) and after that I create an RTF I can see tha image just in the PDF and not in the RTF. If I close my web session and restart it and I try to create just the RTF the image amazingly appears!!! Could be a caching problem of my web server (tomcat 5.0.25) or a fop 0.9 bug? please help !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with external-graphics
I used png but creating RTF and including that image in the header does not work. The same fo file work for creating pdf... I post you part of fo file: fo:layout-master-set fo:simple-page-master margin-bottom=0pt margin-left=56.7pt margin-right=56.7pt master-reference=pm0 margin-top=60pt master-name=pm0 page-height=841.9pt page-width=595.3pt fo:region-body margin-bottom=40pt margin-top=45pt region-name=xsl-region-body/ fo:region-before extent=45pt overflow=visible region-name=xsl-region-before/ fo:region-after extent=30pt overflow=visible region-name=xsl-region-after/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=pm0 fo:static-content flow-name=xsl-region-before fo:block end-indent=0pt orphans=2 start-indent=0pt text-indent=0pt widows=2 fo:external-graphic src=C:/jakarta-tomcat-5.5.7/webapps/admin_console/images/printHeader.png / /fo:block fo:block font-weight=bold end-indent=0pt line-height=3.7pt orphans=2 space-after=20pt space-before=20pt start-indent=0pt text-indent=0pt widows=2 fo:inline color=black font-size = 8pt font-family = sans-serif DETTAGLIO PROCEDIMENTO /fo:inline /fo:block fo:block end-indent=0pt line-height=5pt orphans=2 start-indent=0pt text-indent=0pt widows=2 fo:inline color=black font-size=8pt__/fo:inline /fo:block /fo:static-content fo:static-content flow-name=xsl-region-after font=sans-serif fo:block text-align=center fo:inline font-size=7pt fo:page-number / /fo:inline /fo:block /fo:static-content -- Initial Header --- From : [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 09:52:04 +0100 Subject : Re: problem with external-graphics There was a note that said that GIF is not supported quote: RTF output currently doesn't support GIF images. Please convert them to PNG. This was a answer sent by Jeremias Maerki Subject: Re: problem with FOP 0.9 and fo:external-graphics yesterday Maybe png does not work either ?? Jelka - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re:Nested table in fop-0.91beta
with fop 0.9 is not possible nesting tables -- Initial Header --- From : Jose Lobato [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 12:12:55 +0100 Subject : Nested table in fop-0.91beta Hi, I produce a table with some nested tables inside to show a hierarchy of elements. When using fop-0.20.5 The display is OK, but with fop-0.91beta I have the top horizontal line and bottom line exceds the table to the left of the page. In enclose two screenshots and the the table. I don't know if this is a problem of fop-0.91 or it is me that I'm doing something wrong. Thanks for any help. fo:block font-size=70% fo:table border-bottom-width=0.3mm border-bottom-style=solid border-left-width=0.2mm border-left-style=solid border-top-width=0.2mm border-top-style=solid fo:table-column column-width=4cm/ fo:table-column column-width=10cm/ fo:table-header fo:table-row fo:table-cell font-weight=bold text-align=center border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:blockCountries/fo:block /fo:table-cell fo:table-cell border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:table border-left-width=0.2mm border-left-style=solid border-top-width=0.2mm border-top-style=solid fo:table-column column-width=10cm/ fo:table-body fo:table-row fo:table-cell font-weight=bold text-align=center border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:blockYears/Flow/fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:table fo:table-column column-width=2.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=2.5cm/ fo:table-body fo:table-row fo:table-cell fo:table fo:table-column column-width=2.5cm/ fo:table-body fo:table-row fo:table-cell fo:block text-align=centerImports1fo:inline font-size=75% vertical-align=super/ /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table
RE: Nested table in fop-0.91beta
I can say you just that.I had the same graphic problem with nested tables and in this mailing list they told me that for creating rtf with fop 0.9 there is still some bugs. -- Initial Header --- From : Jose Lobato [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 12:20:24 +0100 Subject : RE: Nested table in fop-0.91beta Well, actually it works. it is just a glitch in the display (see screenshots). Why is it not possible? Regards, José -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de enero de 2006 12:16 Para: fop-users Asunto: Re:Nested table in fop-0.91beta with fop 0.9 is not possible nesting tables -- Initial Header --- From : Jose Lobato [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 12:12:55 +0100 Subject : Nested table in fop-0.91beta Hi, I produce a table with some nested tables inside to show a hierarchy of elements. When using fop-0.20.5 The display is OK, but with fop-0.91beta I have the top horizontal line and bottom line exceds the table to the left of the page. In enclose two screenshots and the the table. I don't know if this is a problem of fop-0.91 or it is me that I'm doing something wrong. Thanks for any help. fo:block font-size=70% fo:table border-bottom-width=0.3mm border-bottom-style=solid border-left-width=0.2mm border-left-style=solid border-top-width=0.2mm border-top-style=solid fo:table-column column-width=4cm/ fo:table-column column-width=10cm/ fo:table-header fo:table-row fo:table-cell font-weight=bold text-align=center border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:blockCountries/fo:block /fo:table-cell fo:table-cell border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:table border-left-width=0.2mm border-left-style=solid border-top-width=0.2mm border-top-style=solid fo:table-column column-width=10cm/ fo:table-body fo:table-row fo:table-cell font-weight=bold text-align=center border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:blockYears/Flow/fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell border-right-width=0.2mm border-right-style=solid border-bottom-width=0.2mm border-bottom-style=solid fo:table fo:table-column column-width=2.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=2.5cm/ fo:table-body fo:table-row fo:table-cell fo:table fo:table-column column-width=2.5cm/ fo:table-body fo:table-row fo:table-cell fo:block text-align
anyone knows anything about jasperReport?
exists an user friendly IDE for creating fo file and creating RTF and PDF ? I mean i know about IReport and jasperReport but are quite new release?! anyone knows when they born? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with external-graphics
I wrote what I got: ERROR org.apache.fop.render.rtf.RTFHandler - image: null but I repeat with the same fo file i can create pdf and including the same image (png image).Where can i find the latest FOP Trunk? -- Initial Header --- From : Jeremias Maerki [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 13:39:11 +0100 Subject : Re: problem with external-graphics I've just fixed the exception handling a little for external-graphics. I assume it was a NullPointerException which was caused because the filename of your image was wrong. If you updated to the latest FOP Trunk code, you should get a better message. On the other side, you should already have seen an error message about the missing image earlier in the log output! On 26.01.2006 09:43:16 [EMAIL PROTECTED] wrote: Hi all I'm creating RTF.But when I use fo:external-gtaphics in the header I cannot see the image.I got: ERROR org.apache.fop.render.rtf.RTFHandler - image: null the strange things is that when I create a pdf with the same fo file it works fine. Possible bug? that's a part of the fo file: snip/ 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]
problem using fop 0.91 with header and footer
Hi all I'm using fop 0.91 and i try to create a rtf. I cannot define header and footer and also i have problem using fo:page-number/ I show u what I wrote: ... fo:layout-master-set fo:simple-page-master margin-bottom=40pt margin-left=56.7pt margin-right=56.7pt master-reference=pm0 margin-top=35.4pt master-name=pm0 page-height=841.9pt page-width=595.3pt fo:region-body margin-bottom=40pt margin-top=40pt region-name=body/ fo:region-before extent=40pt overflow=visible region-name=header/ fo:region-after extent=40pt overflow=visible region-name=footer/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=pm0 fo:static-content flow-name=header fo:block end-indent=0pt line-height=14pt orphans=2 start-indent=0pt text-indent=0pt widows=2 fo:external-graphic src=C:/jakarta-tomcat-5.5.7/webapps/admin_console/images/printHeader.png content-height=60% content-width=60% / /fo:block /fo:static-content fo:static-content flow-name=footer font=italic 10pt Times fo:block text-align=end fo:inline font-size=6pt fo:page-number / /fo:inline /fo:block /fo:static-content ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
why text-align=center does not work for RTF table?
I'm creating an RTF using fop 0.9. I've seen that with PDF the content of a table-cell is exactly in the middle.But with RTF the content of table-cell is left aligned. I ensure you that I put text-algni=center in the block, in the inline, in the table-cell Probably a bug? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
table header repeated in next page
hi all I 'm rendering an rtf file using xsl-fo. I have a dynamic table quite long that exceed more than one page.My problem is that the header of the table is NOT repeated in every next page. That's not happen rendering a PDF using the same xsl-fo file.Why? Any help? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: table header repeated in next page
u r right. I used Jfor.But if i use for 0.91 how to render an rtf? Could u suggest me any usefull tutorial? Regards -- Initial Header --- From : Jeremias Maerki [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Tue, 10 Jan 2006 16:08:44 +0100 Subject : Re: table header repeated in next page See? You should have told me earlier what FOP version you use. Because that means you don't even use FOP for RTF output. You probably use JFOR, right? One thing that is wrong in your FO file is that you still use the pre-recommendation master-name attribute on page-sequence. You need to replace that with master-reference. For the RTF problem: I don't know if anyone still does support for JFOR, but fop-users is not the place. So, I suggest you upgrade to FOP 0.91beta which includes RTF support. Then, we can really help. I've attached the output of 0.91beta from your sample file. The table-header gets repeated just fine. Please be a little more accurate in the future when you ask other people for help since they are allocating time to help you for no charge. Otherwise, people might suddenly stop helping you. On 10.01.2006 15:54:04 [EMAIL PROTECTED] wrote: I removed the nested tables but the problem persits. I have fop 0.20.5. I send u the fo file. Help please -- Initial Header --- From : Jeremias Maerki [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Tue, 10 Jan 2006 15:22:10 +0100 Subject : Re: table header repeated in next page An XSLT alone is usually not helpful because we can't reproduce the problem without a corresponding XML file. Better yet, only post XSL-FO files. Anyway, you're using nested tables. There are definitely problems with that for RTF output. Please try to combine the nested table with the main one (use spanned cells where necessary instead) and then recheck if the problem still exists. On 10.01.2006 14:42:43 [EMAIL PROTECTED] wrote: That's what i got. please help. -- Initial Header --- From : Jeremias Maerki [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Tue, 10 Jan 2006 13:39:11 +0100 Subject : Re: table header repeated in next page A quick test tells me that a table-header is repeated on every page with RTF output, so I can't reproduce your problem. Maybe you should post a small example. I've seen that there are still a few things in this area that are not properly done. table-footers, for example. On the other side, there seems to be no equivalent to a table-footer in RTF. I can see from your question that you're using a more recent version of FOP (because you're asking for RTF output), but please always state the FOP version, operating system and Java version in use. That already helps avoiding another round of question and answer and often results in a quicker problem resolution. That tip goes to everyone on this list, BTW. :-) On 10.01.2006 11:44:59 [EMAIL PROTECTED] wrote: hi all I 'm rendering an rtf file using xsl-fo. I have a dynamic table quite long that exceed more than one page.My problem is that the header of the table is NOT repeated in every next page. That's not happen rendering a PDF using the same xsl-fo file.Why? Any help? Jeremias Maerki Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: favorite tools for writing XSLT?
Yes, You can configure an external xsl-engine in the options dialog (Tools - Options - XSL). For example: java -Dhttp.proxyHost=0.0.0.0 -Dhttp.proxyPort=0 -jar /path to lib/saxonX.jar -l -o %2 %1 %3 The meaning of %1, %2 and %3 is explained in the dialog. Limit: No debugger! Bis dann, Detlef. -Ursprüngliche Nachricht- Von: Rymasz Jacky [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 6. April 2005 09:46 An: fop-users@xmlgraphics.apache.org Betreff: RE: favorite tools for writing XSLT? Does XMLSpy supports Saxon 7.3.1? I haven't seen anything about Saxon on their Web page ;( If not, what editor/debugger is supporting Saxon? Jack -Message d'origine- De : John Root [mailto:[EMAIL PROTECTED] Envoyé : mercredi 6 avril 2005 06:16 À : fop-users@xmlgraphics.apache.org Objet : Re: favorite tools for writing XSLT? XMLSpy is an excellent tool for serious XML/XSL development in Win environment. Great IDE with support for a variety of engines. Integrates with Visual Studio and VSS as well. Well worth the price if it fits your work flow. John On 4/5/05 7:25 AM, Siegfried Heintze [EMAIL PROTECTED] wrote: I'm finding the writing of xslt files rather tedious. Are there some favorite tools out there to help with this activity? Treebeard is nice for producing HTML, but it does not work for FOP. Are there other open source tools? What about proprietary tools? Does xml spy do the job? I think it is rather expensive. Are there others? Siegfried - 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]