Re: page break at pdf file
Hi, You should give more relevant details (at least, FOP version, with short XSL-FO attached). That said, if you have a page-break after your last table, you probably have some content (not visible) after it. You should analyse what you get AFTER XSLT processing. 2014-02-13 22:43 GMT+01:00 edi4988 edi4...@gmail.com: Hi everyone, I have a template with the same table at every page from the document and after from every table I have a page break, but I have a blank page to the end of the pdf document. how can i delete a page break of the last page from the document and delete the blank page? Do I need to use a XPath condition to do this? Do you Know any idea? I use the XSL-FO property break-after (page). I use StyleVision for the XSLT template and Apache Fop for the pdf file. Thanks. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/page-break-at-pdf-file-tp40067.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 -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: page break at pdf file
Thanks for the reply. I use fop-1.1 and this is my XSL-FO file SIICG.xslt http://apache-fop.1065347.n5.nabble.com/file/n40083/SIICG.xslt -- View this message in context: http://apache-fop.1065347.n5.nabble.com/page-break-at-pdf-file-tp40067p40083.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: page break at pdf file
Hi, There was a solution in the past http://marc.info/?l=fop-userm=107779992001607 Thanks -Original Message- From: edi4988 [mailto:edi4...@gmail.com] Sent: 17 February 2014 15:07 To: fop-users@xmlgraphics.apache.org Subject: Re: page break at pdf file Thanks for the reply. I use fop-1.1 and this is my XSL-FO file SIICG.xslt http://apache-fop.1065347.n5.nabble.com/file/n40083/SIICG.xslt -- View this message in context: http://apache-fop.1065347.n5.nabble.com/page-break-at-pdf-file-tp40067p40083 .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 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Page-Break and keep-together.within-page
Have you tried the Trunk version? I'm not sure what enhancements may have been made, but I have seen someone mention problems with keep-together attributes before. Personally, I use FOP for reporting and I'm used to old style reporting where I print everything explicitly line by line so I should know what fits on a page. I don't bother making sure auto formatting works, I just format it. I report data in XML with tags to specify what column and row each piece of text should start and the maximum columns to fit across the page. The XSL uses that to calculate the block and text size. I force the location to make sure it fits on a page: fo:block-container xsl:attribute name=positionabsolute/xsl:attribute I don't know if forcing left, top, width, height attributes and calculating font-size would work for you but I find it very cool. -Original Message- From: Michael Seeberger [mailto:michael.seeber...@isys-software.de] Sent: Wednesday, June 30, 2010 8:18 AM To: fop-users@xmlgraphics.apache.org Subject: Page-Break and keep-together.within-page Hi there, i'm using Apache-Fop Version 0.95 and i'm having problems to get my report created the way i want it to. The problem lies in the behaviour of Apache-FOP and the keep-together.within-page-attribute. The report i want to create consists of several fo:block-Elements in which i use fo:table-elements to layout the report and the behaviour of Apache-FOP as i want it to be should be something like this: Condition 1. if a fo:block fits completely on a page then it should stay there. Condition 2. if a fo:block won't fit completely on a page then Apache-FOP should insert a page-break and print it on the next page (i implemented this by using keep-together.within-page=always and it works). Condition 3. if a fo:block is to large for a single page Apache-FOP should insert a page-break where necessary (won't work if condition 2 is implemented). But until now i've not been able to get Apache-FOP working this way because FOP seems to have a problem with the combination of condition 1 and condition 2. When a fo:block won't fit on a page FOP inserts a page-break when using keep-together but if this fo:block is to large for a single page it won't insert another page-break where necessary but overflows the page. The Reason for this seems to be the attribute-value always, as my Google-research tells me always means that when using this value an fo:xxx-Element stays together no matter what even when this leads to an overflow. I've also tried using keep-together.with-next or keep-together.with-previous but it didn't work either and using integer-values instead of always isn't supported by Apache-FOP 0.95 as far as i know. And heres my Question: Is there really no way to make Apache-FOP create the report the way i want it to? thx in advance Michael Seeberger - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Page-Break and keep-together.within-page
Hi Georg, thank you for your answer but setting keep-together.within-page=5 doesn't work for me. It still overflows the page when the content is to large. Are you using FOP 0.95 or FOP Trunk? Regards, Michael Seeberger Am 30.06.2010 14:40, schrieb Georg Datterl: Hi Michael, Yes, keep-together.within-page=5 is the way to go. Although differences between numbers are not yet implemented, numbers in general are weaker than page-breaks, whereas always is stronger. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Michael Seeberger [mailto:michael.seeber...@isys-software.de] Gesendet: Mittwoch, 30. Juni 2010 14:18 An: fop-users@xmlgraphics.apache.org Betreff: Page-Break and keep-together.within-page Hi there, i'm using Apache-Fop Version 0.95 and i'm having problems to get my report created the way i want it to. The problem lies in the behaviour of Apache-FOP and the keep-together.within-page-attribute. The report i want to create consists of several fo:block-Elements in which i use fo:table-elements to layout the report and the behaviour of Apache-FOP as i want it to be should be something like this: Condition 1. if a fo:block fits completely on a page then it should stay there. Condition 2. if a fo:block won't fit completely on a page then Apache-FOP should insert a page-break and print it on the next page (i implemented this by using keep-together.within-page=always and it works). Condition 3. if a fo:block is to large for a single page Apache-FOP should insert a page-break where necessary (won't work if condition 2 is implemented). But until now i've not been able to get Apache-FOP working this way because FOP seems to have a problem with the combination of condition 1 and condition 2. When a fo:block won't fit on a page FOP inserts a page-break when using keep-together but if this fo:block is to large for a single page it won't insert another page-break where necessary but overflows the page. The Reason for this seems to be the attribute-value always, as my Google-research tells me always means that when using this value an fo:xxx-Element stays together no matter what even when this leads to an overflow. I've also tried using keep-together.with-next or keep-together.with-previous but it didn't work either and using integer-values instead of always isn't supported by Apache-FOP 0.95 as far as i know. And heres my Question: Is there really no way to make Apache-FOP create the report the way i want it to? thx in advance Michael Seeberger - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Page-Break and keep-together.within-page
Hi Georg, ok i tried the Trunk and it worked. thank you very much now i just have to decide whether i use the trunk-version in a production environment or not. Is there any information when the next FOP-Release is planned? I didn't find any on the website Regards Michael Seeberger Am 30.06.2010 15:12, schrieb Georg Datterl: Hi Michael, Trunk. Most interesting features are in trunk anyway. And yes, my application is in a production environment. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Michael Seeberger [mailto:michael.seeber...@isys-software.de] Gesendet: Mittwoch, 30. Juni 2010 15:00 An: fop-users@xmlgraphics.apache.org Betreff: Re: Page-Break and keep-together.within-page Hi Georg, thank you for your answer but setting keep-together.within-page=5 doesn't work for me. It still overflows the page when the content is to large. Are you using FOP 0.95 or FOP Trunk? Regards, Michael Seeberger Am 30.06.2010 14:40, schrieb Georg Datterl: Hi Michael, Yes, keep-together.within-page=5 is the way to go. Although differences between numbers are not yet implemented, numbers in general are weaker than page-breaks, whereas always is stronger. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Michael Seeberger [mailto:michael.seeber...@isys-software.de] Gesendet: Mittwoch, 30. Juni 2010 14:18 An: fop-users@xmlgraphics.apache.org Betreff: Page-Break and keep-together.within-page Hi there, i'm using Apache-Fop Version 0.95 and i'm having problems to get my report created the way i want it to. The problem lies in the behaviour of Apache-FOP and the keep-together.within-page-attribute. The report i want to create consists of several fo:block-Elements in which i use fo:table-elements to layout the report and the behaviour of Apache-FOP as i want it to be should be something like this: Condition 1. if a fo:block fits completely on a page then it should stay there. Condition 2. if a fo:block won't fit completely on a page then Apache-FOP should insert a page-break and print it on the next page (i implemented this by using keep-together.within-page=always and it works). Condition 3. if a fo:block is to large for a single page Apache-FOP should insert a page-break where necessary (won't work if condition 2 is implemented). But until now i've not been able to get Apache-FOP working this way because FOP seems to have a problem with the combination of condition 1 and condition 2. When a fo:block won't fit on a page FOP inserts a page-break when using keep-together but if this fo:block is to large for a single page it won't insert another page-break where necessary but overflows the page. The Reason for this seems to be the attribute-value always, as my Google-research tells me always means that when using this value an fo:xxx-Element stays together no matter what even when this leads to an overflow. I've also tried using keep-together.with-next or keep-together.with-previous but it didn't work either and using integer-values instead of always isn't supported by Apache-FOP 0.95 as far as i know. And heres my Question: Is there really no way to make Apache-FOP create the report the way i want it to? thx in advance Michael Seeberger - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop
RE: Page-Break and keep-together.within-page
What sort of features are in the Trunk which are not in 0.95? I didn't see anything like a What's New document. I tested the Trunk and the only obvious difference for what I use thus far is it requires a newer version of xmlgraphics-commons and the EmbedFontInfo object create has an extra parameter. -Original Message- From: Georg Datterl [mailto:georg.datt...@geneon.de] Sent: Wednesday, June 30, 2010 9:12 AM To: fop-users@xmlgraphics.apache.org Subject: AW: Page-Break and keep-together.within-page Hi Michael, Trunk. Most interesting features are in trunk anyway. And yes, my application is in a production environment. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Page-Break and keep-together.within-page
Hi Eric, Fop changes details is here: http://xmlgraphics.apache.org/fop/changes.html#version_FOP%20Trunk -- Pascal Le 30/06/2010 15:52, Eric Douglas a écrit : What sort of features are in the Trunk which are not in 0.95? I didn't see anything like a What's New document. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Page Break in FOP
To resolve this issue i did not change the XSL file instead i changed the XML file. Here i grouped the data with the same date together. Then in XSL file i wrote 2 nested xsl:for-each (one for date grouping and one for data within the grouped dates) and then on the outer most for each loop gave a break-before=page) shrutin wrote: Hello All, I am new to FOP and have started my first assignment. i need to know how can i insert a page break on the basis of a condition. Scenario: I have a list and based on the value in the list i need to break pages. i.e my XML data is data record date01/01/2009/date srnoA/srno nameAA/name /record record date01/01/2009/date srnoA/srno nameAA/name /record record date02/01/2009/date srnoA/srno nameAA/name /record /data Now my XSL has a xsl:for-each statement for iterating the list into a table. But what i need is that the as the date changes a page break should be inserted. i.e. In the above example the first 2 records should be on page 1 and then a page break should be inserted enabling the 3rd record to be on another page. How could i do this? Awaiting replies. Thanks Shruti -- View this message in context: http://www.nabble.com/Page-Break-in-FOP-tp25660112p25676331.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: Page Break in FOP
Hi, I hope you will find someway using the following xslt in order to get page breaks based on the date condition... ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xsl:template match='data' fo:root fo:layout-master-set fo:simple-page-master master-name=my-page fo:region-body margin=1in/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page fo:flow flow-name=xsl-region-body xsl:for-each select=* xsl:variable name=currentdatexsl:value-of select=date//xsl:variable xsl:variable name=previousdatexsl:value-of select=preceding-sibling::record/date//xsl:variable xsl:if test=$currentdate!=$previousdate fo:block break-after=page/ /xsl:if fo:block xsl:value-of select=$currentdate/ xsl:value-of select=$previousdate/ /fo:block fo:block xsl:value-of select=name/ /fo:block /xsl:for-each /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet I don't know this may be the ideal solution or not? Cheers, Venkat. shrutin wrote: Hello All, I am new to FOP and have started my first assignment. i need to know how can i insert a page break on the basis of a condition. Scenario: I have a list and based on the value in the list i need to break pages. i.e my XML data is data record date01/01/2009/date srnoA/srno nameAA/name /record record date01/01/2009/date srnoA/srno nameAA/name /record record date02/01/2009/date srnoA/srno nameAA/name /record /data Now my XSL has a xsl:for-each statement for iterating the list into a table. But what i need is that the as the date changes a page break should be inserted. i.e. In the above example the first 2 records should be on page 1 and then a page break should be inserted enabling the 3rd record to be on another page. How could i do this? Awaiting replies. Thanks Shruti - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: page break in table cells
On 11 Mar 2009, at 13:35, Georg Datterl wrote: Hi Georg Instead of XXX AAA XXX --- XXX BBB XXX --- CCC --- I get XXX AAA --- XXX BBB --- XXX CCC XXX --- I'm not certain, but I have a feeling this follows from the way the Knuth algorithm implementation for tables works. The result you get has better overall demerits because it looks nicer. That is: the content is more evenly distributed over the pages than in the first case. IIC, FOP will always do its best to avoid layouts like the first, where you have one page where only one table-part contributes something. Such a layout will only be chosen if there really is no other way... I already tried three rows and a number-rows-spanned for the first column, but that didn't change anything. For the same reason, I think: better distribution of content over the available space. Table markers are not yet implemented and I'm fresh out of ideas at the moment. Does anybody know of a way to get the layout I need? It seems like three rows with a forced rowspan of two set in the first column, is what is needed to trigger the desired result here. Strange thing I'll have to investigate on my end is that, if I render your sample through FOP Trunk (that is, my sandbox), there is no content on the third page at all. The block is just gone. I get a blank third page as a result... :-/ Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: page break in table cells
On 11 Mar 2009, at 19:15, Andreas Delmelle wrote: snip / It seems like three rows with a forced rowspan of two set in the first column, is what is needed to trigger the desired result here. Just tried with a fresh checkout, and FOP Trunk chooses a less desirable layout in this case. XXX AAA --- XXX BBB XXX XXX --- CCC Although correct, the first break yields better demerits if the content in both cells for the first row is roughly the same. What happens on the next page does not influence this. I did manage to get very close by adding an empty block in the AAA cell after the main block, and specifying some forced space-before on it. In that case, the algorithm is tricked into thinking that there is more 'content' in that cell, and allows more lines from the first column to appear on the first page. HTH! Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: page break in table cells
On 11 Mar 2009, at 19:58, Andreas Delmelle wrote: I did manage to get very close by adding an empty block in the AAA cell after the main block, and specifying some forced space-before on it. In that case, the algorithm is tricked into thinking that there is more 'content' in that cell, and allows more lines from the first column to appear on the first page. Come to think of it: this approach could solve the problem with using just one fo:table-row as well. The only thing to remember there, is to also set space-before.conditionality to retain. Since the page-break happens within the confines of the table-cell, there is no fence between the empty block, and the following one, so this would result in the space being discarded. So, to summarize the proposed workaround/FO hack, in the original sample, you would only need to add something like: ... This text should be on the first page./fo:block fo:block space-before.optimum=5cm space-before.precedence=force space-before.conditionality=retain / And probably also between the second and third pages, to make sure all of the remaining content in the first column ends up on the second page. HTH! Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: page-break-inside=avoid problems...
On Aug 31, 2007, at 10:51, Yauhen Rybak wrote: Hi Another question about page-break-inside=avoid. I've tried to find any solution but I failed. I applied this attribute to a block of text and it works. But when the block of text is more bigger than entire page - the text wich have to be placed on the second page is lost. I need this text to be carried over to the next page. According to the XSL-FO Recommendation, page-break-inside='avoid' as a shorthand is 'expanded' to keep-together.within-page='always'. Since the keep-value is always, the CSS-shorthand 'page-break- inside' cannot be used for your purpose. What you would need is support for integer keeps (which is currently still absent in FOP, unfortunately). Sorry, no workaround comes to mind immediately. Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page break
On Mar 9, 2007, at 11:53, pedro wrote: Hi, I have a module with 4 column.The first column is a product descripion and the third is the price.Then when if the description is break on the new page the prrice is on the same line of the first product description line but i want that the price is dyplayed on the last line of the description In that case, you should use display-align=after on the cell containing the price. Caution: if you're using FOP 0.93, I believe someone recently mentioned that FOP currently has problems with display-align=after when the cell's contents are broken over multiple pages... HTH! Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page break
Hi, Andreas L Delmelle a écrit : On Mar 9, 2007, at 11:53, pedro wrote: Hi, I have a module with 4 column.The first column is a product descripion and the third is the price.Then when if the description is break on the new page the prrice is on the same line of the first product description line but i want that the price is dyplayed on the last line of the description In that case, you should use display-align=after on the cell containing the price. Caution: if you're using FOP 0.93, I believe someone recently mentioned that FOP currently has problems with display-align=after when the cell's contents are broken over multiple pages... It works more or less, but still there is no means to achieve Pedros's needs I think. If you specify display-align=after on the cell containing the price you will get the following result: Desc |.. | Price The fop is a good to ool 0,00 --new page and is opensource There is enough space to put the price on the first page, so there is no reason to put it on the second one. Of course, it will lie at the bottom of the page, but the first one. This behavior is compliant with the spec I think. Right now I can't think of a way to achieve what you need. Maybe others have suggestions? HTH, Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Page break
I have a module with 4 column.The first column is a product descripion and the third is the price.Then when if the description is break on the new page the prrice is on the same line of the first product description line but i want that the price is dyplayed on the last line of the description I assume you're using table cells for the columns? Set the Price table cell to align to the bottom. In HTML this would be: td valign=bottom In XSL-FO it is: fo:table-cell display-align=after Actually, you may wish to cause paragraphs not to break on page. In other words, an entire description will always appear on the same page as its price. In XSL-FO this is the keep-together=always attribute inside of the table or cell element you wish to keep on the same page. I hope that is helpful. Regards, Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page break
Vincent Hennebert wrote: snip/ Desc |.. | Price The fop is a good to ool 0,00 --new page and is opensource There is enough space to put the price on the first page, so there is no reason to put it on the second one. Of course, it will lie at the bottom of the page, but the first one. This behavior is compliant with the spec I think. Right now I can't think of a way to achieve what you need. Maybe others have suggestions? Well I think the best way to achieve a good looking result in this case is to prevent page breaks mid row using keep-together=always on the fo:table-row element. That way the price will always be aligned to the bottom of the description in the first column. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Page break
Step by step... The display align works fine but the keep-together is not that i want. If i set always on table my module miss the page break and if i set on cell i don't see change. Well ,my table is a dynamic table without fixed height.. [code] xsl:template name=main-document.body xsl:param name=document-to/ fo:flow flow-name=xsl-region-body fo:table width=200mm border-collapse=collapse table-layout=fixed border-color=black border-style=solid border-width=0.5pt fo:table-column column-width=85mm/ fo:table-column column-width=15mm/ fo:table-column column-width=20mm/ fo:table-column column-width=25mm/ fo:table-column column-width=15mm/ fo:table-column column-width=25mm/ fo:table-column column-width=15mm/ fo:table-header fo:table-row fo:table-cell background-color=rgb(192, 192, 192) border-right-color=black border-right-style=solid border- right-width=0.5pt border-bottom-color=black border-bottom-style=solid border-bottom-width=0.5pt fo:block font-family=Courier font-size=8pt text-align=left margin-left=1mm font-weight=boldDescrizione/fo:block /fo:table-cell fo:table-cell background-color=rgb(192, 192, 192) border-right-color=black border-right-style=solid border-right-width=0.5pt border-bottom-color=black border-bottom-style=solid border-bottom-width=0.5pt fo:block font-family=Courier font-size=8pt text-align=left margin-left=1mm font-weight=boldU.M./fo:block /fo:table-cell fo:table-cell background-color=rgb(192, 192, 192) border-right-color=black border-right-style=solid border-right-width=0.5pt border-bottom-color=black border-bottom-style=solid border-bottom-width=0.5pt fo:block font-family=Courier font-size=8pt text-align=left margin-left=1mm font-weight=bold Quantitxsl:text disable-output-escaping=yes#38;#224;/xsl:text/fo:block /fo:table-cell fo:table-cell background-color=rgb(192, 192, 192) border-right-color=black border-right-style=solid border-right-width=0.5pt border-bottom-color=black border-bottom-style=solid border-bottom-width=0.5pt fo:block font-family=Courier font-size=8pt text-align=left margin-left=1mm font-weight=boldPrezzo/fo:block /fo:table-cell fo:table-cell background-color=rgb(192, 192, 192) border-right-color=black border-right-style=solid border-right-width=0.5pt border-bottom-color=black border-bottom-style=solid border-bottom-width=0.5pt fo:block font-family=Courier font-size=8pt text-align=left
Re: Page break
pedro wrote: Step by step... The display align works fine but the keep-together is not that i want. If i set always on table my module miss the page break and if i set on cell i don't see change. I'm not suggesting that you set keep-together on the entire table, i.e. fo:table element. I can understand that you may want your table spreading across more than one page. Neither am I suggesting you set keep-together on fo:table-cell. I don't think keep-together on a single table-cell in a row makes much sense. What I am suggesting is that you place keep-together on fo:table-row. Of course, this may also not be appropriate if you have long rows which you are expecting to take up more than a page or so. Well ,my table is a dynamic table without fixed height.. It shouldn't matter. Chris snip/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-break-before
On Dec 19, 2005, at 19:31, ncw wrote: Hi, I am using CSSToXSLFO to generate FO, and then FOP to generate PDF. I've found that the page-break-before attribute of fo:block is not yet implemented, and was wondering if this is something that will be implemented sooner or later. Is there any other FO construct I could use to achieve the same effect? In fact there is no property named 'page-break-before'. The right way to specify this is 'break-before=page'. see: http://www.w3.org/TR/xsl/slice7.html#break-before HTH! Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-break-before
Uhm, there is a shorthand property called page-break-before (7.29.17). It's just that it's not implemented, yet. Still, it would be better for CSSToXSLFO to support the break-before property instead, because page-break-before is in the Complete conformance level while break-before is already available in Basic. But I guess since the application has a CSS background it's no wonder that it rather uses the CSS properties instead of the native FO ones. On 19.12.2005 19:41:19 Andreas L Delmelle wrote: On Dec 19, 2005, at 19:31, ncw wrote: Hi, I am using CSSToXSLFO to generate FO, and then FOP to generate PDF. I've found that the page-break-before attribute of fo:block is not yet implemented, and was wondering if this is something that will be implemented sooner or later. Is there any other FO construct I could use to achieve the same effect? In fact there is no property named 'page-break-before'. The right way to specify this is 'break-before=page'. see: http://www.w3.org/TR/xsl/slice7.html#break-before HTH! Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-break-before
On Dec 19, 2005, at 19:58, Jeremias Maerki wrote: Uhm, there is a shorthand property called page-break- before (7.29.17). Oops! Totally missed that one. Too quick in my reply --again *sigh* Sorry, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-break-before
On 19.12.2005 20:04:25 Andreas L Delmelle wrote: On Dec 19, 2005, at 19:58, Jeremias Maerki wrote: Uhm, there is a shorthand property called page-break- before (7.29.17). Oops! Totally missed that one. Too quick in my reply --again *sigh* Welcome to the club. I was burned by that a number of times now. :-) That's life on the fast lane. Hehe Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-break-before
Not sure if it's what you're looking for, but I use this in my custom.xsl file: xsl:attribute-set name=section.level1.properties xsl:attribute name=break-beforepage/xsl:attribute /xsl:attribute-set On 12/19/05, ncw [EMAIL PROTECTED] wrote: Hello, I am using CSSToXSLFO to generate FO, and then FOP to generate PDF. I've found that the page-break-before attribute of fo:block is not yet implemented, and was wondering if this is something that will be implemented sooner or later. Is there any other FO construct I could use to achieve the same effect? Regards, Nancy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- It is hard enough to remember my opinions, without also remembering my reasons for them! -- Friedrich Nietzsche - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page Break Issue.
Glen Mazza wrote: BTW, what would you normally recommend in such cases? Negotiating EDI, of course :-) I *hate* paper forms. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]