@univerjs/engine-render 0.10.6 → 0.10.7-nightly.202509090319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,5 +9,8 @@ export declare class Line extends docExtension {
9
9
  draw(ctx: UniverRenderingContext, parentScale: IScale, glyph: IDocumentSkeletonGlyph): void;
10
10
  clearCache(): void;
11
11
  private _drawLine;
12
+ private _drawLineTo;
12
13
  private _setLineType;
14
+ private _isWave;
15
+ private _isDouble;
13
16
  }
@@ -122,7 +122,7 @@ export declare class SpreadsheetSkeleton extends SheetSkeleton {
122
122
  */
123
123
  getRangeByBounding(bounds?: IViewportInfo): IRange;
124
124
  getRangeByViewport(vpInfo?: IViewportInfo): IRange;
125
- getCacheRangeByViewport(vpInfo?: IViewportInfo): IRange;
125
+ getCacheRangeByViewport(vpInfo?: IViewportInfo, isPrinting?: boolean): IRange;
126
126
  getRangeByViewBound(bound?: IBoundRectNoAngle): IRange;
127
127
  appendToOverflowCache(row: number, column: number, startColumn: number, endColumn: number): void;
128
128
  getOverflowPosition(contentSize: Required<ISize>, horizontalAlign: HorizontalAlign, row: number, column: number, columnCount: number): IColumnRange;
@@ -210,7 +210,7 @@ export declare class SpreadsheetSkeleton extends SheetSkeleton {
210
210
  * @param viewBound The range of the visible area of the canvas
211
211
  * @returns The range cell index of the canvas visible area
212
212
  */
213
- protected _getRangeByViewBounding(rowHeightAccumulation: number[], columnWidthAccumulation: number[], viewBound?: IBoundRectNoAngle): IRange;
213
+ protected _getRangeByViewBounding(rowHeightAccumulation: number[], columnWidthAccumulation: number[], viewBound?: IBoundRectNoAngle, isPrinting?: boolean): IRange;
214
214
  /**
215
215
  * Get the current row and column segment visible merge data.
216
216
  * @returns {IRange} The visible merge data
@@ -1,4 +1,4 @@
1
- import { Nullable, CellValueType, HorizontalAlign, VerticalAlign } from '@univerjs/core';
1
+ import { Nullable, CellValueType, HorizontalAlign, TextDecoration, VerticalAlign } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../context';
3
3
  import { IShapeProps, Shape } from './shape';
4
4
  import { DocSimpleSkeleton } from '../components/docs/layout/doc-simple-skeleton';
@@ -13,6 +13,7 @@ export interface ITextProps extends IShapeProps {
13
13
  color?: Nullable<string>;
14
14
  strokeLine?: boolean;
15
15
  underline?: boolean;
16
+ underlineType?: TextDecoration;
16
17
  cellValueType?: Nullable<CellValueType>;
17
18
  }
18
19
  export declare const TEXT_OBJECT_ARRAY: string[];
@@ -29,6 +30,10 @@ export declare class Text extends Shape<ITextProps> {
29
30
  * Draw text decoration lines (underline, strikethrough, etc.)
30
31
  */
31
32
  private static _drawTextDecoration;
33
+ private static _drawLine;
34
+ private static _setLineType;
35
+ private static _isWave;
36
+ private static _isDouble;
32
37
  protected _draw(ctx: UniverRenderingContext): void;
33
38
  makeDirty(state?: boolean): this | undefined;
34
39
  toJson(): {