|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Outline a header
Yep, this works. I am using/reading xPath from O'reilly and i got that snippet from there. Your suggestions does the job. I know i don' t do it the right way ;) That's i am trying to lay-out the page with tables 1 table for the header 1 table for the body-part. I think it is suitable, because it is just a "sort-of" spreadsheet with all data. Trying to get the hang of it. Grtz, barry ----- Original Message ----- From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, November 12, 2003 2:31 PM Subject: RE: Outline a header > > -----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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








