Release date: 5 December 2006
USE invoices ORDER customer LOCAL loSession, lnRetval, loXFF, loPreview, loScripts loSession=EVALUATE([xfrx("XFRX#LISTENER")]) lnRetVal = loSession.SetParams("",,,,,,"XFF") && no name = just in memory If lnRetVal = 0 REPORT FORM invoices OBJECT loSession loXFF = loSession.oxfDocument * * initialize the previewer * SET CLASSLIB TO xfrxlib ADDITIVE loPreview = CREATEOBJECT("frmMPPreviewer") loPreview.setExtensionHandler(CREATEOBJECT("MyExtensionHandler")) loPreview.windowType = 0 loPreview.iBook = 0 loPreview.PreviewXFF(loXFF) loPreview.show(1) ENDIF DEFINE CLASS MyExtensionHandler AS Custom PROCEDURE Export LPARAMETERS toXFF IF USED("_xfExportTypes") USE IN _xfExportTypes ENDIF * * define my export options list * CREATE CURSOR _xfExportTypes (name C(50), extension C(4), targetCode C(10)) INSERT INTO _xfExportTypes VALUES ("HTML", "html", "HTML") INSERT INTO _xfExportTypes VALUES ("PDF", "pdf", "PDF") INSERT INTO _xfExportTypes VALUES ("Excel", "xls", "XLS") ENDPROC PROCEDURE ExportOptions LPARAMETERS toXFF, toOptions IF toOptions.cTarget = "XLS" * * my own code to handle output to Excel * =MESSAGEBOX("exporting to "+toOptions.cOutputFile) RETURN .F. && suppress the default behavior eLSE RETURN .T. && continue with the default behavior ENDIF ENDPROC ENDDEFINE
Release date: 5 September 2006
Release date: 17 August 2006
Installation notes:
Since 12.0, the Writer and Calc outputs
are supported, both of which can be generated either using the absolute or
flow layout format (please see chapter "Flow layout document option" in the
Developer's guide for more information about the flow
layout options).
To generate the OpenOffice document, use the following codes as the 7th parameter (targetType) of the SetParams method:
Document type |
targetType |
OpenOffice Writer document with absolute layout |
ODT |
OpenOffice Writer document with flow layout |
FODT |
OpenOffice Calc spreadsheet with absolute layout |
ODS |
OpenOffice Calc spreadsheet with
flow layout
|
FODS
|
Example:
loXFF.SavePicture("output.bmp","BMP",1,1,24,,"DPI",300) && saves the picture as 300 DPI loXFF.SavePicture("output.bmp","BMP",1,1,24,,"ZOOM",150) && zoom to 150%
Release date: 14 March 2006
XFRX now
recognizes two types of hyperlinks:
This “custom
event” hyperlink feature can be used to invoke application specific actions
(information forms, custom processes, etc.) or for implementing drill-down functionality – invoking detailed
report where the field user clicked on is taken as a parameter for the
report (for example, clicking a customer name in the report listing all
customers can run a report with detail information about this specific
customer). The new report can be directed to a new page of a multipage
previewer, which could provide a comfortable environment for “drilling down”
specific information – with the ability to go back to the original report
without closing the current one, side by side report comparison, exporting /
printing selected reports, etc.
Please find more information about this feature as well
as a step-by-step example in the Developer's guide, "Implementing custom event hyperlinks (drilldown) in
XFRX previewer" chapter.
Evaluation package note: The Prevdemo directory with the XFRX previewer implementation sample has been removed as the same functionality is now supported by the "native" class frmMPPreviewer of XFRXLib.vcx.
Release date: 6 December 2005
OpenOffice Writer document format is now
supported.
OpenOffice is using the OASIS Open Document Format for Office Applications,
which is also supported by a variety of other office applications including
StarOffice, KOffice, and IBM Workplace. XFRX generates the file format
natively, so OpenOffice doesn’t have to be installed on the computer where the
document is generated.
You can find more information about the OASIS Open Document Format at
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office.
More information about OpenOffice can be found at
http://www.openoffice.org.
Release date: 7 September 2005
Turkish (1254) and Greek (1253) code pages are now supported in the PDF output
A printer properties dialog for a given printer can now be invoked from XFRX, returning the printer properties structure as a string. This string can be saved as a user preference and sent to XFRX when printing. This functionality is similar to SYS(1037) introduced in VFP 9.0, with two differences/improvements:
The page setup and printer selection dialogs are skipped, which saves two clicks for the users and preempts confusions in case the printer has already been selected. (Very often, there is a printer selection box in the "main" form and a button to invoke printer properties).
A custom printer properties structure can be used when XFRX transforms the output to a printer
The version of currently used library file
the required version
the location of currently used library file
Release date: 2 June 2005
Release date: 20 April 2005