Re: Table of Content
This is a task for XSLT or a pre-processor used in conjunction with FOP. You need to process your incoming data to generate a ToC using FOP primitives, and then FOP will do the formatting. XSLT gives you one way to do that processing, but there are others. Best to think of FOP as simply a converter from XSL-FO to PDF (or PS, AFP, etc), and nothing more. For the sake of convenience, FOP allows you to provide input via an input XML file and an XSLT file, where the XSLT file specifies a transformation from your input XML file into XSL-FO primitives. But that's all it does. It is up to you to determine that transformation. Good Luck, Glenn On Mon, Mar 17, 2014 at 12:52 AM, Anastasia anasta...@pdf3d.com wrote: Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement it, that we see, is to create a simple table. Thank you for your answer! -- Best regards, Anastasya. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Table of Content
I think this is rather an XSL-FO question http://en.wikipedia.org/wiki/XSL_Formatting_Objects HTH Michael Am 17.03.14 07:52, schrieb Anastasia: Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement it, that we see, is to create a simple table. Thank you for your answer! - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Table of Content
On Wed, Mar 19, 2014 at 2:28 AM, Michael Wechner michael.wech...@wyona.comwrote: I think this is rather an XSL-FO question http://en.wikipedia.org/wiki/XSL_Formatting_Objects Not really. See my prior. HTH Michael Am 17.03.14 07:52, schrieb Anastasia: Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement it, that we see, is to create a simple table. Thank you for your answer!
Re: Table of Content
Am 19.03.14 09:40, schrieb Glenn Adams: On Wed, Mar 19, 2014 at 2:28 AM, Michael Wechner michael.wech...@wyona.comwrote: I think this is rather an XSL-FO question http://en.wikipedia.org/wiki/XSL_Formatting_Objects Not really. See my prior. I guess you are refering to http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/201403.mbox/browser Sorry I missed that, but I basically meant what you were describing. Thanks Michael HTH Michael Am 17.03.14 07:52, schrieb Anastasia: Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement it, that we see, is to create a simple table. Thank you for your answer! - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Table of Content
Hi Anastasya, After a bit of Googling I found these... http://stackoverflow.com/questions/7159747/xsl-fo-creating-dynamic-table-of-contents http://stackoverflow.com/questions/7284236/xsl-fo-how-to-generate-table-of-contents http://www.data2type.de/en/xml-xslt-xslfo/xsl-fo/examples-of-application/tables-of-contents-example-20/ http://www.xmlpdf.com/tableofcontents.html Cheers,Bernard. Date: Mon, 17 Mar 2014 10:52:08 +0400 From: anasta...@pdf3d.com To: fop-u...@xml.apache.org CC: supp...@pdf3d.com Subject: Table of Content Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement it, that we see, is to create a simple table. Thank you for your answer! -- Best regards, Anastasya.
Re: Table of Content
Anastasia wrote: Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement it, that we see, is to create a simple table. Thank you for your answer! There's a chapter called Indexing and Table of Contents in the O'Reilly Book XSL-FO by Dave Pearson, from 2002! It's also covered in XSLT by Toug Tidwell. BugBear - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Table of Content
It's also covered in XSLT by Toug Tidwell. Small correction - that's Doug Tidwell ;) - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Table cell content overflow Help Needed
The overflow property does not apply to fo:table-cell. Therefore, you can try to use a block-container as a direct child of a table-cell, specify a fixed height and set the overflow property accordingly. On 11.05.2006 13:03:47 Raghavendra U wrote: Hi All, i'm facing one problem. In a table row ,Is there a way to cut-off content-overflow, when the height is fixed for the particular row. as i shown the example above. in the first row i have not mentioned any row height attribute. but in the next row i fixed row height. so when content overflows it overlaps with the existing content. Please get me any solution for this. even after emntioning the overflow=hidden then also its showing as it is. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]