@univerjsdrawinginterfacesIunitdrawingservice

@univerjs/drawing v0.5.4


Interface: IUnitDrawingService<T>

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:138

Extends

  • IUnitNormalDrawingService<T>.IUnitFocusDrawingService.IUnitGroupDrawingService.IUnitOrderDrawingService.IDisposable

Extended by

Type Parameters

Type Parameter
T extends IDrawingParam

Properties

PropertyModifierTypeInherited fromDefined in
add$readonlyObservable<IDrawingSearch[]>IUnitNormalDrawingService.add$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:62
drawingManagerDatapublicIDrawingMap<T>-submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:139
featurePluginGroupUpdate$readonlyObservable<IDrawingGroupUpdateParam[]>IUnitGroupDrawingService.featurePluginGroupUpdate$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:103
featurePluginOrderUpdate$readonlyObservable<IDrawingOrderUpdateParam>IUnitOrderDrawingService.featurePluginOrderUpdate$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:123
featurePluginUngroupUpdate$readonlyObservable<IDrawingGroupUpdateParam[]>IUnitGroupDrawingService.featurePluginUngroupUpdate$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:104
featurePluginUpdate$readonlyObservable<T[]>IUnitNormalDrawingService.featurePluginUpdate$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:68
focus$readonlyObservable<IDrawingParam[]>IUnitFocusDrawingService.focus$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:90
group$readonlyObservable<IDrawingGroupUpdateParam[]>IUnitGroupDrawingService.group$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:100
order$readonlyObservable<IDrawingOrderMapParam>IUnitOrderDrawingService.order$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:121
refreshTransform$readonlyObservable<T[]>IUnitNormalDrawingService.refreshTransform$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:65
remove$readonlyObservable<IDrawingSearch[]>IUnitNormalDrawingService.remove$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:61
ungroup$readonlyObservable<IDrawingGroupUpdateParam[]>IUnitGroupDrawingService.ungroup$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:101
update$readonlyObservable<IDrawingSearch[]>IUnitNormalDrawingService.update$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:63
visible$readonlyObservable<IDrawingVisibleParam[]>IUnitNormalDrawingService.visible$submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:66

Methods

addNotification()

addNotification(insertParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:73

Parameters

ParameterType
insertParamsIDrawingSearch[]

Returns

void

Inherited from

IUnitNormalDrawingService.addNotification

applyJson1()

applyJson1(
   unitId, 
   subUnitId, 
   jsonOp): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:154

Parameters

ParameterType
unitIdstring
subUnitIdstring
jsonOpunknown

Returns

void


dispose()

dispose(): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:141

Returns

void

Overrides

IDisposable.dispose

featurePluginGroupUpdateNotification()

featurePluginGroupUpdateNotification(groupParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:112

Parameters

ParameterType
groupParamsIDrawingGroupUpdateParam[]

Returns

void

Inherited from

IUnitGroupDrawingService.featurePluginGroupUpdateNotification

featurePluginOrderUpdateNotification()

featurePluginOrderUpdateNotification(drawingOrderUpdateParam): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:135

Parameters

ParameterType
drawingOrderUpdateParamIDrawingOrderUpdateParam

Returns

void

Inherited from

IUnitOrderDrawingService.featurePluginOrderUpdateNotification

featurePluginUngroupUpdateNotification()

featurePluginUngroupUpdateNotification(groupParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:113

Parameters

ParameterType
groupParamsIDrawingGroupUpdateParam[]

Returns

void

Inherited from

IUnitGroupDrawingService.featurePluginUngroupUpdateNotification

featurePluginUpdateNotification()

featurePluginUpdateNotification(updateParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:83

Parameters

ParameterType
updateParamsT[]

Returns

void

Inherited from

IUnitNormalDrawingService.featurePluginUpdateNotification

focusDrawing()

focusDrawing(params): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:92

Parameters

ParameterType
paramsNullable<IDrawingSearch[]>

Returns

void

Inherited from

IUnitFocusDrawingService.focusDrawing

getBackDrawingsOp()

getBackDrawingsOp(orderParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:130

Parameters

ParameterType
orderParamsIDrawingOrderMapParam

Returns

unknown

Inherited from

IUnitOrderDrawingService.getBackDrawingsOp

getBackwardDrawingOp()

getBackwardDrawingOp(orderParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:128

Parameters

ParameterType
orderParamsIDrawingOrderMapParam

Returns

unknown

Inherited from

IUnitOrderDrawingService.getBackwardDrawingOp

getBatchAddOp()

getBatchAddOp(insertParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:79

Parameters

ParameterType
insertParamsT[]

Returns

unknown

Inherited from

IUnitNormalDrawingService.getBatchAddOp

getBatchRemoveOp()

getBatchRemoveOp(removeParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:80

Parameters

ParameterType
removeParamsIDrawingSearch[]

Returns

unknown

Inherited from

IUnitNormalDrawingService.getBatchRemoveOp

getBatchUpdateOp()

getBatchUpdateOp(updateParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:81

Parameters

ParameterType
updateParamsT[]

Returns

unknown

Inherited from

IUnitNormalDrawingService.getBatchUpdateOp

getDrawingByParam()

getDrawingByParam(param): Nullable<T>

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:151

Parameters

ParameterType
paramNullable<IDrawingSearch>

Returns

Nullable<T>


getDrawingData()

getDrawingData(unitId, subUnitId): IDrawingMapItemData<T>

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:149

Parameters

ParameterType
unitIdstring
subUnitIdstring

Returns

IDrawingMapItemData<T>


getDrawingDataForUnit()

getDrawingDataForUnit(unitId): IDrawingSubunitMap<T>

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:143

Parameters

ParameterType
unitIdstring

Returns

IDrawingSubunitMap<T>


getDrawingEditable()

getDrawingEditable(): boolean

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:155

Returns

boolean


getDrawingOKey()

getDrawingOKey(oKey): Nullable<T>

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:153

Parameters

ParameterType
oKeystring

Returns

Nullable<T>


getDrawingOrder()

getDrawingOrder(unitId, subUnitId): string[]

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:132

Parameters

ParameterType
unitIdstring
subUnitIdstring

Returns

string[]

Inherited from

IUnitOrderDrawingService.getDrawingOrder

getDrawingsByGroup()

getDrawingsByGroup(groupParam): IDrawingParam[]

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:110

Parameters

ParameterType
groupParamIDrawingSearch

Returns

IDrawingParam[]

Inherited from

IUnitGroupDrawingService.getDrawingsByGroup

getDrawingVisible()

getDrawingVisible(): boolean

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:156

Returns

boolean


getFocusDrawings()

getFocusDrawings(): IDrawingParam[]

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:93

Returns

IDrawingParam[]

Inherited from

IUnitFocusDrawingService.getFocusDrawings

getForwardDrawingsOp()

getForwardDrawingsOp(orderParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:127

Parameters

ParameterType
orderParamsIDrawingOrderMapParam

Returns

unknown

Inherited from

IUnitOrderDrawingService.getForwardDrawingsOp

getFrontDrawingsOp()

getFrontDrawingsOp(orderParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:129

Parameters

ParameterType
orderParamsIDrawingOrderMapParam

Returns

unknown

Inherited from

IUnitOrderDrawingService.getFrontDrawingsOp

getGroupDrawingOp()

getGroupDrawingOp(groupParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:106

Parameters

ParameterType
groupParamsIDrawingGroupUpdateParam[]

Returns

unknown

Inherited from

IUnitGroupDrawingService.getGroupDrawingOp

getOldDrawingByParam()

getOldDrawingByParam(param): Nullable<T>

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:152

Parameters

ParameterType
paramNullable<IDrawingSearch>

Returns

Nullable<T>


getUngroupDrawingOp()

getUngroupDrawingOp(groupParams): unknown

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:107

Parameters

ParameterType
groupParamsIDrawingGroupUpdateParam[]

Returns

unknown

Inherited from

IUnitGroupDrawingService.getUngroupDrawingOp

groupUpdateNotification()

groupUpdateNotification(groupParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:108

Parameters

ParameterType
groupParamsIDrawingGroupUpdateParam[]

Returns

void

Inherited from

IUnitGroupDrawingService.groupUpdateNotification

initializeNotification()

initializeNotification(unitId): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:147

Parameters

ParameterType
unitIdstring

Returns

void


orderNotification()

orderNotification(orderParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:125

Parameters

ParameterType
orderParamsIDrawingOrderMapParam

Returns

void

Inherited from

IUnitOrderDrawingService.orderNotification

orderUpdateNotification()

orderUpdateNotification(orderParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:134

Parameters

ParameterType
orderParamsIDrawingOrderMapParam

Returns

void

Inherited from

IUnitOrderDrawingService.orderUpdateNotification

refreshTransform()

refreshTransform(updateParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:70

Parameters

ParameterType
updateParamsT[]

Returns

void

Inherited from

IUnitNormalDrawingService.refreshTransform

refreshTransformNotification()

refreshTransformNotification(refreshParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:76

Parameters

ParameterType
refreshParamsT[]

Returns

void

Inherited from

IUnitNormalDrawingService.refreshTransformNotification

registerDrawingData()

registerDrawingData(unitId, data): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:145

Parameters

ParameterType
unitIdstring
dataIDrawingSubunitMap<T>

Returns

void


removeDrawingDataForUnit()

removeDrawingDataForUnit(unitId): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:144

Parameters

ParameterType
unitIdstring

Returns

void


removeNotification()

removeNotification(removeParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:72

Parameters

ParameterType
removeParamsIDrawingSearch[]

Returns

void

Inherited from

IUnitNormalDrawingService.removeNotification

setDrawingData()

setDrawingData(
   unitId, 
   subUnitId, 
   data): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:150

Parameters

ParameterType
unitIdstring
subUnitIdstring
dataIDrawingMapItemData<T>

Returns

void


setDrawingEditable()

setDrawingEditable(editable): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:158

Parameters

ParameterType
editableboolean

Returns

void


setDrawingOrder()

setDrawingOrder(
   unitId, 
   subUnitId, 
   order): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:133

Parameters

ParameterType
unitIdstring
subUnitIdstring
orderstring[]

Returns

void

Inherited from

IUnitOrderDrawingService.setDrawingOrder

setDrawingVisible()

setDrawingVisible(visible): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:157

Parameters

ParameterType
visibleboolean

Returns

void


ungroupUpdateNotification()

ungroupUpdateNotification(groupParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:109

Parameters

ParameterType
groupParamsIDrawingGroupUpdateParam[]

Returns

void

Inherited from

IUnitGroupDrawingService.ungroupUpdateNotification

updateNotification()

updateNotification(updateParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:74

Parameters

ParameterType
updateParamsIDrawingSearch[]

Returns

void

Inherited from

IUnitNormalDrawingService.updateNotification

visibleNotification()

visibleNotification(visibleParams): void

Defined in: submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:77

Parameters

ParameterType
visibleParamsIDrawingVisibleParam[]

Returns

void

Inherited from

IUnitNormalDrawingService.visibleNotification