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 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-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
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. The xml is being

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
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 Clay Leeds
- 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 variable passed into the XSLT transform to provide the basedir for the images

RE: external-graphic src problem

2004-07-23 Thread Danny
To: [EMAIL PROTECTED] Subject: Re: external-graphic src problem I should've thought of this sooner... !-- At the top of my XSL-FO file or in an xsl:include -- !--varImagesDirectory | used to set PATH to images/ directory-- xsl:variable name=varImagesDirectory/path/to/images/xsl:variable

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: xsl:variable name=varImagesDirectory/path/to/images/xsl:variable /path/to/images is the path from a known root Correct? That is correct. Otherwise... Here are my snippets

RE: external-graphic src problem

2004-07-23 Thread Danny
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 missing something

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't reside

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: xsl:variable name=varImagesDirectoryhttp://nonauthenticated.server.com/path/to/ images/xsl:variable fo:external-graphic src=url('{$varImagesDirectory}/pic.jpg') /fo:external-graphic ...would

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

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 tabletabletable but I get table table table Table is a block level element. Starting a table creates a new block area, which closes any line you was

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 and

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? snip/ It works in 95% of all cases with APACHE.

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 type

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

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:

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

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: fo:external-graphic

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 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

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

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 disapoint

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

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

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 base dir

Re: external-graphic problem

2003-02-04 Thread Louis . Masters
Here is our working code: xsl:if test=@isrc!='' fo:external-graphic scaling=uniform height=auto width=auto content-width=auto content-height=auto src=[EMAIL PROTECTED]/ /xsl:if If I remember right, you also have to set the basedir (either in your userconfig.xml or via Java):

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-graphic

RE: external-graphic problem

2003-02-04 Thread Mihael Knezevic
: external-graphic problem Here is our working code: xsl:if test=@isrc!='' fo:external-graphic scaling=uniform height=auto width=auto content-width=auto content-height=auto src=[EMAIL PROTECTED]/ /xsl:if If I remember right, you also have to set the basedir (either in your userconfig.xml

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

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... fo:external-graphic src=http://epndev0006/Logo_Plain.gif/ this error is being output from FOP... [ERROR]: Error while creating area : Error with image URL:

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... fo:external-graphic src=http://epndev0006/Logo_Plain.gif/ this error is being output from FOP... [ERROR

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.

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)

Re: External Graphic

2002-06-11 Thread Jeff_Mitchell
: oo.de Subject: Re: External Graphic

Re: external-graphic width height

2002-06-05 Thread florence deforge
[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. I tried to insert the following code inside a block or a table

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 : fo:external-graphic width=75% height=75% text-align=center xsl:attribute name=src xsl:textfile:/xsl:text

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

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 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

RE: external-graphic within a war file

2002-04-09 Thread Orford, Jeffrey
/fo:table-cell 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 Orford, Jeffrey wrote: Hi- I'm attempting to use a gif image using

Re: external-graphic within a war file

2002-04-09 Thread Tomasz Pik
PROTECTED] Sent: Tuesday, 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 located

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 within a war

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