This class object is more a Helper or Controller. It stores information like: - How to create a document (with a OpenOffice.org method, or with MS Word, or with OpenOffice.org as pdf) - some more infos for OpenOffice.org method - a service factory pointer - if hidden mode should use - target name - printer name - how to handle .xml files, which in Microsoft could be Excel or Word documents HOWTO USE: For OOo, create an GraphicalTestArguments with a set of TestParameters GraphicalTestArguments a = new GraphicalTestArguments(params); If you wish to use pdf export instead of normal printer output, set also the reference type to 'pdf' a.setReferenceType("pdf"); For MS Office: create an GraphicalTestArguments and set the reference type to 'msoffice' GraphicalTestArguments a = new GraphicalTestArguments(params); a.setReferenceType("msoffice"); within windows it's better to set also a printer name so it's simply possible to use for normal work the default printer and for such tests with ConvWatch a extra printer. a.setPrinterName("CrossOffice Printer");
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.