You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Levent Guendogdu <le...@gmx.de> on 2001/11/03 12:09:06 UTC

RE: Attribute text-align not working in ?

Hi!

Thanks a lot. That work around certainly worked ;-)

Bye,
 Levo.


On Mon, 2001-10-29 at 15:43, PATEL, DINESH wrote:
> 
> I do something similar but I implement it as a table.  I find it easier to
> control alignement with tables.  I had problems using fo:inline.
> 
> <fo:static-content  flow-name="xsl-region-after">
>     <!-- fo:table is used to position and align the advisor's name and page
> number -->
>     <fo:block font-family="sans-serif"	 font-size="10pt">
>     <fo:table>
>         <fo:table-column column-width="55mm" />
>         <fo:table-column column-width="55mm" />
>         <fo:table-column	column-width="55mm" />
>         <fo:table-body>
>             <fo:table-row>
>                 <fo:table-cell>
>                     <fo:block>Page <fo:page-number /> of
> <fo:page-number-citation ref-id="endofdoc1"/></fo:block>
>                 </fo:table-cell>
>                 <fo:table-cell>
>                    <fo:block><xsl:value-of select="$Advisor-Name"
> /></fo:block>
>                 </fo:table-cell>
>                 <fo:table-cell>
>                     <fo:block><xsl:value-of select="$Agency-Code"
> /></fo:block>
>                 </fo:table-cell>
>             </fo:table-row>
>         </fo:table-body>
>     </fo:table>
>    </fo:block>
> </fo:static-content>
> 
> --
> Dinesh Patel
> Britannic Assurance.
> 
> 
> > -----Original Message-----
> > From:	Levent Guendogdu [SMTP:levomat@gmx.de]
> > Sent:	29 October 2001 13:53
> > To:	FOP Dev Mailing List
> > Subject:	Attribute text-align not working in <fo:inline/> ?
> > 
> > Hi everyone,
> > 
> > is the text-align attribute for <fo:inline> tags implemented? I try to
> > create a footer that displays some information on the left, center and
> > right of the page. This is taken from the example:
> > 
> > <fo:static-content flow-name="xsl-region-after">
> > <fo:block font-weight="bold" font-size="10pt"
> >             font-family="Arial, Helvetica, sans">
> > <fo:inline font-style="italic" text-align="start">
> > The XML Bible
> >      </fo:inline>
> > <fo:inline text-align="centered">
> > Page <fo:page-number/>
> > </fo:inline>
> > <fo:inline text-align="right">
> > Chapter 18: XSL Formatting Objects
> > </fo:inline>
> > </fo:block>
> > </fo:static-content>
> > 
> > 
> > The text-align attributes seems to be ignored so that everything just
> > sits on the left side. I also tried using "start" and "end" as values
> > for text-align to no avail. 
> > 
> > Could anyone help me with that? 
> > 
> > Thanx a lot.
> > 
> > Bye,
> >  Levo.
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> > For additional commands, email: fop-dev-help@xml.apache.org
> 
> ************
> This email and any accompanying documents are intended only for the named recipient, are confidential and may be  privileged.    If you are not the intended recipient please notify us immediately by email to admin@britannic.co.uk and you must not copy, disclose or otherwise use this message. Unauthorised use is strictly prohibited and may be unlawful. The content of this e-mail represents the view of the individual and not the company.   The company reserves the right to monitor the content of all e-mails in accordance with lawful business practice. 
> 
> Whilst attachments are virus checked before transmission, Britannic Assurance plc does not accept any liability in respect of any virus which is not detected.
> 
> Britannic Assurance plc, No. 3002 is registered in England and maintains its registered office at 1 Wythall Green Way, Wythall, Birmingham B47 6WG.  
> Telephone 01564 82 88 88      Fax: 01564 82 88 22     
> Website: www.britannicassurance.com
> 
> Britannic Assurance plc, Britannic Unit Linked Assurance Limited and Britannic ISA Managers Limited are regulated by the Personal Investment Authority.  Britannic Unit Trust Managers Limited is regulated by IMRO. Each of these companies is a member of the Britannic marketing group which only advises on and sells its own life assurance, pensions, unit trust and ISA products.
> ************
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org