Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products

Integra Script Library Documentation


Context:

Class Method (Function)

Library/Class:

FileExport Class



Function FileExport.SaveWordDoc() As String

SaveWordDoc (stats As StaticVars, protect As Integer, tmpnam As Integer, forceRND As Integer)

This method saves the content of the in memory Word document to file. The filename used is either the one set in stats.filename (which in turn is eventually initialised with a filename defined in the Integra profile). If no filename has been defined (yet) or the parameter tmpnam is True, a random filename located in Integra's temporary directory (located in the root of the Notes data directory) is generated.


Parameters:

    stats (StaticVars)
      Handle to Integra's runtime object stats
    protect (Integer)
      True to enable Word document protection on the saved file)
    tmpnam (Integer)
      True to indicate that the file has to be saved in a temporary file
    forceRND (Integer)
      True to force a random filename. By default Integra will generate a default filename overwriting any existing file with that same name. This parameter can be used to force a randomised filename that is not in use in Integra's temporary directory or any other predefined directory (location).


Return Value:
    Filename under which the Word document was saved.
 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024