- From: Lanz <lancelot.meurillon@gmail.com>
- Date: Wed, 11 Jul 2012 16:25:19 +0200
- To: Glenn Adams <glenn@skynav.com>
- Cc: "G. Ken Holman" <gkholman@cranesoftwrights.com>, www-xsl-fo@w3.org
- Message-ID: <CAPh3csKvYzYgiDK1VbGLTYRcka2N3t8Pgsu-KNTqo8eE0J926A@mail.gmail.com>
You're right Glenn, I'll open a new bugzilla issue on FOP and pursue the discussion on fop-users@xmlgraphics.apache.org.<fop-users@xmlgraphics.apache.org> For user information and to close this discussion on this newsgroup: I found a solution to obtain a minimum height value by using 'block-progression-dimension.optimum' attribute in addition with block-progression-dimension.minimum attribute: <fo:root xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oecd=" http://oecd.metastore.ingenta.com/ns/" xmlns:cover=" http://www.oecd.org/ilibrary/cover" xmlns:functx="http://www.functx.com" xmlns:svg="http://www.w3.org/2000/svg" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="simple" page-height="297mm" page-width="210mm" margin-bottom="0mm" margin-left="0mm" margin-right="0mm" margin-top="0mm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simple"> <fo:flow flow-name="xsl-region-body"> <fo:block-container position="absolute" top="245mm" left="80mm" width="115mm" border="0.75pt solid black" block-progression-dimension.minimum="37mm" block-progression-dimension.optimum="37mm"> <fo:block margin="3mm" font-family="Arial" font-size="11pt" line-height="15pt" linefeed-treatment="preserve" white-space-collapse="false">Your text here</fo:block> </fo:block-container> </fo:flow> </fo:page-sequence> </fo:root> Regards Lanz On Wed, Jul 11, 2012 at 3:51 PM, Glenn Adams <glenn@skynav.com> wrote: > Since this is an FOP specific issue, please pursue this thread further on > fop-users@xmlgraphics.apache.org. I would also recommend opening a new > bugzilla issue on FOP, providing test input and output files, referring to > the old (now closed) issue you cite below. > > Regards, > Glenn > > > On Wed, Jul 11, 2012 at 6:57 AM, Lanz <lancelot.meurillon@gmail.com>wrote: > >> Thanks for your answer Ken. >> I was using Apache FOP 0.95 for which there was a known issue ( >> https://issues.apache.org/bugzilla/show_bug.cgi?id=46638) fixed in FOP >> 1.0. I have tried with this new version but the behavior is exactly the >> same that the previous version... >> >> Lanz >> >> On Tue, Jul 10, 2012 at 11:18 PM, G. Ken Holman < >> gkholman@cranesoftwrights.com> wrote: >> >>> At 2012-07-10 20:54 +0200, Lanz wrote: >>> >>>> I'm trying to create a block that has a minimum heigt of 37mm by using >>>> 'block-progression-dimension.**minimum' attribute in this way : >>>> >>> >>> You are using it correctly. I ran your example verbatim and Antenna >>> House gave me a box 37mm high. When I added more text lines than fit, the >>> box height extended down to accommodate it. When I changed the box minimum >>> height and removed the extra lines, the box turned out as expected. >>> >>> >>> but it does not work, when the content is not long enough the dimension >>>> of the block is less than 37 mm >>>> >>> >>> That sounds like a bug in whatever processor you are using. >>> >>> I hope this helps, if only to tell you what you are doing does produce >>> what you expect in my environment. >>> >>> . . . . . . . . . Ken >>> >>> -- >>> Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012 >>> Contact us for world-wide XML consulting and instructor-led training >>> Free 5-hour lecture: http://www.CraneSoftwrights.**com/links/udemy.htm<http://www.CraneSoftwrights.com/links/udemy.htm> >>> Crane Softwrights Ltd. http://www.CraneSoftwrights.**com/f/<http://www.CraneSoftwrights.com/f/> >>> G. Ken Holman mailto:gkholman@**CraneSoftwrights.com<gkholman@CraneSoftwrights.com> >>> Google+ profile: https://plus.google.com/**116832879756988317389/about<https://plus.google.com/116832879756988317389/about> >>> Legal business disclaimers: http://www.CraneSoftwrights.**com/legal<http://www.CraneSoftwrights.com/legal> >>> >>> >>> >> >
Received on Wednesday, 11 July 2012 14:26:07 UTC