Re: external graphic scaling

2005-03-03 Thread Chris Bowditch
David Preuss wrote: Hello, I have the problem that when I insert an image and want to scale it, the given values are not applied. I have the following code in my xsl: content-width and content-height are ignored by FOP 0.20.5. Try width and height instead. Note, however that it is not a good id

RE: external-graphic problem

2004-08-25 Thread Sun, Tiffany (Tong)
Title: RE: external-graphic problem I had the same problem before, I passed in image root as a parameter to XSLT page, and add that to the path of images. The limitation is: you have to assume all images are using same root path. Tiffany -Original Message- From: vivek gupta

Re: external-graphic src problem

2004-07-23 Thread J.Pietschmann
Danny wrote: Using baseDir I could reference the relative path to the image in the xsl, but I would have to specify an absolute path in the baseDir, so really that is the same as just hardcoding the path in the xsl. My problem is that I do not want to require the application be installed in a speci

Re: external-graphic src problem

2004-07-23 Thread Clay Leeds
In addition, since it follows the URI concept, you can set up the variable's value to be a URL: http://nonauthenticated.server.com/path/to/ images ...would assume: http://nonauthenticated.server.com/path/to/images/pic.jpg Hope this helps! Web Maestro Clay

RE: external-graphic src problem

2004-07-23 Thread Zaleski, Matthew (M.E.)
, I really don't understand your problem domain. -Original Message- From: Danny [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 2:38 PM To: [EMAIL PROTECTED] Subject: RE: external-graphic src problem So in my case, because the xml is streamed from the db and therefore doesn

RE: external-graphic src problem

2004-07-23 Thread Danny
he Corners Parkway Suite 116 Norcross Ga, 30092 -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 1:48 PM To: [EMAIL PROTECTED] Subject: Re: external-graphic src problem On Jul 23, 2004, at 10:40 AM, Danny wrote: > Still not quite, I'm still

Re: external-graphic src problem

2004-07-23 Thread Clay Leeds
On Jul 23, 2004, at 10:40 AM, Danny wrote: Still not quite, I'm still missing something: Question, in your example: /path/to/images /path/to/images is the path from a known root Correct? That is correct. Otherwise... Here are my snippets com/path/to/images ...(if I understand it correctly)

RE: external-graphic src problem

2004-07-23 Thread Danny
e 116 Norcross Ga, 30092 -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 12:14 PM To: [EMAIL PROTECTED] Subject: Re: external-graphic src problem I should've thought of this sooner... /path/to/images is how I use it in our system... Hope

Re: external-graphic src problem

2004-07-23 Thread Clay Leeds
EMAIL PROTECTED] Sent: Friday, July 23, 2004 10:01 AM To: [EMAIL PROTECTED] Subject: RE: external-graphic src problem This possibly becomes an XSLT problem. Use a global variable passed into the XSLT transform to provide the basedir for the images. -Original Message- From: Danny [mailto:[

RE: external-graphic src problem

2004-07-23 Thread Danny
Group 6075 The Corners Parkway Suite 116 Norcross Ga, 30092 -Original Message- From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 10:01 AM To: [EMAIL PROTECTED] Subject: RE: external-graphic src problem This possibly becomes an XSLT problem. Use a global

RE: external-graphic src problem

2004-07-23 Thread Zaleski, Matthew (M.E.)
This possibly becomes an XSLT problem. Use a global variable passed into the XSLT transform to provide the basedir for the images. -Original Message- From: Danny [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 9:56 AM To: [EMAIL PROTECTED] Subject: RE: external-graphic src problem

RE: external-graphic src problem

2004-07-23 Thread Danny
Suite 116 Norcross Ga, 30092 -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 9:36 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic src problem On Jul 23, 2004, at 6:20 AM, Danny wrote: > Clay, > > Thanks for the response. >

Re: external-graphic src problem

2004-07-23 Thread Clay Leeds
On Jul 23, 2004, at 6:20 AM, Danny wrote: Clay, Thanks for the response. The xml is being streamed from the database in this instance, so there is no xml file that resides in a directory to serve as the base for the relative path. Is there no way to use to a classpath entry as the base for the

RE: external-graphic src problem

2004-07-23 Thread Danny
? Danny Gallagher Senior Software Engineer The Gainer Group 6075 The Corners Parkway Suite 116 Norcross Ga, 30092 -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 4:41 PM To: [EMAIL PROTECTED] Subject: Re: external-graphic src problem On Jul 22, 2004

Re: external-graphic src problem

2004-07-22 Thread Clay Leeds
On Jul 22, 2004, at 1:20 PM, Danny wrote: ** Application is a standalone Java Swing application.  Cannot seem to get a jpg to render in my pdf unless I hardcode the complete path to the image in the external-graphic src attribute. The data in the pdf renders fine, just no image.  The image file

Re: external-graphic and caption

2004-02-27 Thread J.Pietschmann
Wouter de Vaal wrote: On a related note: if I create a few fo:table withing 1 fo:block, each table will appears on the next line. So I was hoping for but I get Table is a block level element. Starting a table creates a new block area, which closes any line you was filling. The only way to put s

Re: external-graphic and caption

2004-02-27 Thread Wouter de Vaal
> Wouter de Vaal wrote: > > Is it possible to add a caption to an external-graphic without putting > > it in a table? > > It depends on what you mean by "add a caption to an external-graphic". > Sorry for not being clear. I meant an image with a text underneath it. I was wondering if this could be

Re: external-graphic and caption

2004-02-26 Thread J.Pietschmann
Wouter de Vaal wrote: Is it possible to add a caption to an external-graphic without putting it in a table? It depends on what you mean by "add a caption to an external-graphic". My goal is to have multiple graphics within a block so they will be put on one line untill there is no more space an

RE: external-graphic does not support SVG when src is an url

2003-11-13 Thread Andreas L. Delmelle
> -Original Message- > From: Unger, Joachim [mailto:[EMAIL PROTECTED] > I found a problems when using urls instead of files for fo:external-graphic's src paramater. What kind of problems exactly? The image does not get picked up or what? > It works in 95% of all cases with APACHE. > I

Re: external-graphic : twice request for the same element

2003-09-20 Thread Thomas Sondag
Le jeu 18/09/2003 à 23:38, J.Pietschmann a écrit : > Thomas S wrote: > > I'm using FOP fop-0.20.5 with fop.sh script and for all external-graphic > > element, I can see 2 requests in my apache log. > > Well, this happens for a few image formats. FOP first opens > a connection to check the image ty

Re: external-graphic : twice request for the same element

2003-09-18 Thread J.Pietschmann
Thomas S wrote: I'm using FOP fop-0.20.5 with fop.sh script and for all external-graphic element, I can see 2 requests in my apache log. Well, this happens for a few image formats. FOP first opens a connection to check the image type (format), then may access the URL again to do the actual processi

RE: External graphic referencing within a servlet

2003-07-11 Thread Victor Mote
Clay Leeds wrote (a long time ago, May 21, 2003 to be exact): > On 5/21/2003 9:18 AM, Jeremias Maerki wrote: > > You may need to the the base directory/URL. See: > > http://xml.apache.org/fop/embedding.html#config-internal > > > > But I think your src attribute is wrong. It should be something lik

Re: External graphic referencing within a servlet

2003-05-21 Thread J.Pietschmann
William Gilbert wrote: src="file:url(logo.gif)"/> That's not a meaningful value, it will be interpreted as a file ULR pointing to the file named "url(logo.gif)", and it's also violating URI syntax. Use src="url(logo.gif)" instead and set the baseURL configuration value. J.Pietschmann

Re: External graphic referencing within a servlet

2003-05-21 Thread Clay Leeds
On 5/21/2003 9:18 AM, Jeremias Maerki wrote: You may need to the the base directory/URL. See: http://xml.apache.org/fop/embedding.html#config-internal But I think your src attribute is wrong. It should be something like this: src="url(file:logo.gif)". I was thinking it was this: or if it were in

Re: External graphic referencing within a servlet

2003-05-21 Thread Jeremias Maerki
You may need to the the base directory/URL. See: http://xml.apache.org/fop/embedding.html#config-internal But I think your src attribute is wrong. It should be something like this: src="url(file:logo.gif)". On 21.05.2003 18:02:20 Jeremy Nix wrote: > I'm using a serlvet to perform the XSLT transfo

Re: External graphic referencing within a servlet

2003-05-21 Thread William Gilbert
> I'm using a serlvet to perform the XSLT transformation into my PDF document. > Everything works fine EXCEPT the images. I've tried referencing my images > many different ways, and none seem to work. Does anybody know how to get this > functionality to work? > > Here's my graphic: > src="file:

RE: external-graphic image resolution

2003-04-22 Thread Michael F. Schnuerle
Dan, I've done a few projects with some high resolution images included in the final PDF that FOP generates with XML and XSL. Some of these have been 300 dpi or greater, and look great. FOP seemed to handle them fine as long as you specify the length of the image block and the image. You do hav

RE: external-graphic image resolution

2003-04-22 Thread Cédric Augustin
The solution I use is to set the image size 3 time less than the real size. It works fine. -Message d'origine- De : Dan Check [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 avril 2003 00:39 À : [EMAIL PROTECTED] Objet : fo:external-graphic image resolution Hi, I've been having some trouble

Re: External Graphic border

2003-03-14 Thread s-oualid
>That's a well known bug which nobody yet bothered to track down. >You are invited. Thanks for the invitation, I hopefully have a light week end (that's pretty rare), so I'll have some time to ruminate the code and try to understand it well ! ;o) Don't count too much on me (I'd hate to disapoin

Re: External Graphic border

2003-03-13 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I am trying to put a 1pt black border around images. I first tried to use the border common attribute on the fo:external-graphic tag, but it doesn't work (on fop 0.20.5rc2). It's not implemented. Then, I decided to include my image in a block, but the block doesn't fit t

RE: external-graphic problem

2003-02-05 Thread Mihael Knezevic
thanx again. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic problem Mihael Knezevic wrote: > thanx for the response. correct me if i'm wrong, but i thought the &g

Re: external-graphic problem

2003-02-05 Thread Oleg Tkachenko
Mihael Knezevic wrote: thanx for the response. correct me if i'm wrong, but i thought the base dir must only be set if i use this in a servlet? baseDir *may* be set if you need it. Environment doesn't matter, that's just a convenient way to resolve relative URI's. -- Oleg Tkachenko Multiconn Tech

RE: external-graphic problem

2003-02-04 Thread Mihael Knezevic
: external-graphic problem Here is our working code: If I remember right, you also have to set the basedir (either in your userconfig.xml or via Java): Configuration.put("baseDir", "file:" + imgSrcDir); -Lou "Mihael Knezevic" <[EMAIL PROTECTED

RE: external-graphic problem

2003-02-04 Thread Mihael Knezevic
thanx for the response. correct me if i'm wrong, but i thought the base dir must only be set if i use this in a servlet? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 2:12 PM To: [EMAIL PROTECTED] Subject: Re: external-gr

Re: external-graphic problem

2003-02-04 Thread Louis . Masters
Here is our working code: If I remember right, you also have to set the basedir (either in your userconfig.xml or via Java): Configuration.put("baseDir", "file:" + imgSrcDir); -Lou "Mihael Knezevic" <[EMAIL PROTECTED]> on 02/04/2003 07:56:52 Please respond to [EMAIL PROTECTED]

Re: external-graphic and PCL rendering

2002-11-01 Thread Chris Bowditch
Hi, I am having a peculiar problem. I am not able to render into PCL if I have an external graphic in the FO document. I get the following exception when I try this programatically: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException We also hit this problem. The PCL renderer is

Re: external-graphic and ratio

2002-06-28 Thread J.Pietschmann
Rodolphe VAGNER wrote: Is it possible to apply a ratio on an image trhought an external-graphic fo element ? I mean I want to display a graphic at 1/3 its size for example. Can anyone help ? Thanks You can't scale a graphicto 1/3 or the original size. One problem is actually: what is the "original

Re: external-graphic and ratio

2002-06-28 Thread Florence Deforge
One solution may be to put the graphic inside a table - cell. The graphic will be scaled to the cell size. But it supposes that you know the width you want the graphic to be displayed It is the only solution I have found so far. Flo - Original Message - From: "Rodolphe VAGNER" <[EMAIL PR

Re: External Graphic

2002-06-11 Thread Jeff_Mitchell
t;[EMAIL PROTECTED]cc: oo.de> Subject:

Re: External Graphic

2002-06-11 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: If you're running FOP on a different machine than IIS, perhaps the FOP box can't resolve the name epndev006. This would give [ERROR]: Error while creating area : Error with image URL: epndev0006 and no base directory is specified. (small, but importsnt diffference) J.Pie

Re: External Graphic

2002-06-11 Thread Jeff_Mitchell
Patrick- The server portion of the URL you're using looks like an NT name, or at least a name in your default domain (TCP/IP, not NT) If you're doing this all on one machine (if you're running FOP on epndev0006), why not use a relative path through the file structure (i.e. src="images/Logo_Plain

RE: External Graphic

2002-06-11 Thread Urban, Patrick
:13 PM To: [EMAIL PROTECTED] Subject: Re: External Graphic Urban, Patrick wrote: > Can anyone help me debug this. I am looking to simply pull a logo onto my > report with this code... > > http://epndev0006/Logo_Plain.gif"/> > > this error is being output from FOP...

Re: External Graphic

2002-06-11 Thread J.Pietschmann
Urban, Patrick wrote: Can anyone help me debug this. I am looking to simply pull a logo onto my report with this code... http://epndev0006/Logo_Plain.gif"/> this error is being output from FOP... [ERROR]: Error while creating area : Error with image URL: http://epndev0006/Logo_Plain.gif and no base

Re: external-graphic width & height

2002-06-05 Thread florence deforge
hmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 9:41 PM Subject: Re: external-graphic width & height > Florence Deforge wrote: > > Hi > > > > I need to resize some gif images which are to be displayed in a pdf doc. > &

Re: external-graphic width & height

2002-06-04 Thread J.Pietschmann
Florence Deforge wrote: Hi I need to resize some gif images which are to be displayed in a pdf doc. I tried to insert the following code inside a block or a table-cell : file: Whatever percentage or absolute size is set, the graphic is displayed with same size (which is

Re: external-graphic

2002-04-23 Thread J.Pietschmann
Harald Meyer wrote: I have a problem with external graphics. FOP seems to ignore any settings of content-height and content-width. It always puts out the graphic at the same size. Both content-height and content-width are not mentioned in docs/html-docs/implemented.html and seem to be commented out

Re: external-graphic SVG problem ...

2002-04-13 Thread J.Pietschmann
RAYMOND Romain wrote: Is there a problem to fix a SVG heigth in an external-graphic I cannot dot it. Can you post a shoret, self contained sample which demonstrates the problem? J.Pietschmann

RE: external-graphic within a war file

2002-04-09 Thread Orford, Jeffrey
The servlet is running within Weblogic 5.1 (my firm's standard for the time being) I'll try this one, Thanks again. Jeff -Original Message- From: Tomasz Pik [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 9:43 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic wi

Re: external-graphic within a war file

2002-04-09 Thread Tomasz Pik
y other suggestions would be appreciated. Here's what the code looks like now: Thanks. Jeff Orford -Original Message- From: Tomasz Pik [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 2:15 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic within a war file O

RE: external-graphic within a war file

2002-04-09 Thread Orford, Jeffrey
day, April 09, 2002 2:15 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic within a war file Orford, Jeffrey wrote: > Hi- > I'm attempting to use a gif image using the fo:external-graphic tag. Both > the gif file and the xsl file are located in a war file. The gif is lo

Re: external-graphic within a war file

2002-04-09 Thread Tomasz Pik
Orford, Jeffrey wrote: Hi- I'm attempting to use a gif image using the fo:external-graphic tag. Both the gif file and the xsl file are located in a war file. The gif is located in a directory /images (from the war file's root) and the xsl file is located in a directory named web-inf. So far I'v

Re: external-graphic : protocol error

2002-03-29 Thread J.Pietschmann
RAYMOND Romain wrote: I cannot access images while building my PDF throught FOP, return error is " no protocol ". Althought I used (as in the examples) a file:path ... What is the synthax ? The URL syntax for files on the local machine is file:///some/path/to/file.ext Note the triple slash. FOP al

Re: external-graphic src syntax

2002-03-14 Thread Keiron Liddle
First it tries to load the given url directly using URL. If the url string is invalid then it tries with "file:" in front. This means that if you image url is a relative path (ie. "image.jpg") then it will find that file (automatically in java) if it is relative to the current directory. The cu