XFRX version 14.7

Release date: 30 Nov 2013

New features

New output type: Native Word (docx) output - the Word application is not required and does not need to be installed to generate the documents 

 The new output type can generate Word documents in docx (OpenXML) format both in the standard and flow layout. The generated documents are equivalent to the standard word documents generated by XFRX and can be opened in Word versions 2003 (with a plugin), 2007 and newer. The output type codes are "NATIVE_DOCX" (standard) and "NATIVE_FDOCX" (flow layout). 

Overview: 

Output type codeStandard layoutFlow layoutOutput formatWord version needed to generateWord version needed to view
DOCyesnoDOC2000+2000+
FDOCnoyesDOC2000+2000+
NATIVE_DOCXyesnoDOCXnone2003+
NATIVE_FDOCXnoyesDOCXnone2003+


Usage: 

All you need to do is to specify NATIVE_DOCX or NATIVE_FDOCX. This is a pure VFP implementation so no other setup is needed, except MD5.FLL library MD5.FLL, which is a free library implementing the MD5 algorithm. MD5.FLL was written by Duke Lotherington, Visual Records Consulting, 3944 Murphy Canyon Rd, San Diego CA 92123, duke@visualrecords.com (http://www.leafe.com/dls/vfp

Pre-VFP 9.0 mode
loSession= xfrx("XFRX#INIT")
lnRetVal = loSession.SetParams("output.docx",,,,,,"NATIVE_FDOCX")
IF lnRetVal = 0
    loSession.ProcessReport("report1")
    loSession.finalize()
ENDIF
VFP 9.0 mode
loxfrx = XFRX("XFRX#LISTENER")
lnRetval = loxfrx.SetParams("output.docx",,,,,,"NATIVE_FDOCX")
IF lnRetval = 0
    REPORT FORM report1 OBJECT loxfrx
ENDIF

Bugs fixed

  • XFRX diagnosis module does not require FOXTOOLS.FLL in compile time any more
  • XML output type now includes the code page defined in SetParams
  • Pictures rotation is now supported DOCX output. We will be adding this to other output types (where doable)
  • FIXED: Open office output type does not include the correct code page in listener mode
  • FIXED: Report previewer: unpaired Lockscreen = .T. / .F.