com.extentech.ExtenXLS.bean
Class AXExtenBean

java.lang.Object
  extended by com.extentech.ExtenXLS.bean.AXExtenBean

public class AXExtenBean
extends Object

An ActiveX Wrapper for CellBinder automations to allow use of CellBinder API within MS ActiveX applications.

Author:
John :: [ Nov 3, 2006 ] :: Copyright ©2011Extentech Inc.

Constructor Summary
AXExtenBean()
           
 
Method Summary
 int generateReport(String RDFFile, String OutputRDFile, String outputFile)
          Generates a report from an Input Rdf, and optional Output Rdf and an output filename.
 boolean getDEBUG()
           
 String getString()
          method to test communication in ActiveX container
 String getWorkingDirectory()
           
static void main(String[] args)
          Main entry point to AXExtenBean in Java Framework.
 void setDEBUG(boolean b)
           
 void setWorkingDirectory(String workingdir)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AXExtenBean

public AXExtenBean()
Method Detail

main

public static void main(String[] args)
Main entry point to AXExtenBean in Java Framework.

Parameters:
args - - nothing

setWorkingDirectory

public void setWorkingDirectory(String workingdir)

getWorkingDirectory

public String getWorkingDirectory()

getString

public String getString()
method to test communication in ActiveX container

Returns:
hello world

setDEBUG

public void setDEBUG(boolean b)

getDEBUG

public boolean getDEBUG()

generateReport

public int generateReport(String RDFFile,
                          String OutputRDFile,
                          String outputFile)
Generates a report from an Input Rdf, and optional Output Rdf and an output filename. callable from ActiveX container

Parameters:
RDFFile= - input RDF that produces an XLS template (either the output XLS file or intermediary XLS before XML Conversion)
OutputRDFFile= - output RDF that determines mappings for output XML file (only used at this point for XML output)
outputFile= - String representing the filename that is to be written .XLS extension results in Excel output; .XML extension results in XML output
Returns:
int 1=success. 0=VB/ActiveX error -1=our error/caught error (why not return boolean? - to distinguish failure between a VB/ActiveX nebulous/unknown issue, or an actual error)


Copyright © 2011 Extentech Inc. All Rights Reserved.