Problem installing RichView Wrapper for ReportBuilder 15
Problem installing RichView Wrapper for ReportBuilder 15
Hello all,
Windows 7
Delphi XE2
ReportBuilder 15.01
TRichView 14.8
RichViewActions 4.4
I updated ReportBuilder 14.x to 15.01 and now I try to install the new RichView Wrapper for ReportBuilder 1.16. Unfortunately, there is no "rvrb15DXE2.bpl". So I tried it with "rvrb15DXE4.bpl". When selecting "Install" in the project explorer I get the message that the package RVPKGDXE4 cannot be found.
How can I install the Wrapper 1.16 with Delphi XE2?
Thank you in advance
Joe
Windows 7
Delphi XE2
ReportBuilder 15.01
TRichView 14.8
RichViewActions 4.4
I updated ReportBuilder 14.x to 15.01 and now I try to install the new RichView Wrapper for ReportBuilder 1.16. Unfortunately, there is no "rvrb15DXE2.bpl". So I tried it with "rvrb15DXE4.bpl". When selecting "Install" in the project explorer I get the message that the package RVPKGDXE4 cannot be found.
How can I install the Wrapper 1.16 with Delphi XE2?
Thank you in advance
Joe
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Yes, we do not provide packages for RB wrapper for all versions of Delphi.
You can create XE2 package from XE4 package. After opening it in Delphi, delete all references to TRichView and ReportBuilder packages from "Requires" section in the Project Manager. Then install. Delphi should ask for adding the proper packages in "Requires", allow it.
You can create XE2 package from XE4 package. After opening it in Delphi, delete all references to TRichView and ReportBuilder packages from "Requires" section in the Project Manager. Then install. Delphi should ask for adding the proper packages in "Requires", allow it.
Thank you for your answer, Sergey.
As you suggested, I opened the rvrb15DXE4.dproj and deleted all entries from the "Requires" section.
When I install, the compiler stops in the file ppPDFRendererRV.pas in the procedure TppPDFRendererRichView.RenderToPDF() at line
lRenderer.PDFCanvas.InitOrigin := False;
with "undeclared identifier InitOrigin".
Do you have any further advice?
Joe
As you suggested, I opened the rvrb15DXE4.dproj and deleted all entries from the "Requires" section.
When I install, the compiler stops in the file ppPDFRendererRV.pas in the procedure TppPDFRendererRichView.RenderToPDF() at line
lRenderer.PDFCanvas.InitOrigin := False;
with "undeclared identifier InitOrigin".
Do you have any further advice?
Joe
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Hello Sergey,
I worked again on the problem and found out that the RB 15 setup program did not remove all previous RB 14 components.
So I did a manual clean up and mad a fresh installation of RB 15.01.
Then, I created a wrapper for Delphi XE2 the following way (here modified, but like you suggested a long time ago for Delphi 2010):
1) Open rvrb15DXE4.dproj in Delphi and save it as rvrb15DXE2.dproj.
2) Close it in Delphi.
3) Open rvrb15DXE2.dpk in Notepad. Change all substrings "DXE4" to "DXE2", and "1518" to "1516". Save.
4) Open rvrb15DXE2.dproj in Notepad. Do the same changes.
5) Open rvrb15DXE2.dproj in Delphi and choose "Install".
During install, the compiler stops in the file ppPDFRendererRV.pas in the procedure TppPDFRendererRichView.RenderToPDF() at line
lRenderer.PDFCanvas.InitOrigin := False;
with "undeclared identifier InitOrigin".
I commented this line out, and now everything works (as far as I can proove at the moment).
This just for your information - but perhaps you could verify what's the matter with the "InitOrigin" and post here?
Best regards
Joe
I worked again on the problem and found out that the RB 15 setup program did not remove all previous RB 14 components.
So I did a manual clean up and mad a fresh installation of RB 15.01.
Then, I created a wrapper for Delphi XE2 the following way (here modified, but like you suggested a long time ago for Delphi 2010):
1) Open rvrb15DXE4.dproj in Delphi and save it as rvrb15DXE2.dproj.
2) Close it in Delphi.
3) Open rvrb15DXE2.dpk in Notepad. Change all substrings "DXE4" to "DXE2", and "1518" to "1516". Save.
4) Open rvrb15DXE2.dproj in Notepad. Do the same changes.
5) Open rvrb15DXE2.dproj in Delphi and choose "Install".
During install, the compiler stops in the file ppPDFRendererRV.pas in the procedure TppPDFRendererRichView.RenderToPDF() at line
lRenderer.PDFCanvas.InitOrigin := False;
with "undeclared identifier InitOrigin".
I commented this line out, and now everything works (as far as I can proove at the moment).
This just for your information - but perhaps you could verify what's the matter with the "InitOrigin" and post here?
Best regards
Joe
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
This property was renamed in ReportBuilder 15.01.
Now this line must be
Now this line must be
Code: Select all
PDFSettings.CanvasInitOrigin := False;
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: