@univerjs/docs-drawing v0.5.0-beta.1 • Docs
Interface: IDocDrawingService
Extends
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
add$ | readonly | Observable <IDrawingSearch []> | IUnitDrawingService .add$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:106 |
drawingManagerData | public | IDrawingMap <IDocDrawing > | IUnitDrawingService .drawingManagerData | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:183 |
featurePluginGroupUpdate$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitDrawingService .featurePluginGroupUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:147 |
featurePluginOrderUpdate$ | readonly | Observable <IDrawingOrderUpdateParam > | IUnitDrawingService .featurePluginOrderUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:167 |
featurePluginUngroupUpdate$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitDrawingService .featurePluginUngroupUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:148 |
featurePluginUpdate$ | readonly | Observable <IDocDrawing []> | IUnitDrawingService .featurePluginUpdate$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:112 |
focus$ | readonly | Observable <IDrawingParam []> | IUnitDrawingService .focus$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:134 |
group$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitDrawingService .group$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:144 |
order$ | readonly | Observable <IDrawingOrderMapParam > | IUnitDrawingService .order$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:165 |
refreshTransform$ | readonly | Observable <IDocDrawing []> | IUnitDrawingService .refreshTransform$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:109 |
remove$ | readonly | Observable <IDrawingSearch []> | IUnitDrawingService .remove$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:105 |
ungroup$ | readonly | Observable <IDrawingGroupUpdateParam []> | IUnitDrawingService .ungroup$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:145 |
update$ | readonly | Observable <IDrawingSearch []> | IUnitDrawingService .update$ | submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:107 |
visible$ | readonly | Observable <IDrawingVisibleParam []> | IUnitDrawingService .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
IUnitDrawingService
.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
Inherited from
IUnitDrawingService
.applyJson1
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:198
dispose()
dispose(): void
Returns
void
Inherited from
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
IUnitDrawingService
.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
IUnitDrawingService
.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
IUnitDrawingService
.featurePluginUngroupUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:157
featurePluginUpdateNotification()
featurePluginUpdateNotification(updateParams): void
Parameters
Parameter | Type |
---|---|
updateParams | IDocDrawing [] |
Returns
void
Inherited from
IUnitDrawingService
.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
IUnitDrawingService
.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
IUnitDrawingService
.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
IUnitDrawingService
.getBackwardDrawingOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:172
getBatchAddOp()
getBatchAddOp(insertParams): unknown
Parameters
Parameter | Type |
---|---|
insertParams | IDocDrawing [] |
Returns
unknown
Inherited from
IUnitDrawingService
.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
IUnitDrawingService
.getBatchRemoveOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:124
getBatchUpdateOp()
getBatchUpdateOp(updateParams): unknown
Parameters
Parameter | Type |
---|---|
updateParams | IDocDrawing [] |
Returns
unknown
Inherited from
IUnitDrawingService
.getBatchUpdateOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:125
getDrawingByParam()
getDrawingByParam(param): Nullable<IDocDrawing>
Parameters
Parameter | Type |
---|---|
param | Nullable <IDrawingSearch > |
Returns
Inherited from
IUnitDrawingService
.getDrawingByParam
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:195
getDrawingData()
getDrawingData(unitId, subUnitId): IDrawingMapItemData<IDocDrawing>
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
IDrawingMapItemData
<IDocDrawing
>
Inherited from
IUnitDrawingService
.getDrawingData
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:193
getDrawingDataForUnit()
getDrawingDataForUnit(unitId): IDrawingSubunitMap<IDocDrawing>
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
IDrawingSubunitMap
<IDocDrawing
>
Inherited from
IUnitDrawingService
.getDrawingDataForUnit
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:187
getDrawingEditable()
getDrawingEditable(): boolean
Returns
boolean
Inherited from
IUnitDrawingService
.getDrawingEditable
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:199
getDrawingOKey()
getDrawingOKey(oKey): Nullable<IDocDrawing>
Parameters
Parameter | Type |
---|---|
oKey | string |
Returns
Inherited from
IUnitDrawingService
.getDrawingOKey
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
IUnitDrawingService
.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
IUnitDrawingService
.getDrawingsByGroup
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:154
getDrawingVisible()
getDrawingVisible(): boolean
Returns
boolean
Inherited from
IUnitDrawingService
.getDrawingVisible
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:200
getFocusDrawings()
getFocusDrawings(): IDrawingParam[]
Returns
Inherited from
IUnitDrawingService
.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
IUnitDrawingService
.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
IUnitDrawingService
.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
IUnitDrawingService
.getGroupDrawingOp
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:150
getOldDrawingByParam()
getOldDrawingByParam(param): Nullable<IDocDrawing>
Parameters
Parameter | Type |
---|---|
param | Nullable <IDrawingSearch > |
Returns
Inherited from
IUnitDrawingService
.getOldDrawingByParam
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
IUnitDrawingService
.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
IUnitDrawingService
.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
Inherited from
IUnitDrawingService
.initializeNotification
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
IUnitDrawingService
.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
IUnitDrawingService
.orderUpdateNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:178
refreshTransform()
refreshTransform(updateParams): void
Parameters
Parameter | Type |
---|---|
updateParams | IDocDrawing [] |
Returns
void
Inherited from
IUnitDrawingService
.refreshTransform
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:114
refreshTransformNotification()
refreshTransformNotification(refreshParams): void
Parameters
Parameter | Type |
---|---|
refreshParams | IDocDrawing [] |
Returns
void
Inherited from
IUnitDrawingService
.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 <IDocDrawing > |
Returns
void
Inherited from
IUnitDrawingService
.registerDrawingData
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:189
removeDrawingDataForUnit()
removeDrawingDataForUnit(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Inherited from
IUnitDrawingService
.removeDrawingDataForUnit
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
IUnitDrawingService
.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 <IDocDrawing > |
Returns
void
Inherited from
IUnitDrawingService
.setDrawingData
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:194
setDrawingEditable()
setDrawingEditable(editable): void
Parameters
Parameter | Type |
---|---|
editable | boolean |
Returns
void
Inherited from
IUnitDrawingService
.setDrawingEditable
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
IUnitDrawingService
.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
Inherited from
IUnitDrawingService
.setDrawingVisible
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
IUnitDrawingService
.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
IUnitDrawingService
.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
IUnitDrawingService
.visibleNotification
Defined in
submodules/univer/packages/drawing/src/services/drawing-manager.service.ts:121