background-image tag and fo:instream-foreign-object

2010-09-02 Thread Esse
Hi Fop Users! Im playing around with svg's and trying to put some of the svg's directly in code as shown below: fo:instream-foreign-object svg:svg xmlns... svg:linearGradient id=SVGID2... /svg:linearGradient svg:g style=fill:url(#SVGID2) svg:path

Re: fonts URL resolution

2010-09-02 Thread Maxime Bégnis
Hi, Finally I'm using a workaround in my URIResolver setting up a new prefix like myfonts:/ which is replaced by the actual fonts base URL. I wonder if the FOP behavior to use the URIResolver before the fonts base URL should be the standard one. Thanks. Maxime Bégnis Le 01/09/2010 17:55,

AW: AW: AW: AW: Table with spanned-row-header in 2 columned region-body

2010-09-02 Thread Georg Datterl
Hi Adam, Without producing a working version by myself: I'd make the marker retrieve-marker look forward, not back. It should print the next available marker. The marker itself I would put at the end of the table. And inside the table, not outside in a block of its own. As you found out on the

Re: fonts URL resolution

2010-09-02 Thread Jeremias Maerki
Hi Maxime On 02.09.2010 10:23:29 Maxime Bégnis wrote: Hi, Finally I'm using a workaround in my URIResolver setting up a new prefix like myfonts:/ which is replaced by the actual fonts base URL. That's one way to do it. In fact, your URIResolver should return null if it cannot resolve a

Re: background-image tag and fo:instream-foreign-object

2010-09-02 Thread Jeremias Maerki
XSL-FO doesn't directly offer that. The only two things you can do: 1. Extract the SVG to an external file and reference that. 2. Encode the SVG in a RFC 2397 data URL. (ugly) On 02.09.2010 09:14:09 Esse wrote: Hi Fop Users! Im playing around with svg's and trying to put some of the svg's

Re: Heading Styles

2010-09-02 Thread Chris Bowditch
Dmitro Zakotey wrote: Hi I want to be able to export html containing h1, h2, etc headings to RTF format file, where each html heading will be imported as corresponding heading style, so that it will be possible to generate a table of contents for such a document in Word. Is it possible?

Re: Heading Styles

2010-09-02 Thread Jeremias Maerki
Hi Dmitro, if you want to do this with FOP, you'd have to write an XSLT stylesheet that converts HTML to XSL-FO. FOP can then turn the XSL-FO into RTF (to a certain degree). Maybe there are other tools that can do the conversion directly without the detour over XSL-FO. On 01.09.2010 14:26:52

Re: Heading Styles

2010-09-02 Thread Dmitro Zakotey
Thanks Chris. And sorry for the noise. I send my letter only once. Must be mailing list server problem or something. On Thu, Sep 2, 2010 at 2:17 PM, Chris Bowditch bowditch_ch...@hotmail.comwrote: Dmitro Zakotey wrote: Hi I want to be able to export html containing h1, h2, etc headings to

Re: fonts URL resolution

2010-09-02 Thread Maxime Bégnis
Hi Jeremias, Le 02/09/2010 13:13, Jeremias Maerki a écrit : Hi Maxime On 02.09.2010 10:23:29 Maxime Bégnis wrote: Hi, Finally I'm using a workaround in my URIResolver setting up a new prefix like myfonts:/ which is replaced by the actual fonts base URL. That's one way to do it. In

RE: Placing the minus sign(-) to the RIGHT side of the number

2010-09-02 Thread Steffanina, Jeff
Given the nature of my data, I took this approach and everything works fine. Thanks. Jeff From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Wednesday, September 01, 2010 10:21 AM To: fop-users@xmlgraphics.apache.org

FOP Output Stream

2010-09-02 Thread Eric Douglas
So, a BufferedOutputStream is better if you're going to produce output on the same machine, or is there a better way of doing what I'm doing? I use a ByteArrayOutputStream because I am running the program on the server. That's where I generate my XML input and where I do the transform. Then I

Re: FOP Output Stream

2010-09-02 Thread Julien Aymé
Hello, How do you send the generated output from the server to the client? If you're sending bytes through a Socket, then a SocketOutputStream is the best way (use Socket#getOutputStream). If you're saving the bytes into a temp file, then you could use a FileOutputStream. (Both of them must be

Printing a Different LAST PAGE

2010-09-02 Thread Steffanina, Jeff
I have a simple invoice to print. On the last page of the invoice, I need to print a simple invoice summary. I have been all over the web trying to find the best, most simple way to address this. I have not been successful. Can someone suggest the best simple solution to detecting and

AW: Printing a Different LAST PAGE

2010-09-02 Thread Georg Datterl
Hi Jeff, I usually just add the content at the end of the flow. Maybe with a break-before, if I only want this content on the last page. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193

RE: Printing a Different LAST PAGE

2010-09-02 Thread Eric Douglas
That would depend on your XML and XSL, how you're printing it and where you need to check for last page. To mark the last page, just put this dummy block in your XSL: /xsl:for-each fo:block xsl:attribute name=idlast-page/xsl:attribute

Re: How to include .fo file into another .fo

2010-09-02 Thread Shaki
Amick, Eric Eric.Amick at mail.house.gov writes: Could it be that you need to include a definition for the fo namespace prefix in the file you are including? It's not overly clear from the standard if that is necessary. Eric Amick Systems Engineer II Legislative Computer Systems I

using Arial outline font in AFP

2010-09-02 Thread Mrutyunjay Sahasrabudhe
Hi, We are using FOP 1.0 and need to use Arial outline font in AFP. Could anyone please guide about what all we will need to do to achieve this? Thanks in advance, Best regards, Mrutyunjay - To unsubscribe, e-mail: