@univerjsdocs-drawingclassesDocdrawingcontroller

@univerjs/docs-drawing v0.5.1Docs


Class: DocDrawingController

Extends

Constructors

new DocDrawingController()

new DocDrawingController(
   _docDrawingService, 
   _drawingManagerService, 
   _resourceManagerService, 
   _univerInstanceService): DocDrawingController

Parameters

ParameterType
_docDrawingServiceIDocDrawingService
_drawingManagerServiceIDrawingManagerService
_resourceManagerServiceIResourceManagerService
_univerInstanceServiceIUniverInstanceService

Returns

DocDrawingController

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/docs-drawing/src/controllers/doc-drawing.controller.ts:27

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:109


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:99


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:103


loadDrawingDataForUnit()

loadDrawingDataForUnit(unitId): boolean

Parameters

ParameterType
unitIdstring

Returns

boolean

Defined in

submodules/univer/packages/docs-drawing/src/controllers/doc-drawing.controller.ts:94