by nageswaragunupudi » Tue Jul 12, 2011 3:41 pm
As you correctly observed in your first post, the margins are not set to 0 in the Word Ole Object. For that reason, the contents are condensed in the exported Word file.
By default, SaveToPDF, uses Word 2007 feature to save as pdf, if Office 2007 is installed and Save to PDF plug in of MS Office is installed. Therefore, the PDF saved in this manner also suffers from the same defect.
We shall rectify this soon and inform.
From version 11.06, a separate FWH function is available to save as pdf, without using MS Office or any other 3rd party utility. This function is used by default only when Word version is prior to 2007 or if the Save to pdf plug in is not installed. PDF saved with this function does not have this problem you mentioned.
We can change the behavior of preview to use this function in all cases even when Word 2007 is installed.
Please try setting
TPreview():bSaveAsPDF := { |o| FWSavePreviewToPDF( o ) }
at the beginning of your program.
Please let us know if this output is satisfactory.
Regards
G. N. Rao.
Hyderabad, India