@univerjs/engine-render 0.10.7 → 0.10.8-nightly.202509200616
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.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +2468 -2405
- package/lib/index.js +2468 -2405
- package/lib/types/basics/draw.d.ts +1 -1
- package/lib/types/components/docs/layout/doc-skeleton.d.ts +2 -0
- package/lib/types/components/sheets/sheet.render-skeleton.d.ts +2 -2
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
- package/LICENSE +0 -176
|
@@ -19,7 +19,7 @@ export declare function getDevicePixelRatio(): number;
|
|
|
19
19
|
* @param position border draw position
|
|
20
20
|
*/
|
|
21
21
|
export declare function drawLineByBorderType(ctx: UniverRenderingContext, type: BORDER_LTRB, lineWidthBuffer: number, position: IPosition): void;
|
|
22
|
-
export declare function
|
|
22
|
+
export declare function drawDiagonalineByBorderType(ctx: UniverRenderingContext, style: BorderStyleTypes, type: BORDER_LTRB, position: IPosition): void;
|
|
23
23
|
export declare function clearLineByBorderType(ctx: UniverRenderingContext, type: BORDER_LTRB, position: IPosition): void;
|
|
24
24
|
export declare function setLineType(ctx: UniverRenderingContext, style: BorderStyleTypes): void;
|
|
25
25
|
export declare function getLineOffset(): number;
|
|
@@ -23,6 +23,7 @@ export declare class DocumentSkeleton extends Skeleton {
|
|
|
23
23
|
private _hyphen;
|
|
24
24
|
private _languageDetector;
|
|
25
25
|
private _iteratorCount;
|
|
26
|
+
private _initialWidth;
|
|
26
27
|
constructor(_docViewModel: DocumentViewModel, localeService: LocaleService);
|
|
27
28
|
static create(docViewModel: DocumentViewModel, localeService: LocaleService): DocumentSkeleton;
|
|
28
29
|
dispose(): void;
|
|
@@ -33,6 +34,7 @@ export declare class DocumentSkeleton extends Skeleton {
|
|
|
33
34
|
*/
|
|
34
35
|
calculate(bounds?: IViewportInfo): void;
|
|
35
36
|
getSkeletonData(): Nullable<IDocumentSkeletonCached>;
|
|
37
|
+
resetInitialWidth(): void;
|
|
36
38
|
getActualSize(): {
|
|
37
39
|
actualWidth: number;
|
|
38
40
|
actualHeight: number;
|
|
@@ -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
|