Fw: AW: Regarding XSL-Fo table columns display

View: New views
16 Messages — Rating Filter:   Alert me  

Fw: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Georg,
With in the XSL file we have both the templates. In the xml for the text, we have to traverse with for-each looking for some elements[the text is also formatted text and is an FO. It is displayed in pdf using disable-output-escaping="yes"]. And for the images we have to traverse again for another set of elements with for-each. In this case how to get the full image in middle. When I tried to display the full image it got cut in the pdf and appeared as half. Thought of an approach that if images on the right side displayed first before the text. But in <fo:table> how to fill the <fo:table-cell>s from right to left is another question.
 
Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: Regarding XSL-Fo table columns display
To: fop-users@...
Date: Tuesday, 20 October, 2009, 2:47 PM

Hi Deepthi,

There are quite some interesting fuctionalities in your mail.

> I have a requirement for displaying a table which contains two columns.

No problem.

> First left column should contain text and second column should contain images.

No problem either.

> The images sizes vary as half or full. In case of full images the image should be displayed occupying the full page.

Possible.

> At this point the text should overflow to the next page.

If your transformation knows about the size of the image, it can either create a row with two cells (half image) or two rows (full image). You can even decided whether the text should span two columns in that case, too.

> One thing I need to mention is the text and images come from separate templates executing one after other.
> Is there any way to make this done. Please help me in this regard.

That's tricky, I'd guess. You have to write two transformations with the first transformation taking your text file (or image file, doesn't matter which one is first, although I'd think the text file first would be easier) and a transformation file and transform it into the second transformation file, which in turn is applied on the image file. Basically instead of XML+XSLT=FO you need XML1+XSLT1=XSLT2 and XSLT2+XML2=FO. Technically surely possible, but I'd lock myself in a quiet room for some hours to think it all through.

Does that help?

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:kdeepsmca@...]
Gesendet: Dienstag, 20. Oktober 2009 07:43
An: FOP Users
Betreff: Fw: Regarding XSL-Fo table columns display

Hi Team,
Is there any possibility for the below functionality which I have posted in the below mail. Please help me as it is very urgent requirement.

Thanks,
Deepthi.K.

--- On Fri, 16/10/09, k deepthi <kdeepsmca@...> wrote:



    From: k deepthi <kdeepsmca@...>
    Subject: Regarding XSL-Fo table columns display
    To: "FOP Users" <fop-users@...>
    Date: Friday, 16 October, 2009, 11:24 AM
   
   
Hi Team,
I have a requirement for displaying a table which contains two columns. First left column should contain text and second column should contain images. The images sizes vary as half or full. In case of full images the image should be displayed occupying the full page. At this point the text should overflow to the next page. One thing I need to mention is the text and images come from separate templates executing one after other. Is there any way to make this done. Please help me in this regard.

Thanks,
Deepthi.

________________________________

    Add whatever you love to the Yahoo! India homepage. Try now! <http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew>


________________________________

Connect more, do more and share more with Yahoo! India Mail. Learn more <http://in.rd.yahoo.com/tagline_galaxy_3/*http://in.overview.mail.yahoo.com/> .

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Now, send attachments up to 25MB with Yahoo! India Mail. Learn how.

AW: AW: Regarding XSL-Fo table columns display

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Deepthi,

I'm not sure I understand what you want to say. OK, I am sure, I don't understand. Probably because english is not my native language.

> With in the XSL file we have both the templates.

What do you mean when you say templates? The fo code for left and right column?

> In the xml for the text, we have to traverse with for-each
> looking for some elements[the text is also formatted text and is an FO.
> It is displayed in pdf using disable-output-escaping="yes"].

That's OK. It doesn't matter what exactly the contents of the cell are.

> And for the images we have to traverse again for another set of elements with for-each.

Are the images in the same file? You mentioned different files for text and images. If so, after traversing you still have two files but need one...

> In this case how to get the full image in middle. When I tried to display
> the full image it got cut in the pdf and appeared as half.

So, you already got a final fo file and it did not quite work correctly? Then, how about posting a part of this file and we have a look at the real problem?

> Thought of an approach that if images on the right side displayed first before the text.
> But in <fo:table> how to fill the <fo:table-cell>s from right to left is another question.

You don't have to worry about filling first or later. You create a fo file and have to insert the cells at the correct places. Whether the cell was inserted first or later, doesn't matter. Also you don't fill from right to left. You have two possible results for each text/image pair:

<row><cell>text</cell><cell><image/></cell></row> or <row><cell colspan=2><image></cell></row><row><cell>text</cell></row>.

So you create the text cell <row><cell>text</cell></row> and then, depending on the image being full or half, you either insert <cell><image/></cell> after or <row><cell colspan=2><image></cell></row> before the text cell.

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:kdeepsmca@...]
Gesendet: Dienstag, 20. Oktober 2009 12:19
An: FOP Users
Betreff: Fw: AW: Regarding XSL-Fo table columns display


Hi Georg,
With in the XSL file we have both the templates. In the xml for the text, we have to traverse with for-each looking for some elements[the text is also formatted text and is an FO. It is displayed in pdf using disable-output-escaping="yes"]. And for the images we have to traverse again for another set of elements with for-each. In this case how to get the full image in middle. When I tried to display the full image it got cut in the pdf and appeared as half. Thought of an approach that if images on the right side displayed first before the text. But in <fo:table> how to fill the <fo:table-cell>s from right to left is another question.
 
Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl <georg.datterl@...> wrote:



        From: Georg Datterl <georg.datterl@...>
        Subject: AW: Regarding XSL-Fo table columns display
        To: fop-users@...
        Date: Tuesday, 20 October, 2009, 2:47 PM
       
       
        Hi Deepthi,
       
        There are quite some interesting fuctionalities in your mail.
       
        > I have a requirement for displaying a table which contains two columns.
       
        No problem.
       
        > First left column should contain text and second column should contain images.
       
        No problem either.
       
        > The images sizes vary as half or full. In case of full images the image should be displayed occupying the full page.
       
        Possible.
       
        > At this point the text should overflow to the next page.
       
        If your transformation knows about the size of the image, it can either create a row with two cells (half image) or two rows (full image). You can even decided whether the text should span two columns in that case, too.
       
        > One thing I need to mention is the text and images come from separate templates executing one after other.
        > Is there any way to make this done. Please help me in this regard.
       
        That's tricky, I'd guess. You have to write two transformations with the first transformation taking your text file (or image file, doesn't matter which one is first, although I'd think the text file first would be easier) and a transformation file and transform it into the second transformation file, which in turn is applied on the image file. Basically instead of XML+XSLT=FO you need XML1+XSLT1=XSLT2 and XSLT2+XML2=FO. Technically surely possible, but I'd lock myself in a quiet room for some hours to think it all through.
       
        Does that help?
       
        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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
        Gesendet: Dienstag, 20. Oktober 2009 07:43
        An: FOP Users
        Betreff: Fw: Regarding XSL-Fo table columns display
       
        Hi Team,
        Is there any possibility for the below functionality which I have posted in the below mail. Please help me as it is very urgent requirement.
       
        Thanks,
        Deepthi.K.
       
        --- On Fri, 16/10/09, k deepthi <kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> > wrote:
       
       
       
            From: k deepthi <kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> >
            Subject: Regarding XSL-Fo table columns display
            To: "FOP Users" <fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...> >
            Date: Friday, 16 October, 2009, 11:24 AM
           
           
        Hi Team,
        I have a requirement for displaying a table which contains two columns. First left column should contain text and second column should contain images. The images sizes vary as half or full. In case of full images the image should be displayed occupying the full page. At this point the text should overflow to the next page. One thing I need to mention is the text and images come from separate templates executing one after other. Is there any way to make this done. Please help me in this regard.
       
        Thanks,
        Deepthi.
       
        ________________________________
       
            Add whatever you love to the Yahoo! India homepage. Try now! <http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew>
       
       
        ________________________________
       
        Connect more, do more and share more with Yahoo! India Mail. Learn more <http://in.rd.yahoo.com/tagline_galaxy_3/*http://in.overview.mail.yahoo.com/> .
       
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       


________________________________

Now, send attachments up to 25MB with Yahoo! India Mail. Learn how <http://in.rd.yahoo.com/tagline_galaxy_2/*http://in.overview.mail.yahoo.com/photos> .

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Georg,

> 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. 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.
 
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 and displaying half images on right side.


--- On Tue, 20/10/09, Georg Datterl <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@...
Date: Tuesday, 20 October, 2009, 4:32 PM

Hi Deepthi,

I'm not sure I understand what you want to say. OK, I am sure, I don't understand. Probably because english is not my native language.

> With in the XSL file we have both the templates.

What do you mean when you say templates? The fo code for left and right column?

> In the xml for the text, we have to traverse with for-each
> looking for some elements[the text is also formatted text and is an FO.
> It is displayed in pdf using disable-output-escaping="yes"].

That's OK. It doesn't matter what exactly the contents of the cell are.

> And for the images we have to traverse again for another set of elements with for-each.

Are the images in the same file? You mentioned different files for text and images. If so, after traversing you still have two files but need one...

> In this case how to get the full image in middle. When I tried to display
> the full image it got cut in the pdf and appeared as half.

So, you already got a final fo file and it did not quite work correctly? Then, how about posting a part of this file and we have a look at the real problem?

> Thought of an approach that if images on the right side displayed first before the text.
> But in <fo:table> how to fill the <fo:table-cell>s from right to left is another question.

You don't have to worry about filling first or later. You create a fo file and have to insert the cells at the correct places. Whether the cell was inserted first or later, doesn't matter. Also you don't fill from right to left. You have two possible results for each text/image pair:

<row><cell>text</cell><cell><image/></cell></row> or <row><cell colspan=2><image></cell></row><row><cell>text</cell></row>.

So you create the text cell <row><cell>text</cell></row> and then, depending on the image being full or half, you either insert <cell><image/></cell> after or <row><cell colspan=2><image></cell></row> before the text cell.

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:kdeepsmca@...]
Gesendet: Dienstag, 20. Oktober 2009 12:19
An: FOP Users
Betreff: Fw: AW: Regarding XSL-Fo table columns display


Hi Georg,
With in the XSL file we have both the templates. In the xml for the text, we have to traverse with for-each looking for some elements[the text is also formatted text and is an FO. It is displayed in pdf using disable-output-escaping="yes"]. And for the images we have to traverse again for another set of elements with for-each. In this case how to get the full image in middle. When I tried to display the full image it got cut in the pdf and appeared as half. Thought of an approach that if images on the right side displayed first before the text. But in <fo:table> how to fill the <fo:table-cell>s from right to left is another question.

Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl <georg.datterl@...> wrote:



    From: Georg Datterl <georg.datterl@...>
    Subject: AW: Regarding XSL-Fo table columns display
    To: fop-users@...
    Date: Tuesday, 20 October, 2009, 2:47 PM
   
   
    Hi Deepthi,
   
    There are quite some interesting fuctionalities in your mail.
   
    > I have a requirement for displaying a table which contains two columns.
   
    No problem.
   
    > First left column should contain text and second column should contain images.
   
    No problem either.
   
    > The images sizes vary as half or full. In case of full images the image should be displayed occupying the full page.
   
    Possible.
   
    > At this point the text should overflow to the next page.
   
    If your transformation knows about the size of the image, it can either create a row with two cells (half image) or two rows (full image). You can even decided whether the text should span two columns in that case, too.
   
    > One thing I need to mention is the text and images come from separate templates executing one after other.
    > Is there any way to make this done. Please help me in this regard.
   
    That's tricky, I'd guess. You have to write two transformations with the first transformation taking your text file (or image file, doesn't matter which one is first, although I'd think the text file first would be easier) and a transformation file and transform it into the second transformation file, which in turn is applied on the image file. Basically instead of XML+XSLT=FO you need XML1+XSLT1=XSLT2 and XSLT2+XML2=FO. Technically surely possible, but I'd lock myself in a quiet room for some hours to think it all through.
   
    Does that help?
   
    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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
    Gesendet: Dienstag, 20. Oktober 2009 07:43
    An: FOP Users
    Betreff: Fw: Regarding XSL-Fo table columns display
   
    Hi Team,
    Is there any possibility for the below functionality which I have posted in the below mail. Please help me as it is very urgent requirement.
   
    Thanks,
    Deepthi.K.
   
    --- On Fri, 16/10/09, k deepthi <kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> > wrote:
   
   
   
        From: k deepthi <kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> >
        Subject: Regarding XSL-Fo table columns display
        To: "FOP Users" <fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...> >
        Date: Friday, 16 October, 2009, 11:24 AM
       
       
    Hi Team,
    I have a requirement for displaying a table which contains two columns. First left column should contain text and second column should contain images. The images sizes vary as half or full. In case of full images the image should be displayed occupying the full page. At this point the text should overflow to the next page. One thing I need to mention is the text and images come from separate templates executing one after other. Is there any way to make this done. Please help me in this regard.
   
    Thanks,
    Deepthi.
   
    ________________________________
   
        Add whatever you love to the Yahoo! India homepage. Try now! <http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew>
   
   
    ________________________________
   
    Connect more, do more and share more with Yahoo! India Mail. Learn more <http://in.rd.yahoo.com/tagline_galaxy_3/*http://in.overview.mail.yahoo.com/> .
   
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
    For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
   
   


________________________________

Now, send attachments up to 25MB with Yahoo! India Mail. Learn how <http://in.rd.yahoo.com/tagline_galaxy_2/*http://in.overview.mail.yahoo.com/photos> .

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Try the new Yahoo! India Homepage. Click here.

AW: AW: AW: Regarding XSL-Fo table columns display

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: AW: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@...
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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Try the new Yahoo! India Homepage. Click here.

AW: AW: AW: AW: Regarding XSL-Fo table columns display

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:kdeepsmca@...]
Gesendet: Mittwoch, 21. Oktober 2009 08:17
An: fop-users@...
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 <georg.datterl@...> wrote:



        From: Georg Datterl <georg.datterl@...>
        Subject: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@...
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       


________________________________

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@...
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:kdeepsmca@...]
Gesendet: Mittwoch, 21. Oktober 2009 08:17
An: fop-users@...
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 <georg.datterl@...> wrote:



    From: Georg Datterl <georg.datterl@...>
    Subject: AW: AW: AW: Regarding XSL-Fo table columns display
    To: fop-users@...
    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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
    For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
   
   


________________________________

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Yahoo! India has a new look. Take a sneak peek.

AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:kdeepsmca@...]
Gesendet: Mittwoch, 21. Oktober 2009 14:20
An: fop-users@...
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 <georg.datterl@...> wrote:



        From: Georg Datterl <georg.datterl@...>
        Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@...
        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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
        Gesendet: Mittwoch, 21. Oktober 2009 08:17
        An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
       
       
       
            From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
            Subject: AW: AW: AW: Regarding XSL-Fo table columns display
            To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
            For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
           
           
       
       
        ________________________________
       
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       


________________________________

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Japanese Bolding Issue

by Lucian Opris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

Since I got no response about the Japanese bolding issue I’m going to ask another question

Is anybody willing to provide MS Gothic Bold for money? Let me know the cost of it.

 

Thanks

 

Lucian Opris


Re: Japanese Bolding Issue

by Jeremias Maerki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AFAIK, MS Gothic has no bold variant. There's a possibility in PDF (PDF
1.4, section 5.5.2, page 321) to automatically derive a bold font from a
normal one (although the result usually doesn't look so nice), but
unfortunately, FOP doesn't support that, yet.

If I were you I'd look in a good font foundry like http://www.linotype.com
for a Japanese Gothic font with a bold variant. You'll actually get
multiple weight grades there. HTH

On 21.10.2009 16:27:13 Lucian Opris wrote:

> Hi,
>
> Since I got no response about the Japanese bolding issue I’m going to ask another question
>
> Is anybody willing to provide MS Gothic Bold for money? Let me know the cost of it.
>
>  
>
> Thanks
>
>  
>
> Lucian Opris
>




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Parent Message unknown Re: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@...
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:kdeepsmca@...]
Gesendet: Mittwoch, 21. Oktober 2009 14:20
An: fop-users@...
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 <georg.datterl@...> wrote:



    From: Georg Datterl <georg.datterl@...>
    Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
    To: fop-users@...
    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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
    Gesendet: Mittwoch, 21. Oktober 2009 08:17
    An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
    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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
   
   
   
        From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
        Subject: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       
   
   
    ________________________________
   
    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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
    For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
   
   


________________________________

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Yahoo! India has a new look. Take a sneak peek.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

FullImages.doc (1M) Download Attachment

AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:kdeepsmca@...]
Gesendet: Donnerstag, 22. Oktober 2009 10:51
An: fop-users@...
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 <georg.datterl@...> wrote:



        From: Georg Datterl <georg.datterl@...>
        Subject: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@...
        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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
        Gesendet: Mittwoch, 21. Oktober 2009 14:20
        An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
       
       
       
            From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
            Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
            To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
            Gesendet: Mittwoch, 21. Oktober 2009 08:17
            An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
           
           
           
                From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
                Subject: AW: AW: AW: Regarding XSL-Fo table columns display
                To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
                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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
                For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
               
               
           
           
            ________________________________
           
            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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
            For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
           
           
       
       
        ________________________________
       
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       


________________________________

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Georg,
It dint solve the problem. Since the table-cell of outer table doesnot contain the number-columns-spanned="2". So, even if we mention for the full image table to span the columns it will not span the columns, since the full image table doesnot have two columns.
 
Regards
Deepthi.K.

--- On Thu, 22/10/09, Georg Datterl <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@...
Date: Thursday, 22 October, 2009, 2:48 PM

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:kdeepsmca@...]
Gesendet: Donnerstag, 22. Oktober 2009 10:51
An: fop-users@...
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 <georg.datterl@...> wrote:



    From: Georg Datterl <georg.datterl@...>
    Subject: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
    To: fop-users@...
    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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
    Gesendet: Mittwoch, 21. Oktober 2009 14:20
    An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
    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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
   
   
   
        From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
        Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
        Gesendet: Mittwoch, 21. Oktober 2009 08:17
        An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
       
       
       
            From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
            Subject: AW: AW: AW: Regarding XSL-Fo table columns display
            To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
            For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
           
           
       
       
        ________________________________
       
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       
   
   
    ________________________________
   
    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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
    For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
   
   


________________________________

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: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Keep up with people you care about with Yahoo! India Mail. Learn how.

AW: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Deepthi,

That's OK. You don't need the full image table. It's more like a full image row. And then you can use number-columns-spanned, because your (outer, one and only) table has two columns. Replace your code between <xsl:if Image is full.........> </xsl:if> with my code between <xsl:if Image is full.........> </xsl:if>. Then you only have one table.

Mit freundlichen Grüßen
 
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:kdeepsmca@...]
Gesendet: Donnerstag, 22. Oktober 2009 12:30
An: fop-users@...
Betreff: Re: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

Hi Georg,
It dint solve the problem. Since the table-cell of outer table doesnot contain the number-columns-spanned="2". So, even if we mention for the full image table to span the columns it will not span the columns, since the full image table doesnot have two columns.
 
Regards
Deepthi.K.

--- On Thu, 22/10/09, Georg Datterl <georg.datterl@...> wrote:



        From: Georg Datterl <georg.datterl@...>
        Subject: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@...
        Date: Thursday, 22 October, 2009, 2:48 PM
       
       
        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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
        Gesendet: Donnerstag, 22. Oktober 2009 10:51
        An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
       
       
       
            From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
            Subject: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
            To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
            Gesendet: Mittwoch, 21. Oktober 2009 14:20
            An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
           
           
           
                From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
                Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
                To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
                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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
                Gesendet: Mittwoch, 21. Oktober 2009 08:17
                An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
                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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
               
               
               
                    From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
                    Subject: AW: AW: AW: Regarding XSL-Fo table columns display
                    To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
                    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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
                    For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
                   
                   
               
               
                ________________________________
               
                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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
                For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
               
               
           
           
            ________________________________
           
            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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
            For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
           
           
       
       
        ________________________________
       
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       


________________________________

Keep up with people you care about with Yahoo! India Mail. Learn how <http://in.rd.yahoo.com/tagline_galaxy_1/*http://in.overview.mail.yahoo.com/connectmore> .

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

by k deepthi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Georg,
Thankyou for your suggestions.
 
Regards
Deepthi.

--- On Thu, 22/10/09, Georg Datterl <georg.datterl@...> wrote:

From: Georg Datterl <georg.datterl@...>
Subject: AW: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@...
Date: Thursday, 22 October, 2009, 4:04 PM

Hi Deepthi,

That's OK. You don't need the full image table. It's more like a full image row. And then you can use number-columns-spanned, because your (outer, one and only) table has two columns. Replace your code between <xsl:if Image is full.........> </xsl:if> with my code between <xsl:if Image is full.........> </xsl:if>. Then you only have one table.

Mit freundlichen Grüßen

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:kdeepsmca@...]
Gesendet: Donnerstag, 22. Oktober 2009 12:30
An: fop-users@...
Betreff: Re: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

Hi Georg,
It dint solve the problem. Since the table-cell of outer table doesnot contain the number-columns-spanned="2". So, even if we mention for the full image table to span the columns it will not span the columns, since the full image table doesnot have two columns.

Regards
Deepthi.K.

--- On Thu, 22/10/09, Georg Datterl <georg.datterl@...> wrote:



    From: Georg Datterl <georg.datterl@...>
    Subject: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
    To: fop-users@...
    Date: Thursday, 22 October, 2009, 2:48 PM
   
   
    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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
    Gesendet: Donnerstag, 22. Oktober 2009 10:51
    An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
    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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
   
   
   
        From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
        Subject: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display
        To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
        Gesendet: Mittwoch, 21. Oktober 2009 14:20
        An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
        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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
       
       
       
            From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
            Subject: AW: AW: AW: AW: Regarding XSL-Fo table columns display
            To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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:kdeepsmca@... <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=kdeepsmca@...> ]
            Gesendet: Mittwoch, 21. Oktober 2009 08:17
            An: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
            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 <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> > wrote:
           
           
           
                From: Georg Datterl <georg.datterl@... <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=georg.datterl@...> >
                Subject: AW: AW: AW: Regarding XSL-Fo table columns display
                To: fop-users@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users@...>
                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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
                For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
               
               
           
           
            ________________________________
           
            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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
            For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
           
           
       
       
        ________________________________
       
        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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
        For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>  <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
       
       
   
   
    ________________________________
   
    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: fop-users-unsubscribe@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-unsubscribe@...>
    For additional commands, e-mail: fop-users-help@... <http://in.mc87.mail.yahoo.com/mc/compose?to=fop-users-help@...>
   
   


________________________________

Keep up with people you care about with Yahoo! India Mail. Learn how <http://in.rd.yahoo.com/tagline_galaxy_1/*http://in.overview.mail.yahoo.com/connectmore> .

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



Keep up with people you care about with Yahoo! India Mail. Learn how.

RE: Japanese Bolding Issue

by Lucian Opris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Thanks for the answer. I've done a quick search for any Japanese Gothic bold font and most of them are OTF PostScript Outlines which FOP does not support yet.


Lucian Opris

-----Original Message-----
From: Jeremias Maerki [mailto:dev@...]
Sent: Thursday, October 22, 2009 4:20 AM
To: fop-users@...
Subject: Re: Japanese Bolding Issue

AFAIK, MS Gothic has no bold variant. There's a possibility in PDF (PDF
1.4, section 5.5.2, page 321) to automatically derive a bold font from a
normal one (although the result usually doesn't look so nice), but
unfortunately, FOP doesn't support that, yet.

If I were you I'd look in a good font foundry like http://www.linotype.com
for a Japanese Gothic font with a bold variant. You'll actually get
multiple weight grades there. HTH

On 21.10.2009 16:27:13 Lucian Opris wrote:

> Hi,
>
> Since I got no response about the Japanese bolding issue I’m going to ask another question
>
> Is anybody willing to provide MS Gothic Bold for money? Let me know the cost of it.
>
>  
>
> Thanks
>
>  
>
> Lucian Opris
>




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...