Hi Deepthi, 

I understood that much. But maybe it already solves your problem if you try 
this:

<xsl:if Image is full.........>
                </fo:table-cell>                
      <fo:table-row>
            <fo:table-cell number-column-spanned="2">
                        <fo:block>
                                <fo:external-graphic height="145mm" 
scaling="uniform">
                                        <xsl:attribute name="src"><xsl:value-of 
                               select="......."/></xsl:attribute>
                        </fo:external-graphic>
                        </fo:block>
           </fo:table-cell>
      </fo:table-row>
        <fo:table-row>
                <fo:table-cell>
</xsl:if>

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: k deepthi [mailto:[email protected]] 
Gesendet: Donnerstag, 22. Oktober 2009 10:51
An: [email protected]
Betreff: Re: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

Hi Georg,
I am creating another table with table-width more than the outer table width 
for full image as
 

<fo:table hyphenate="true" height="140mm" table-layout="fixed" width="275mm">

<fo:table-column column-width="145mm"/>
<fo:table-column column-width="130mm"/>

<fo:table-body>
<fo:table-row>
<fo:table-cell>
    <xsl:call-template name="text">
      ............
    </xsl:call-template>
</fo:table-cell>
<fo:table-cell>
    <xsl:call-template name="images">
      ............
    </xsl:call-template>
</fo:table-cell>
<xsl:template name="images">
     <xsl:for-each...>
          <xsl:if Image is full.........>
                

          <fo:table hyphenate="true" table-layout="fixed" padding="1mm" 
width="275mm">

             <fo:table-column column-width="275mm"/>

             <fo:table-body>

              <fo:table-row>

                  <fo:table-cell height="145mm" width="275mm" padding-top="8mm">

                       <fo:block space-before="5mm" space-after="1mm" 
text-align="center">

                           <fo:external-graphic height="145mm" 
scaling="uniform">

                               <xsl:attribute name="src"><xsl:value-of 

                                             select="......."/></xsl:attribute>

                           </fo:external-graphic>

                       </fo:block>

                 </fo:table-cell>

             </fo:table-row>
           </fo:table-body>
          </xsl:if>
     </xsl:for-each>
</xsl:template>
 
Also please find the document attached for the problem.
 
Regards,
Deepthi.K

--- On Wed, 21/10/09, Georg Datterl <[email protected]> wrote:



        From: Georg Datterl <[email protected]>
        Subject: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        To: [email protected]
        Date: Wednesday, 21 October, 2009, 5:56 PM
        
        
        Hi Deepthi, 
        
        OK. What is wrong with this two variants? 
        
            aaa aaa  +--------+
            aaa      | image1 |
                     +--------+
        ---page break------------
            +-----------------+
            |    image2       |
            +-----------------+
        ---page break------------
            bbb bbb
            bbb
            ccc ccc
            ccc
        
        
            aaa aaa  +--------+
            aaa      | image1 |
            bbb bbb  |        |
            bbb      |        |
            ccc ccc  |        |
            ccc      +--------+
        ---page break------------
            +-----------------+
            |    image2       |
            +-----------------+
        ---page break------------
        
        Regards,
        
        Georg Datterl
        
        ------ Kontakt ------
        
        Georg Datterl
        
        Geneon media solutions gmbh
        Gutenstetter Straße 8a
        90449 Nürnberg
        
        HRB Nürnberg: 17193
        Geschäftsführer: Yong-Harry Steiert 
        
        Tel.: 0911/36 78 88 - 26
        Fax: 0911/36 78 88 - 20
        
        www.geneon.de
        
        Weitere Mitglieder der Willmy MediaGroup:
        
        IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
        Willmy PrintMedia GmbH:                            www.willmy.de
        Willmy Consult & Content GmbH:                 www.willmycc.de 
        -----Ursprüngliche Nachricht-----
        Von: k deepthi [mailto:[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> ] 
        Gesendet: Mittwoch, 21. Oktober 2009 14:20
        An: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
        Betreff: Re: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        
        Hi Georg,
        
        aaa aaa  +------------+
        aaa         | image1 |
        bbb bbb   |            | 
        bbb         +------------+
        -------End of page 1-------
        +-----------------+
        |    image2       |
        +-----------------+
        -------End of page 2----------
        ccc ccc
        ccc
        
        
        This is the layout what I want. And the image 2 should be in separate 
page occupying the full page. The text should flow to the next page.
        
        
        
        --- On Wed, 21/10/09, Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> > wrote:
        
        
        
            From: Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> >
            Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
            To: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
            Date: Wednesday, 21 October, 2009, 1:15 PM
            
            
            Hi Deepthi, 
            
            OK, I guess I misunderstood some basic requirements. I thought, you 
had text/image pairs. If you want to display your text first and your images 
later, I don't understand the right column/left column thing. If you have a 
list of texts for the left column and a list of images for the right column 
without a relation between texts and images, how do you know which text to 
place before and which text to place after any image?
            
            For example, if your data looks like 
            <text>aaa aaa aaa</text>
            <text>bbb bbb bbb</text>
            <text>ccc ccc ccc</text>
            
            and
            
            <image type="half">image1</image>
            <image type="full">image2</image>
            
            is the correct layout 
            
            aaa aaa  +--------+
            aaa      | image1 |
            bbb bbb  |        |
            bbb      +--------+
            +-----------------+
            |    image2       |
            +-----------------+
            ccc ccc
            ccc
            
            or
            
            aaa aaa  +--------+
            aaa      | image1 |
            bbb bbb  |        |
            bbb      |        |
            ccc ccc  |        |
            ccc      +--------+
            +-----------------+
            |    image2       |
            +-----------------+
            
            or
            
            aaa aaa  +--------+
            aaa      | image1 |
                     +--------+
            +-----------------+
            |    image2       |
            +-----------------+
            bbb bbb
            bbb
            ccc ccc
            ccc
            
            Regards,
            
            Georg Datterl
            
            ------ Kontakt ------
            
            Georg Datterl
            
            Geneon media solutions gmbh
            Gutenstetter Straße 8a
            90449 Nürnberg
            
            HRB Nürnberg: 17193
            Geschäftsführer: Yong-Harry Steiert 
            
            Tel.: 0911/36 78 88 - 26
            Fax: 0911/36 78 88 - 20
            
            www.geneon.de
            
            Weitere Mitglieder der Willmy MediaGroup:
            
            IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
            Willmy PrintMedia GmbH:                            www.willmy.de
            Willmy Consult & Content GmbH:                 www.willmycc.de 
            -----Ursprüngliche Nachricht-----
            Von: k deepthi [mailto:[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> ] 
            Gesendet: Mittwoch, 21. Oktober 2009 08:17
            An: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
            Betreff: Re: AW: AW: AW: Regarding XSL-Fo table columns display
            
            Hi Georg,
            The images will be in mixture of sizes not only one size. It should 
display both sizes in one table. And there is no relation between text Fos and 
images. We should display text Fos separately and after that display images 
containing both sizes coming right side to text.
            
            Regards
            Deepthi.
            
            --- On Tue, 20/10/09, Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> > wrote:
            
            
            
                From: Georg Datterl <[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> >
                Subject: AW: AW: AW: Regarding XSL-Fo table columns display
                To: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>  
<http://in.mc87.mail.yahoo.com/mc/[email protected]> 
                Date: Tuesday, 20 October, 2009, 5:47 PM
                
                
                Hi Deepthi, 
                
                I should charge for that. 
                
                > > What do you mean when you say templates? The fo code for 
left and right column?
                > The text and image contents will come from separate 
<xsl:call-template>s within the same xsl file. 
                
                I don't think so. I'd guess the text and image CONTENTS will 
come from the XML files. Otherwise, what's in your XML files?
                
                > And for text when traversing the xml file i get text strings 
with html content and will change to fo string to display in pdf as left 
column. 
                > ---<row><cell>text</cell><cell><image/></cell></row> this is 
the approach presently we are following.
                > <row><cell 
colspan=2><image></cell></row><row><cell>text</cell></row>. This approach will 
display the images first and text at last. 
                
                Right.
                
                > But the requirement is to display them side by side and when 
                > full image comes in the middle it should occupy the whole 
                > page overflowing the text column to other page 
                
                You either have text with a full image or text with a half 
image, right? So if you get a half image, you display them side by side 
("present apporach"), if you get a full image, you display the image first and 
the text afterwards (second approach). 
                
                > and displaying half images on right side.
                
                I don't understand. Either you have a full image or a half 
image. If you have a full image which needs the whole page, there's no half 
image anyway which would want to go to the right column. Right?
                
                Regards,
                
                Georg Datterl
                
                ------ Kontakt ------
                
                Georg Datterl
                
                Geneon media solutions gmbh
                Gutenstetter Straße 8a
                90449 Nürnberg
                
                HRB Nürnberg: 17193
                Geschäftsführer: Yong-Harry Steiert 
                
                Tel.: 0911/36 78 88 - 26
                Fax: 0911/36 78 88 - 20
                
                www.geneon.de
                
                Weitere Mitglieder der Willmy MediaGroup:
                
                IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
                Willmy PrintMedia GmbH:                            www.willmy.de
                Willmy Consult & Content GmbH:                 www.willmycc.de 
                
                
---------------------------------------------------------------------
                To unsubscribe, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
                For additional commands, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
                
                
            
            
            ________________________________
            
            Try the new Yahoo! India Homepage. Click here 
<http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .
            
            
---------------------------------------------------------------------
            To unsubscribe, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
            For additional commands, e-mail: 
[email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
  
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
            
            
        
        
        ________________________________
        
        Yahoo! India has a new look. Take a sneak peek 
<http://in.rd.yahoo.com/tagline_metro_2/*http://in.yahoo.com/trynew> .
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
        For additional commands, e-mail: [email protected] 
<http://in.mc87.mail.yahoo.com/mc/[email protected]>
 
        
        


________________________________

Yahoo! India has a new look. Take a sneak peek 
<http://in.rd.yahoo.com/tagline_metro_2/*http://in.yahoo.com/trynew> .

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to