external-grafic content - FOP 091

2006-04-11 Thread news
Hello List, I ve got a Formatting Object including a fo:external-grafic with binary content. If I want to convert this, I getthe followingexception: java.net.MalformedURLException: unknown protocol: data The source attribute looks like this: fo:external-graphic content-width="96.75pt"

Re: guide me

2006-04-11 Thread Cinzia
Chris wrote: There are text nodes in the XML source. The Line Feeds count as text nodes. Then am I correct in assuming that by removing those lines feeds (i.e. all cityInstal elements on one line) would give position() 1,2,3... in fortest3b code (see previous posts)? Well, it doesn't. I get

FOP - help in alternate color setting in table

2006-04-11 Thread Debasish Jana
Hi: Is there any way to set alternate colors for rows and columns for a fo:table? For example, I would like to set the first row as red, second as blue, third as red and so on. If there is no such attribute to do so, is there any workaround to accomplish this? Pls help.

AW: FOP - help in alternate color setting in table

2006-04-11 Thread news
You'll have to use a modulo function in xslt. xsl:template match="your_row_generating_element" fo:table-row xsl:variable name=color xsl:choose xsl:when test="position() mod 2 = 0" xsl:textblue/xsl:text /xsl:when xsl:otherwise xsl:textred/xsl:text /xsl:otherwise fo:table-cell

AW: FOP - help in alternate color setting in table

2006-04-11 Thread news
there was the closing variable element missing. sorry xsl:template match="your_row_generating_element" fo:table-row xsl:variable name=color xsl:choose xsl:when test="position() mod 2 = 0" xsl:textblue/xsl:text /xsl:when xsl:otherwise /xsl:variable xsl:textred/xsl:text /xsl:otherwise

Re: guide me

2006-04-11 Thread Florent Georges
Cinzia wrote: Then am I correct in assuming that by removing those lines feeds (i.e. all cityInstal elements on one line) would give position() 1,2,3... in fortest3b For questions regarding XSLT and XPath, I strongly suggest you to use XSL List at Mulberrytech. Regards, --drkm

RE: FOP - help in alternate color setting in table

2006-04-11 Thread Debasish Jana
Many thanks, but is there any direct way using some fo tag as attribute to fo:table suc as say, fo:table .. /fo:table Regards, Debasish From: Cinzia [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 4:01 PM To: fop-users@xmlgraphics.apache.org Subject: Re:

RE: FOP 0.91 Beta - Previewer problem

2006-04-11 Thread Debasish Jana
Hi: Thanks for your prompt answer. Can you please pass me a sample code to invoke the renderer in an AWT window (JPanel or JFrame). Suppose I have a XSL-FO document which I would like to render to say PDF using FOP renderer and like to preview it? How can I do it? Pls help. Regards, Debasish

Re: external-grafic content - FOP 091

2006-04-11 Thread Manuel Mall
On Tuesday 11 April 2006 16:15, [EMAIL PROTECTED] wrote: Hello List, Jan, have you seen http://marc.theaimsgroup.com/?l=fop-userm=110875657902117w=2 ? It discusses a possible solution. I ve got a Formatting Object including a fo:external-grafic with binary content. If I want to convert

Re: FOP - help in alternate color setting in table

2006-04-11 Thread Cinzia
Debasish wrote: Many thanks, but is there any direct way using some fo tag as attribute to fo:table suc as say, fo:table ... /fo:table I don't understand what you're trying to say, sorry. Cinzia - To

RE: FOP - help in alternate color setting in table

2006-04-11 Thread Debasish Jana
I mean to say, using fo:table Tag of XSL-FO, do we have some attribute to achieve alternate color for table rows ? Regards, Debasish -Original Message- From: Cinzia [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 5:38 PM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP -

Re: external-grafic content - FOP 091

2006-04-11 Thread Jeremias Maerki
Support for RFC2397 data URLs is built into FOP Trunk today and will be available with FOP 0.92. Otherwise, use the solution pointed out by Manuel. On 11.04.2006 10:15:22 news wrote: Hello List, I ve got a Formatting Object including a fo:external-grafic with binary content. If I want to

Rtf Problem

2006-04-11 Thread Alessio
Hi, i've a problem with nested trable in rtf, the question is that nested table fop's rtf format doesn't resolve. Is it a bug ? Thanks Alessio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Rtf Problem

2006-04-11 Thread Chris Bowditch
Alessio wrote: Hi, i've a problem with nested trable in rtf, the question is that nested table fop's rtf format doesn't resolve. Is it a bug ? I don't think nested tables are supported in the RTF Renderer yet. FOP's RTF Renderer is not yet as mature as the PDF and PS Renderers. Chris

Re: Strange combination of fo:inline and fo:block produces text to disappear when page breaks

2006-04-11 Thread Saurabh Gupta
Hi Chris, is the fop beta same as fop alpha. i am also getting above problem. content is not displayed on page break. I tried with fop alpha but looks like not fixed saurabh - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: TOC problem with text-align-last

2006-04-11 Thread Johannes Künsebeck
To produce a dotted you can use the element fo:leader / like this fo:block text-align-last=justify Chapter 1 fo:leader leader-pattern = dots/ 1 /fo:block kralik wrote: I have problem in FOP Trunk. I am trying to make Table Of Contents to look like this (but not with using pre): TOC 1

Re: TOC problem with text-align-last

2006-04-11 Thread kralik
This exactly I do. Sorry, I forgot to write it. My xsl: xsl:template name="TOC"> fo:block font-family="TimesNewRoman" space-after="12pt" id="Toc" line-height="21pt" font-size="18pt" text-align="start"> Table of Contents /fo:block> xsl:for-each select="/Diplomová_práce/Kapitola/Nadpis">

Re: guide me

2006-04-11 Thread Cinzia
For those interested in this thread, the bit concerning position() and xsl:strip-space, I've posted the problem to [EMAIL PROTECTED] under the subject: position() affected by xsl:strip-space, sorry for having delayed this so long. Cinzia

Re: Re: Rtf Problem

2006-04-11 Thread b . ohnsorg
Depends on my progress 'til the next release. Easter holidays are close and I think I'll take a first step towards the right direction and commit some changes (I'm not sure if I should branch this, no one else is working on that and RTF is not that commonly used)... - original Nachricht

Re: FOP - help in alternate color setting in table

2006-04-11 Thread J.Pietschmann
Debasish Jana wrote: I mean to say, using fo:table Tag of XSL-FO, do we have some attribute to achieve alternate color for table rows ? No. You have to set the background color for the table cells explicitly. This should be always possible. J.Pietschmann

Re: TOC problem with text-align-last

2006-04-11 Thread J.Pietschmann
kralik wrote: Beginnings of each line are OK (I am using text-indent), but on the right side I am getting a bit strange alignment (text-align-last=justify seems works incorectly): This may be a problem with descretisation while expanding the leader, in combination with the NBSP after the

fo:page-number-citation problem

2006-04-11 Thread kralik
Problem is with FOP Trunk. It appears in table of contents. I prepared an example (XML file, XSL file), because it is quite hard to describe the problem. Explanation is in the result PDF document. If anyone knows, ... Thanks, Pavel Tyl XML DOCUMENT ?xml version="1.0" encoding="utf-8"?> Thesis>

Re: TOC problem with text-align-last

2006-04-11 Thread kralik
I described this problem in new forum. There is whole example there. It will be probably BUG, because in XEP is everything OK. (FOP FOREVER!!! :-)) -- View this message in context: http://www.nabble.com/TOC-problem-with-text-align-last-t1432522.html#a3869550 Sent from the FOP - Users forum at

Re: fo:page-number-citation problem

2006-04-11 Thread kralik
So it is annoying problem. And I suppose, that there is no trick for it :-( -- View this message in context: http://www.nabble.com/%3Cfo%3Apage-number-citation%3E-problem-t1434118.html#a3872636 Sent from the FOP - Users forum at Nabble.com.

Unable to create font metric file of Arial Unicode MS

2006-04-11 Thread Xuan Ngo
I was unable to create font metric file of Arial Unicode MS. Can some1 help. thx! Fop version = 0.91beta Here is the command: = C:\fopjava -cp build\fop.jar; lib\avalon-framework-4.2.0.jar; lib\batik-all-1.6.jar; lib\commons-io-1.1.jar;

RE: FOP 0.91 Beta - Previewer problem

2006-04-11 Thread Debasish Jana
Can you please pass on how to use the AWTRenderer with some sample code to hook in? I would like to use it in as-is form, i.e. to call proper API to preview using AWTRenderer and show it in a suitable JFrame or JPanel. Regards, Debasish -Original Message- From: Jeremias Maerki