Navigation:  WebOffice APIs > WebOffice Script API general >

WebOffice Script API - WebOffice core

Previous pageReturn to chapter overviewNext page

A detailed documentation of the functions and their parameters can be found in the Java Script source file itself which is located in the WebOffice 10.5 SP2 application directory <web application>\client_core\js\api

 

Note: The file ScriptApi.js contains almost the same functionality from the WebOffice html client. The other jsp files contain additional functionality that can be used in the WebOffice core client.

 

For example it is possible, to switch to a tab of a ribbon in the user interface by calling the following Script API method. The parameter argRibbonIdxOrId is the external id of a ribbon.

 

Ribbon

client.api.showRibbon (argRibbonIdxOrId);

  Shows a ribbon by calling the index or external id. The parameter argRibbonIdxOrId is the external id of a ribbon and starts with 0.

 

Other

client.api.addGeoNode();

  Adds Geo Nodes to the map.