@univerjs/engine-render v0.5.0-beta.1 • Docs
Class: Liquid
Constructors
new Liquid()
new Liquid(): Liquid
Returns
Accessors
x
Get Signature
get x(): number
Returns
number
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:34
y
Get Signature
get y(): number
Returns
number
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:38
Methods
reset()
reset(): void
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:42
restorePagePadding()
restorePagePadding(page): void
Parameters
Parameter | Type |
---|---|
page | IDocumentSkeletonPage |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:83
translate()
translate(x, y): void
Parameters
Parameter | Type | Default value |
---|---|---|
x | number | 0 |
y | number | 0 |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:52
translateBy()
translateBy(x, y): void
Parameters
Parameter | Type | Default value |
---|---|---|
x | number | 0 |
y | number | 0 |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:47
translateColumn()
translateColumn(column): {
x: columnLeft;
y: 0;
}
Parameters
Parameter | Type |
---|---|
column | IDocumentSkeletonColumn |
Returns
{
x: columnLeft;
y: 0;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | columnLeft | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:149 |
y | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:150 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:143
translateDivide()
translateDivide(divide): {
x: left;
y: 0;
}
Parameters
Parameter | Type |
---|---|
divide | IDocumentSkeletonDivide |
Returns
{
x: left;
y: 0;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | left | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:180 |
y | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:181 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:174
translateGlyph()
translateGlyph(glyph): {
x: spanLeft;
y: 0;
}
Parameters
Parameter | Type |
---|---|
glyph | IDocumentSkeletonGlyph |
Returns
{
x: spanLeft;
y: 0;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | spanLeft | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:190 |
y | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:191 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:185
translateLine()
translateLine(
line,
includeMarginTop,
includePaddingTop): {
x: 0;
y: lineOffset;
}
Parameters
Parameter | Type | Default value |
---|---|---|
line | IDocumentSkeletonLine | undefined |
includeMarginTop | boolean | false |
includePaddingTop | boolean | false |
Returns
{
x: 0;
y: lineOffset;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:169 |
y | number | lineOffset | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:170 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:154
translatePage()
translatePage(
page,
type,
left,
top,
_right,
_bottom): {
x: pageLeft;
y: pageTop;
}
Parameters
Parameter | Type | Default value |
---|---|---|
page | IDocumentSkeletonPage | undefined |
type | PageLayoutType | PageLayoutType.VERTICAL |
left | number | 0 |
top | number | 0 |
_right | number | 0 |
_bottom | number | 0 |
Returns
{
x: pageLeft;
y: pageTop;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | pageLeft | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:129 |
y | number | pageTop | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:130 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:94
translatePagePadding()
translatePagePadding(page): void
Parameters
Parameter | Type |
---|---|
page | IDocumentSkeletonPage |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:72
translateRestore()
translateRestore(): void
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:64
translateSave()
translateSave(): void
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:57
translateSection()
translateSection(section): {
x: 0;
y: sectionTop;
}
Parameters
Parameter | Type |
---|---|
section | IDocumentSkeletonSection |
Returns
{
x: 0;
y: sectionTop;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:138 |
y | number | sectionTop | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:139 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:134