Skip to main content



      Home
Home » Archived » BIRT » Artwork location - PDF vs HTML
Artwork location - PDF vs HTML [message #118860] Fri, 27 January 2006 11:13 Go to next message
Eclipse UserFriend
Originally posted by: mlorenz.nc.rr.com

I have a report that gets its JPEG files from disk. The files are
appearing fine in PDF output, but nothing shows up for HTML.

Is there a different location BIRT looks for HTML?
Re: Artwork location - PDF vs HTML [message #119013 is a reply to message #118860] Fri, 27 January 2006 12:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pcasey.earthlink.net

Are the JPEG's in a directory that's accessible by your web server? It's
going to be up to your web server to serve them, not BIRT. All BIRT can do
is spit out links.

--- Pat

"Mark Lorenz" <mlorenz@nc.rr.com> wrote in message
news:cc93a6931af3b59ffd2feb8bf591cf9e$1@www.eclipse.org...
>I have a report that gets its JPEG files from disk. The files are
>appearing fine in PDF output, but nothing shows up for HTML.
>
> Is there a different location BIRT looks for HTML?
>
Re: Artwork location - PDF vs HTML [message #119025 is a reply to message #119013] Fri, 27 January 2006 12:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mlorenz.nc.rr.com

I understand, but I'm not deployed - I'm testing from BIRT as plugin to
Eclipse.

So, where does BIRT look for the files?

(1) For HTML output at dev time (from Eclipse)
(2) For PDF output at dev time (from Eclipse)
(3) For HTML output at production time (deployed)
(4) For PDF output at production time (deployed)

If I'm being dense, it wouldn't be the first time.
Re: Artwork location - PDF vs HTML [message #119051 is a reply to message #119025] Fri, 27 January 2006 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pcasey.earthlink.net

I don't know that you're being dense at all :). Did you try looking at
the HTML source though to see what BIRT is putting in the links? As I
understand it the 2.0 "preview" mode is actually a small web application
that eclipse connects to via web servies, and it returns an HTML document
which eclipse then render's using whatever browser you happen to have set as
your default browser.

I don't recall if eclipse's internal browser lets you view source, but
if it doesn't you could always change it to use an external browser like IE
or firefox and then look at the source to see what links BIRT is creating
for you.

--- Pat

"Mark Lorenz" <mlorenz@nc.rr.com> wrote in message
news:683cb285b1f6cfdeb08adad6493a4d4b$1@www.eclipse.org...
>I understand, but I'm not deployed - I'm testing from BIRT as plugin to
>Eclipse.
>
> So, where does BIRT look for the files?
>
> (1) For HTML output at dev time (from Eclipse)
> (2) For PDF output at dev time (from Eclipse)
> (3) For HTML output at production time (deployed)
> (4) For PDF output at production time (deployed)
>
> If I'm being dense, it wouldn't be the first time.
>
Re: Artwork location - PDF vs HTML [message #119170 is a reply to message #119051] Fri, 27 January 2006 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mlorenz.nc.rr.com

Thanks for the ideas. I looked at the source and here's what I found for
one of the images:

img id="AUTOGENBOOKMARK_6671303358373283764"
src="C:\DOCUME~1\lorenz\LOCALS~1\Temp\file8704.img">

Looking in the Temp directory, it is the correct artwork. I did not
create this temp file - the browser must have (I guess). Since it is
there, I don't know why it doesn't show up.

Aha! On a whim, I opened the file in IE instead of my default browser
(Firefox) and the artwork shows up!

Whoa -- does BIRT not claim that its output will work in Firefox?!
Re: Artwork location - PDF vs HTML [message #119274 is a reply to message #119170] Fri, 27 January 2006 17:54 Go to previous message
Eclipse UserFriend
Originally posted by: rrachamallu.hotmail.com

Firefox displays the images, if you save the images in the right place. For
example the sample web viewer saves the images in a report/images folder.
This image folder should be under the deployment folder (webapps/application
folder in Tomcat).
To set the image directory, see the web viewer code (class
ReportEngineService.java).

Reddy

"Mark Lorenz" <mlorenz@nc.rr.com> wrote in message
news:85fa1c82a01da8863609c43e23964f42$1@www.eclipse.org...
> Thanks for the ideas. I looked at the source and here's what I found for
> one of the images:
>
> img id="AUTOGENBOOKMARK_6671303358373283764"
> src="C:\DOCUME~1\lorenz\LOCALS~1\Temp\file8704.img">
>
> Looking in the Temp directory, it is the correct artwork. I did not
> create this temp file - the browser must have (I guess). Since it is
> there, I don't know why it doesn't show up.
>
> Aha! On a whim, I opened the file in IE instead of my default browser
> (Firefox) and the artwork shows up!
>
> Whoa -- does BIRT not claim that its output will work in Firefox?!
>
Previous Topic:Using a java Class
Next Topic:Big pdf files?
Goto Forum:
  


Current Time: Tue Jul 22 14:53:46 EDT 2025

Powered by FUDForum. Page generated in 0.07707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top