RE: FOP to SVG not including character references in conversion.

2005-01-18 Thread Andreas L. Delmelle
> -Original Message- > From: Dave Austin [mailto:[EMAIL PROTECTED] > Hi, > I am generating FO files from RTF files with a handy utility called > RTF2FO. I set the character encoding to ISO-8859-1 for linux. > > I have several character references in the FO file. For instance, > • is embe

RE: Image callback for each page?

2005-01-18 Thread Victor Mote
J.Pietschmann wrote: > The problem is that some stock image readers only accept a > stream with the pointer at the begin of the content, and if > the stream pointer can't be reset (e.g. if the analyser > needed so much info that the underlying implementation > already discarded buffers), then

Re: Image callback for each page?

2005-01-18 Thread Irv Salisbury III
J.Pietschmann wrote: [EMAIL PROTECTED] wrote: While looking into this code, it looks like the FopImageFactory opens up a stream to the image using the URL class, then the specific ImageReader implementation reopens the stream again. So, if I did a REST style interface to generate my images, it

Re: Problem with fonts and images from a single ear embedded app

2005-01-18 Thread J.Pietschmann
David P. Nesbitt wrote: I am trying to use FOP from with an application deployed on JBoss with a single ear file. My goal is to have all font metrics, font files, and image files loaded from within the war file embedded in the ear file. The fop.jar is in the WEB-INF/lib directory of the war file.

Re: FOP to SVG not including character references in conversion.

2005-01-18 Thread J.Pietschmann
Dave Austin wrote: I am generating FO files from RTF files with a handy utility called RTF2FO. I set the character encoding to ISO-8859-1 for linux. I have several character references in the FO file. For instance, • is embedded as the bullet. However, the resultant SVG from the FO Processor does

Re: Image callback for each page?

2005-01-18 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: While looking into this code, it looks like the FopImageFactory opens up a stream to the image using the URL class, then the specific ImageReader implementation reopens the stream again. So, if I did a REST style interface to generate my images, it looks like it would be c

Re: Centralizing Fonts

2005-01-18 Thread The Web Maestro
:-) Also remember (I believe) that this is a property which gets inherited, so that although the templates which get called don't have those attributes specified within them, they inherit the property through to all fo:block (etc.) element children. The only ones which don't keep the attributes

Re: Centralizing Fonts

2005-01-18 Thread Luke Shannon
Hah hah. Just like that. Thanks! - Original Message - From: "The Web Maestro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 18, 2005 3:39 PM Subject: Re: Centralizing Fonts > On Jan 18, 2005, at 12:26 PM, Luke Shannon wrote: > > Hello; > > > > I have looked around f

Re: Centralizing Fonts

2005-01-18 Thread The Web Maestro
On Jan 18, 2005, at 12:26 PM, Luke Shannon wrote: Hello; I have looked around for examples of this but have not found anything. Is there a way to define all the attributes (font-family, start-indent, etc) for fo:block used in the document? Thanks, Luke You mean like this? :-p #ff #

Re: Centralizing Fonts

2005-01-18 Thread Luke Shannon
Sorry, replying to my own post. There were a bunch of block in the document had font-family "Arial", which doesn't exist, so a default font was being displayed making me think that the above wasn't working. - Original Message - From: "Luke Shannon" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Centralizing Fonts

2005-01-18 Thread Luke Shannon
Hello; I have looked around for examples of this but have not found anything. Is there a way to define all the attributes (font-family, start-indent, etc) for fo:block used in the document? Thanks, Luke - To unsubscribe, e-m

RE: Image callback for each page?

2005-01-18 Thread irv
Quoting [EMAIL PROTECTED]: > Quoting Victor Mote <[EMAIL PROTECTED]>: > > > [EMAIL PROTECTED] wrote: > > > > > We have an api that generates a sort of "barcode" image that > > > needs to be put on the bottom of each page. However, each > > > image is unique and needs to be generated with some

Problem with fonts and images from a single ear embedded app

2005-01-18 Thread David P. Nesbitt
I am trying to use FOP from with an application deployed on JBoss with a single ear file. My goal is to have all font metrics, font files, and image files loaded from within the war file embedded in the ear file. The fop.jar is in the WEB-INF/lib directory of the war file. The font and image fil

Query

2005-01-18 Thread Amit Chawla
Hi   I am newbie to FOP. I have a HTML document generated in my JSP/Java Based web application.   I want to generate PDF using that HTML generated at run time .   Please advise me how to do it.     What i have read and understand is i need to create XML and then XSL and then XSL-FO and then us

RE: Image callback for each page?

2005-01-18 Thread irv
Quoting Victor Mote <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > > We have an api that generates a sort of "barcode" image that > > needs to be put on the bottom of each page. However, each > > image is unique and needs to be generated with some > > information from the xml document.

RE: Image callback for each page?

2005-01-18 Thread Victor Mote
[EMAIL PROTECTED] wrote: > We have an api that generates a sort of "barcode" image that > needs to be put on the bottom of each page. However, each > image is unique and needs to be generated with some > information from the xml document. I know I can do this by > using a REST api call and p

Re: Fop and SVG with crippled network access.

2005-01-18 Thread Barry Klawans
It sounds like the XML parser is trying to download the SVG DTD from the w3 server. You could try registering a custom entity resolver with the parser, and then keep a local copy of the SVG DTD. When you get a request to resolve the SVG DTD, return the local copy instead of going to the W3C w

FOP to SVG not including character references in conversion.

2005-01-18 Thread Dave Austin
I am generating FO files from RTF files with a handy utility called RTF2FO. I set the character encoding to ISO-8859-1 for linux. I have several character references in the FO file. For instance, • is embedded as the bullet. However, the resultant SVG from the FO Processor does not include those

Re: Image callback for each page?

2005-01-18 Thread irv
Quoting The Web Maestro <[EMAIL PROTECTED]>: > > On Jan 18, 2005, at 8:18 AM, [EMAIL PROTECTED] wrote: > > We have an api that generates a sort of "barcode" image that needs to > > be put on > > the bottom of each page. However, each image is unique and needs to be > > generated with some infor

Re: Image callback for each page?

2005-01-18 Thread The Web Maestro
On Jan 18, 2005, at 8:18 AM, [EMAIL PROTECTED] wrote: We have an api that generates a sort of "barcode" image that needs to be put on the bottom of each page. However, each image is unique and needs to be generated with some information from the xml document. I know I can do this by using a RES

Image callback for each page?

2005-01-18 Thread irv
We have an api that generates a sort of "barcode" image that needs to be put on the bottom of each page. However, each image is unique and needs to be generated with some information from the xml document. I know I can do this by using a REST api call and putting a URL in the fo:graphic that dy

Re: RE : RE : Alignement problems in table with no borders

2005-01-18 Thread Jeremias Maerki
On 18.01.2005 10:44:40 Foucault, Sebastien wrote: > Jeremias, > > I'd like to thank you VERY VERY VERY (...) MUCH for that quick, precise and > helpful answer ! It seems to work perfectly ! You're welcome. > I am not a font specialist. > - Could you explain me the reason for that wrong behavio

RE : RE : Alignement problems in table with no borders

2005-01-18 Thread Foucault, Sebastien
Jeremias, I'd like to thank you VERY VERY VERY (...) MUCH for that quick, precise and helpful answer ! It seems to work perfectly ! I am not a font specialist. - Could you explain me the reason for that wrong behaviour (is it a bug) ? - What are the potential issues involved by the removal of t

Re: Table text alignment

2005-01-18 Thread Jeremias Maerki
Sometimes you have to play around a bit. In short: padding works on table-cells. See the attachment. On 18.01.2005 02:05:29 David P. Nesbitt wrote: > I am having an issue with table alignment where the > first column is text-align="right" and the next column > is text-align="left". I cannot seem

Re: Fop and SVG with crippled network access.

2005-01-18 Thread Jeremias Maerki
This is probably caused by a DTD in one of your XML (Source, FO, SVG) files. It's probably not FOP that does this connection, but rather your XML parser that fetches the DTD while parsing an XML file. There are several paths you can go: - Try removing unnecessary DTD references in your source X

Re: page-height as high as the whole document

2005-01-18 Thread Jeremias Maerki
No, it's not implemented. On 17.01.2005 19:58:24 Sönke Ruempler wrote: > is it possible that FOP renders the whole content on _one_ page? The width > is given and the height should vary. I tried page-height "auto" and > "indefinite" without success. Any help would be appreciated. Jeremias Maerki

Re: [re-request] avoiding empty page with page-break

2005-01-18 Thread Jeremias Maerki
Sounds like you're doing something strange, like spacing using empty blocks or something like that. You might want to post an example that produces that effect. On 17.01.2005 18:55:57 Sönke Ruempler wrote: > in some cases a "natural" page-break (the end of the page is reached) and a > forced page-

Re: RE : Alignement problems in table with no borders

2005-01-18 Thread Jeremias Maerki
Try removing all kerning elements from the font metric XML file and switching kerning to "no" in the userconfig.xml. On 17.01.2005 18:38:55 Foucault, Sebastien wrote: > It is impossible to reproduce the alignment problem in basic conditions. > I refined the diagnostic of this problem, > The probl

Table text alignment

2005-01-18 Thread David P. Nesbitt
I am having an issue with table alignment where the first column is text-align="right" and the next column is text-align="left". I cannot seem to get any space between the two columns. padding-right and padding-left, respectively, do not seem to work. Is there some trick to do this? Regards, Da

Re: Positioning The Header

2005-01-18 Thread Luke Shannon
That worked. Thank you. - Original Message - From: "The Web Maestro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 17, 2005 6:38 PM Subject: Re: Positioning The Header > On Jan 17, 2005, at 2:28 PM, Luke Shannon wrote: > > Hello; > > > > I am playing with the extent