[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Outline a header

Subject: Re: Outline a header
From: "Barry van Weldam" <barry@xxxxxxx>
Date: Thu, 13 Nov 2003 10:45:02 +0100
cell outline
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.