Class: DrawingManagerService
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:795
unitId -> subUnitId -> drawingId -> drawingParam
Extends
Constructors
new DrawingManagerService()
new DrawingManagerService(): DrawingManagerService
Returns
Inherited from
UnitDrawingService
.constructor
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
add$ | readonly | Observable <IDrawingSearch []> | undefined | UnitDrawingService .add$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:58 |
drawingManagerData | public | IDrawingMap <IDrawingParam > | {} | UnitDrawingService .drawingManagerData | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:48 |
featurePluginAdd$ | readonly | Observable <IDrawingParam []> | undefined | UnitDrawingService .featurePluginAdd$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:88 |
featurePluginGroupUpdate$ | readonly | Observable <IDrawingGroupUpdateParam []> | undefined | UnitDrawingService .featurePluginGroupUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:97 |
featurePluginOrderUpdate$ | readonly | Observable <IDrawingOrderUpdateParam > | undefined | UnitDrawingService .featurePluginOrderUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:94 |
featurePluginRemove$ | readonly | Observable <IDrawingSearch []> | undefined | UnitDrawingService .featurePluginRemove$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:91 |
featurePluginUngroupUpdate$ | readonly | Observable <IDrawingGroupUpdateParam []> | undefined | UnitDrawingService .featurePluginUngroupUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:100 |
featurePluginUpdate$ | readonly | Observable <IDrawingParam []> | undefined | UnitDrawingService .featurePluginUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:85 |
focus$ | public | Observable <IDrawingParam []> | undefined | UnitDrawingService .focus$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:82 |
group$ | readonly | Observable <IDrawingGroupUpdateParam []> | undefined | UnitDrawingService .group$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:67 |
order$ | readonly | Observable <IDrawingOrderMapParam > | undefined | UnitDrawingService .order$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:64 |
refreshTransform$ | readonly | Observable <IDrawingParam []> | undefined | UnitDrawingService .refreshTransform$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:73 |
remove$ | readonly | Observable <IDrawingSearch []> | undefined | UnitDrawingService .remove$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:55 |
ungroup$ | readonly | Observable <IDrawingGroupUpdateParam []> | undefined | UnitDrawingService .ungroup$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:70 |
update$ | readonly | Observable <IDrawingSearch []> | undefined | UnitDrawingService .update$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:61 |
visible$ | readonly | Observable <IDrawingVisibleParam []> | undefined | UnitDrawingService .visible$ | submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:76 |
Methods
addNotification()
addNotification(insertParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:281
Parameters
Parameter | Type |
---|---|
insertParams | IDrawingSearch [] |
Returns
void
Inherited from
UnitDrawingService
.addNotification
applyJson1()
applyJson1(
unitId,
subUnitId,
jsonOp): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:406
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
jsonOp | JSONOp |
Returns
void
Inherited from
dispose()
dispose(): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:105
Returns
void
Inherited from
featurePluginAddNotification()
featurePluginAddNotification(insertParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:443
Parameters
Parameter | Type |
---|---|
insertParams | IDrawingParam [] |
Returns
void
Inherited from
UnitDrawingService
.featurePluginAddNotification
featurePluginGroupUpdateNotification()
featurePluginGroupUpdateNotification(groupParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:451
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
UnitDrawingService
.featurePluginGroupUpdateNotification
featurePluginOrderUpdateNotification()
featurePluginOrderUpdateNotification(drawingOrderUpdateParam): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:439
Parameters
Parameter | Type |
---|---|
drawingOrderUpdateParam | IDrawingOrderUpdateParam |
Returns
void
Inherited from
UnitDrawingService
.featurePluginOrderUpdateNotification
featurePluginRemoveNotification()
featurePluginRemoveNotification(removeParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:447
Parameters
Parameter | Type |
---|---|
removeParams | IDrawingSearch [] |
Returns
void
Inherited from
UnitDrawingService
.featurePluginRemoveNotification
featurePluginUngroupUpdateNotification()
featurePluginUngroupUpdateNotification(groupParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:455
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
UnitDrawingService
.featurePluginUngroupUpdateNotification
featurePluginUpdateNotification()
featurePluginUpdateNotification(updateParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:435
Parameters
Parameter | Type |
---|---|
updateParams | IDrawingParam [] |
Returns
void
Inherited from
UnitDrawingService
.featurePluginUpdateNotification
focusDrawing()
focusDrawing(params): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:472
Parameters
Parameter | Type |
---|---|
params | Nullable <IDrawingSearch []> |
Returns
void
Inherited from
UnitDrawingService
.focusDrawing
getBackDrawingsOp()
getBackDrawingsOp(orderParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:595
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
Inherited from
UnitDrawingService
.getBackDrawingsOp
getBackwardDrawingOp()
getBackwardDrawingOp(orderParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:545
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
Inherited from
UnitDrawingService
.getBackwardDrawingOp
getBatchAddOp()
getBatchAddOp(insertParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:207
Parameters
Parameter | Type |
---|---|
insertParams | IDrawingParam [] |
Returns
Inherited from
UnitDrawingService
.getBatchAddOp
getBatchRemoveOp()
getBatchRemoveOp(removeParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:228
Parameters
Parameter | Type |
---|---|
removeParams | IDrawingSearch [] |
Returns
Inherited from
UnitDrawingService
.getBatchRemoveOp
getBatchUpdateOp()
getBatchUpdateOp(updateParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:256
Parameters
Parameter | Type |
---|---|
updateParams | IDrawingParam [] |
Returns
Inherited from
UnitDrawingService
.getBatchUpdateOp
getDrawingByParam()
getDrawingByParam(param): Nullable<IDrawingParam>
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:459
Parameters
Parameter | Type |
---|---|
param | Nullable <IDrawingSearch > |
Returns
Inherited from
UnitDrawingService
.getDrawingByParam
getDrawingData()
getDrawingData(unitId, subUnitId): IDrawingMapItemData<IDrawingParam>
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:198
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
IDrawingMapItemData
<IDrawingParam
>
Inherited from
UnitDrawingService
.getDrawingData
getDrawingDataForUnit()
getDrawingDataForUnit(unitId): IDrawingSubunitMap<IDrawingParam>
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:139
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
IDrawingSubunitMap
<IDrawingParam
>
Inherited from
UnitDrawingService
.getDrawingDataForUnit
getDrawingEditable()
getDrawingEditable(): boolean
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:782
Returns
boolean
Inherited from
UnitDrawingService
.getDrawingEditable
getDrawingOKey()
getDrawingOKey(oKey): Nullable<IDrawingParam>
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:467
Parameters
Parameter | Type |
---|---|
oKey | string |
Returns
Inherited from
UnitDrawingService
.getDrawingOKey
getDrawingOrder()
getDrawingOrder(unitId, subUnitId): string[]
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:506
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
string
[]
Inherited from
UnitDrawingService
.getDrawingOrder
getDrawingsByGroup()
getDrawingsByGroup(groupParam): IDrawingParam[]
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:333
Parameters
Parameter | Type |
---|---|
groupParam | IDrawingSearch |
Returns
Inherited from
UnitDrawingService
.getDrawingsByGroup
getDrawingVisible()
getDrawingVisible(): boolean
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:778
Returns
boolean
Inherited from
UnitDrawingService
.getDrawingVisible
getFocusDrawings()
getFocusDrawings(): IDrawingParam[]
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:494
Returns
Inherited from
UnitDrawingService
.getFocusDrawings
getForwardDrawingsOp()
getForwardDrawingsOp(orderParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:519
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
Inherited from
UnitDrawingService
.getForwardDrawingsOp
getFrontDrawingsOp()
getFrontDrawingsOp(orderParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:571
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
Inherited from
UnitDrawingService
.getFrontDrawingsOp
getGroupDrawingOp()
getGroupDrawingOp(groupParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:305
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
Inherited from
UnitDrawingService
.getGroupDrawingOp
getOldDrawingByParam()
getOldDrawingByParam(param): Nullable<IDrawingParam>
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:463
Parameters
Parameter | Type |
---|---|
param | Nullable <IDrawingSearch > |
Returns
Inherited from
UnitDrawingService
.getOldDrawingByParam
getUngroupDrawingOp()
getUngroupDrawingOp(groupParams): IDrawingJsonUndo1
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:319
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
Inherited from
UnitDrawingService
.getUngroupDrawingOp
groupUpdateNotification()
groupUpdateNotification(groupParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:293
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
UnitDrawingService
.groupUpdateNotification
initializeNotification()
initializeNotification(unitId): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:172
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Inherited from
UnitDrawingService
.initializeNotification
orderNotification()
orderNotification(orderParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:289
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
void
Inherited from
UnitDrawingService
.orderNotification
orderUpdateNotification()
orderUpdateNotification(orderParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:515
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
void
Inherited from
UnitDrawingService
.orderUpdateNotification
refreshTransform()
refreshTransform(updateParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:124
Parameters
Parameter | Type |
---|---|
updateParams | IDrawingParam [] |
Returns
void
Inherited from
UnitDrawingService
.refreshTransform
refreshTransformNotification()
refreshTransformNotification(refreshParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:301
Parameters
Parameter | Type |
---|---|
refreshParams | IDrawingParam [] |
Returns
void
Inherited from
UnitDrawingService
.refreshTransformNotification
registerDrawingData()
registerDrawingData(unitId, data): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:168
Parameters
Parameter | Type |
---|---|
unitId | string |
data | IDrawingSubunitMap <IDrawingParam > |
Returns
void
Inherited from
UnitDrawingService
.registerDrawingData
removeDrawingDataForUnit()
removeDrawingDataForUnit(unitId): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:143
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Inherited from
UnitDrawingService
.removeDrawingDataForUnit
removeNotification()
removeNotification(removeParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:277
Parameters
Parameter | Type |
---|---|
removeParams | IDrawingSearch [] |
Returns
void
Inherited from
UnitDrawingService
.removeNotification
setDrawingData()
setDrawingData(
unitId,
subUnitId,
data): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:203
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
data | IDrawingMapItemData <IDrawingParam > |
Returns
void
Inherited from
UnitDrawingService
.setDrawingData
setDrawingEditable()
setDrawingEditable(editable): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:790
Parameters
Parameter | Type |
---|---|
editable | boolean |
Returns
void
Inherited from
UnitDrawingService
.setDrawingEditable
setDrawingOrder()
setDrawingOrder(
unitId,
subUnitId,
order): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:511
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
order | string [] |
Returns
void
Inherited from
UnitDrawingService
.setDrawingOrder
setDrawingVisible()
setDrawingVisible(visible): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:786
Parameters
Parameter | Type |
---|---|
visible | boolean |
Returns
void
Inherited from
UnitDrawingService
.setDrawingVisible
ungroupUpdateNotification()
ungroupUpdateNotification(groupParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:297
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
UnitDrawingService
.ungroupUpdateNotification
updateNotification()
updateNotification(updateParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:285
Parameters
Parameter | Type |
---|---|
updateParams | IDrawingSearch [] |
Returns
void
Inherited from
UnitDrawingService
.updateNotification
visibleNotification()
visibleNotification(visibleParams): void
Defined in: submodules/univer/packages/drawing/src/services/drawing-manager-impl.service.ts:120
Parameters
Parameter | Type |
---|---|
visibleParams | IDrawingVisibleParam [] |
Returns
void