Icetips News Network | |||
| News & Bios | Archives | Icetips Software Products | About Icetips.net |
|
Using Word Previewer with Icetips Preveiwer 06-Feb-2002 -- Arnór Baldvinsson One of our customer, Bob Campbell, has successfully implemented our Icetips Previewer with the Winword Previewer from FominTools which opens the report in Microsoft Word for Windows.
Bob was kind enough to provide us with the code he used and allow us to post it on the website. Bob created a button on the Icetips Previewer window and added the following code in the Accepted embed on the button:
WinwordPreview(pImageQueue,,|
'.\Report.doc', |
'Save File and Preview',|
'Overwrite Existing File')
Obviously you need to have the Winword Previewer templates for this to work.
This will pass the whole report to the Winword Previewer as internally the Icetips Previewer
does not manipulate the queue passed to it from the report until the Previewer is closed.
If you want to take advantage of the tagging in the Icetips Previewer and only send the tagged
pages to the Word Previwer, you would need to use code similar to what is in the MoveQueueFromLocal
routine in the Icetips Perviewer procedure. You could write this something like this:
We thank Bob for contributing his code and screenshot:)
|