@univerjs/core v0.5.0-beta.1 • Docs
Interface: IDocumentRenderConfig
the alignment mode is returned with respect to the offset of the sheet cell, because the document needs to render the layout for cells and support alignment across multiple cells (e.g., horizontal alignment of long text in overflow mode). The alignment mode of the document itself cannot meet this requirement, so an additional renderConfig needs to be added during the rendering of the document component. This means that there are two coexisting alignment modes. In certain cases, such as in an editor, conflicts may arise, requiring only one alignment mode to be retained. By removing the relevant configurations in renderConfig, the alignment mode of the sheet cell can be modified. The alternative alignment mode is applied to paragraphs within the document.
Properties
Property | Type | Defined in |
---|---|---|
background? | IColorStyle | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:488 |
cellValueType? | CellValueType | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:490 |
centerAngle? | number | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:484 |
horizontalAlign? | HorizontalAlign | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:486 |
isRenderStyle? | BooleanNumber | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:491 |
isRotateNonEastAsian? | BooleanNumber | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:487 |
vertexAngle? | number | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:485 |
verticalAlign? | VerticalAlign | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:483 |
wrapStrategy? | WrapStrategy | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:489 |
zeroWidthParagraphBreak? | BooleanNumber | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:492 |