DocSpace
JavaScript SDK
Plugins SDK
API Backend
For hosting providers
Docs
Docs API
Office API
Plugins and Macros
Document Builder
Desktop Editors
Workspace
API Backend
For hosting providers
TRY NEW VERSION
Get Started
Overview
Get Document Builder
Try now
Debugging
Builder.Framework
Overview
C++
CDocBuilder
CloseFile
CreateFile
Dispose
ExecuteCommand
GetContext
GetVersion
Initialize
IsSaveWithDoctrendererMode
OpenFile
Run
RunTextA
RunTextW
SaveFile
SetProperty
SetPropertyW
SetTmpFolder
WriteData
CDocBuilderContext
AllocMemoryTypedArray
CreateArray
CreateNull
CreateObject
CreateScope
CreateTypedArray
CreateUndefined
FreeMemoryTypedArray
GetGlobal
IsError
CDocBuilderContextScope
Close
CDocBuilderValue
Call
Clear
CreateNull
CreateUndefined
Get
GetLength
GetProperty
IsArray
IsBool
IsDouble
IsEmpty
IsFunction
IsInt
IsNull
IsObject
IsString
IsTypedArray
IsUndefined
Set
SetProperty
ToBool
ToDouble
ToInt
ToString
COM
CDocBuilder
CloseFile
CreateFile
CreateInstance
Dispose
Execute
ExecuteCommand
GetContext
Initialize
IsSaveWithDoctrendererMode
OpenFile
Run
RunText
SaveFile
SetProperty
SetTmpFolder
WriteData
CDocBuilderContext
CreateArray
CreateNull
CreateObject
CreateScope
CreateTypedArray
CreateUndefined
GetGlobal
IsError
CDocBuilderContextScope
Close
CDocBuilderValue
Call
Clear
CreateInstance
Get
GetLength
GetProperty
IsArray
IsBool
IsDouble
IsEmpty
IsFunction
IsInt
IsNull
IsObject
IsString
IsTypedArray
IsUndefined
Set
SetProperty
ToBool
ToDouble
ToInt
ToString
.Net
CDocBuilder
CloseFile
CreateFile
Destroy
ExecuteCommand
GetContext
GetVersion
Initialize
IsSaveWithDoctrendererMode
OpenFile
Run
RunText
SaveFile
SetProperty
SetTmpFolder
WriteData
CDocBuilderContext
CreateArray
CreateNull
CreateObject
CreateScope
CreateTypedArray
CreateUndefined
GetGlobal
IsError
CDocBuilderContextScope
Close
CDocBuilderValue
Call
Clear
CreateNull
CreateUndefined
Get
GetLength
GetProperty
IsArray
IsBool
IsDouble
IsEmpty
IsFunction
IsInt
IsNull
IsObject
IsString
IsTypedArray
IsUndefined
Set
SetProperty
ToBool
ToDouble
ToInt
ToString
Python
CDocBuilder
CloseFile
CreateFile
Dispose
ExecuteCommand
GetContext
GetVersion
Initialize
IsSaveWithDoctrendererMode
OpenFile
Run
RunText
SaveFile
SetProperty
SetTmpFolder
WriteData
CDocBuilderContext
CreateArray
CreateNull
CreateObject
CreateScope
CreateUndefined
GetGlobal
IsError
CDocBuilderContextScope
Close
CDocBuilderValue
Call
Clear
CreateArray
CreateNull
CreateUndefined
Get
GetLength
GetProperty
IsArray
IsBool
IsDouble
IsEmpty
IsFunction
IsInt
IsNull
IsObject
IsString
IsUndefined
Set
SetProperty
ToBool
ToDouble
ToInt
ToString
Builder framework samples
C++ samples guide
.Net samples guide
Builder.App
Overview
Using .docbuilder file
Using command line arguments
How it works
Exchanging data among files
Comparing documents
Builder.Server
Overview
.Net (C#) example
Node.js example
PHP example
Ruby example
GetContext
def GetContext(self);
Returns the current JS
context
.
Please note, that for the
.docbuilder
file the
CDocBuilder.GetContext
method is not used.
Example
Python
builder = docbuilder.CDocBuilder() context = builder.GetContext()