Context: |
Class Method (Procedure) |
Library/Class: |
FileExport Class |
Sub FileExport.CopyAndPasteRTF
CopyAndPasteRTF(stats As staticVars, rtfield As String, WordRange As Variant, callinstance As Integer)
Main procedure called for exporting Notes rich text fields to Word. Since the introduction of the API export as the default method with Integra for Notes version 3, this procedure simply calls the FileExport.ApiExportRTF() method. Unless of course advanced script is used to switch back to the copy and paste method.
Essentially both methods achieve more or less the same results. However, the old copy and paste method allows for some special configuration that allow to deal with eventual error exceptions thrown by the API export or known problems with in-line images of type bitmap.
Please refer to the following links for more information:
StaticVars.ApiExpRT
StaticVars.RTExpForm
Parameters:
Handle to Integra's runtime object stats
rtfield (String)
Name of the rich text field which is to be exported
WordRange (Variant)
Word range into which the rich text is to be exported. This would usually be a Word mailmerge field or bookmark according to the Selected Field List in the Integra profile.
callinstance (Integer)
Internal usage. Any integer value will do.
|