Re: Border widths
I'm using pt and mm in my source. The pixel measurement was just a comparison with html. But I'll try to print out and see what happens. Thanks for the tip /Marcus - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:03 AM Subject: Re: Border widths Marcus Andersson wrote: I want to do headers that has a different background-color than the rest of the document and it should also be framed by a thin border (1px wide if you would do it in html and css). The problem is that when I use the same border-width in different contexts then the borders sometimes are rendered so it looks like the borders have different width. Is there a magic trick that one can use to get the same rendered border-width or should I just use the same border-width and hope for the best? PDF doesn't have pixels. Use mm, in or pt or a relative measurement. Acrobat Reader appears to round off line widths heavily, borders and other lines with the same width in the source may appear with wildly different width on the screen. Make a test printout on a good laser to see whether something is really wrong. 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]
image scaling memory leak?
I know the FAQ discusses this... It took me a couple of days to figure this out, but the image scaling that I am doing in FOP is crashing my application. All my images are returned via a servlet... If I turn the servlet engine off, no images are returned and FOP runs like a champ... (although my reports have no images) If I do not do image scaling, my images look very bad If I do image scaling, I can only handle about 20 reports (20 images each), before crashing. All of my images are dynamic, returned as a PNG from a servlet with jFreeChart. Even if I start out with a huge memory setting for my JVM, I will eventually run out. Any ideas on how I can proceed? Is this FOP only, or all fo processors? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svg does not scale or respect other blocks space.
I can very easily swap image formats in my program. I did some testing with svg, jpg and png. 1) jpg and png will not overwrite other blocks. With SVG, the image will overlay over text. It seems not to respect other fo:blocks, even if I put the external graphic into a fo block. 2) the svg does not get scaled to the width that I specify. PNG and JPG do get scaled down. Has anyone else encounted these problems? Let me know. Thanks. fo:block fo:external-graphic content-width=13cm width=13cm src=url('http://localhost:8080/hra/chart?val=xamp;title=Health+Scoreamp;showLegend=trueamp;series=June+2002amp;chartValues=11amp;chartValues=46amp;chartValues=80amp;chartValues=1amp;chartValues=1amp;chartValues=84amp;chartValues=31amp;chartValues=30amp;preexisting=0amp;preexisting=0amp;preexisting=0amp;preexisting=0amp;preexisting=0amp;preexisting=0amp;preexisting=0amp;preexisting=0amp;categories=Canceramp;categories=Heart+Diseaseamp;categories=Diabetesamp;categories=Emphysemaamp;categories=Cirrhosisamp;categories=Arthritisamp;categories=Overallamp;categories=Self-assessed+Healthamp;chartType=1amp;pdf=1amp;format=svg') / /fo:block - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Producing Chinese documents
I want to test whether fop can product chinese docs. I have some questions: 1. Should I type using the Chinese characters inside the fo files? or just using the codes for the Chinese chars? 2. Should I provide the fonts when trying to produce the docs? Are they provided by fop? Any examples for this? Regards, === Malas antri buat mendapatkan print-out tagihan telepon ? Klik aja http://billinfo2.plasa.com Gratis Perpanjangan dan Pendaftaran Nama Domain http://idc.plasa.com khusus di bulan Maret ! === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: image scaling memory leak?
FOP does some primitive image caching. Now if you use dynamic images coming from a servlet (each with a unique URL), FOP builds up a huge list of these images without ever releasing them. I guess that's what's happening. The caching is done in org.apache.fop.image.FopImageFactory. You could experiment with the resetCache() method to periodically clear the cache which should make the cached images eligile for garbage collection and resolve the problem. Maybe something more sophisticated is needed in your case. On 04.04.2003 04:47:41 Phillip Rhodes wrote: I know the FAQ discusses this... It took me a couple of days to figure this out, but the image scaling that I am doing in FOP is crashing my application. All my images are returned via a servlet... If I turn the servlet engine off, no images are returned and FOP runs like a champ... (although my reports have no images) If I do not do image scaling, my images look very bad If I do image scaling, I can only handle about 20 reports (20 images each), before crashing. All of my images are dynamic, returned as a PNG from a servlet with jFreeChart. Even if I start out with a huge memory setting for my JVM, I will eventually run out. Any ideas on how I can proceed? Is this FOP only, or all fo processors? Thanks! Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Printing user defined pages
Hi there, iam looking for an aproach to give the user the option to select the pages he wants to print. Iam using FOP embedded in a Servlet and i render to a printer, so i do not know how many Pages i am printing, when I initiate the process. So does anyone know if there is a good aproach do handle this issue? Thanks in advance for any help Normen Ruhrus
Blank pdf from servlet
Hi I am trying to get a servlet to produce pdf from data from a database. When the servlet receives a request, it runs FOP (fop-0.20.5rc2), and outputs this to the log: [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 27343Kb [DEBUG] Current heap size: 7130Kb [DEBUG] Total memory used: -20213Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 2209ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 2209ms/page The browser starts Adobe Reader. But then it shows a blank page. Here is the class that produces the pdf. It is a slight modification of ExampleObj2PDF.java, included in fop-0.20.5rc2 : package dk.q8.ssintra.priscirku; import org.apache.fop.apps.Driver; import org.apache.fop.messaging.MessageHandler; import org.apache.avalon.framework.logger.ConsoleLogger; import org.apache.avalon.framework.logger.Logger; import org.xml.sax.SAXException; import javax.ejb.CreateException; import javax.naming.NamingException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.*; import javax.xml.transform.sax.SAXResult; import java.io.IOException; import java.io.OutputStream; import java.io.File; import java.io.FileOutputStream; import java.sql.SQLException; /** * Created by IntelliJ IDEA. * User: klkr * Date: 31-03-2003 * Time: 15:40:28 * Genererer PDF. */ public class CirkuPrinter { /** * Constructor. * @param xls Sti til filen hvor stylesheetet findes * @throws ParserConfigurationException Fra JAXP * @throws IOException Fra JAXP * @throws SAXException Fra JAXP */ public CirkuPrinter(String xls) throws ParserConfigurationException, IOException, SAXException { styleSheet = StyleSheetHandler.getStyleSheet(xls); } private Source styleSheet; /** * Udskriver PDF til out. * @param out Stream hvor cirkulæret udskrives * @throws IOException Ved fejl * @throws CreateException Fra EJB * @throws SQLException Fra EJB * @throws NamingException Fra EJB * @throws TransformerException Fra JAXP */ public void print(OutputStream out) throws IOException, CreateException, SQLException, NamingException, TransformerException { // Skaf data CiData data = DBConnection.findData(); Source xml = CiData2XML.createSAXSource(data); Driver driver = new Driver(); //Setup logger Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); driver.setLogger(logger); MessageHandler.setScreenLogger(logger); // Vi vil have PDF driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(out); //Setup XSLT TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(styleSheet); //Resulting SAX events (the generated FO) must be piped through to FOP Result res = new SAXResult(driver.getContentHandler()); //Start XSLT transformation and FOP processing transformer.transform(xml, res); out.flush(); } /** * Til afprøvning. * @param args 0: stylesheet 1: outputfil * @throws Exception Når noget går galt. */ public static void main(String[] args) throws Exception { CirkuPrinter p = new CirkuPrinter(args[0]); File fil = new File(args[1]); OutputStream out = new FileOutputStream(fil); p.print(out); } } When I run it from the command line, I get the expected pdf. If I write plain text directly to the out parameter when run in the servlet, the text appears in the browser. What am I doing wrong? Klaus Kristiansen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: Blank pdf from servlet
Hello Klaus, You might also consider a known problem with IE and PDF files. If the PDF file is smaller than 6K (or there abouts). Place any blank image in your pdf to reach the 6k border. Sorry its not the best idea but a nice workaround. regards manfred [EMAIL PROTECTED] am 04.04.2003 09:54:46 Bitte antworten an [EMAIL PROTECTED]@inet An: [EMAIL PROTECTED] Kopie: Thema: Blank pdf from servlet Hi I am trying to get a servlet to produce pdf from data from a database. When the servlet receives a request, it runs FOP (fop-0.20.5rc2), and outputs this to the log: [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 27343Kb [DEBUG] Current heap size: 7130Kb [DEBUG] Total memory used: -20213Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 2209ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 2209ms/page The browser starts Adobe Reader. But then it shows a blank page. Here is the class that produces the pdf. It is a slight modification of ExampleObj2PDF.java, included in fop-0.20.5rc2 : package dk.q8.ssintra.priscirku; import org.apache.fop.apps.Driver; import org.apache.fop.messaging.MessageHandler; import org.apache.avalon.framework.logger.ConsoleLogger; import org.apache.avalon.framework.logger.Logger; import org.xml.sax.SAXException; import javax.ejb.CreateException; import javax.naming.NamingException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.*; import javax.xml.transform.sax.SAXResult; import java.io.IOException; import java.io.OutputStream; import java.io.File; import java.io.FileOutputStream; import java.sql.SQLException; /** * Created by IntelliJ IDEA. * User: klkr * Date: 31-03-2003 * Time: 15:40:28 * Genererer PDF. */ public class CirkuPrinter { /** * Constructor. * @param xls Sti til filen hvor stylesheetet findes * @throws ParserConfigurationException Fra JAXP * @throws IOException Fra JAXP * @throws SAXException Fra JAXP */ public CirkuPrinter(String xls) throws ParserConfigurationException, IOException, SAXException { styleSheet = StyleSheetHandler.getStyleSheet(xls); } private Source styleSheet; /** * Udskriver PDF til out. * @param out Stream hvor cirkulæret udskrives * @throws IOException Ved fejl * @throws CreateException Fra EJB * @throws SQLException Fra EJB * @throws NamingException Fra EJB * @throws TransformerException Fra JAXP */ public void print(OutputStream out) throws IOException, CreateException, SQLException, NamingException, TransformerException { // Skaf data CiData data = DBConnection.findData(); Source xml = CiData2XML.createSAXSource(data); Driver driver = new Driver(); //Setup logger Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); driver.setLogger(logger); MessageHandler.setScreenLogger(logger); // Vi vil have PDF driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(out); //Setup XSLT TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(styleSheet); //Resulting SAX events (the generated FO) must be piped through to FOP Result res = new SAXResult(driver.getContentHandler()); //Start XSLT transformation and FOP processing transformer.transform(xml, res); out.flush(); } /** * Til afprøvning. * @param args 0: stylesheet 1: outputfil * @throws Exception Når noget går galt. */ public static void main(String[] args) throws Exception { CirkuPrinter p = new CirkuPrinter(args[0]); File fil = new File(args[1]); OutputStream out = new FileOutputStream(fil); p.print(out); } } When I run it from the command line, I get the expected pdf. If I write plain text directly to the out parameter when run in the servlet, the text appears in the browser. What am I doing wrong? Klaus Kristiansen - 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: Jpeg images rendered black
Marcus Andersson wrote: Hello First of all: I am using FOP-0.20.4 under jdk1.4.1. When I insert external-graphics that are in the gif and png formats everything works nice but when I try to include a jpg it just renders a black rectangle. Why? I have looked in the faqs and some other places but the only related is the thing about having to include jimi for pngs. Isn't jpgs supported or have I done something else wrong? Example code: fo:external-graphic src=someimg.jgp/ This sounds like the following bug: http://archives.apache.org/bugzilla/show_bug.cgi?id=11301 which has been fixed in 0.20.5rc Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: create a check box
Labeaux Schiek wrote: Hi, I am trying to use XSL-FO to generate PDF Forms in my application. How do I create a check box in my PDF. see http://xml.apache.org/fop/faq.html#fo_special_symbols Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: Font is not the same in the PDF
Interesting. I didn't know that the PDF transcoder is now included with Batik. Anyway, that version there comes from the redesign. It's not the same code you produce PDF with when you work with FOP 0.20.5*. I can only imagine that something strange happens because you may have both older and newer FOP code in your classpath because in the current CVS code of the PDF transcoder I don't have any problems with fonts smaller than 10pt. If you use FOP only to convert SVG to PDF I suggest you keep watch on what's happening in the redesign. The PDF transcoder is nearing a release and has more features than the SVG support in FOP 0.20.5. And, of course, it would be nice to have some feedback on the code. On 04.04.2003 09:51:51 Hans Stoessel wrote: I've installed the newest version of Batik and this version includes a pdf-transcoder.jar. If this jar is included in my JBuilder project, the error occurs, I mean, the fonts are not the same like in the SVG file. If I removed this jar, it works fine... Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: page-citations across page-sequences
Thank you. It was the cause of my original problem and my document is now just as I want it (also, now I have stopped panicking, I appreciate the enhanced error capture of 0.20.5rc). Best wishes, John Marshall -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 23:46 To: [EMAIL PROTECTED] Subject: Re: page-citations across page-sequences John Marshall wrote: Thank you for your response and the suggestion. I have been using FOP-0.20.4 with J2RE-1_3_1-WIN-I. I have just tried updating to FOP-0.20.5rc. This gave me the following error: C:\apache\fop-0.20.5rcfop -xml \jfm\mm\meetings.xml -xsl \jfm\mm\meeting-fo.xsl -pdf \jfm\mm\meetings.pdf [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [ERROR] javax.xml.transform.TransformerConfigurationException: javax.xml.transfo rm.TransformerException: javax.xml.transform.TransformerException: Unknown nodet ype: document Probably caused by xsl:apply-templates select=mm/document(constituent/@filename)/meeting/friend/fullname ^^^ This is a syntax error. It also seems to be the cause of your original problem. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Accurate Software Ltd The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK. Tel: +44 (0)118 977 3889 Fax +44 (0)118 977 1260 Web: http://www.accuratesoftware.com The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above. If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889. The views expressed in this communication may not necessarily be the views held by the Accurate Group. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Blank pdf from servlet
You showed us the working code, but not the potentially buggy code (the servlet). Simplify your servlet to narrow down the possible causes: Serve a PDF from a file instead of from FOP to see if FOP is the problem (which I don't believe). Check if PDFs served from other webservers display correctly on your workstation. Check if the Browser receives application/pdf as MIME type. Check if you set the content length. Also check the FOP FAQ. On 04.04.2003 13:12:29 Klaus Kristiansen wrote: Thanks for the suggestion. However, it did not help. The pdf is 7.72kb, and a larger pdf also does not show. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Printing user defined pages
Assuming you mean printing server-side using AWT: Did you look at the FopPrintServlet? It has code for something like that. Look for the method getInvalidPageNumbers(). I don't know if it works, though. On 04.04.2003 09:27:04 Normen Ruhrus wrote: iam looking for an aproach to give the user the option to select the pages he wants to print. Iam using FOP embedded in a Servlet and i render to a printer, so i do not know how many Pages i am printing, when I initiate the process. So does anyone know if there is a good aproach do handle this issue? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem creating FO-File using ExampleXML2FO.java from the FOP-Package
Google finds: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! This error is usually caused by the Xalan included with JDK 1.4. Make sure xalan.jar is placed in tomcatDir/common/endorsed (if you run into this error and there is no such directory, we advise you to upgrade to a newer version of Tomcat). I hope that helps. On 04.04.2003 15:45:15 Amin Schoeib wrote: I have a problem creating a FO-File using the ExampleXML2FO.java from the FOP-Package. I use Jbuilder8 (JDK 1.4.1). I heard that this is a problem with Tomcat and JDK 1.4.1. What can I do to solve this problem?? This is the error I become: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFac tory.java:142)at Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FopPrintServlet
We are new in fop user.. we try to use sample FopPrintServlet .. the pdf file is on screen but not to the printer...(when we precise ext=.pdf) Is there some issues on IE 5.5 or IE 6.0 ? Thx for your help Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FopPrintServlet
Probably not for the FopPrintServlet. Check the web containers log for error messages. On 04.04.2003 17:22:38 Pascal Sourisseau wrote: We are new in fop user.. we try to use sample FopPrintServlet .. the pdf file is on screen but not to the printer...(when we precise ext=.pdf) Is there some issues on IE 5.5 or IE 6.0 ? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Centering a _block_ (read div) of text
You could try indent calculation based on the length of the string for each line. indent = (page-width - string-length) / 2 That's obviously not the xpath syntax you'd need to use, but it should give you the result you want. Use the xpath function string-length() and pass in your string. Then for the second line that needs extra indent, try indent = ((page-width - string-length) / 2) + extra-indent Mike -Original Message- From: Marcus Andersson [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 8:44 AM To: [EMAIL PROTECTED] Subject: Centering a _block_ (read div) of text Hello First: Thanx for the help with the questions yesterday. I need a block of text to be centered. Just to center it is no problem, the problem is that I want one line in one font and the next line in another font and the second line should also be skewed relative to the first line. See ascii image: The whole region-body: ** * This is the first line* * This is the second line * ** * etc... * So I want the complete block of the two lines to be centered. If I create a block element with text-align=center and in the block element put a block element for each line and also put a start-indent on the second line then the whole block don't get centered. The two lines get centered separatly and then the second lines get an indent from the centered position and that is not the result I want. The result I want can be compared with creating a div-block that is centered in the body and having the first line to the far left in that div and then the second line relative-positioned some pixels to the right. Doing indent on each line with a constant amount isn't an option since I'm generating pdf's from different xml sources (as I guess most people are) and the line lengths can vary. Hope you understand the question. /Marcus - 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: Blank pdf from servlet
If it is the case that you are viewing the servlet output from IE, then please add some redundant parameters in the URL containing the word PDF, e.g. http://server:8080/TestServlet?file=.pdf. It sounds silly, but I tried and it does matter. http://xml.apache.org/fop/faq.html#part_iex Regards, John Mok Jeremias Maerki wrote: You showed us the working code, but not the potentially buggy code (the servlet). Simplify your servlet to narrow down the possible causes: Serve a PDF from a file instead of from FOP to see if FOP is the problem (which I don't believe). Check if PDFs served from other webservers display correctly on your workstation. Check if the Browser receives application/pdf as MIME type. Check if you set the content length. Also check the FOP FAQ. On 04.04.2003 13:12:29 Klaus Kristiansen wrote: Thanks for the suggestion. However, it did not help. The pdf is 7.72kb, and a larger pdf also does not show. 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: Blank pdf from servlet
Hello, I have also had problem in IE that if you first serve html data in one window and refresh it someone into the application/pdf mime type you may display a blank page or the text that contructs the pdf document. I am using an asp page to connect to the servlet and response.binary writing the document back to the browser. If you do not include a response.flush statement you will end up getting blank pages most of the time (except first?). I also found that sometimes with IE if the acrobat 'check for automatic updates dialog box' comes up this can screw things up. -Adam -Original Message- From: John Mok [mailto:[EMAIL PROTECTED] Sent: April 4, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: Re: Blank pdf from servlet If it is the case that you are viewing the servlet output from IE, then please add some redundant parameters in the URL containing the word PDF, e.g. http://server:8080/TestServlet?file=.pdf. It sounds silly, but I tried and it does matter. http://xml.apache.org/fop/faq.html#part_iex Regards, John Mok - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
web site changes
FOP Users: The Compliance page is finally looking pretty much as intended: http://xml.apache.org/fop/compliance.html The PDF version does not work. This is a known problem and we hope to have it resolved in the near future. The pages Implemented and Limitations have been removed as that information is now included on the Compliance page in a more integrated way. Compliance now also includes cross-references to the W3C standard for your convenience. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Center a table
How do I center an entire table horizontally on a page? fo:table fo:table-column/ fo:table-body fo:table-row fo:table-cell fo:block hello /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table Thanks. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Centering a _block_ (read div) of text
Marcus Andersson wrote: So I want the complete block of the two lines to be centered. See: http://xml.apache.org/fop/faq.html#fo_center_table_horizon J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
line before fo:list-block is repeated after: fop bug?
I think I have found a bug in FOP 0.20.5rc2. I have fo that I expect to product PDF that looks like this: This line is somehow being repeated: 5 The list item body. The text after the errant repeat. Instead it produces PDF that looks like this: This line is somehow being repeated: 5 The list item body. This line is somehow being repeated: The text after the errant repeat. The line This line is somehow being repeated is in fact errantly repeated after the list-block that produces 5 The list item body. My FO is below. Any ideas? Is this a known bug? Dave Bridgeland FO file: --- ?xml version=1.0? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; font-family=serif font-size=10pt text-align=justify line-height=normal language=en fo:layout-master-set fo:simple-page-master master-name=body-draft page-width=8.5in page-height=11in margin-top=0.5in margin-bottom=0.5in margin-left=1in margin-right=1in fo:region-body margin-bottom=0.5in margin-top=0.5in / /fo:simple-page-master /fo:layout-master-set fo:page-sequence hyphenate=true master-reference=body-draft language=en_GB format=1 initial-page-number=1 fo:flow flow-name=xsl-region-body fo:block fo:block This line is somehow being repeated: fo:block fo:list-block fo:list-item fo:list-item-label end-indent=label-end() fo:block5/fo:block /fo:list-item-label fo:list-item-body start-indent=body-start() fo:block The list item body. /fo:block /fo:list-item-body /fo:list-item /fo:list-block /fo:block /fo:block fo:block The text after the errant repeat. /fo:block/fo:block /fo:flow /fo:page-sequence /fo:root - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]