@univerjs/drawing v0.5.0-beta.1 • Docs
Interface: IUnitDrawingService<T>
Extends
IUnitNormalDrawingService
<T
>.IUnitFocusDrawingService
.IUnitGroupDrawingService
.IUnitOrderDrawingService
.IDisposable
Extended by
Type Parameters
Type Parameter |
---|
T extends IDrawingParam |
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
add$ | readonly | Observable <IDrawingSearch []> | IUnitNormalDrawingService.add$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:106 |
drawingManagerData | public | IDrawingMap <T > | - | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:183 |
featurePluginGroupUpdate$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitGroupDrawingService.featurePluginGroupUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:147 |
featurePluginOrderUpdate$ | readonly | Observable <IDrawingOrderUpdateParam > | IUnitOrderDrawingService.featurePluginOrderUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:167 |
featurePluginUngroupUpdate$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitGroupDrawingService.featurePluginUngroupUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:148 |
featurePluginUpdate$ | readonly | Observable <T []> | IUnitNormalDrawingService.featurePluginUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:112 |
focus$ | readonly | Observable <IDrawingParam []> | IUnitFocusDrawingService.focus$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:134 |
group$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitGroupDrawingService.group$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:144 |
order$ | readonly | Observable <IDrawingOrderMapParam > | IUnitOrderDrawingService.order$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:165 |
refreshTransform$ | readonly | Observable <T []> | IUnitNormalDrawingService.refreshTransform$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:109 |
remove$ | readonly | Observable <IDrawingSearch []> | IUnitNormalDrawingService.remove$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:105 |
ungroup$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitGroupDrawingService.ungroup$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:145 |
update$ | readonly | Observable <IDrawingSearch []> | IUnitNormalDrawingService.update$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:107 |
visible$ | readonly | Observable <IDrawingVisibleParam []> | IUnitNormalDrawingService.visible$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:110 |
Methods
addNotification()
addNotification(insertParams): void
Parameters
Parameter | Type |
---|---|
insertParams | IDrawingSearch [] |
Returns
void
Inherited from
IUnitNormalDrawingService.addNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:117
applyJson1()
applyJson1(
unitId,
subUnitId,
jsonOp): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
jsonOp | unknown |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:198
dispose()
dispose(): void
Returns
void
Overrides
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:185
featurePluginGroupUpdateNotification()
featurePluginGroupUpdateNotification(groupParams): void
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
IUnitGroupDrawingService.featurePluginGroupUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:156
featurePluginOrderUpdateNotification()
featurePluginOrderUpdateNotification(drawingOrderUpdateParam): void
Parameters
Parameter | Type |
---|---|
drawingOrderUpdateParam | IDrawingOrderUpdateParam |
Returns
void
Inherited from
IUnitOrderDrawingService.featurePluginOrderUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:179
featurePluginUngroupUpdateNotification()
featurePluginUngroupUpdateNotification(groupParams): void
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
IUnitGroupDrawingService.featurePluginUngroupUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:157
featurePluginUpdateNotification()
featurePluginUpdateNotification(updateParams): void
Parameters
Parameter | Type |
---|---|
updateParams | T [] |
Returns
void
Inherited from
IUnitNormalDrawingService.featurePluginUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:127
focusDrawing()
focusDrawing(params): void
Parameters
Parameter | Type |
---|---|
params | Nullable <IDrawingSearch []> |
Returns
void
Inherited from
IUnitFocusDrawingService.focusDrawing
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:136
getBackDrawingsOp()
getBackDrawingsOp(orderParams): unknown
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
unknown
Inherited from
IUnitOrderDrawingService.getBackDrawingsOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:174
getBackwardDrawingOp()
getBackwardDrawingOp(orderParams): unknown
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
unknown
Inherited from
IUnitOrderDrawingService.getBackwardDrawingOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:172
getBatchAddOp()
getBatchAddOp(insertParams): unknown
Parameters
Parameter | Type |
---|---|
insertParams | T [] |
Returns
unknown
Inherited from
IUnitNormalDrawingService.getBatchAddOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:123
getBatchRemoveOp()
getBatchRemoveOp(removeParams): unknown
Parameters
Parameter | Type |
---|---|
removeParams | IDrawingSearch [] |
Returns
unknown
Inherited from
IUnitNormalDrawingService.getBatchRemoveOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:124
getBatchUpdateOp()
getBatchUpdateOp(updateParams): unknown
Parameters
Parameter | Type |
---|---|
updateParams | T [] |
Returns
unknown
Inherited from
IUnitNormalDrawingService.getBatchUpdateOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:125
getDrawingByParam()
getDrawingByParam(param): Nullable<T>
Parameters
Parameter | Type |
---|---|
param | Nullable <IDrawingSearch > |
Returns
Nullable
<T
>
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:195
getDrawingData()
getDrawingData(unitId, subUnitId): IDrawingMapItemData<T>
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:193
getDrawingDataForUnit()
getDrawingDataForUnit(unitId): IDrawingSubunitMap<T>
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:187
getDrawingEditable()
getDrawingEditable(): boolean
Returns
boolean
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:199
getDrawingOKey()
getDrawingOKey(oKey): Nullable<T>
Parameters
Parameter | Type |
---|---|
oKey | string |
Returns
Nullable
<T
>
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:197
getDrawingOrder()
getDrawingOrder(unitId, subUnitId): string[]
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
string
[]
Inherited from
IUnitOrderDrawingService.getDrawingOrder
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:176
getDrawingsByGroup()
getDrawingsByGroup(groupParam): IDrawingParam[]
Parameters
Parameter | Type |
---|---|
groupParam | IDrawingSearch |
Returns
Inherited from
IUnitGroupDrawingService.getDrawingsByGroup
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:154
getDrawingVisible()
getDrawingVisible(): boolean
Returns
boolean
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:200
getFocusDrawings()
getFocusDrawings(): IDrawingParam[]
Returns
Inherited from
IUnitFocusDrawingService.getFocusDrawings
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:137
getForwardDrawingsOp()
getForwardDrawingsOp(orderParams): unknown
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
unknown
Inherited from
IUnitOrderDrawingService.getForwardDrawingsOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:171
getFrontDrawingsOp()
getFrontDrawingsOp(orderParams): unknown
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
unknown
Inherited from
IUnitOrderDrawingService.getFrontDrawingsOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:173
getGroupDrawingOp()
getGroupDrawingOp(groupParams): unknown
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
unknown
Inherited from
IUnitGroupDrawingService.getGroupDrawingOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:150
getOldDrawingByParam()
getOldDrawingByParam(param): Nullable<T>
Parameters
Parameter | Type |
---|---|
param | Nullable <IDrawingSearch > |
Returns
Nullable
<T
>
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:196
getUngroupDrawingOp()
getUngroupDrawingOp(groupParams): unknown
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
unknown
Inherited from
IUnitGroupDrawingService.getUngroupDrawingOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:151
groupUpdateNotification()
groupUpdateNotification(groupParams): void
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
IUnitGroupDrawingService.groupUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:152
initializeNotification()
initializeNotification(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:191
orderNotification()
orderNotification(orderParams): void
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
void
Inherited from
IUnitOrderDrawingService.orderNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:169
orderUpdateNotification()
orderUpdateNotification(orderParams): void
Parameters
Parameter | Type |
---|---|
orderParams | IDrawingOrderMapParam |
Returns
void
Inherited from
IUnitOrderDrawingService.orderUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:178
refreshTransform()
refreshTransform(updateParams): void
Parameters
Parameter | Type |
---|---|
updateParams | T [] |
Returns
void
Inherited from
IUnitNormalDrawingService.refreshTransform
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:114
refreshTransformNotification()
refreshTransformNotification(refreshParams): void
Parameters
Parameter | Type |
---|---|
refreshParams | T [] |
Returns
void
Inherited from
IUnitNormalDrawingService.refreshTransformNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:120
registerDrawingData()
registerDrawingData(unitId, data): void
Parameters
Parameter | Type |
---|---|
unitId | string |
data | IDrawingSubunitMap <T > |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:189
removeDrawingDataForUnit()
removeDrawingDataForUnit(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:188
removeNotification()
removeNotification(removeParams): void
Parameters
Parameter | Type |
---|---|
removeParams | IDrawingSearch [] |
Returns
void
Inherited from
IUnitNormalDrawingService.removeNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:116
setDrawingData()
setDrawingData(
unitId,
subUnitId,
data): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
data | IDrawingMapItemData <T > |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:194
setDrawingEditable()
setDrawingEditable(editable): void
Parameters
Parameter | Type |
---|---|
editable | boolean |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:202
setDrawingOrder()
setDrawingOrder(
unitId,
subUnitId,
order): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
order | string [] |
Returns
void
Inherited from
IUnitOrderDrawingService.setDrawingOrder
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:177
setDrawingVisible()
setDrawingVisible(visible): void
Parameters
Parameter | Type |
---|---|
visible | boolean |
Returns
void
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:201
ungroupUpdateNotification()
ungroupUpdateNotification(groupParams): void
Parameters
Parameter | Type |
---|---|
groupParams | IDrawingGroupUpdateParam [] |
Returns
void
Inherited from
IUnitGroupDrawingService.ungroupUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:153
updateNotification()
updateNotification(updateParams): void
Parameters
Parameter | Type |
---|---|
updateParams | IDrawingSearch [] |
Returns
void
Inherited from
IUnitNormalDrawingService.updateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:118
visibleNotification()
visibleNotification(visibleParams): void
Parameters
Parameter | Type |
---|---|
visibleParams | IDrawingVisibleParam [] |
Returns
void
Inherited from
IUnitNormalDrawingService.visibleNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:121