Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Info

This paragraph applies both to VFP 9 and VFP 8. The set… methods are implemented both in XFRXListener and XFRXSession classes.

The following methods can be called to set various document properties. When generating a Word document, all document properties have to be set before the first report is processed. When exporting to PDF, the properties have to be set before Finalize() method is called.

General properties

Code Block
loSession.setAuthor(<author>)
loSession.setTitle(<title>)
loSession.setSubject(<subject>)
loSession.setKeywords(<keywords>)

 

PDF only properties

Code Block
loSession.setCreator(<creator>)
loSession.setProducer(<producer>)
loSession.setCreationDate(<datetime>) && (since XFRX 15.8)

MS Word 97, MS Word 2007, MS Excel 2007 other properties

Code Block
loSession.setComments(<comments>)
loSession.setCategory(<category>)
loSession.setManager(<manager>)
loSession.setCompany(<company>)
loSession.setCreationDate(<datetime>) && (since XFRX 15.8)

Open Office/Libre Office Writer and Calc other properties

Code Block
loSession.setComments(<comments>)
loSession.setCreationDate(<datetime>) && (since XFRX 15.8)

HTML/MHT other properties

Code Block
loSession.setComments(<comments>) && (since XFRX 15.8)