Long Table repeat header
I have a document (FO-PDF) made up of multiple tables. Some of these tables are long and span multiple pages. I want to be able to repeat the header on the next page. But at the same time I want to add the word continued for any subsequent pages. i.e. col1 col2 col3 TABLE HEADER --- jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER (CONTD) --- fjs jflsda jklfds fjs jflsda jklfds col1 col2 col3 TABLE HEADER2 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER3 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds Is there anything in FO that will allow repeating of table header and also modification of table header in subsequent pages? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Page breaking handling
Hi guys,I placed a question a time back regarding how to handle page-breaking, but anybody said anything.I´ve just uploaded some images, and I´m just wondering whether anyone could let me know which is the normal procedure for this cases, you can see them here:http://www10.brinkster.com/repos/default.htmAs I said, I´m using as many profiling this way:As I need, but it normally breaks "justify-effect" on the last line of the page, and I get some extra pages at the end of some chapters as well. Also, using as many para´s as needed casuses the begining text of the page no to be always at the same possition.I would like to know how this is usually worked around, so any comments about would be much appreciated. Once more, sorry my english.Thanks very much. Win a Yahoo! Vespa NEW - Yahoo! Cars has 3 Vespa LX125s to be won Enter Now!
International Fonts - Problem with print
Hello, I am trying to use FOP to print certain documents (in FO) written in some International Languages (Japaneese, Korean, Chinese etc). For some reason the characters are printed at an angle, it looks like everything is in italic. Even the english characters in the document behave in the same way. If I try to create the PDF from the same FO, it works fine and looks great. I have tried using different fonts (Arial Unicode, MS Mincho, Batang) and this happens with everything. This is how I registered my Fonts with FOP embed-file="C:\WINNT\Fonts\msmincho.ttf" kerning="yes"> embed-file="C:\WINNT\Fonts\batang.ttf"> embed-file="C:\WINNT\Fonts\arialuni.ttf"> Has any one experienced this, any solution ??? Thanks, Sai
Re: Wrapping text
Ail Sahin wrote: Hi there, if I have followed XML entity Prename Surname Telephone Number it's in the resulted PDF like that: "Prename Surname Telephone Number". Bud I'd like to have a wrap after "Prename Surname". You need to use whitespace-collapse and linefeed-treatment XSL-FO properties. By default all whitespace is collapsed to a single space in XSL-FO. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wrapping text
Hi there, if I have followed XML entity Prename Surname Telephone Number and the associated XSL Snippet it's in the resulted PDF like that: "Prename Surname Telephone Number". Bud I'd like to have a wrap after "Prename Surname". How to handle this? Any ideas? Greets kirashet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error: / by zero
Ail Sahin wrote: When I fire up the transformation I get an error: [INFO] building formatting object tree [INFO] Parsing of document complete, stopping renderer javax.xml.transform.TransformerException: java.lang.ArithmeticException: / by zero at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1276) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107) at de.xifs.worker.PrintDocumentWorker.render2PDF(PrintDocumentWorker.java:212) Looks like the problem is in Xalan, not FOP. To trace the cause of the problem use Xalan to generate an FO file. This is explained on the website: http://xmlgraphics.apache.org/fop/0.20.5/running.html#check-input If you get the same error when running Xalan, then the problem isn't in FOP. You might be better off posting the Xalan error to the xalan-j user mailing list. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error: / by zero
Hi there, I'd like to transform a XML-File to PDF. The XML-File ist build like followed: href="D:\app\jboss-3.2.5\server\default\deploy\xifs.war\WEB-INF\classes\de\xifs\resource\xml\de\xifs\resource\xml\dunningaccountreport_de.xsl"?> ]> GETRAENKEVERTR. DANTESTR.1 8000 MUENCHEN Bla Tel Kontakt Kontoauszug Info bla bla Belegnummer Mahnstufe Belegdatum Fällig Buchungstext Soll/Haben 012 15.03.2001 15.03.2001 EINGANGSRECHNUNG - IFS-Bugr.: 9 42000,00 012 15.03.2001 15.03.2001 EINGANGSRECHNUNG - IFS-Bugr.: 9 1100,00 012-001 15.03.2001 15.03.2001 EINGANGSRECHNUNG - IFS-Bugr.: 00010 42000,00 012-001 15.03.2001 15.03.2001 EINGANGSRECHNUNG - IFS-Bugr.: 00010 1100,00 The XSL-File: 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";> column-width="7.5cm"/> font-weight="bold"> select="name2"/> font-weight="bold"> padding="1pt"> column-width="16.5cm"/> font-family="Courier" font-size="7pt" text-align="left"> column-width="2.75cm"/> column-width="2.75cm"/> column-width="2.75cm"/> font-size="7pt" text-align="left"> font-size="7pt" text-align="left" > font-size="7pt" text-align="left" > font-size="7pt" text-align="left" > font-size="7pt" text-align="left"> font-size="7pt" text-align="left" > When I fire up the transformation I get an error: [INFO] building formatting object t