Re: Help needed for allowing spaces in PDF O/P using fop-0.91beta version
content-width=scale-to-fit content-height=scale-to-fit for fo:external-graphic does not allow be to put the absolute size of image ... Can you suggest any workaround to allow Leading spaces in my case ??? Thanks Regards, Nitin Shrivastava POLARIS SOFTWARE LAB Ltd. Indiana Business Center +91-22-56482255 Jeremias Maerki [EMAIL PROTECTED] To: fop-users@xmlgraphics.apache.org erki.ch cc: [EMAIL PROTECTED] Subject: Re: Help needed for allowing spaces in PDF O/P using fop-0.91beta 02/21/2006 01:15 version PM Nitin Shrivastava does not appear to be on the list so I put the mail address in the CC. In addition to Manuel's reply I want to add something to the question further down: If you want to have an image appear in a box of a certain size, use this pattern: fo:external-graphic width=5cm height=4cm content-width=scale-to-fit content-height=scale-to-fit src=/ On 20.02.2006 12:54:30 Manuel Mall wrote: The white space handling for linefeed-treatment=preserve is currently not correct for fop trunk. Leading spaces are incorrectly deleted. Manuel On Monday 20 February 2006 19:17, [EMAIL PROTECTED] wrote: Regards, Nitin Shrivastava POLARIS SOFTWARE LAB Ltd. Indiana Business Center +91-22-56482255 - LUCK is what happens when PREPARATION meets OPPORTUNITY - Forwarded by nitin.shrivastava/Polaris on 02/20/2006 04:45 PM - nitin.shrivastava To: Jeremias Maerki [EMAIL PROTECTED] 02/20/2006 03:31 cc: [EMAIL PROTECTED], [EMAIL PROTECTED] PM Subject: Help needed for allowing spaces in PDF O/P using fop-0.91beta version(Document link: nitin.shrivastava) Hi, With FOP 0.91 beta version I was able to overlapp the data over image. Now the problem I am facing is w.r.t the space in the XML file which is getting ignored in PDF output . My XML data between tags is as shown below | | |---| | | AA B CC DD EE | | AA B 40041 | |0 | | | |---| My XSL is fo:simple-page-master master-name=cover page-height=1090pt page-width=714.78pt margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body margin-top=0cm margin-bottom=0cm margin-left=0in margin-right=0in/ fo:region-after extent=0cm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=cover fo:flow flow-name=xsl-region-body fo:block-container fo:block font-family=monospace linefeed-treatment=preserve white-space-treatment=preserve white-space-collapse=false xsl:apply-templates/ /fo:block /fo:block-container /fo:flow The PDF O/P that I get is | | |---| | |AA B CC DD EE| |AA B 40041 | |0 | | | |---| Here the sapce inbetween the data A ,B is maintained in the output but the intial spaces are getting neglected which we need to display in the PDF O/P. Can you please suggest me where am I making
Help needed for allowing spaces in PDF O/P using fop-0.91beta version
Regards, Nitin Shrivastava POLARIS SOFTWARE LAB Ltd. Indiana Business Center +91-22-56482255 - LUCK is what happens when PREPARATION meets OPPORTUNITY - Forwarded by nitin.shrivastava/Polaris on 02/20/2006 04:45 PM - nitin.shrivastava To: Jeremias Maerki [EMAIL PROTECTED] 02/20/2006 03:31 cc: [EMAIL PROTECTED], [EMAIL PROTECTED] PM Subject: Help needed for allowing spaces in PDF O/P using fop-0.91beta version(Document link: nitin.shrivastava) Hi, With FOP 0.91 beta version I was able to overlapp the data over image. Now the problem I am facing is w.r.t the space in the XML file which is getting ignored in PDF output . My XML data between tags is as shown below |---| | AA B CC DD EE | | | | AA B 40041 | |0 | |---| My XSL is fo:simple-page-master master-name=cover page-height=1090pt page-width=714.78pt margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body margin-top=0cm margin-bottom=0cm margin-left=0in margin-right=0in/ fo:region-after extent=0cm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=cover fo:flow flow-name=xsl-region-body fo:block-container fo:block font-family=monospace linefeed-treatment=preserve white-space-treatment=preserve white-space-collapse=false xsl:apply-templates/ /fo:block /fo:block-container /fo:flow The PDF O/P that I get is |---| |AA B CC DD EE| | | |AA B 40041 | |0 | |---| Here the sapce inbetween the data A ,B is maintained in the output but the intial spaces are getting neglected which we need to display in the PDF O/P. Can you please suggest me where am I making the mistake / or I need to specify any addition property in the flow/block-container/or block level. Or any other workaround to maintain these initial spaces at every line as maintianed in the XML file. One more query the image which I am trying the display in the PDF output is not kaing the absolute size as maintained .The XSL for the image is as below xsl:template match=img fo:block-container position=absolute fo:block fo:external-graphic content-height=348% src=[EMAIL PROTECTED]/ /fo:block /fo:block-container /xsl:template Here if I dont specify the content-height it take its own default value and displays the image with diminished size.Where as in FOP 0.20.5 the command fo:external-graphic src=[EMAIL PROTECTED]/ used to display the absoluete size of image ... Please suggest me what can I do to dispaly the abolute size as content-height=auto does not work in 0.91 beta version Regards, Nitin Shrivastava POLARIS SOFTWARE LAB Ltd. Indiana Business Center +91-22-56482255 Jeremias Maerki [EMAIL PROTECTED] To: [EMAIL PROTECTED] erki.ch cc
Help needed !!!
Hi , I am trying to create a PDF using the FOP converter ver 0.20.5.By passing an XML and XSL to it. Now in my XML there is Image in the frist line followed by four empty line and then data which is coming from the database. In my XSL i am using the following code to put the image fo:inline fo:block fo:external-graphic src=[EMAIL PROTECTED]/ /fo:block /fo:inline Here I am using absolute higth and width of image. In the output of the PDF I am getting the image pasted as it but the four empty lines are coming after the image . I want my image to overlap on these empty line since there is no data , even if the data is there I want my image to be placed on the side of it. i.e. currently my O/P is coming as : Line1 |---| | IMAGE| | | | | |---| Line2 Line3 Line4 Line5 And I want the O/P as Line1 |---| Line2 | IMAGE| Line3 | | Line4 | | Line5 |---| I tried using the float option to allow data on the side of image but it gives me ... [DEBUG] The element 'fo:float' is not yet implemented. [INFO] [2] [DEBUG] The element 'fo:float' is not yet implemented. [INFO] [3] [DEBUG] The element 'fo:float' is not yet implemented. Regards, Nitin Shrivastava POLARIS SOFTWARE LAB Ltd. Indiana Business Center +91-22-56482255 This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit Us at http://www.polaris.co.in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]