Subject: RE: [xsl] Outline a header From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Wed, 12 Nov 2003 14:31:02 +0100 |
> -----Original Message----- > From: Barry van Weldam > > I kinda works, but now i notice that i can't use spaces between > words i want to keep together. > > any suggestions? > Notice that <fo:leader ...> won't work as expected due to the absence of a leader-length and/or a leader-alignment attribute. (I think in the snippet in your original post, it would yield a single space...) What is happening due to the text-align-last attribute, is that all space on the line is stretched so that all the contents of the fo:block take up a full 'line'... Any fo:inline added will decrease the intermediate space. I think, for your purpose, a small fo:table would be best suited <fo:table table-layout="fixed" > <fo:table-column column-width="..." /> <fo:table-column column-width="..." /> <fo:table-column column-width="..." /> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block text-align="start">CompanyName</fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="center">Hmmm</fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="end">Page <fo:page-number /></fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> Hope this helps! Greetz, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Outline a header, Barry van Weldam | Thread | Re: [xsl] Outline a header, Barry van Weldam |
Re: [xsl] Check if text is before , David Carlisle | Date | Re: [xsl] empty elements to filled , David Carlisle |
Month |