Skip to main content



      Home
Home » Archived » BIRT » PDF file download alert message
PDF file download alert message [message #192525] Mon, 25 September 2006 23:25 Go to next message
Eclipse UserFriend
Originally posted by: liyan.hu.treasury.qld.gov.au

Hi, my clients are using Acrobat Reader 5.0 and each time they run a
report in birt viewer to generate a PDF file will get an alert message
stating that "Some file can harm your computer. ......File
Name:BIRTReport11555 File Type: Adobe Acrobat Control for ActiveX
......Would you like to open the file or save it to your computer?"
followed with four buttons for "Save, Open, Cancel, More Info".

I have Acrobat Reader 7.0 in my PC and never get such an alert.

How can I get rid of the message for my clients and open the PDF file in
any version of Acrobat Reader straight way?

Many thanks.
Re: PDF file download alert message [message #192533 is a reply to message #192525] Tue, 26 September 2006 01:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: liyan.hu.treasury.qld.gov.au

hi, to clarify my previous post, the alert message doesn't seem to
associate with the particular version of Acrobat Reader, rather it's
caused by the itext or Birt Viewer because the generated PDF file lacks
the ability to open up Acrobat Reader. How can I enforce the generated PDF
file to fire Acrobat Reader automatically without prompting user? Normal
PDF files produced by Oracle report builder and Acrabat Distiller can both
do that.

Any suggestions are highly appreciated.
Re: PDF file download alert message [message #192792 is a reply to message #192533] Wed, 27 September 2006 05:14 Go to previous messageGo to next message
Eclipse UserFriend
I've the same problem.
posted here many times. but no reply.
If u find any solutions, please post it to the forum.
or if u find the class where its getting saved , let me know .
we'll debug that.

My understanding is... if we can save the file with extension. pdf, we don't
face this problem.
but how to do that is a BIG ?

--
Regards
Lavanya PinnamaReddy
"Liyan Hu" <liyan.hu@treasury.qld.gov.au> wrote in message
news:222c2373fb963959152c9b4da42b57ea$1@www.eclipse.org...
> hi, to clarify my previous post, the alert message doesn't seem to
> associate with the particular version of Acrobat Reader, rather it's
> caused by the itext or Birt Viewer because the generated PDF file lacks
> the ability to open up Acrobat Reader. How can I enforce the generated PDF
> file to fire Acrobat Reader automatically without prompting user? Normal
> PDF files produced by Oracle report builder and Acrabat Distiller can both
> do that.
>
> Any suggestions are highly appreciated.
>
Re: PDF file download alert message [message #193033 is a reply to message #192792] Wed, 27 September 2006 22:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: liyan.hu.treasury.qld.gov.au

Hi,Lavanya,

I find that in the Birt 2.1 realease build, inside [BIRT_Project] /
source /
org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/ecli pse/birt/report/presentation
/aggregation/layout/EnginFragment.java (revision1.14), in the line
response.setHeader("Content-Disposition","inline;filename= "+filename+"\"");
has one missing quote(should be "inline;filename=\""+filename+"\""), which
is fixed in later revisions. I'm not sure if this missing quote caused the
IE's failure to reconigise pdf content type or the whole header
"Content-Disposition" caused it. In Birt 2.0 which has not this header,
there is no PDF Download alert message.

I'm a newbie in Java and don't know how to compile just
org.eclipse.birt.report.presentation.aggregation.layout.Engi nFrament.java
and org.eclipse.birt.report.utility.ParameterAccessor.java and then plug
in back to birt-viewer/WEB-INF/lib/viewerservlets.jar. Can you test it and
let me know how to do it? thanks a lot.
Re: PDF file download alert message [message #194427 is a reply to message #193033] Fri, 06 October 2006 21:56 Go to previous message
Eclipse UserFriend
Hi Liyan,
I've removed my acrobat reader and installed it again .
veriosn is 5.1.
now, i'm not getting the alert message.
I've tried both versions of BIRT. 2.1.0 and 2.1.1.
both are working fine.
The only change i could see is the filename of the report.
In 2.1.0 it is some text.
In 2.1.1 it is the reportname.pdf
But findging problem when i have large data

thanks


--
Regards
Lavanya PinnamaReddy
"Liyan Hu" <liyan.hu@treasury.qld.gov.au> wrote in message
news:5700011b248f7171b8773bca5436b082$1@www.eclipse.org...
> Hi,Lavanya,
>
> I find that in the Birt 2.1 realease build, inside [BIRT_Project] /
> source /
>
org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/ecli pse/birt/report/
presentation
> /aggregation/layout/EnginFragment.java (revision1.14), in the line
>
response.setHeader("Content-Disposition","inline;filename= "+filename+"\"");
> has one missing quote(should be "inline;filename=\""+filename+"\""), which
> is fixed in later revisions. I'm not sure if this missing quote caused the
> IE's failure to reconigise pdf content type or the whole header
> "Content-Disposition" caused it. In Birt 2.0 which has not this header,
> there is no PDF Download alert message.
>
> I'm a newbie in Java and don't know how to compile just
> org.eclipse.birt.report.presentation.aggregation.layout.Engi nFrament.java
> and org.eclipse.birt.report.utility.ParameterAccessor.java and then plug
> in back to birt-viewer/WEB-INF/lib/viewerservlets.jar. Can you test it and
> let me know how to do it? thanks a lot.
>
Previous Topic:Fluid table layout
Next Topic:org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the OSGI framework
Goto Forum:
  


Current Time: Wed Jul 23 04:37:38 EDT 2025

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

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

Back to the top