|
FOROS PROFESIONALES WINDEV, WEBDEV y WINDEV Mobile |
| | | | | |
| WD19 - Print export to Word not 100% perfect |
| Iniciado por guest, 13,oct. 2015 09:56 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 13,octubre 2015 - 09:56 |
Hi, the export to Word, from the print preview or using the print functions is not very accurate. It is an RTF export actually and I suppose Word does some conversion to. But I have never seen a 100% copy of the print preview. The PDF export seems to be much better.
Can the Word export be better if I take some rules in to account, like using enough margins or thing like that? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 13,octubre 2015 - 13:28 |
Hi Arie,
I don't think it will ever be better. It can be good for simple text but as soon as there are images, tables, alignments etc... then it's to complicated to manage an exact copy in RTF.
Kind regards,
Joris. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 13,octubre 2015 - 15:28 |
Hi Arie,
The RTF capabilities of the WX report editor and engine are dating back to early RTF standard of somewhere in the 1990's...
In other words it will only support RTF that was supported by Wordpad on a Windows 2000 computer. As you know or will recall, that isn't really much. You'll find this confirmed somewhere hidden in one of the help pages.
Also printing html (introduced as one of the great novelties in V16 or so) is a complete laugh with the WX report editor and engine. In short: unusable at all...
We needed complext HTML-RTF-PDF capabilities (and full conversion between the two first formats) for a large document generation WB project that integrates with any backend system. PCSoft Support worked on our large list of bugs for a couple of days and then had to admit that the advertised html and rtf printing features were not as advertised. We also got a lot of bugs when working with Korean and Chinese character sets.
We didn't want to throw away the backend black box we had already written and searched for an alternate solution. Now we are able to generate everything via 2 nicely priced DLL's we bought from Sautinsoft: HTM2RTF.dll and PDFMetamorphosis.dll.
It's a small dev company where a bug is usually resolved within a week after you contact their support. We even had some things fixed/improved by Sautinsoft on the same day via the delivery of a new DLL when we indicated it was urgent. What a relief after having spent months talking to PCSoft tech support about the printing issues where they closed tickets as 'solved' while they weren't at all...
We have full HTML printing capabilities now (documents assembled and edited in the browser) that convert to full fledged Word compatible RTF documents and PDF.
Here's the link for anyone interested: http://www.sautinsoft.com/
Cheers,
Peter H. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 13,octubre 2015 - 18:58 |
Thanks Peter, cool stuff.
Do you still use WD reports to create (print) the html first? Or did you write your own report layout editor and use that in you applications to generate html or even Word-docs directly? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 13,octubre 2015 - 21:35 |
Hi Arie,
We didn't throw away the WX report editor neither but we surely don't use it for any HTML or RTF content as it just doesn't work (unless it is extremely basic and cumbersome html and rtf layout).
For some stuff the reporting engine is really great like e.g. printing on preprinted forms like checks which are still used massively in the US and France. I haven't seen anything better out there really. Tried it a lot with Oracles BIPublisher but that is pretty cumbersome compared to this...
So our solution can also include (user developer) generated WX reports (*.wde) that are stored as a blob in the (layout) db (make sure the flag to include precompiled code in the report description is on). Next these are extracted and called dynamically upon runtime and executed to generate PDF output apart from the html layout models (with or without additonal PDF or image attachments) that can generate final output in HTM, RTF or PDF thanks to the Sautinsoft DLLs.
I can send you an end-user manual to grasp the idea if you want... Just still need to include section about the *.wde report template option in there.
Cheers,
Peter H. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,octubre 2015 - 10:46 |
Hi Peter,
Quote So our solution can also include (user developer) generated WX reports (*.wde) that are stored as a blob in the (layout) db (make sure the flag to include precompiled code in the report description is on). Next these are extracted and called dynamically upon runtime and executed
That's also what I do. Works great. One user can change a layout and other users will get it automatically. |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|