 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Peter Jones Guest
|
Posted: Fri Mar 11, 2005 5:33 pm Post subject: How to output a PDF file? |
|
|
Hi,
Can someone please tell me how to output a PDF file?
I can print/preview the report by executing the following code:
---------------------
RvProject1.Execute;//set ProjectFile property to the .rav file
---------------------
But I don't have any clue to generate it to PDF instead.
Also, I would like to embed the Rave Project in the Executable. I do the same thing as I stated above, but just clear the ProjectFile property and load the .rav file in StoreRAV property. When I run the Delphi program, it doesn't work and give me error:
------------------------------
Error opening file Unit1.dfm
------------------------------
where Unit1.dfm is the form I place the RvProject1 components.
Thanks in advance for any suggestions,
Peter
|
|
| Back to top |
|
 |
Lorne Guest
|
Posted: Sat Mar 12, 2005 12:35 pm Post subject: Re: How to output a PDF file? |
|
|
drop the pdf render component (found on the rave tag of the Delphi component
palette) on to your form and then you can select pdf as one of the output
options from the print preview dialog.
"Peter Jones" <peter (AT) hotmail (DOT) com> wrote
| Quote: |
Hi,
Can someone please tell me how to output a PDF file?
I can print/preview the report by executing the following code:
---------------------
RvProject1.Execute;//set ProjectFile property to the .rav file
---------------------
But I don't have any clue to generate it to PDF instead.
Also, I would like to embed the Rave Project in the Executable. I do the
same thing as I stated above, but just clear the ProjectFile property and
load the .rav file in StoreRAV property. When I run the Delphi program, it
doesn't work and give me error:
------------------------------
Error opening file Unit1.dfm
------------------------------
where Unit1.dfm is the form I place the RvProject1 components.
Thanks in advance for any suggestions,
Peter
|
|
|
| Back to top |
|
 |
mee Guest
|
Posted: Thu Mar 17, 2005 3:29 pm Post subject: Re: How to output a PDF file? |
|
|
Lorne a écrit :
| Quote: | drop the pdf render component (found on the rave tag of the Delphi component
palette) on to your form and then you can select pdf as one of the output
options from the print preview dialog.
Is there a way to have pdf output preselected in the print preview dialog ? |
|
|
| Back to top |
|
 |
Eldon Lewis Guest
|
Posted: Tue Apr 12, 2005 10:03 pm Post subject: Re: How to output a PDF file? |
|
|
| Quote: | Can someone please tell me how to output a PDF file?
|
http://www.nevrona.com/Default.aspx?tabid=87
| Quote: | Also, I would like to embed the Rave Project in the Executable. I do the
same thing as I stated above, but just clear the ProjectFile property and
load the .rav file in StoreRAV property. When I run the Delphi program, it
doesn't work and give me error:
------------------------------
Error opening file Unit1.dfm
------------------------------
|
Right click on the form and uncheck the TextDFM property. That will solve
the problem for you. This has been fixed in later code so that you don't
have to have your dfm stored in binary format in order for it to work.
Eldon Lewis
Nevrona Designs
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|