@univerjsdocsclassesDocskeletonmanagerservice

@univerjs/docs v0.5.4


Class: DocSkeletonManagerService

Defined in: docs/src/services/doc-skeleton-manager.service.ts:27

This service is for document build and manage doc skeletons. It also manages DocumentViewModels.

Extends

Implements

Constructors

new DocSkeletonManagerService()

new DocSkeletonManagerService(
   _context, 
   _localeService, 
   _univerInstanceService): DocSkeletonManagerService

Defined in: docs/src/services/doc-skeleton-manager.service.ts:41

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>
_localeServiceLocaleService
_univerInstanceServiceIUniverInstanceService

Returns

DocSkeletonManagerService

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedcore/src/shared/lifecycle.ts:96
currentSkeleton$readonlyObservable<Nullable<DocumentSkeleton>>undefined-docs/src/services/doc-skeleton-manager.service.ts:32
currentSkeletonBefore$readonlyObservable<Nullable<DocumentSkeleton>>undefined-docs/src/services/doc-skeleton-manager.service.ts:36
currentViewModel$readonlyObservable<Nullable<DocumentViewModel>>undefined-docs/src/services/doc-skeleton-manager.service.ts:39
dispose$protectedSubject<void>undefinedRxDisposable.dispose$core/src/shared/lifecycle.ts:120

Methods

dispose()

dispose(): void

Defined in: docs/src/services/doc-skeleton-manager.service.ts:59

Returns

void

Implementation of

IRenderModule.dispose

Overrides

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

RxDisposable.ensureNotDisposed


getSkeleton()

getSkeleton(): DocumentSkeleton

Defined in: docs/src/services/doc-skeleton-manager.service.ts:66

Returns

DocumentSkeleton


getViewModel()

getViewModel(): DocumentViewModel

Defined in: docs/src/services/doc-skeleton-manager.service.ts:70

Returns

DocumentViewModel