Re: fo:block in fo:table-cell
Hi, I think you need to set keep-together.within-column=always on your fo:table-cell Regards, Phil -- View this message in context: http://www.nabble.com/fo%3Ablock-in-fo%3Atable-cell-tp21090351p21094825.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Log Messages in FOP.
Jeremias, in regards to logging errors, was this ever implemented? http://www.nabble.com/ErrorListener--0.95--td19203830.html#a19218919 Thanks, -- View this message in context: http://www.nabble.com/Log-Messages-in-FOP.-tp21071120p21095650.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: collapse whites space fop .20.5
Thanks Andrea.. I'll give it a try -- View this message in context: http://www.nabble.com/collapse-whites-space-fop-.20.5-tp21016442p21038612.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
collapse whites space fop .20.5
Hi, I am having trouble collapsing some whitespace. I hope you may help. Take the following resulting fo: fo:block line-height=12pt font-family=sans-serif font-size=10pt text-align=left fo:inline white-space=nowrap white-space-collapse=true wrap-option=no-wrapSee ( fo:basic-link internal-destination=idM01005 color=blackFigure 3/fo:basic-link , Item 2) and ( fo:basic-link internal-destination=idM01006 color=blackFigure 2/fo:basic-link , Item 5). /fo:inline /fo:block The pdf looks like this: See ( Figure 3 , Item 2) and ( Figure 2 , Item 5). But I want: See (Figure 3 , Item 2) and (Figure 2 , Item 5). Notice, no space between ( and F. Any line break between text and the start of the fo:basic-link element is seen as text(). How do I delete this space? I have tried setting the white-space-collapse=true on the fo:inline and the parent fo:block... Thanks -- View this message in context: http://www.nabble.com/collapse-whites-space-fop-.20.5-tp21016442p21016442.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Layout Question -
Hi Max, Sorry for the delay. I thought the thread was dead. Below are my answers: - Do you want to anchor images at the same position as the text? - no - Or do you just want to make sure that images are on one page and text is on the other page? - yes - Do you have example markup? - I would have to make some. My dtd is huge and the FO is also. Thanks, -- View this message in context: http://www.nabble.com/Layout-Question---tp19836323p20015948.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Layout Question -
Thanks Vincent, BTW, right-hand pages are odd and left-hand pages even - Thanks for the correction. I might be chasing my tail here. Even if fo:flow-map was implemented, I don't think I could do this dynamically. Thanks, Vincent Hennebert-2 wrote: Hi Phil, Philip V wrote: Hi, I have a requirement to do the following: Text will be on the right-hand pages (even) with supporting illustration on the facing left-hand pages (odd). (BTW, right-hand pages are odd and left-hand pages even.) Is this possible using xsl-fo? I am generating the FO from xslt. Text and graphics can be just about any where in the markup, so I am having trouble trying to figure this out. Sorry, I don’t think there is any possibility to do that at the moment. It might be possible to use the fo:flow-map feature of XSL-FO 1.1. You would for instance map the text to region-end and the graphics to region-start. Then you would use a sequence of page-masters alternatively missing a specification for the corresponding region: the page-master for even pages would have no region-end, and for odd pages no region-start. Then you would have 2 fo:flows: one for text, flowing on region-ends and one for graphics, flowing on region-starts. With the effect that each type of content would flow only on every other page. The reason for using region-start and region-end is that, contrary to region-body, they are optional and may not be specified on a page-master. region-body would not be used here. But: I’m not even sure how a missing region-part on a page should be handled (wait for the next page or throw an error); I’m not sure I understood the XSL-FO spec correctly; flow-map is not yet implemented in FOP; and I don’t know how the XSLT to produce that would look like... Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Layout-Question---tp19836323p19876008.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Layout Question -
Hi, I have a requirement to do the following: Text will be on the right-hand pages (even) with supporting illustration on the facing left-hand pages (odd). Is this possible using xsl-fo? I am generating the FO from xslt. Text and graphics can be just about any where in the markup, so I am having trouble trying to figure this out. Thanks in advance, Phil -- View this message in context: http://www.nabble.com/Layout-Question---tp19836323p19836323.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to add space between words
I believe you can also preserve whitespace: fo:block white-space-collapse=false input: paraThis is my name Phil/para output: This is my name Phil HTH, Phil -- View this message in context: http://www.nabble.com/How-to-add-space-between-words-tp19610565p19613085.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fop 0.95 beta-1 shutdowns my Weblogic server
Hi, The error indicates that your FO file has errors. fo:table-body is missing child elements. Have you checked your FO file to see if you have a table with no fo:table-row's ? HTH, Phil Erennion wrote: Hi everybody: I am running fop 0.95 beta-1 (the lastest version I have found on maven repositories) in a weblogic server, and I have an unexpected problem when an error occurs whithing the fop xmlToPdf execution. In the following example, an exception had been thrown due to the fact that I had a fo:table-body element with no child elements defined within it. The error trace shows as: fo:42:17: Error(42/17): fo:table-body is missing child elements. Required Content Model: marker* (table-row+|table-cell+) But the real problem comes after the exception has been thrown. In this point, the server suddenly shutdowns with no apparent reason. The weblogic console shows this message: 2008-09-18 15:55:17.509::INFO: Shutdown hook executing 2008-09-18 15:55:17.525:/grec:INFO: Closing WebApplicationContext of Struts ActionServlet 'action', module '/ajax' [EMAIL PROTECTED]:55:17 INFO (AbstractApplicationContext.java:642) - Closing org.springframework.web.context.support.XmlWebA [EMAIL PROTECTED]: display name [WebApplicationContext for namespace 'action-servlet']; startup date [Thu Sep 18 15:54:09 CEST 2008]; parent: [EMAIL PROTECTED] [EMAIL PROTECTED]:55:17 INFO (DefaultSingletonBeanRegistry.java:274) - Destroying singletons in org.springframework.beans.fa [EMAIL PROTECTED]: Has anybody any idea about the reason of this behavior?? Could it be pheraphs an issue with the beta version?? Thanks in advance, Joaquín -- View this message in context: http://www.nabble.com/Fop-0.95-beta-1-shutdowns-my-Weblogic-server-tp19554692p19557588.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]