@leankylin-sheet/excel 3.1.47
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/dist/ToExcel/ExcelBorder.d.ts +3 -0
- package/dist/ToExcel/ExcelConfig.d.ts +2 -0
- package/dist/ToExcel/ExcelConvert.d.ts +16 -0
- package/dist/ToExcel/ExcelFile.d.ts +1 -0
- package/dist/ToExcel/ExcelImage.d.ts +2 -0
- package/dist/ToExcel/ExcelStyle.d.ts +3 -0
- package/dist/ToExcel/ExcelValidation.d.ts +2 -0
- package/dist/ToFortuneSheet/FortuneBase.d.ts +133 -0
- package/dist/ToFortuneSheet/FortuneCell.d.ts +21 -0
- package/dist/ToFortuneSheet/FortuneFile.d.ts +28 -0
- package/dist/ToFortuneSheet/FortuneImage.d.ts +20 -0
- package/dist/ToFortuneSheet/FortuneSheet.d.ts +20 -0
- package/dist/ToFortuneSheet/HandleZip.d.ts +8 -0
- package/dist/ToFortuneSheet/IFortune.d.ts +301 -0
- package/dist/ToFortuneSheet/ImportHelper.d.ts +1 -0
- package/dist/ToFortuneSheet/ReadXml.d.ts +27 -0
- package/dist/common/ICommon.d.ts +34 -0
- package/dist/common/ToolbarItem.d.ts +12 -0
- package/dist/common/Transform.d.ts +2 -0
- package/dist/common/constant.d.ts +27 -0
- package/dist/common/emf.d.ts +3 -0
- package/dist/common/method.d.ts +56 -0
- package/dist/icons/ExportIcon.d.ts +2 -0
- package/dist/icons/ImportIcon.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +5296 -0
- package/dist/index.js +5310 -0
- package/package.json +31 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import ExcelJS from "exceljs";
|
|
2
|
+
import { IfortuneSheetSelection } from "../ToFortuneSheet/IFortune";
|
|
3
|
+
import { IattributeList, stringToNum } from "./ICommon";
|
|
4
|
+
export declare function getRangetxt(range: IfortuneSheetSelection, sheettxt: string): string;
|
|
5
|
+
export declare function getcellrange(txt: string, sheets?: IattributeList, sheetId?: string): {
|
|
6
|
+
row: number[];
|
|
7
|
+
column: number[];
|
|
8
|
+
sheetIndex: number;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare function getptToPxRatioByDPI(): number;
|
|
11
|
+
export declare function getPxByEMUs(emus: number): number;
|
|
12
|
+
export declare function getXmlAttibute(dom: IattributeList, attr: string, d: string): string;
|
|
13
|
+
export declare function getColumnWidthPixel(columnWidth: number): number;
|
|
14
|
+
export declare function getRowHeightPixel(rowHeight: number): number;
|
|
15
|
+
export declare function LightenDarkenColor(sixColor: string, tint: number): string;
|
|
16
|
+
export declare function generateRandomIndex(prefix: string): string;
|
|
17
|
+
export declare function escapeCharacter(str: string): string;
|
|
18
|
+
export declare class fromulaRef {
|
|
19
|
+
static operator: string;
|
|
20
|
+
static error: {
|
|
21
|
+
v: string;
|
|
22
|
+
n: string;
|
|
23
|
+
na: string;
|
|
24
|
+
r: string;
|
|
25
|
+
d: string;
|
|
26
|
+
nm: string;
|
|
27
|
+
nl: string;
|
|
28
|
+
sp: string;
|
|
29
|
+
};
|
|
30
|
+
static operatorjson: stringToNum;
|
|
31
|
+
static trim(str: string): string;
|
|
32
|
+
static functionCopy(txt: string, mode: string, step: number): string;
|
|
33
|
+
static downparam(txt: string, step: number): string;
|
|
34
|
+
static upparam(txt: string, step: number): string;
|
|
35
|
+
static leftparam(txt: string, step: number): string;
|
|
36
|
+
static rightparam(txt: string, step: number): string;
|
|
37
|
+
static updateparam(orient: string, txt: string, step: number): string;
|
|
38
|
+
static iscelldata(txt: string): boolean;
|
|
39
|
+
static isfreezonFuc(txt: string): boolean[];
|
|
40
|
+
}
|
|
41
|
+
export declare function isChinese(temp: string): boolean;
|
|
42
|
+
export declare function isJapanese(temp: string): boolean;
|
|
43
|
+
export declare function isKoera(chr: any): boolean;
|
|
44
|
+
export declare function isContainMultiType(str: string): boolean;
|
|
45
|
+
export declare function getMultiSequenceToNum(sqref: string): string[];
|
|
46
|
+
export declare function getRegionSequence(arr: string[]): string[];
|
|
47
|
+
export declare function getSqrefRawArrFormat(arr: string[]): string[];
|
|
48
|
+
export declare function getSingleSequenceToNum(sqref: string): string;
|
|
49
|
+
export declare function getTransR1C1ToSequence(value: string): string;
|
|
50
|
+
export declare function getPeelOffX14(value: string): {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
export declare function getMultiFormulaValue(value: string): string[];
|
|
54
|
+
export declare const setMerge: (luckyMerge: {} | undefined, worksheet: ExcelJS.Worksheet) => void;
|
|
55
|
+
export declare const getObjType: (obj: Object) => string;
|
|
56
|
+
export declare function rgb2hex(color: string): string;
|
package/dist/index.d.ts
ADDED