Re: Creating FO DOM directly
Hi, Is it possible using xslt and xsl:fo to detect a page break? basically I am using a for-each, and I want to show some data in the first row of a page whenever a new page begins. Any ideas? shubhrata, India - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To: fop-users@xmlgraphics.apache.org Sent: Wednesday, September 27, 2006 5:21 PM Subject: Re: Creating FO DOM directly That may indeed look tempting but it is definitely not recommended because you'd mix content and layout in your Java code which is the sort of thing XSL (XSLT + XSL-FO) wants to keep apart. Furthermore, it's much easier to change an XSLT than to change the Java code if the layout changes. Finally, FOP does not provide an easy way to instantiate the FO tree manually. On 27.09.2006 12:43:01 Lars Ivar Igesund wrote: I need to create PDF from the information contained in some Java objects. The standard way to do this according to the FOP docs, is to create XML from the objects, then transform to XSL-FO using XSLT. But since there are FO DOM nodes internally in FOP, it seems to me to be a natural alternative to create these nodes directly instead of going via XML + XSLT. Is this possible, and how would I go about processing the tree? Regards, Lars Ivar Igesund 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]
FOP 1.0dev: exploiting of AreaTree for measurement of content
Hi, I started to use FOP 0.92beta (for prototyping of print subsystem) and I need to measure some content before producing of final XSL-FO document. In fact, I need to determine height of page header/footer. Is it possible to use FOP's API (internal) to perform such measurements ? F.x. to prepare small document with some content fragment, then access AreaTree and compute height (pehaps, width also), then to produce final document with reserved space in corresponding regions. Is it appropriate approach ? ___ Best regards, Igor Istomin - Developer. e-mail: mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
converting a pdf using imagemagick
I know it's maybe not the reight place to ask this question but I am sure lot of people had be confronted to this. Using this pdf (see attachement) nproduce by fop, I'am trying to produce png file. But the produced image is'nt containing any specials chars like è or ç etc all is converted in e or c and so on (see attachement) I have tried to use the encoding option but without effect. Thank you by advance. OIivier test-low.pdf Description: Adobe PDF document -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: converting a pdf using imagemagick
-Original Message- From: Olivier Mansour [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 12:10 PM I know it's maybe not the reight place to ask this question but I am sure lot of people had be confronted to this. Using this pdf (see attachement) nproduce by fop, I'am trying to produce png file. But the produced image is'nt containing any specials chars like è or ç etc all is converted in e or c and so on (see attachement) I have tried to use the encoding option but without effect. Thank you by advance. OIivier Hi, Regarding ImageMagick, this list is the wrong place... BUT... FOP can directly output png files (see [1]). HTH, Pascal [1] http://xmlgraphics.apache.org/fop/0.92/output.html#bitmap - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP 1.0dev: exploiting of AreaTree for measurement of content
On Sep 28, 2006, at 10:04, Igor Istomin wrote: Hi, I started to use FOP 0.92beta (for prototyping of print subsystem) and I need to measure some content before producing of final XSL-FO document. In fact, I need to determine height of page header/footer. Is it possible to use FOP's API (internal) to perform such measurements ? Possible? I think so, but it could turn out to be quite some work... Maybe you could use the Intermediate Format (*) for this? Render the area tree to XML, perform the computations/transform the attributes via XSLT, and finally render the altered area tree to PDF. HTH! Andreas (*) see: http://xmlgraphics.apache.org/fop/0.92/intermediate.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]