AW: Regarding XSL-Fo table columns display

2009-10-20 Thread Georg Datterl
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:kdeeps...@yahoo.co.in] 
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 kdeeps...@yahoo.co.in wrote:



From: k deepthi kdeeps...@yahoo.co.in
Subject: Regarding XSL-Fo table columns display
To: FOP Users fop-users@xmlgraphics.apache.org
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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Suppress Hyphenation inside a block

2009-10-20 Thread JPee

Thanks again Mr. J. Pietschmann, 

your solution works fine and does what I tried to do. All in all now I know
that my problem is not that easy to handle and only a nice to have because
of its complexity. Links can be long, so we have the following line:

this is my longlonglonglink.

With hyphenation it was 1:

this is my longlong-
link.

My hope was that the described solution would make it more beautiful, but
the result was 2:

thisismy
longlonglink.

In 1 vs 2 , 1 is the minor bad one.




J.Pietschmann wrote:
 
 On 19.10.2009 16:55, JPee wrote:
 hyphenation-remain-character-count=2text.fo:inline
 hyphenate=falseexternal-linklink/external-link/fo:inline 
 text
 
 You can't disable hyphenation on an inline, but you can test
 whether
 fo:inline keep-together.within-line=always
   external-linklink/external-link/fo:inline
 will do the trick.
 
 
 J.Pietschmann
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Suppress-Hyphenation-inside-a-block-tp25959753p25972239.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Fw: AW: Regarding XSL-Fo table columns display

2009-10-20 Thread k deepthi

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-cells from right to left is another question.
 
Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl georg.datt...@geneon.de wrote:


From: Georg Datterl georg.datt...@geneon.de
Subject: AW: Regarding XSL-Fo table columns display
To: fop-users@xmlgraphics.apache.org
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:kdeeps...@yahoo.co.in] 
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 kdeeps...@yahoo.co.in wrote:



    From: k deepthi kdeeps...@yahoo.co.in
    Subject: Regarding XSL-Fo table columns display
    To: FOP Users fop-users@xmlgraphics.apache.org
    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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




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

AW: AW: Regarding XSL-Fo table columns display

2009-10-20 Thread Georg Datterl
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-cells 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:

rowcelltext/cellcellimage//cell/row or rowcell 
colspan=2image/cell/rowrowcelltext/cell/row. 

So you create the text cell rowcelltext/cell/row and then, depending on 
the image being full or half, you either insert cellimage//cell after or 
rowcell colspan=2image/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:kdeeps...@yahoo.co.in] 
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-cells from right to left is another question.
 
Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl georg.datt...@geneon.de wrote:



From: Georg Datterl georg.datt...@geneon.de
Subject: AW: Regarding XSL-Fo table columns display
To: fop-users@xmlgraphics.apache.org
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 

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

2009-10-20 Thread k deepthi
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-templates 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. 
 
---rowcelltext/cellcellimage//cell/row this is the approach 
presently we are following.
 
rowcell colspan=2image/cell/rowrowcelltext/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.datt...@geneon.de wrote:


From: Georg Datterl georg.datt...@geneon.de
Subject: AW: AW: Regarding XSL-Fo table columns display
To: fop-users@xmlgraphics.apache.org
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-cells 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:

rowcelltext/cellcellimage//cell/row or rowcell 
colspan=2image/cell/rowrowcelltext/cell/row. 

So you create the text cell rowcelltext/cell/row and then, depending on 
the image being full or half, you either insert cellimage//cell after or 
rowcell colspan=2image/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:kdeeps...@yahoo.co.in] 
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-cells from right to left is another question.

Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl georg.datt...@geneon.de wrote:



    From: Georg Datterl georg.datt...@geneon.de
    Subject: AW: Regarding XSL-Fo table columns display
    To: fop-users@xmlgraphics.apache.org
    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 

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

2009-10-20 Thread Georg Datterl
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-templates 
 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. 
 ---rowcelltext/cellcellimage//cell/row this is the approach 
 presently we are following.
 rowcell colspan=2image/cell/rowrowcelltext/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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



get position of block

2009-10-20 Thread JPee

Hi,

I'm working with FOP embedded in a CMS for generating PDFs. I have the
following problem.

In my PDF there are texts, in the texts there are headers, paragraphs, bold
and italic parts. In my project I defined patterns how these things are
mapped to fop. Sometimes it happens that there is a Header in the last lines
of a page. The structure of the generated fop sourcecode is like.

fo:block headerattributesheadertext/fo:block (1 time)
fo:block normaltextattr.text/fo:block (n times)

And that iterates several times. 

Is there a possibilty to get the position out of a block so i could define a
rule, if the block.height is higher than 200mm page-break-before? Or is
there a possibility to keep the block with the headerattributes together
with the next line, which is used by another block? In my case i don't have
the choice to put a block around the headertext and the normal text, to use
the keep-together.within-page attribute. 

Greetings,

JPee


-- 
View this message in context: 
http://www.nabble.com/get-position-of-block-tp25976225p25976225.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



AW: get position of block

2009-10-20 Thread Georg Datterl
Hi JPee, 

No, you won't easily get the height of a block, since that information is only 
available, after the various breaking and layouting algorithms of fop are 
finished. But there shouldn't be anything wrong with keep-with-next / 
keep-with-previous. Helped me a lot. 

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: JPee [mailto:per...@softwareforen.de] 
Gesendet: Dienstag, 20. Oktober 2009 16:34
An: fop-users@xmlgraphics.apache.org
Betreff: get position of block


Hi,

I'm working with FOP embedded in a CMS for generating PDFs. I have the 
following problem.

In my PDF there are texts, in the texts there are headers, paragraphs, bold and 
italic parts. In my project I defined patterns how these things are mapped to 
fop. Sometimes it happens that there is a Header in the last lines of a page. 
The structure of the generated fop sourcecode is like.

fo:block headerattributesheadertext/fo:block (1 time) fo:block 
normaltextattr.text/fo:block (n times)

And that iterates several times. 

Is there a possibilty to get the position out of a block so i could define a 
rule, if the block.height is higher than 200mm page-break-before? Or is there a 
possibility to keep the block with the headerattributes together with the next 
line, which is used by another block? In my case i don't have the choice to put 
a block around the headertext and the normal text, to use the 
keep-together.within-page attribute. 

Greetings,

JPee


--
View this message in context: 
http://www.nabble.com/get-position-of-block-tp25976225p25976225.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Unable to display jpeg or PNG files in fop document

2009-10-20 Thread Jonathan Levinson
Using your example, I was able to discover what caused the slowness
and the inability to render the image.

I used the following url:

url(file:///perforce/Users/levinson/B47157/2009-usa-125x125.png) /

If I change it to the following:

url(file:///c:/perforce/Users/levinson/B47157/2009-usa-125x125.png) /

then the image renders in less than a second.

I believe both should work so it is a bug.

The latter works in the trunk but takes 30 seconds or more to render,
but less than a second in trunk when c:/ is added. 

Best Regards,
Jonathan Levinson


-Original Message-
From: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com] 
Sent: Tuesday, October 20, 2009 9:39 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Unable to display jpeg or PNG files in fop document

I am able to view PNG image with both fop-0.95 and fop-trunk as well, I
just downloaded fop-0.95 binary, extracted... just used the fop.bat to
run

like from the command prompt

fop -c C:\fop.xconf -fo hello.fo -pdf hello.pdf

It worked in both 0.95 and trunk versions I am attaching the sample
with this mail

I have used the following java version on windows environment...

C:\mywork\FOP\fop-0.95java -version
java version 1.6.0_05
Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM)
Client VM (build 10.0-b19, mixed mode, sharing)

Cheers,
Venkat.

Jonathan Levinson wrote:

 I'm using fop.bat and I reinstalled fop-0.95 just to make sure my 
 installation was not corrupted.

 xmlgraphics-commons-1.3.1 is in my classpath.

 Here is the Java I'm suing:

 java version 1.6.0_10

 Java(TM) SE Runtime Environment (build 1.6.0_10-b33)

 Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

 Best Regards,

 Jonathan Levinson

 *From:* Griffin,Sean [mailto:sgrif...@cerner.com]
 *Sent:* Monday, October 19, 2009 5:58 PM
 *To:* fop-users@xmlgraphics.apache.org
 *Subject:* RE: Unable to display jpeg or PNG files in fop document

 Have you tried it from the fop.bat or are you embedding FOP in your 
 own service? I tried with fop.bat and it works just fine using the 
 dependencies added to the classpath in that script. In particular 
 ensure you're running xmlgraphics-commons-1.3.1.

 *From:* Jonathan Levinson [mailto:jonathan.levin...@intersystems.com]
 *Sent:* Monday, October 19, 2009 4:33 PM
 *To:* fop-users@xmlgraphics.apache.org
 *Subject:* Unable to display jpeg or PNG files in fop document

 I'm using FOP 0.95 and I'm unable to display jpeg or PNG images.

 The errors I get are like the following:

 SEVERE: Image not available: No ImagePreloader found for 
 file:///perforce/Users/levinson/B47157/2009-usa-125x125.png

 Best Regards,

 Jonathan Levinson

 --
 --

 CONFIDENTIALITY NOTICE This message and any included attachments are 
 from Cerner Corporation and are intended only for the addressee. The 
 information contained in this message is confidential and may 
 constitute inside or non-public information under international, 
 federal, or state securities laws. Unauthorized forwarding, printing, 
 copying, distribution, or use of such information is strictly 
 prohibited and may be unlawful. If you are not the addressee, please 
 promptly delete this message and notify the sender of the delivery 
 error by e-mail or you may call Cerner's corporate offices in Kansas 
 City, Missouri, U.S.A at (+1) (816)221-1024.



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



CIDset key for PDF/A

2009-10-20 Thread ale.marino78
I'm trying to generate a pdf/a-1b with FOP 0.95, after the document generation 
Acrobat reports that is not a valid PDF/A, because Documents with PDF/A 
conformance must have the CIDset key in the font descriptor for Unicode 
TrueType fonts.

Is there in FOP the support for such CIDset key ?

Thanks and regards,
Alessandro