@univerjsdocsclassesDocskeletonmanagerservice

@univerjs/docs v0.5.0-beta.1Docs


Class: DocSkeletonManagerService

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

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>
_localeServiceLocaleService
_univerInstanceServiceIUniverInstanceService

Returns

DocSkeletonManagerService

Overrides

RxDisposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedcore/src/shared/lifecycle.ts:93
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:117

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Overrides

RxDisposable.dispose

Defined in

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


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100


getSkeleton()

getSkeleton(): DocumentSkeleton

Returns

DocumentSkeleton

Defined in

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


getViewModel()

getViewModel(): DocumentViewModel

Returns

DocumentViewModel

Defined in

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