RE: region body separates from region after
Thanks for the help. It did lead me to the solution, although it turned out the answer was really that I had to set the row height on the table. I think there is no margin-top on region-after (couldn't see it in the spec and didn't seem to make a difference). Anyway I made the region-body margin-bottom the same as the region-after extent and changed the overflow as you suggested. The problem remained and I looked again at the table itself. If I adjusted the length of the table I could get the bottom of it to meet the top of the region-after, which suggested that the regions are just fine. The problem was that this only happened on the final page. On the earlier pages there was a gap. So the penny dropped at last for me, it was really only happening when the table was sizing itself around the number of rows it was rendering. This meant the real solution was to set the table-row height attribute to some value that gave a whole number of rows in the table height. Sure enough that worked fine. Thanks for the help. Roger -Original Message- From: Roland Neilands [SMTP:[EMAIL PROTECTED] Sent: Thursday, 3 March 2005 6:57 p.m. To: Fop-User List Subject:RE: region body separates from region after Roger, I remember having similar issues. I ended up using a margin-top (eg =18.05cm) on the region-after as well as an extent, and removing the table height completely which gives a table which expands to fit the actual size on each page. Also you are specifying overflow=hidden on all regions, which doesn't sound like what you are after for the region-body at least. Cheers, Roland -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roger Parkinson Sent: Thursday, 3 March 2005 9:53 AM To: '[EMAIL PROTECTED]' Subject: region body separates from region after I have a page master that looks like this: fo:region-before region-name=heading extent=9.2cm overflow=hidden/ fo:region-body region-name=body margin-top=8.85cm margin-bottom=7.8cm overflow=hidden/ fo:region-after region-name=footer extent=7.7cm overflow=hidden/ Inside the region body is a table with a height attribute: eg fo:table table-layout=fixed height=11.4cm This allows the table to expand the whole height of the body. Well almost. It actually leaves a gap between the bottom of the table and the top of the footer. Any attempts to close the gap by fiddling with the margins, extents and heights cause an overflow (ie gaps on the next page where the table or footer is missing, depending on the change) or a overlap between the bottom of the table and the top of the header. The table information spans several pages and (other than the above problem) that works fine as well. On the last page however, when the table is not filled, I can get the gap to go away by changing the margin-bottom on the region body. This means the last page looks different from the others which, obviously, isn't good. I'm using ApacheFOP 0.20.5. I tried the same file with Antenna (demo version downloaded for this purpose) and it gave me only one page. It looked as if the table overflow had not happened at all and the rest of the lines vanished behind the footer. Anyone know what I should try? Thanks Roger - 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: Default stylesheet
--- Roland Neilands [EMAIL PROTECTED] wrote: [ERROR] Expected XSL-FO (root, page-sequence, etc.), SVG (svg, rect, etc.) or el ements from another supported language. I think FOP can do it, it just needs to not set the -xsl flag and/or this error turned into a warning: [ERROR] XSLT file must be specified for the tranform mode ie let xalan spit the error if there's no processing instruction. But the user is not necessarily using Xalan, we use JAXP internally, which is XSLT-processor-agnostic, and I'm unsure but doubtful that the xml-stylesheet processing instruction can be supported by JAXP. Best option here is to just specify -xsl { filename } at the command line, just use the filename you have in the XML document. That's what all the other command-line users do, whether or not they bother with the xml-stylesheet PI. Apparently xml-stylesheet[1] is mainly for browsers anyway. HTH, Glen [1] http://www.dpawson.co.uk/xsl/sect2/N6145.html#d7755e169 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Avoid Page break in Block
Hello I there a attribute in FOP to protect an Block from Page breaks. I use a Block Element with many nested Tabes in it. The Block is used for drawing a Border. I have tried the keep - attributes at the Block by nothing works. Thanks for help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Avoid Page break in Block
The break attribute works only for table-rows in FOP right now. You need to put your block into a table if you want it to be protected from page break. Jack -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : ven. 4 mars 2005 07:53 À : [EMAIL PROTECTED] Objet : Avoid Page break in Block Hello I there a attribute in FOP to protect an Block from Page breaks. I use a Block Element with many nested Tabes in it. The Block is used for drawing a Border. I have tried the keep - attributes at the Block by nothing works. Thanks for help. - 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: fo:leader
Other alternative is to set both block font-height and line-height to '0mm' (or more, depends on what you want). Pascal -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoyé : jeudi 3 mars 2005 22:38 Gang Li wrote: I want to insert a line in the table row to make it like following. I used following code but since it is in a table row, the space above the line is just too big, is there any other way I can implement this? Or can I set some property to reduce that space? You can try a negative space-before on the block. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Images and https
Hi, I have a problem in retrieving images in FOP through https.Has anyone encountered this ? We are using WAS 5.1 and FOP 0.2.05. Thanks Rohit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do you switch between page-sequences?
Is it possible to switch between page-sequences based on an xml tag? What I need to have is a document that starts with pages in portrait and then at some point in the document switch to landscape for an unknown number of pages and then back into portrait for an unknown number of pages. The switching between portrait and landscape and then back to portrait will be determined by the presence or absence of the tag xmltable. If xmltag present use page-sequence for landscape If xmltag is not present use page-sequence for portrait Thanks, Patrick Talken ** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with CDATA in the input XML-file
I am a fop newbee and started using fop a couple of days ago.Everything works fine but I have one problem.1. I have a XML-file where some entity values is marked with CDATA..helpText![CDATA[Some #¤%/()]]/helpText2 I generate PDF-file with the statement below..fo:table-cell fo:block xsl:value-of select="helpText"/ /fo:block/fo:table-cell...3In the PDF-file I expect the text to be like...Some #¤%/())...but I get all the text including the CDATA declaration..![CDATA[Some #¤%/())]]...I hope someone understands what I mean I can give a hint on what to do about it.RegardsLars Hagrot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Interesting question
Looks like an Apache Ant task. Look at the example at the bottom of [1]. [1] http://xml.apache.org/fop/anttask.html Glen --- Miroslav Pukhalsky [EMAIL PROTECTED] wrote: Hi there! Can I do something like this fop.bat -fo *.fo -pdf *.pdf and got the same quantity of PDF files from some quantity of FO files? Or is it impossible for FOP 0.20.5? Or exists another way for do this? Miroslav - 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: Interesting question
You can make something like this using ANT. Miroslav Pukhalsky wrote: Hi there! Can I do something like this fop.bat -fo *.fo -pdf *.pdf and got the same quantity of PDF files from some quantity of FO files? Or is it impossible for FOP 0.20.5? Or exists another way for do this? Miroslav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- _ Thiago Bueno Silva [EMAIL PROTECTED] TT Engenheiros Associados Ltda. www.tteng.com.br Fone/Fax +55 51 3224 8425 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Interesting question
It looks like you are using a Windows based machine. If you need a quick command line to accomplish a mass FOP, you can try the following: for %x in (*.fo) do fop.bat -fo %x %~nx.pdf This will run the fop.bat file for every fo file in a given directory. Also, using the 'for' command like this may be limited to only certain Windows OS's -Lou ~~ LOG-NET, Inc. The Logistics Network Management System ~~ 230 Half Mile Road Third Floor Red Bank, NJ 07701 PH: 732-758-6800 FAX: 732-747-7497 http://www.LOG-NET.com ~~ CONFIDENTIAL PRIVILEGED Unless otherwise indicated or if obvious from the nature of the content, the information contained herein is privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone (732-758-6800) or by electronic mail ([EMAIL PROTECTED]), and destroy any copies, electronic, paper or otherwise, which you may have of this communication. Thank you. ~~ Miroslav PukhalskyTo: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: ft.com.ua Subject: Interesting question 03/04/2005 12:13 Please respond to fop-user Hi there! Can I do something like this fop.bat -fo *.fo -pdf *.pdf and got the same quantity of PDF files from some quantity of FO files? Or is it impossible for FOP 0.20.5? Or exists another way for do this? Miroslav - 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: Problem with CDATA in the input XML-file
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, Everything works fine but I have one problem. 1. I have a XML-file where some entity values is marked with CDATA .. helpText![CDATA[Some #¤%/()]]/helpText That needs to be ![CDATA[...]] (mind the markup! :-) ) Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Memory Usage when having Large Number ofTables in FO
Hello, After reading through some threads, I understand there is memory hogging when there are several tables in the FO. Are there Memory Leaks when using Tables? I am using FOP 2.0.5 I am currently using Tables to keep certain data together..and because of this a few FOs have over 100-200K tables. I see high Memory Usage of over 1 GB when converting these FOs. Has anyone processed FO Objects with several thousand Tables in the FO? if so, please let me know your thoughts/experiences. Thanks Ram __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]