@univerjs/engine-render v0.5.4
Class: Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:54
Extends
DocComponent
Constructors
new Documents()
new Documents(
oKey,
documentSkeleton?,
config?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:61
Parameters
Parameter | Type |
---|---|
oKey | string |
documentSkeleton ? | DocumentSkeleton |
config ? | IDocumentsConfig |
Returns
Overrides
DocComponent.constructor
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_dirty | protected | boolean | true | DocComponent._dirty | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:88 |
_disposed | protected | boolean | false | DocComponent._disposed | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
_forceDirty | protected | boolean | true | DocComponent._forceDirty | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:89 |
_oKey | protected | string | undefined | DocComponent._oKey | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:86 |
groupKey? | public | string | undefined | DocComponent.groupKey | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:59 |
isInGroup | public | boolean | false | DocComponent.isInGroup | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:60 |
objectType | public | ObjectType | ObjectType.UNKNOWN | DocComponent.objectType | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:62 |
onDblclick$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onDblclick$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:74 |
onDispose$ | public | EventSubject <BaseObject > | undefined | DocComponent.onDispose$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:84 |
onDragEnter$ | public | EventSubject < | IMouseEvent | IDragEvent > | undefined | DocComponent.onDragEnter$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:80 |
onDragLeave$ | public | EventSubject < | IMouseEvent | IDragEvent > | undefined | DocComponent.onDragLeave$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:78 |
onDragOver$ | public | EventSubject < | IMouseEvent | IDragEvent > | undefined | DocComponent.onDragOver$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:79 |
onDrop$ | public | EventSubject < | IMouseEvent | IDragEvent > | undefined | DocComponent.onDrop$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:81 |
onIsAddedToParent$ | public | EventSubject <any > | undefined | DocComponent.onIsAddedToParent$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:83 |
onMouseWheel$ | public | EventSubject <IWheelEvent > | undefined | DocComponent.onMouseWheel$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:76 |
onPointerDown$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerDown$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:66 |
onPointerEnter$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerEnter$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:72 |
onPointerLeave$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerLeave$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:71 |
onPointerMove$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerMove$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:67 |
onPointerOut$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerOut$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:69 |
onPointerOver$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerOver$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:70 |
onPointerUp$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onPointerUp$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:68 |
onTransformChange$ | public | EventSubject <ITransformChangeState > | undefined | DocComponent.onTransformChange$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:64 |
onTripleClick$ | public | EventSubject < | IMouseEvent | IPointerEvent > | undefined | DocComponent.onTripleClick$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:75 |
pageLayoutType | public | PageLayoutType | PageLayoutType.VERTICAL | DocComponent.pageLayoutType | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:45 |
pageMarginLeft | public | number | 0 | DocComponent.pageMarginLeft | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:41 |
pageMarginTop | public | number | 0 | DocComponent.pageMarginTop | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:43 |
pageRender$ | readonly | Observable <IPageRenderConfig > | undefined | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:57 |
Accessors
ancestorGroup
Get Signature
get ancestorGroup(): Nullable<BaseObject>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:251
Returns
Inherited from
DocComponent.ancestorGroup
ancestorLeft
Get Signature
get ancestorLeft(): any
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:235
Returns
any
Inherited from
DocComponent.ancestorLeft
ancestorScaleX
Get Signature
get ancestorScaleX(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:225
Returns
number
Inherited from
DocComponent.ancestorScaleX
ancestorScaleY
Get Signature
get ancestorScaleY(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:230
Returns
number
Inherited from
DocComponent.ancestorScaleY
ancestorTop
Get Signature
get ancestorTop(): any
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:239
Returns
any
Inherited from
DocComponent.ancestorTop
ancestorTransform
Get Signature
get ancestorTransform(): any
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:243
Returns
any
Inherited from
DocComponent.ancestorTransform
angle
Get Signature
get angle(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:213
Returns
number
Set Signature
set angle(angle): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:363
Parameters
Parameter | Type |
---|---|
angle | number |
Returns
void
Inherited from
DocComponent.angle
classType
Get Signature
get classType(): RENDER_CLASS_TYPE
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:189
Returns
Inherited from
DocComponent.classType
cursor
Get Signature
get cursor(): CURSOR_TYPE
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:303
Returns
Set Signature
set cursor(val): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:331
Parameters
Parameter | Type |
---|---|
val | CURSOR_TYPE |
Returns
void
Inherited from
DocComponent.cursor
debounceParentDirty
Get Signature
get debounceParentDirty(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:299
Returns
boolean
Set Signature
set debounceParentDirty(state): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:327
Parameters
Parameter | Type |
---|---|
state | boolean |
Returns
void
Inherited from
DocComponent.debounceParentDirty
evented
Get Signature
get evented(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:291
Returns
boolean
Set Signature
set evented(state): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:323
Parameters
Parameter | Type |
---|---|
state | boolean |
Returns
void
Inherited from
DocComponent.evented
extensions
Get Signature
get extensions(): Map<string, ComponentExtension<T, U, V>>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:27
Returns
Map
<string
, ComponentExtension
<T
, U
, V
>>
Inherited from
DocComponent.extensions
flipX
Get Signature
get flipX(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:271
Returns
boolean
Set Signature
set flipX(flipX): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:383
Parameters
Parameter | Type |
---|---|
flipX | boolean |
Returns
void
Inherited from
DocComponent.flipX
flipY
Get Signature
get flipY(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:275
Returns
boolean
Set Signature
set flipY(flipY): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:379
Parameters
Parameter | Type |
---|---|
flipY | boolean |
Returns
void
Inherited from
DocComponent.flipY
height
Get Signature
get height(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:205
Returns
number
Set Signature
set height(num): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:354
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
DocComponent.height
heightOrigin
Get Signature
get heightOrigin(): string | number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:185
Returns
string
| number
Inherited from
DocComponent.heightOrigin
layer
Get Signature
get layer(): Nullable<Layer>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:307
Returns
Set Signature
set layer(layer): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:335
Parameters
Parameter | Type |
---|---|
layer | Layer |
Returns
void
Inherited from
DocComponent.layer
left
Get Signature
get left(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:197
Returns
number
Set Signature
set left(num): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:344
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
DocComponent.left
leftOrigin
Get Signature
get leftOrigin(): string | number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:177
Returns
string
| number
Inherited from
DocComponent.leftOrigin
maxZIndex
Get Signature
get maxZIndex(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:399
Returns
number
Inherited from
DocComponent.maxZIndex
oKey
Get Signature
get oKey(): string
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:283
Returns
string
Inherited from
DocComponent.oKey
parent
Get Signature
get parent(): any
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:279
Returns
any
Set Signature
set parent(o): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:319
Parameters
Parameter | Type |
---|---|
o | any |
Returns
void
Inherited from
DocComponent.parent
printable
Get Signature
get printable(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:169
Returns
boolean
Inherited from
DocComponent.printable
scaleX
Get Signature
get scaleX(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:217
Returns
number
Set Signature
set scaleX(scaleX): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:367
Parameters
Parameter | Type |
---|---|
scaleX | number |
Returns
void
Inherited from
DocComponent.scaleX
scaleY
Get Signature
get scaleY(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:221
Returns
number
Set Signature
set scaleY(scaleY): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:371
Parameters
Parameter | Type |
---|---|
scaleY | number |
Returns
void
Inherited from
DocComponent.scaleY
skewX
Get Signature
get skewX(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:263
Returns
number
Set Signature
set skewX(skewX): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:375
Parameters
Parameter | Type |
---|---|
skewX | number |
Returns
void
Inherited from
DocComponent.skewX
skewY
Get Signature
get skewY(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:267
Returns
number
Set Signature
set skewY(skewY): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:387
Parameters
Parameter | Type |
---|---|
skewY | number |
Returns
void
Inherited from
DocComponent.skewY
strokeWidth
Get Signature
get strokeWidth(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:209
Returns
number
Set Signature
set strokeWidth(width): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:359
Parameters
Parameter | Type |
---|---|
width | number |
Returns
void
Inherited from
DocComponent.strokeWidth
top
Get Signature
get top(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:193
Returns
number
Set Signature
set top(num): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:339
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
DocComponent.top
topOrigin
Get Signature
get topOrigin(): string | number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:173
Returns
string
| number
Inherited from
DocComponent.topOrigin
transform
Get Signature
get transform(): Transform
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:148
Returns
Set Signature
set transform(trans): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:311
Parameters
Parameter | Type |
---|---|
trans | Transform |
Returns
void
Inherited from
DocComponent.transform
transformerConfig
Get Signature
get transformerConfig(): ITransformerConfig
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:391
Returns
ITransformerConfig
Set Signature
set transformerConfig(config): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:395
Parameters
Parameter | Type |
---|---|
config | ITransformerConfig |
Returns
void
Inherited from
DocComponent.transformerConfig
visible
Get Signature
get visible(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:295
Returns
boolean
Inherited from
DocComponent.visible
width
Get Signature
get width(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:201
Returns
number
Set Signature
set width(num): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:349
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
DocComponent.width
widthOrigin
Get Signature
get widthOrigin(): string | number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:181
Returns
string
| number
Inherited from
DocComponent.widthOrigin
zIndex
Get Signature
get zIndex(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:287
Returns
number
Set Signature
set zIndex(index): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:315
Parameters
Parameter | Type |
---|---|
index | number |
Returns
void
Inherited from
DocComponent.zIndex
Methods
_draw()
protected _draw(ctx, bounds?): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:110
Parameters
Parameter | Type |
---|---|
ctx | UniverRenderingContext |
bounds ? | IViewportInfo |
Returns
void
Overrides
DocComponent._draw
_setTransForm()
protected _setTransForm(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:849
Returns
void
Inherited from
DocComponent._setTransForm
applyTransform()
applyTransform(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:837
Returns
void
Inherited from
DocComponent.applyTransform
changeSkeleton()
changeSkeleton(newSkeleton): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:104
Parameters
Parameter | Type |
---|---|
newSkeleton | DocumentSkeleton |
Returns
dispose()
dispose(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:73
Returns
void
Overrides
DocComponent.dispose
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
DocComponent.disposeWithMe
draw()
draw(ctx, bounds?): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:114
Parameters
Parameter | Type |
---|---|
ctx | UniverRenderingContext |
bounds ? | IViewportInfo |
Returns
void
Overrides
DocComponent.draw
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
DocComponent.ensureNotDisposed
flip()
flip(flipX?, flipY?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:522
Parameters
Parameter | Type |
---|---|
flipX ? | boolean |
flipY ? | boolean |
Returns
Inherited from
DocComponent.flip
getEngine()
getEngine(): Nullable<Engine>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:100
Returns
Overrides
DocComponent.getEngine
getExtensionByKey()
getExtensionByKey(uKey):
| undefined
| ComponentExtension<
| IDocumentSkeletonLine
| IDocumentSkeletonGlyph, DOCS_EXTENSION_TYPE, IBoundRectNoAngle[]>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:57
Parameters
Parameter | Type |
---|---|
uKey | string |
Returns
| undefined
| ComponentExtension
<
| IDocumentSkeletonLine
| IDocumentSkeletonGlyph
, DOCS_EXTENSION_TYPE
, IBoundRectNoAngle
[]>
Inherited from
DocComponent.getExtensionByKey
getExtensionsByOrder()
getExtensionsByOrder(): ComponentExtension<
| IDocumentSkeletonLine
| IDocumentSkeletonGlyph, DOCS_EXTENSION_TYPE, IBoundRectNoAngle[]>[]
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:50
Returns
ComponentExtension
<
| IDocumentSkeletonLine
| IDocumentSkeletonGlyph
, DOCS_EXTENSION_TYPE
, IBoundRectNoAngle
[]>[]
Inherited from
DocComponent.getExtensionsByOrder
getInverseCoord()
getInverseCoord(coord): Vector2
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:845
Parameters
Parameter | Type |
---|---|
coord | Vector2 |
Returns
Inherited from
DocComponent.getInverseCoord
getLayerIndex()
getLayerIndex(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:830
Returns
number
Inherited from
DocComponent.getLayerIndex
getObjects()
getObjects(): BaseObject[]
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:826
Returns
Inherited from
DocComponent.getObjects
getOffsetConfig()
getOffsetConfig(): IDocumentOffsetConfig
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:80
Returns
getParent()
getParent(): any
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:580
Returns
any
Inherited from
DocComponent.getParent
getParentScale()
getParentScale(): {
scaleX: any;
scaleY: any;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:104
Returns
{
scaleX: any;
scaleY: any;
}
Inherited from
DocComponent.getParentScale
getScene()
getScene(): Nullable<Scene>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:794
Returns
Inherited from
DocComponent.getScene
getSkeleton()
getSkeleton(): undefined | DocumentSkeleton
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:57
Returns
undefined
| DocumentSkeleton
Inherited from
DocComponent.getSkeleton
getState()
getState(): ITransformState
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:584
Returns
Inherited from
DocComponent.getState
hide()
hide(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:600
Returns
void
Inherited from
DocComponent.hide
isDirty()
isDirty(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:431
Returns
boolean
Inherited from
DocComponent.isDirty
isHit()
isHit(coord): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:614
Parameters
Parameter | Type |
---|---|
coord | Vector2 |
Returns
boolean
Inherited from
DocComponent.isHit
isRender()
isRender(bounds?): undefined | boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:573
Parameters
Parameter | Type |
---|---|
bounds ? | IViewportInfo |
Returns
undefined
| boolean
Inherited from
DocComponent.isRender
isSkipByDiffBounds()
isSkipByDiffBounds(
page,
pageTop,
pageLeft,
bounds?): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:121
Parameters
Parameter | Type |
---|---|
page | IDocumentSkeletonPage |
pageTop | number |
pageLeft | number |
bounds ? | IViewportInfo |
Returns
boolean
Inherited from
DocComponent.isSkipByDiffBounds
makeDirty()
makeDirty(state): undefined | Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:403
Parameters
Parameter | Type | Default value |
---|---|---|
state | boolean | true |
Returns
undefined
| Documents
Inherited from
DocComponent.makeDirty
makeDirtyNoDebounce()
makeDirtyNoDebounce(state): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:422
Parameters
Parameter | Type | Default value |
---|---|---|
state | boolean | true |
Returns
Inherited from
DocComponent.makeDirtyNoDebounce
makeForceDirty()
makeForceDirty(state): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:418
Parameters
Parameter | Type | Default value |
---|---|---|
state | boolean | true |
Returns
void
Inherited from
DocComponent.makeForceDirty
register()
register(...extensions): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:31
Parameters
Parameter | Type |
---|---|
…extensions | ComponentExtension < | IDocumentSkeletonLine | IDocumentSkeletonGlyph , DOCS_EXTENSION_TYPE , IBoundRectNoAngle []>[] |
Returns
Inherited from
DocComponent.register
removeTransform()
removeTransform(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:841
Returns
void
Inherited from
DocComponent.removeTransform
render()
render(mainCtx, bounds?): undefined | Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:85
Parameters
Parameter | Type |
---|---|
mainCtx | UniverRenderingContext |
bounds ? | IViewportInfo |
Returns
undefined
| Documents
Inherited from
DocComponent.render
resetCursor()
resetCursor(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:806
Returns
void
Inherited from
DocComponent.resetCursor
resize()
resize(width?, height?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:457
Parameters
Parameter | Type |
---|---|
width ? | string | number |
height ? | string | number |
Returns
Inherited from
DocComponent.resize
scale()
scale(scaleX?, scaleY?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:478
Parameters
Parameter | Type |
---|---|
scaleX ? | number |
scaleY ? | number |
Returns
Inherited from
DocComponent.scale
setCursor()
setCursor(val): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:810
Parameters
Parameter | Type |
---|---|
val | CURSOR_TYPE |
Returns
void
Inherited from
DocComponent.setCursor
setSkeleton()
setSkeleton(skeleton): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/doc-component.ts:61
Parameters
Parameter | Type |
---|---|
skeleton | DocumentSkeleton |
Returns
void
Inherited from
DocComponent.setSkeleton
show()
show(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:605
Returns
void
Inherited from
DocComponent.show
skew()
skew(skewX?, skewY?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:500
Parameters
Parameter | Type |
---|---|
skewX ? | number |
skewY ? | number |
Returns
Inherited from
DocComponent.skew
toJson()
toJson(): IKeyValue
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:783
Returns
IKeyValue
Inherited from
DocComponent.toJson
transformByState()
transformByState(option): undefined | Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:547
this[pKey] = option[pKey]
Parameters
Parameter | Type |
---|---|
option | IObjectFullState |
Returns
undefined
| Documents
Inherited from
DocComponent.transformByState
transformForAngle()
transformForAngle(transform): Transform
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:153
Parameters
Parameter | Type |
---|---|
transform | Transform |
Returns
Inherited from
DocComponent.transformForAngle
translate()
translate(x?, y?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:435
Parameters
Parameter | Type |
---|---|
x ? | string | number |
y ? | string | number |
Returns
Inherited from
DocComponent.translate
triggerDblclick()
triggerDblclick(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:651
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerDblclick
triggerDragEnter()
triggerDragEnter(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:735
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
DocComponent.triggerDragEnter
triggerDragLeave()
triggerDragLeave(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:719
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
DocComponent.triggerDragLeave
triggerDragOver()
triggerDragOver(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:727
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
DocComponent.triggerDragOver
triggerDrop()
triggerDrop(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:743
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
DocComponent.triggerDrop
triggerMouseWheel()
triggerMouseWheel(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:671
Parameters
Parameter | Type |
---|---|
evt | IWheelEvent |
Returns
boolean
Inherited from
DocComponent.triggerMouseWheel
triggerPointerCancel()
triggerPointerCancel(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:711
Parameters
Parameter | Type |
---|---|
evt | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerCancel
triggerPointerDown()
triggerPointerDown(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:635
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerDown
triggerPointerEnter()
triggerPointerEnter(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:703
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerEnter
triggerPointerLeave()
triggerPointerLeave(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:687
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerLeave
triggerPointerMove()
triggerPointerMove(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:627
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerMove
triggerPointerOut()
triggerPointerOut(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:679
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerOut
triggerPointerOver()
triggerPointerOver(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:695
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerOver
triggerPointerUp()
triggerPointerUp(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:643
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerPointerUp
triggerTripleClick()
triggerTripleClick(evt): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:661
Parameters
Parameter | Type |
---|---|
evt | | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
DocComponent.triggerTripleClick
create()
static create(
oKey,
documentSkeleton?,
config?): Documents
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/document.ts:69
Parameters
Parameter | Type |
---|---|
oKey | string |
documentSkeleton ? | DocumentSkeleton |
config ? | IDocumentsConfig |