We are using wPDF for exporting the Reports from Reportbuilder to PDF File. But it seems that RichView don't works with wPDF. The place is empty.
Julia Ziersch (who has written the wPDF component) says, it should work but maybe RichView don't write correct to the metafile
What is your opinion? Should RichView works with Reportbuilder/wPDF?
Best wishes
Bernhard
RichView, Reportbuilder and wPDF
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 104
- Joined: Mon Nov 26, 2007 1:49 pm
Hello,
I've solved the problem with some changes in ppRichView.pas. I've made it similar to the llpdflib (which is supported in ppRichView.pas). Now it works fine.
I don't know if all necessary wPDF components are available as trial (but I think so)
My changes in ppRichView.pas are :
1. In the uses wppdfRBDev
2. In tppDrawRichView.DoDraw a new else if :
...
else if (aDevice is tppwpdfdevice) then begin
lCanvas := tppwpdfdevice(aDevice).Canvas;
ADrawRect := DrawRect;
end
...
3. Changing in the if condition on line 1200 :
...
Or (aDevice is tppwpdfdevice) ...
That's all.
Best wishes
Bernhard
I've solved the problem with some changes in ppRichView.pas. I've made it similar to the llpdflib (which is supported in ppRichView.pas). Now it works fine.
I don't know if all necessary wPDF components are available as trial (but I think so)
My changes in ppRichView.pas are :
1. In the uses wppdfRBDev
2. In tppDrawRichView.DoDraw a new else if :
...
else if (aDevice is tppwpdfdevice) then begin
lCanvas := tppwpdfdevice(aDevice).Canvas;
ADrawRect := DrawRect;
end
...
3. Changing in the if condition on line 1200 :
...
Or (aDevice is tppwpdfdevice) ...
That's all.
Best wishes
Bernhard