Hi, I tried your solution. When we insert the text and image in 2 different blocks, then the image comes to the left and text comes to the center. But they are not inline. I want the image in the left and text in the right in the same line. If you can share some ideas, it would be great.
Thanks and regards, Sivashankar JBryant wrote: > > You can set the alignment properties on the blocks within the table cells, > thus: > > <fo:table table-layout="fixed"> > <fo:table-column column-width="2in"/> > <fo:table-column column-width="2.5in"/> > <fo:table-column column-width="2in"/> > <fo:table-body> > <fo:table-row> > <fo:table-cell> > <fo:block text-align="left">Left footer stuff here</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block text-align="center">Center footer stuff here</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block text-align="right">Right footer stuff here</fo:block> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > > > The footer definition I actually use for most of the documents for this > client is: > > <fo:table table-layout="fixed"> > <fo:table-column column-width="2in"/> > <fo:table-column column-width="2.5in"/> > <fo:table-column column-width="2in"/> > <fo:table-body> > <fo:table-row> > <fo:table-cell> > <fo:block xsl:use-attribute-sets="footerleft"> > Date prepared: <xsl:value-of > select="format-date(current-date(),'[D1] [MNn] [Y0001]')"/> > </fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block xsl:use-attribute-sets="footercenter"> > Confidential and Proprietary > </fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block xsl:use-attribute-sets="footerright"> > <fo:page-number /> > </fo:block> > </fo:table-cell> > </fo:table-row> > <fo:table-row> > <fo:table-cell number-columns-spanned="3"> > <fo:block xsl:use-attribute-sets="footercenter"> > Copyright <xsl:value-of select="$copyrightYears"/>, > <xsl:value-of select="$copyrightOwner"/>. All Rights Reserved > </fo:block> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > > Then I define the alignment in the named attribute set (which I keep in a > separate XSL file and import into several kinds of documents). > > Jay Bryant > Bryant Communication Services > (presently consulting at Synergistic Solution Technologies) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/PDF-Header-alignment-tp445298p26005134.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
