publish
plugins.it2be_word info


Servoy Properties Summary
String build
Date buildDate
String component
String licensee
String typeLicensed
Number version
String versionLicensed


Servoy Methods Summary
DataTable convertToAsposeDataTable( JSDataSet, String )
DataTable convertToAsposeDataTable( FoundSet, String )
IWDocument createDocument( )
IWDocument createDocument( String )
LinqDataSource createLinqDataSource( FoundSet, String )
LinqDataSource createLinqDataSource( FoundSet )
IWDocument openDocument( String )
IWDocument openDocument( String, String )
Boolean register( String )


Servoy Properties Details


build
String  build
Returns the current version (major, minor, build)
Returns
String  build String

Supported Clients
SmartClient, WebClient, NGClient


buildDate
Date  buildDate
Returns date release date
Returns
Date  date Date

Supported Clients
SmartClient, WebClient, NGClient


component
String  component
Returns the component name
Returns
String  name String

Supported Clients
SmartClient, WebClient, NGClient


licensee
String  licensee
Returns the licensee
Returns
String  licensee String

Supported Clients
SmartClient, WebClient, NGClient


typeLicensed
String  typeLicensed
Returns the type that is valid for this license
Returns
String  type String

Supported Clients
SmartClient, WebClient, NGClient


version
Number  version
Returns the current version (major, minor)
Returns
Number  version Double

Supported Clients
SmartClient, WebClient, NGClient


versionLicensed
String  versionLicensed
Returns the version that is valid for this license
Returns
String  license String

Supported Clients
SmartClient, WebClient, NGClient

Servoy Methods Details


convertToAsposeDataTable
DataTable  convertToAsposeDataTable( JSDataSet, String )
Converts a Servoy DataSet to an Aspose DataTable
Parameters
JSDataSet  servoyDataSet  Servoy DataSet
String  mergeRegionName  Name for the merge region

Returns
DataTable  asposeDataTable

Supported Clients
SmartClient, WebClient, NGClient

Sample
var myDataSet = databaseManager.createEmptyDataSet();
var asposeDataTable = plugins.it2be_word.convertToAsposeDataTable(myDataSet, "MergeRegionName")


convertToAsposeDataTable
DataTable  convertToAsposeDataTable( FoundSet, String )
Converts a Servoy FoundSet to an Aspose DataTable
Parameters
FoundSet  servoyFoundSet  Servoy FoundSet
String  mergeRegionName  Name for the merge region

Returns
DataTable  asposeDataTable

Supported Clients
SmartClient, WebClient, NGClient

Sample
var asposeDataTable = plugins.it2be_word.convertToAsposeDataTable(foundset, "MergeRegionName")


createDocument
IWDocument  createDocument( )
Create an empty Document (See IWDocument)
Returns
IWDocument  document IWDocument

Supported Clients
SmartClient, WebClient, NGClient

Sample
/** @type {IWDocument} */
var vDocument = plugins.it2be_word.createDocument();


createDocument
IWDocument  createDocument( String )
Create an empty Document or create one based on a template (See IWDocument)
Parameters
String  templatePath  the template path

Returns
IWDocument  document IWDocument

Supported Clients
SmartClient, WebClient, NGClient

Sample
/** @type {IWDocument} */
var vDocument = plugins.it2be_word.createDocument("/path/to/template.dot(x)");


createLinqDataSource
LinqDataSource  createLinqDataSource( FoundSet, String )
TODO create description
Parameters
FoundSet  servoyFoundSet
String  tableName

Returns
LinqDataSource  

Supported Clients
SmartClient, WebClient, NGClient


createLinqDataSource
LinqDataSource  createLinqDataSource( FoundSet )
TODO create description
Parameters
FoundSet  servoyFoundSet

Returns
LinqDataSource  

Supported Clients
SmartClient, WebClient, NGClient


openDocument
IWDocument  openDocument( String )
Open an existing Document (See IWDocument)
Parameters
String  originalPath  the original path

Returns
IWDocument  document IWDocument

Supported Clients
SmartClient, WebClient, NGClient

Sample
/** @type {IWDocument} */
var vDocument = openDocument("/path/to/document.doc(x)");


openDocument
IWDocument  openDocument( String, String )
Open an existing Document (See IWDocument)
Parameters
String  originalPath  the original path
String  password  the password

Returns
IWDocument  documentIWDocument

Supported Clients
SmartClient, WebClient, NGClient

Sample
/** @type {IWDocument} */
var vDocument = openDocument("/path/to/document.doc(x)");


register
Boolean  register( String )
Register your runtime license (use the Components Manager to request your license string)
Parameters
String  license  the license

Returns
Boolean  result boolean

Supported Clients
SmartClient, WebClient, NGClient

Sample
// You have to register your plug-in(s) and beans before you start using them
// One way to do so is create an 'onOpenSolution' method and add the 'register(.)' method(s) there
plugins.it2be_word.register("Insert the license string(s) from your '*_runtime_license.txt' file here!");