@compass-framework/worksheet-layout 1.0.84 → 1.0.85
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/@types/source/SheetSource.ts +11 -1
- package/package.json +1 -1
|
@@ -22,6 +22,16 @@ export interface SheetSource {
|
|
|
22
22
|
*/
|
|
23
23
|
subscribe(obs: SheetSourceObserver): void;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* 获取有内容的最后一行的行号(0 基)
|
|
27
|
+
*/
|
|
28
|
+
getRowsCount(): number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 获取有内容的最后一列的列号(0 基)
|
|
32
|
+
*/
|
|
33
|
+
getColumnsCount(): number;
|
|
34
|
+
|
|
25
35
|
/**
|
|
26
36
|
* 获取当前激活的工作表视图(包含冻结窗格等信息)。
|
|
27
37
|
*/
|
|
@@ -31,7 +41,7 @@ export interface SheetSource {
|
|
|
31
41
|
* 获取工作表外观配置(背景色、冻结分割线样式等)。
|
|
32
42
|
* 未实现时使用 DEFAULT_WORKSHEET_STYLE。
|
|
33
43
|
*/
|
|
34
|
-
getSheetStyle
|
|
44
|
+
getSheetStyle(): SheetStyle;
|
|
35
45
|
|
|
36
46
|
/// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
37
47
|
|