@univerjs/docs-drawing v0.5.1 • Docs
Class: DocDrawingController
Extends
Constructors
new DocDrawingController()
new DocDrawingController(
_docDrawingService,
_drawingManagerService,
_resourceManagerService,
_univerInstanceService): DocDrawingController
Parameters
Parameter | Type |
---|---|
_docDrawingService | IDocDrawingService |
_drawingManagerService | IDrawingManagerService |
_resourceManagerService | IResourceManagerService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
submodules/univer/packages/docs-drawing/src/controllers/doc-drawing.controller.ts:27
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:109
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:99
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:103
loadDrawingDataForUnit()
loadDrawingDataForUnit(unitId): boolean
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
boolean
Defined in
submodules/univer/packages/docs-drawing/src/controllers/doc-drawing.controller.ts:94