TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

CDocBuilderContext

new CDocBuilderContext

Class used by ONLYOFFICE Document Builder for getting JS context for working.

Methods

Name Description
CreateArray Creates an array, an analogue of new Array (length) in JS.
CreateNull Creates a null value, an analogue of null in JS.
CreateObject Creates an empty object, an analogue of {} in JS.
CreateScope Creates a context scope.
CreateUndefined Creates an undefined value, an analogue of undefined in JS.
GetGlobal Returns the global object for the current context.
IsError Checks for errors in JS.