@sheetxl/sdk 0.6.16 → 0.6.18
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/browser/cjs/{DjmtCi-hr6IRzsjv.cjs → B0zohbxoMFX_YyxY.cjs} +1 -1
- package/browser/cjs/BZT_rYid0KGk6sZI.cjs +54 -0
- package/browser/cjs/{BoWPwuGQGZ9LeAwf.cjs → BcL0Co5Do0G0Rj5q.cjs} +1 -1
- package/browser/cjs/{DwQjplri0TLmw6Dr.cjs → BrglwewnyDRuLNWu.cjs} +1 -1
- package/browser/cjs/{PxEF95ZwIuQT4wGv.cjs → C14oRLcJ8yOb9CWe.cjs} +1 -1
- package/browser/cjs/{C0A1ZSbqhJpcZBXL.cjs → CLBDa9p40Rz5OGjx.cjs} +1 -1
- package/browser/cjs/{eN9d-xodim4o2fVd.cjs → CQieV6dfbzhE2w7T.cjs} +1 -1
- package/browser/cjs/{Cv6raToEFuWdFg1l.cjs → CQvAuEtmtwQxq-I1.cjs} +1 -1
- package/browser/cjs/{C8JMdl2QLUqigZSp.cjs → CgdCEbzcF7rIXt8W.cjs} +1 -1
- package/browser/cjs/{_lYekKV2drbqLkab.cjs → Ckf0d3wir_sWEI3T.cjs} +1 -1
- package/browser/cjs/{pIJzNhe-hEXBTLKA.cjs → D6_FJSzGbDbkYdyY.cjs} +1 -1
- package/browser/cjs/{GFeCgzGuw5cNzIuz.cjs → DNX1XrhRaOAey1_z.cjs} +1 -1
- package/browser/cjs/{kFY5EKAHOvJcdTHU.cjs → DNusCtUnYhRhmQL0.cjs} +1 -1
- package/browser/cjs/{D3PLUvJebJwixno3.cjs → DONdvNCr8LuMIIS7.cjs} +1 -1
- package/browser/cjs/{DtX35zG23d6nmxHr.cjs → DQl3xEXMQLpJnYPV.cjs} +1 -1
- package/browser/cjs/{Cz3DPikv1uHxmHQO.cjs → DRzdCOrAOTMPb1ss.cjs} +1 -1
- package/browser/cjs/{C2INdehyVPgz1Jzb.cjs → DogX-tehVlVU2SW9.cjs} +3 -3
- package/browser/cjs/{BmCsHRYZD4YndYs4.cjs → DsmkViXfzL4G6X6W.cjs} +1 -1
- package/browser/cjs/{k-_Yko2e0fYeYSMz.cjs → FZmhteeUwe0eSNtL.cjs} +2 -2
- package/browser/cjs/{U1dm1Xm2kdqUeD6H.cjs → ReNBPGr_5_vvZUCh.cjs} +1 -1
- package/browser/cjs/{DQ_XM6muCimf60e7.cjs → VfcBbuxKX8ZadDv9.cjs} +1 -1
- package/browser/cjs/{XwMJLG3fnrWb7Kry.cjs → XUcgaBiwOYwhUqws.cjs} +1 -1
- package/browser/cjs/{CDTddlrrNAPAzT-b.cjs → euQrUNlCF6FVGuYC.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Cr8vGsKEARWkuGbH.cjs → qqAOZx9mCg-TnSrl.cjs} +1 -1
- package/browser/cjs/{Pld4bpB-RO-4zCrM.cjs → s2MQ3DsuTavQ9dN-.cjs} +2 -2
- package/browser/cjs/{DWgPdK1bXl_mpisL.cjs → vcpWwpZjtrXPzI50.cjs} +1 -1
- package/browser/cjs/{Chn_rXue5ZRT7QzO.cjs → xxCGv_gVXM4DTEoK.cjs} +1 -1
- package/browser/esm/{DMcVQ-BL4bA_OnOG.mjs → -DwlZg9-ZTkwvPlZ.mjs} +1 -1
- package/browser/esm/{CwlYf8-SIFOPR2bo.mjs → B4RYxdPPBEHNCkI3.mjs} +1 -1
- package/browser/esm/{CvL_oKmyxaK1QYqk.mjs → B5eOPZ5RRHL262ea.mjs} +1 -1
- package/browser/esm/{B29IdOudbMkKhUWx.mjs → B8lkad2rSCLUdG9n.mjs} +1 -1
- package/browser/esm/{DxkU0bhpXyM3VNYS.mjs → BCOF7PqfsSRVZVul.mjs} +1 -1
- package/browser/esm/{CEMahAUp4yeaRZyO.mjs → BDNcayNfFPm-8zAk.mjs} +1 -1
- package/{node/esm/COVt6Go-h1KJ_SYL.mjs → browser/esm/BQ3vUttTMZM0L93K.mjs} +1 -1
- package/{node/esm/CaJltcT8q2Qt4tOb.mjs → browser/esm/BQlpN8RH7fYEKRtT.mjs} +1 -1
- package/browser/esm/{rG8mrr2nckUu5hbw.mjs → BUAJHem9junUyoVX.mjs} +3 -3
- package/{node/esm/NussRz_Lfu19nTDO.mjs → browser/esm/BUi_q1ySFjLbihcH.mjs} +1 -1
- package/{node/esm/Cu9gRGU_8MCajq2K.mjs → browser/esm/BVKxfHTrt_Mr9LKV.mjs} +1 -1
- package/browser/esm/{DssDWFBai4LRnGyo.mjs → BXb3b0oo2bfzftCe.mjs} +1 -1
- package/browser/esm/{iMtWYxITH-mK8yV4.mjs → B_vPhfIkq3qtt3K4.mjs} +1 -1
- package/browser/esm/{qYVVqNYgMTjgxSFA.mjs → BgeQl8RviunaaWGM.mjs} +2 -2
- package/browser/esm/{CMtecoWQQB5QJglr.mjs → BjVsHHeGEOCJ5hVk.mjs} +2 -2
- package/{node/esm/ktpMAehXfPbHpZxp.mjs → browser/esm/Bl4x8NGhwNSCEvq9.mjs} +1 -1
- package/browser/esm/{DpNBrNeVIhiQtG7J.mjs → Bo4HpDJSEwBn0sv4.mjs} +1 -1
- package/browser/esm/{BXhWgBqyW7vVSwCE.mjs → C0FiKljzxZosroIB.mjs} +1 -1
- package/browser/esm/{BhlYeywnKEKSsVBp.mjs → CNxnsGNSSTehLI1r.mjs} +1 -1
- package/{node/esm/DdQcQ9S4ZGjE5io0.mjs → browser/esm/Ccv_vRwixLeC7RdZ.mjs} +1 -1
- package/browser/esm/{DXM-_v3PvFbM2njM.mjs → CkGWLqyLTaWRjjk9.mjs} +1 -1
- package/{node/esm/DXsvBOTVsF5m0ROF.mjs → browser/esm/DHPwiZkatoCILg96.mjs} +1 -1
- package/browser/esm/DHc-VtJT0L6s243f.mjs +23325 -0
- package/browser/esm/{CoqdATBvO4OVNwUE.mjs → DXLxPBEhgfxqn6N4.mjs} +1 -1
- package/browser/esm/{D6BieKg9I2zdEnme.mjs → Dq8N-lIPRFwDnnUA.mjs} +1 -1
- package/{node/esm/Ce3zqAUmE9OyqGvt.mjs → browser/esm/DqBNVvFKQxSMwMNs.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/{node/esm/DL8H1TIz4eYTJlVj.mjs → browser/esm/lz0-1WdmlC0gLtak.mjs} +1 -1
- package/node/esm/{DMcVQ-BL4bA_OnOG.mjs → -DwlZg9-ZTkwvPlZ.mjs} +1 -1
- package/node/esm/{DjzRVBemDPA3DN_8.mjs → 2H0pff69AyPZGpAO.mjs} +1 -1
- package/node/esm/{BqqNCz_koCAYJ3Kx.mjs → B0VjzdpK5PQFtjEP.mjs} +1 -1
- package/node/esm/{CvL_oKmyxaK1QYqk.mjs → B5eOPZ5RRHL262ea.mjs} +1 -1
- package/node/esm/{B29IdOudbMkKhUWx.mjs → B8lkad2rSCLUdG9n.mjs} +1 -1
- package/node/esm/{CEMahAUp4yeaRZyO.mjs → BDNcayNfFPm-8zAk.mjs} +1 -1
- package/{browser/esm/COVt6Go-h1KJ_SYL.mjs → node/esm/BQ3vUttTMZM0L93K.mjs} +1 -1
- package/{browser/esm/CaJltcT8q2Qt4tOb.mjs → node/esm/BQlpN8RH7fYEKRtT.mjs} +1 -1
- package/node/esm/{PWC-IfMc5cNOks4D.mjs → BSfu58pAZZDNQg3w.mjs} +2 -2
- package/{browser/esm/NussRz_Lfu19nTDO.mjs → node/esm/BUi_q1ySFjLbihcH.mjs} +1 -1
- package/{browser/esm/Cu9gRGU_8MCajq2K.mjs → node/esm/BVKxfHTrt_Mr9LKV.mjs} +1 -1
- package/node/esm/{iMtWYxITH-mK8yV4.mjs → B_vPhfIkq3qtt3K4.mjs} +1 -1
- package/node/esm/{Dxs2OFUMD57Oo_AB.mjs → Bfex2e2cpTMCbUdz.mjs} +1 -1
- package/{browser/esm/ktpMAehXfPbHpZxp.mjs → node/esm/Bl4x8NGhwNSCEvq9.mjs} +1 -1
- package/node/esm/{DpNBrNeVIhiQtG7J.mjs → Bo4HpDJSEwBn0sv4.mjs} +1 -1
- package/node/esm/{C61hKIygirc2mSxV.mjs → C7TE2FuzcKezSHTI.mjs} +1 -1
- package/node/esm/{CLXpyIa1G-kRzIzH.mjs → CQpuLeCV2YlYuGV5.mjs} +1 -1
- package/{browser/esm/DdQcQ9S4ZGjE5io0.mjs → node/esm/Ccv_vRwixLeC7RdZ.mjs} +1 -1
- package/node/esm/{BoURPosx6Uvnr7bI.mjs → Ck8VpGt0yQVrOQNB.mjs} +1 -1
- package/node/esm/{DXM-_v3PvFbM2njM.mjs → CkGWLqyLTaWRjjk9.mjs} +1 -1
- package/{browser/esm/DXsvBOTVsF5m0ROF.mjs → node/esm/DHPwiZkatoCILg96.mjs} +1 -1
- package/node/esm/{0VNBUAjGhg3IHPRC.mjs → DRMIiCGl6hiPlgJc.mjs} +1 -1
- package/{browser/esm/Ce3zqAUmE9OyqGvt.mjs → node/esm/DqBNVvFKQxSMwMNs.mjs} +1 -1
- package/node/esm/{Bj_liro3wEoofx_s.mjs → L2939vUK7F6NFIof.mjs} +1 -1
- package/node/esm/index.mjs +3203 -3109
- package/{browser/esm/DL8H1TIz4eYTJlVj.mjs → node/esm/lz0-1WdmlC0gLtak.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +245 -32
- package/types/scripting.d.ts +337 -53
- package/browser/cjs/CtMEtiTTRRZpP_y5.cjs +0 -54
- package/browser/esm/BadKxl9yXM8LRAt0.mjs +0 -23197
package/types/scripting.d.ts
CHANGED
|
@@ -2901,6 +2901,7 @@ declare module "fill/IFill" {
|
|
|
2901
2901
|
import type { Properties as CSSProperties } from 'csstype';
|
|
2902
2902
|
import type { Rectangle, Bounds } from '@sheetxl/utils';
|
|
2903
2903
|
import { IColor } from "color/index";
|
|
2904
|
+
import { IStyle } from "style/index";
|
|
2904
2905
|
/**
|
|
2905
2906
|
* Defines how an area or shape is filled with color or a pattern.
|
|
2906
2907
|
*/
|
|
@@ -3141,6 +3142,14 @@ declare module "fill/IFill" {
|
|
|
3141
3142
|
*/
|
|
3142
3143
|
type: IFill.Type;
|
|
3143
3144
|
}
|
|
3145
|
+
/**
|
|
3146
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
3147
|
+
*/
|
|
3148
|
+
type Modifiers = Partial<IFill.Properties>;
|
|
3149
|
+
/**
|
|
3150
|
+
* Options for updating a fill.
|
|
3151
|
+
*/
|
|
3152
|
+
type Update = IFill | Modifiers | string | null;
|
|
3144
3153
|
/**
|
|
3145
3154
|
* A JSON representation useful for persistence.
|
|
3146
3155
|
*/
|
|
@@ -3177,6 +3186,12 @@ declare module "fill/IFill" {
|
|
|
3177
3186
|
* Returns the color of the fill.
|
|
3178
3187
|
*/
|
|
3179
3188
|
getColor(): IColor;
|
|
3189
|
+
/**
|
|
3190
|
+
* Sets the stroke color.
|
|
3191
|
+
*
|
|
3192
|
+
* @param color The stroke color.
|
|
3193
|
+
*/
|
|
3194
|
+
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.ISolid;
|
|
3180
3195
|
}
|
|
3181
3196
|
interface SolidProperties<C = IColor.Serializable> extends IFill.Properties {
|
|
3182
3197
|
/**
|
|
@@ -3302,19 +3317,46 @@ declare module "fill/IFill" {
|
|
|
3302
3317
|
* * This must be at least two stops.
|
|
3303
3318
|
*/
|
|
3304
3319
|
getStops(): IGradientStop[];
|
|
3320
|
+
/**
|
|
3321
|
+
* Sets the gradient stops.
|
|
3322
|
+
*
|
|
3323
|
+
* @param stops The gradient stops.
|
|
3324
|
+
*/
|
|
3325
|
+
setStops(stops: (IGradientStop | IColor.Serializable | null)[], options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
3305
3326
|
/**
|
|
3306
3327
|
* The type of gradient.
|
|
3307
3328
|
* @defaultValue GradientType.Linear
|
|
3308
3329
|
*/
|
|
3309
3330
|
getGradientType(): IFill.GradientType;
|
|
3331
|
+
/**
|
|
3332
|
+
* Sets the gradient type.
|
|
3333
|
+
*
|
|
3334
|
+
* @param type The gradient type.
|
|
3335
|
+
*/
|
|
3336
|
+
setGradientType(type: IFill.GradientType | null, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
3310
3337
|
/**
|
|
3311
3338
|
* The angle of the gradient in degrees if gradient type is linear.
|
|
3312
3339
|
*/
|
|
3313
3340
|
getAngle(): number;
|
|
3341
|
+
/**
|
|
3342
|
+
* Sets the rotation
|
|
3343
|
+
*
|
|
3344
|
+
* @param angle The angle
|
|
3345
|
+
*/
|
|
3346
|
+
setAngle(angle: number | null, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
3314
3347
|
/**
|
|
3315
3348
|
* Used for path and circular gradients.
|
|
3316
3349
|
*/
|
|
3317
3350
|
getFillTo(): Rectangle;
|
|
3351
|
+
/**
|
|
3352
|
+
* Sets the fill area for the gradient.
|
|
3353
|
+
*
|
|
3354
|
+
* @param fillTo The fill area.
|
|
3355
|
+
*/
|
|
3356
|
+
setFillTo(fillTo: Rectangle | null, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
3357
|
+
/**
|
|
3358
|
+
* Converts the gradient fill to a JSON representation.
|
|
3359
|
+
*/
|
|
3318
3360
|
toJSON(): GradientJSON;
|
|
3319
3361
|
}
|
|
3320
3362
|
interface GradientJSON extends GradientProperties<string> {
|
|
@@ -3331,14 +3373,35 @@ declare module "fill/IFill" {
|
|
|
3331
3373
|
* The foreground color for the pattern.
|
|
3332
3374
|
*/
|
|
3333
3375
|
getForeground(): IColor;
|
|
3376
|
+
/**
|
|
3377
|
+
* Sets the foreground color.
|
|
3378
|
+
*
|
|
3379
|
+
* @param color The foreground color.
|
|
3380
|
+
*/
|
|
3381
|
+
setForeground(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
3334
3382
|
/**
|
|
3335
3383
|
* The background color for the pattern.
|
|
3336
3384
|
*/
|
|
3337
3385
|
getBackground(): IColor;
|
|
3386
|
+
/**
|
|
3387
|
+
* Sets the background color.
|
|
3388
|
+
*
|
|
3389
|
+
* @param color The background color.
|
|
3390
|
+
*/
|
|
3391
|
+
setBackground(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
3338
3392
|
/**
|
|
3339
3393
|
* The type of pattern used.
|
|
3340
3394
|
*/
|
|
3341
3395
|
getPatternType(): IFill.BuiltInSheetPattern;
|
|
3396
|
+
/**
|
|
3397
|
+
* Sets the pattern type.
|
|
3398
|
+
*
|
|
3399
|
+
* @param type The pattern type.
|
|
3400
|
+
*/
|
|
3401
|
+
setPatternType(type: IFill.BuiltInSheetPattern | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
3402
|
+
/**
|
|
3403
|
+
* Converts the pattern fill to a JSON representation.
|
|
3404
|
+
*/
|
|
3342
3405
|
toJSON(): PatternJSON;
|
|
3343
3406
|
}
|
|
3344
3407
|
interface PatternProperties<C = IColor.Serializable> extends IFill.Properties {
|
|
@@ -3583,6 +3646,7 @@ declare module "text/Bullet" {
|
|
|
3583
3646
|
}
|
|
3584
3647
|
declare module "text/TextBoxAlignment" {
|
|
3585
3648
|
import { ITextFrame } from "text/ITextFrame";
|
|
3649
|
+
import { IStyle } from "style/index";
|
|
3586
3650
|
/**
|
|
3587
3651
|
* Provided options for aligned text within a bounding box.
|
|
3588
3652
|
*/
|
|
@@ -3591,10 +3655,22 @@ declare module "text/TextBoxAlignment" {
|
|
|
3591
3655
|
* Types of horizontal alignment.
|
|
3592
3656
|
*/
|
|
3593
3657
|
getHorizontal(): ITextFrame.HorizontalAlignment;
|
|
3658
|
+
/**
|
|
3659
|
+
* Sets the horizontal alignment
|
|
3660
|
+
*
|
|
3661
|
+
* @param horizontal The horizontal alignment
|
|
3662
|
+
*/
|
|
3663
|
+
setHorizontal(horizontal: ITextFrame.HorizontalAlignment | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3594
3664
|
/**
|
|
3595
3665
|
* Types of horizontal alignment.
|
|
3596
3666
|
*/
|
|
3597
3667
|
getVertical(): ITextFrame.VerticalAlignment;
|
|
3668
|
+
/**
|
|
3669
|
+
* Sets the vertical alignment
|
|
3670
|
+
*
|
|
3671
|
+
* @param vertical The vertical alignment
|
|
3672
|
+
*/
|
|
3673
|
+
setVertical(vertical: ITextFrame.VerticalAlignment | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3598
3674
|
/**
|
|
3599
3675
|
* An integer value, where an increment of 1 represents 3 spaces.
|
|
3600
3676
|
* Indicates the number of spaces (of the normal style font) of indentation for text in a cell.
|
|
@@ -3603,34 +3679,76 @@ declare module "text/TextBoxAlignment" {
|
|
|
3603
3679
|
* This is only applied for alignments: left, right, and distributed.
|
|
3604
3680
|
*/
|
|
3605
3681
|
getIndent(): number;
|
|
3682
|
+
/**
|
|
3683
|
+
* Sets the indentation
|
|
3684
|
+
*
|
|
3685
|
+
* @param indent The indentation
|
|
3686
|
+
*/
|
|
3687
|
+
setIndent(indent: number | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3606
3688
|
/**
|
|
3607
3689
|
* Indicates additional number of spaces of indentation to adjust for text in a cell.
|
|
3608
3690
|
*/
|
|
3609
3691
|
getRelativeIndent(): number;
|
|
3692
|
+
/**
|
|
3693
|
+
* Sets the relative indentation
|
|
3694
|
+
*
|
|
3695
|
+
* @param relativeIndent The relative indentation
|
|
3696
|
+
*/
|
|
3697
|
+
setRelativeIndent(relativeIndent: number | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3610
3698
|
/**
|
|
3611
3699
|
* The behavior for text that does not fit with the cell bounds.
|
|
3612
3700
|
* @see
|
|
3613
3701
|
* {@link ITextFrame.Overflow}
|
|
3614
3702
|
*/
|
|
3615
3703
|
getOverflow(): ITextFrame.Overflow;
|
|
3704
|
+
/**
|
|
3705
|
+
* Sets the overflow behavior
|
|
3706
|
+
*
|
|
3707
|
+
* @param overflow The overflow behavior
|
|
3708
|
+
*/
|
|
3709
|
+
setOverflow(overflow: ITextFrame.Overflow | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3616
3710
|
/**
|
|
3617
3711
|
* Rotation of the text.
|
|
3618
3712
|
* @defaultValue 0
|
|
3619
3713
|
*/
|
|
3620
3714
|
getRotation(): number;
|
|
3715
|
+
/**
|
|
3716
|
+
* Sets the rotation
|
|
3717
|
+
*
|
|
3718
|
+
* @param rotation The rotation
|
|
3719
|
+
*/
|
|
3720
|
+
setRotation(rotation: number | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3621
3721
|
/**
|
|
3622
3722
|
* If the text should stack vertically instead of horizontally.
|
|
3623
3723
|
*/
|
|
3624
3724
|
getStacked(): boolean;
|
|
3725
|
+
/**
|
|
3726
|
+
* Sets the stacked
|
|
3727
|
+
*
|
|
3728
|
+
* @param stacked The stacked
|
|
3729
|
+
*/
|
|
3730
|
+
setStacked(stacked: boolean | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3625
3731
|
/**
|
|
3626
3732
|
* If the cells justified or distributed alignment should be used on the last line of text.
|
|
3627
3733
|
* (This is typical for East Asian alignments but not typical in other contexts.)
|
|
3628
3734
|
*/
|
|
3629
3735
|
getJustifyLastLine(): boolean;
|
|
3736
|
+
/**
|
|
3737
|
+
* Sets the justified last line
|
|
3738
|
+
*
|
|
3739
|
+
* @param justifyLastLine The justified last line
|
|
3740
|
+
*/
|
|
3741
|
+
setJustifyLastLine(justifyLastLine: boolean | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3630
3742
|
/**
|
|
3631
3743
|
* The direction the cell is being read.
|
|
3632
3744
|
*/
|
|
3633
3745
|
getReadingDirection(): ITextFrame.ReadingDirection;
|
|
3746
|
+
/**
|
|
3747
|
+
* Sets the reading direction
|
|
3748
|
+
*
|
|
3749
|
+
* @param readingDirection The reading direction
|
|
3750
|
+
*/
|
|
3751
|
+
setReadingDirection(readingDirection: ITextFrame.ReadingDirection | null, options?: IStyle.UpdateOptions): ITextBoxAlignment;
|
|
3634
3752
|
toJSON(): ITextBoxAlignment.JSON;
|
|
3635
3753
|
/**
|
|
3636
3754
|
* For runtime type checking.
|
|
@@ -3733,6 +3851,14 @@ declare module "text/ITextFrame" {
|
|
|
3733
3851
|
type Properties = _IAlignment.Properties;
|
|
3734
3852
|
type JSON = _IAlignment.JSON;
|
|
3735
3853
|
}
|
|
3854
|
+
/**
|
|
3855
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
3856
|
+
*/
|
|
3857
|
+
type Modifiers = Partial<IAlignment.Properties>;
|
|
3858
|
+
/**
|
|
3859
|
+
* Options for updating an IAlignment.
|
|
3860
|
+
*/
|
|
3861
|
+
type Update = IAlignment | Modifiers | string | null;
|
|
3736
3862
|
type IAlignment = _IAlignment;
|
|
3737
3863
|
/**
|
|
3738
3864
|
* Represents a tab stop within a text frame or paragraph.
|
|
@@ -4503,6 +4629,7 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4503
4629
|
import { Properties as CSSProperties } from 'csstype';
|
|
4504
4630
|
import { IColor } from "color/index";
|
|
4505
4631
|
import { IFont } from "font/index";
|
|
4632
|
+
import { IStyle } from "style/index";
|
|
4506
4633
|
/**
|
|
4507
4634
|
* Represents a font with styling color.
|
|
4508
4635
|
*/
|
|
@@ -4512,23 +4639,43 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4512
4639
|
* marshalled into their correct property.
|
|
4513
4640
|
*/
|
|
4514
4641
|
getFamily(): string;
|
|
4642
|
+
/**
|
|
4643
|
+
* @see {@link IStyledFont.getFamily}
|
|
4644
|
+
*/
|
|
4645
|
+
setFamily(family: string | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4515
4646
|
/**
|
|
4516
4647
|
* A list of fonts and their fallbacks. These can also be provided in the fontFamily attribute but will
|
|
4517
4648
|
* be normalized to here.
|
|
4518
4649
|
*/
|
|
4519
4650
|
getFallbacks(): string[];
|
|
4651
|
+
/**
|
|
4652
|
+
* @see {@link IStyledFont.setFallbacks}
|
|
4653
|
+
*/
|
|
4654
|
+
setFallbacks(fallbacks: string[] | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4520
4655
|
/**
|
|
4521
4656
|
* Font size is either a number in points or a string that can be converted such as '14px', '1.5em'.
|
|
4522
4657
|
*/
|
|
4523
4658
|
getSize(): number;
|
|
4659
|
+
/**
|
|
4660
|
+
* @see {@link IStyledFont.setSize}
|
|
4661
|
+
*/
|
|
4662
|
+
setSize(size: number | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4524
4663
|
/**
|
|
4525
4664
|
* The weight of the characters.
|
|
4526
4665
|
*/
|
|
4527
4666
|
getWeight(): number;
|
|
4667
|
+
/**
|
|
4668
|
+
* @see {@link IStyledFont.setWeight}
|
|
4669
|
+
*/
|
|
4670
|
+
setWeight(weight: number | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4528
4671
|
/**
|
|
4529
4672
|
* @default `IFont.Style.Normal`
|
|
4530
4673
|
*/
|
|
4531
4674
|
getStyle(): IFont.Style;
|
|
4675
|
+
/**
|
|
4676
|
+
* @see {@link IStyledFont.setStyle}
|
|
4677
|
+
*/
|
|
4678
|
+
setStyle(style: IFont.Style | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4532
4679
|
/**
|
|
4533
4680
|
* The text color.
|
|
4534
4681
|
*
|
|
@@ -4536,25 +4683,45 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4536
4683
|
* Currently only solid fill is supported but this will be expanded to allow all fill types similar to DrawML.
|
|
4537
4684
|
*/
|
|
4538
4685
|
getFill(): IColor;
|
|
4686
|
+
/**
|
|
4687
|
+
* @see {@link IStyledFont.setFill}
|
|
4688
|
+
*/
|
|
4689
|
+
setFill(fill: IColor | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4539
4690
|
/**
|
|
4540
4691
|
* Adds or removes additional spacing between the characters.
|
|
4541
4692
|
*/
|
|
4542
4693
|
getLetterSpacing(): number;
|
|
4694
|
+
/**
|
|
4695
|
+
* @see {@link IStyledFont.setLetterSpacing}
|
|
4696
|
+
*/
|
|
4697
|
+
setLetterSpacing(letterSpacing: number | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4543
4698
|
/**
|
|
4544
4699
|
* Sets the underline style. If true defaults to single. If false or null defaults to none.
|
|
4545
4700
|
*
|
|
4546
4701
|
* @default `IFont.UnderlineStyle.None`
|
|
4547
4702
|
*/
|
|
4548
4703
|
getUnderline(): IFont.UnderlineStyle;
|
|
4704
|
+
/**
|
|
4705
|
+
* @see {@link IStyledFont.setUnderline}
|
|
4706
|
+
*/
|
|
4707
|
+
setUnderline(underline: IFont.UnderlineStyle | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4549
4708
|
/**
|
|
4550
4709
|
* The effect draws the text with a line through it.
|
|
4551
4710
|
*/
|
|
4552
4711
|
getStrike(): boolean;
|
|
4712
|
+
/**
|
|
4713
|
+
* @see {@link IStyledFont.setStrike}
|
|
4714
|
+
*/
|
|
4715
|
+
setStrike(strike: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4553
4716
|
/**
|
|
4554
4717
|
* Defines the font scheme to use.
|
|
4555
4718
|
* @default `IFont.Scheme.Minor`
|
|
4556
4719
|
*/
|
|
4557
4720
|
getScheme(): IFont.Scheme;
|
|
4721
|
+
/**
|
|
4722
|
+
* @see {@link IStyledFont.setScheme}
|
|
4723
|
+
*/
|
|
4724
|
+
setScheme(scheme: IFont.Scheme | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4558
4725
|
/**
|
|
4559
4726
|
* Returns the vertical alignment of the text within a text line.
|
|
4560
4727
|
*
|
|
@@ -4562,6 +4729,10 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4562
4729
|
* If the IFont.VerticalAlignment is superscript or subscript then the font size should also render smaller.
|
|
4563
4730
|
*/
|
|
4564
4731
|
getVerticalAlignment(): IFont.VerticalAlignment;
|
|
4732
|
+
/**
|
|
4733
|
+
* @see {@link IStyledFont.setVerticalAlignment}
|
|
4734
|
+
*/
|
|
4735
|
+
setVerticalAlignment(verticalAlignment: IFont.VerticalAlignment | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4565
4736
|
/**
|
|
4566
4737
|
* The effect draws a shadow around the text.
|
|
4567
4738
|
*
|
|
@@ -4569,6 +4740,10 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4569
4740
|
* Not rendered by Excel or SheetXL.
|
|
4570
4741
|
*/
|
|
4571
4742
|
getShadow(): boolean;
|
|
4743
|
+
/**
|
|
4744
|
+
* @see {@link IStyledFont.setShadow}
|
|
4745
|
+
*/
|
|
4746
|
+
setShadow(shadow: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4572
4747
|
/**
|
|
4573
4748
|
* The effect draws the text as an outline.
|
|
4574
4749
|
*
|
|
@@ -4576,6 +4751,10 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4576
4751
|
* Not rendered by Excel or SheetXL.
|
|
4577
4752
|
*/
|
|
4578
4753
|
getOutline(): boolean;
|
|
4754
|
+
/**
|
|
4755
|
+
* @see {@link IStyledFont.setOutline}
|
|
4756
|
+
*/
|
|
4757
|
+
setOutline(outline: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4579
4758
|
/**
|
|
4580
4759
|
* The effect extends or stretches out the text.
|
|
4581
4760
|
*
|
|
@@ -4583,6 +4762,10 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4583
4762
|
* Not rendered by Excel or SheetXL.
|
|
4584
4763
|
*/
|
|
4585
4764
|
getExtend(): boolean;
|
|
4765
|
+
/**
|
|
4766
|
+
* @see {@link IStyledFont.setExtend}
|
|
4767
|
+
*/
|
|
4768
|
+
setExtend(extend: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
4586
4769
|
/**
|
|
4587
4770
|
* Returns `true` if the font is either a superscript or a subscript.
|
|
4588
4771
|
*/
|
|
@@ -4647,6 +4830,14 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4647
4830
|
outline?: boolean;
|
|
4648
4831
|
extend?: boolean;
|
|
4649
4832
|
}
|
|
4833
|
+
/**
|
|
4834
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
4835
|
+
*/
|
|
4836
|
+
type Modifiers<C = IColor.Serializable> = Partial<IStyledFont.Properties<C>>;
|
|
4837
|
+
/**
|
|
4838
|
+
* Options for updating a font.
|
|
4839
|
+
*/
|
|
4840
|
+
type Update<C = IColor.Serializable> = IStyledFont | Modifiers<C> | string | null;
|
|
4650
4841
|
interface JSON extends Properties<string> {
|
|
4651
4842
|
}
|
|
4652
4843
|
}
|
|
@@ -4889,7 +5080,19 @@ declare module "border/IBorder" {
|
|
|
4889
5080
|
}
|
|
4890
5081
|
interface IStroke {
|
|
4891
5082
|
getStyle(): StrokeStyle;
|
|
5083
|
+
/**
|
|
5084
|
+
* Sets the stroke style.
|
|
5085
|
+
*
|
|
5086
|
+
* @param style The stroke style.
|
|
5087
|
+
*/
|
|
5088
|
+
setStyle(style: IBorder.StrokeStyle | string | null, options?: IStyle.UpdateOptions): IBorder.IStroke;
|
|
4892
5089
|
getColor(): IColor;
|
|
5090
|
+
/**
|
|
5091
|
+
* Sets the stroke color.
|
|
5092
|
+
*
|
|
5093
|
+
* @param color The stroke color.
|
|
5094
|
+
*/
|
|
5095
|
+
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IBorder.IStroke;
|
|
4893
5096
|
/**
|
|
4894
5097
|
* Returns all the set properties and their values for the border.
|
|
4895
5098
|
*/
|
|
@@ -4922,6 +5125,10 @@ declare module "border/IBorder" {
|
|
|
4922
5125
|
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
4923
5126
|
*/
|
|
4924
5127
|
type Modifiers = Partial<IBorder.Properties>;
|
|
5128
|
+
/**
|
|
5129
|
+
* Options for updating a border.
|
|
5130
|
+
*/
|
|
5131
|
+
type Update = IBorder | Modifiers | string | null;
|
|
4925
5132
|
/**
|
|
4926
5133
|
* JSON representation of a border.
|
|
4927
5134
|
*/
|
|
@@ -4942,7 +5149,7 @@ declare module "border/IBorder" {
|
|
|
4942
5149
|
*
|
|
4943
5150
|
* @param edge The border edge.
|
|
4944
5151
|
*/
|
|
4945
|
-
setLeft(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
5152
|
+
setLeft(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
4946
5153
|
/**
|
|
4947
5154
|
* @returns The top border.
|
|
4948
5155
|
*/
|
|
@@ -4952,17 +5159,17 @@ declare module "border/IBorder" {
|
|
|
4952
5159
|
*
|
|
4953
5160
|
* @param edge The border edge.
|
|
4954
5161
|
*/
|
|
4955
|
-
setTop(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
5162
|
+
setTop(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
4956
5163
|
/**
|
|
4957
5164
|
* @returns The right border.
|
|
4958
5165
|
*/
|
|
4959
5166
|
getRight(): IBorder.IStroke;
|
|
4960
5167
|
/**
|
|
4961
|
-
* Sets the
|
|
5168
|
+
* Sets the right border.
|
|
4962
5169
|
*
|
|
4963
5170
|
* @param edge The border edge.
|
|
4964
5171
|
*/
|
|
4965
|
-
|
|
5172
|
+
setRight(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
4966
5173
|
/**
|
|
4967
5174
|
* @returns The bottom border.
|
|
4968
5175
|
*/
|
|
@@ -4972,7 +5179,7 @@ declare module "border/IBorder" {
|
|
|
4972
5179
|
*
|
|
4973
5180
|
* @param edge The border edge.
|
|
4974
5181
|
*/
|
|
4975
|
-
setBottom(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
5182
|
+
setBottom(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
4976
5183
|
/**
|
|
4977
5184
|
* @returns The diagonalUp border.
|
|
4978
5185
|
*/
|
|
@@ -4982,7 +5189,7 @@ declare module "border/IBorder" {
|
|
|
4982
5189
|
*
|
|
4983
5190
|
* @param edge The border edge.
|
|
4984
5191
|
*/
|
|
4985
|
-
setDiagonalUp(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
5192
|
+
setDiagonalUp(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
4986
5193
|
/**
|
|
4987
5194
|
* @returns The diagonalDown border.
|
|
4988
5195
|
*/
|
|
@@ -4992,7 +5199,7 @@ declare module "border/IBorder" {
|
|
|
4992
5199
|
*
|
|
4993
5200
|
* @param edge The border edge.
|
|
4994
5201
|
*/
|
|
4995
|
-
setDiagonalDown(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.StrokeProperties> | string | null, options?: IStyle.UpdateOptions): IBorder
|
|
5202
|
+
setDiagonalDown(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.StrokeProperties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
4996
5203
|
/**
|
|
4997
5204
|
* If there are any borders that are not none.
|
|
4998
5205
|
*/
|
|
@@ -7057,13 +7264,13 @@ declare module "style/IStyle" {
|
|
|
7057
7264
|
*
|
|
7058
7265
|
* @remarks
|
|
7059
7266
|
* * If a number provided the builtIn numFmtId as defined in OOXML will be used.
|
|
7060
|
-
*
|
|
7267
|
+
* * {@link NumberFormat.Type}
|
|
7061
7268
|
*/
|
|
7062
7269
|
getNumberFormat(): string;
|
|
7063
7270
|
/**
|
|
7064
7271
|
* @see {@link IStyle.getNumberFormat}
|
|
7065
7272
|
*/
|
|
7066
|
-
setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions):
|
|
7273
|
+
setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
7067
7274
|
/**
|
|
7068
7275
|
* A boolean value indicating whether the text string in a cell should be prefixed by a single quote mark (e.g., 'text).
|
|
7069
7276
|
* In these cases, the quote is not stored in the Shared Strings Part.
|
|
@@ -7072,7 +7279,7 @@ declare module "style/IStyle" {
|
|
|
7072
7279
|
/**
|
|
7073
7280
|
* @see {@link IStyle.getQuotePrefix}
|
|
7074
7281
|
*/
|
|
7075
|
-
setQuotePrefix(quotePrefix: boolean | null, options?: IStyle.UpdateOptions):
|
|
7282
|
+
setQuotePrefix(quotePrefix: boolean | null, options?: IStyle.UpdateOptions): IStyle;
|
|
7076
7283
|
/**
|
|
7077
7284
|
* Returns the border style.
|
|
7078
7285
|
*/
|
|
@@ -7086,7 +7293,7 @@ declare module "style/IStyle" {
|
|
|
7086
7293
|
* @param options Optional configuration for the update.
|
|
7087
7294
|
* @returns The `IBorder` object for further modifications.
|
|
7088
7295
|
*/
|
|
7089
|
-
setBorder(border: IBorder
|
|
7296
|
+
setBorder(border: IBorder.Modifiers, options?: IStyle.UpdateOptions): IStyle;
|
|
7090
7297
|
/**
|
|
7091
7298
|
* Fill properties for the background.
|
|
7092
7299
|
*/
|
|
@@ -7100,7 +7307,7 @@ declare module "style/IStyle" {
|
|
|
7100
7307
|
* @param options Optional configuration for the update.
|
|
7101
7308
|
* @returns The `IFill` object for further modifications.
|
|
7102
7309
|
*/
|
|
7103
|
-
setFill(fill: IFill
|
|
7310
|
+
setFill(fill: IFill.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7104
7311
|
/**
|
|
7105
7312
|
* Returns the alignment for the style.
|
|
7106
7313
|
*/
|
|
@@ -7114,7 +7321,7 @@ declare module "style/IStyle" {
|
|
|
7114
7321
|
* @param options Optional configuration for the update.
|
|
7115
7322
|
* @returns The `ITextFrame.IAlignment` object for further modifications.
|
|
7116
7323
|
*/
|
|
7117
|
-
setAlignment(alignment: ITextFrame.
|
|
7324
|
+
setAlignment(alignment: ITextFrame.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7118
7325
|
/**
|
|
7119
7326
|
* Returns the font for the style.
|
|
7120
7327
|
*/
|
|
@@ -7128,7 +7335,25 @@ declare module "style/IStyle" {
|
|
|
7128
7335
|
* @param options Optional configuration for the update.
|
|
7129
7336
|
* @returns The `IStyledFont` object for further modifications.
|
|
7130
7337
|
*/
|
|
7131
|
-
setFont(font: IStyledFont
|
|
7338
|
+
setFont(font: IStyledFont.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7339
|
+
/**
|
|
7340
|
+
* Returns an instance of the named style that this is derived from.
|
|
7341
|
+
*/
|
|
7342
|
+
getNamed(): IStyle.INamed;
|
|
7343
|
+
/**
|
|
7344
|
+
* Sets the named style that this is derived from.
|
|
7345
|
+
*
|
|
7346
|
+
* @param named The named style to set.
|
|
7347
|
+
*/
|
|
7348
|
+
setNamed(named: string | IStyle.INamed | null, options?: IStyle.UpdateOptions): IStyle;
|
|
7349
|
+
/**
|
|
7350
|
+
* Update many style properties at once.
|
|
7351
|
+
*
|
|
7352
|
+
* @param update {@link IStyle.Update}
|
|
7353
|
+
* @param options {@link IStyle.UpdateOptions}
|
|
7354
|
+
* @returns The `IStyle` for further modifications.
|
|
7355
|
+
*/
|
|
7356
|
+
update(update: IStyle.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7132
7357
|
/**
|
|
7133
7358
|
* Measure the text using the styling properties
|
|
7134
7359
|
*
|
|
@@ -7165,10 +7390,6 @@ declare module "style/IStyle" {
|
|
|
7165
7390
|
* @param update Adjustments to the style.
|
|
7166
7391
|
*/
|
|
7167
7392
|
createTemporaryStyle(update: IStyle.Update): IStyle;
|
|
7168
|
-
/**
|
|
7169
|
-
* Returns an instance of the named style that this is derived from.
|
|
7170
|
-
*/
|
|
7171
|
-
getNamed(): IStyle.INamed;
|
|
7172
7393
|
/**
|
|
7173
7394
|
* Returns `true` if the CellStyle is the normal style
|
|
7174
7395
|
*/
|
|
@@ -20098,8 +20319,12 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20098
20319
|
constructor(edge: IBorder.Edge, options: CreateCellStyleOptions, properties: IBorder.StrokeProperties[]);
|
|
20099
20320
|
/** {@inheritDoc IBorder.IStroke.getStyle} */
|
|
20100
20321
|
getStyle(): IBorder.StrokeStyle;
|
|
20322
|
+
/** {@inheritDoc IBorder.IStroke.setStyle} */
|
|
20323
|
+
setStyle(style: IBorder.StrokeStyle | string | null, options?: IStyle.UpdateOptions): IBorder.IStroke;
|
|
20101
20324
|
/** {@inheritDoc IBorder.IStroke.getColor} */
|
|
20102
20325
|
getColor(): IColor;
|
|
20326
|
+
/** {@inheritDoc IBorder.IStroke.setColor} */
|
|
20327
|
+
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IBorder.IStroke;
|
|
20103
20328
|
/** {@inheritDoc IBorder.IStroke.isNone} */
|
|
20104
20329
|
isNone(): boolean;
|
|
20105
20330
|
/** {@inheritDoc IBorder.IStroke.toCSS} */
|
|
@@ -20111,27 +20336,27 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20111
20336
|
/** {@inheritDoc IBorder.getLeft} */
|
|
20112
20337
|
getLeft(): IBorder.IStroke;
|
|
20113
20338
|
/** {@inheritDoc IBorder.setLeft} */
|
|
20114
|
-
setLeft(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
20339
|
+
setLeft(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20115
20340
|
/** {@inheritDoc IBorder.getRight} */
|
|
20116
20341
|
getRight(): IBorder.IStroke;
|
|
20117
20342
|
/** {@inheritDoc IBorder.setLeft} */
|
|
20118
|
-
setRight(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
20343
|
+
setRight(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20119
20344
|
/** {@inheritDoc IBorder.getTop} */
|
|
20120
20345
|
getTop(): IBorder.IStroke;
|
|
20121
20346
|
/** {@inheritDoc IBorder.setTop} */
|
|
20122
|
-
setTop(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
20347
|
+
setTop(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20123
20348
|
/** {@inheritDoc IBorder.IStroke.getBottom} */
|
|
20124
20349
|
getBottom(): IBorder.IStroke;
|
|
20125
20350
|
/** {@inheritDoc IBorder.setBottom} */
|
|
20126
|
-
setBottom(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
20351
|
+
setBottom(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20127
20352
|
/** {@inheritDoc IBorder.IStroke.getDiagonalUp} */
|
|
20128
20353
|
getDiagonalUp(): IBorder.IStroke;
|
|
20129
20354
|
/** {@inheritDoc IBorder.setDiagonalUp} */
|
|
20130
|
-
setDiagonalUp(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.
|
|
20355
|
+
setDiagonalUp(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20131
20356
|
/** {@inheritDoc IBorder.IStroke.getDiagonalDown} */
|
|
20132
20357
|
getDiagonalDown(): IBorder.IStroke;
|
|
20133
20358
|
/** {@inheritDoc IBorder.setDiagonalDown} */
|
|
20134
|
-
setDiagonalDown(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.StrokeProperties> | string | null, options?: IStyle.UpdateOptions): IBorder
|
|
20359
|
+
setDiagonalDown(edge: IBorder.IStroke | IProperties.ResolvableProperties<IBorder.StrokeProperties> | string | null, options?: IStyle.UpdateOptions): IBorder;
|
|
20135
20360
|
/** {@inheritDoc IBorder.IStroke.isEmpty} */
|
|
20136
20361
|
isEmpty(): boolean;
|
|
20137
20362
|
/** {@inheritDoc IBorder.IStroke.isIBorder} */
|
|
@@ -20142,25 +20367,45 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20142
20367
|
get isITextBoxAlignment(): true;
|
|
20143
20368
|
/** {@inheritDoc ITextBoxAlignment.getHorizontal} */
|
|
20144
20369
|
getHorizontal(): ITextFrame.HorizontalAlignment;
|
|
20370
|
+
/** {@inheritDoc ITextBoxAlignment.setHorizontal} */
|
|
20371
|
+
setHorizontal(horizontal: ITextFrame.HorizontalAlignment | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20145
20372
|
/** {@inheritDoc ITextBoxAlignment.getVertical} */
|
|
20146
20373
|
getVertical(): ITextFrame.VerticalAlignment;
|
|
20374
|
+
/** {@inheritDoc ITextBoxAlignment.setVertical} */
|
|
20375
|
+
setVertical(vertical: ITextFrame.VerticalAlignment | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20147
20376
|
/** {@inheritDoc ITextBoxAlignment.getIndent} */
|
|
20148
20377
|
getIndent(): number;
|
|
20378
|
+
/** {@inheritDoc ITextBoxAlignment.setIndent} */
|
|
20379
|
+
setIndent(indent: number | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20149
20380
|
/** {@inheritDoc ITextBoxAlignment.getRelativeIndent} */
|
|
20150
20381
|
getRelativeIndent(): number;
|
|
20382
|
+
/** {@inheritDoc ITextBoxAlignment.setRelativeIndent} */
|
|
20383
|
+
setRelativeIndent(relativeIndent: number | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20151
20384
|
/** {@inheritDoc ITextBoxAlignment.getOverflow} */
|
|
20152
20385
|
getOverflow(): ITextFrame.Overflow;
|
|
20386
|
+
/** {@inheritDoc ITextBoxAlignment.setOverflow} */
|
|
20387
|
+
setOverflow(overflow: ITextFrame.Overflow | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20153
20388
|
/** {@inheritDoc ITextBoxAlignment.getRotation} */
|
|
20154
20389
|
getRotation(): number;
|
|
20390
|
+
/** {@inheritDoc ITextBoxAlignment.setRotation} */
|
|
20391
|
+
setRotation(rotation: number | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20155
20392
|
/** {@inheritDoc ITextBoxAlignment.getStacked} */
|
|
20156
20393
|
getStacked(): boolean;
|
|
20394
|
+
/** {@inheritDoc ITextBoxAlignment.setStacked} */
|
|
20395
|
+
setStacked(stacked: boolean | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20157
20396
|
/** {@inheritDoc ITextBoxAlignment.getJustifyLastLine} */
|
|
20158
20397
|
getJustifyLastLine(): boolean;
|
|
20398
|
+
/** {@inheritDoc ITextBoxAlignment.setJustifyLastLine} */
|
|
20399
|
+
setJustifyLastLine(justifyLastLine: boolean | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20159
20400
|
/** {@inheritDoc ITextBoxAlignment.getReadingDirection} */
|
|
20160
20401
|
getReadingDirection(): ITextFrame.ReadingDirection;
|
|
20402
|
+
/** {@inheritDoc ITextBoxAlignment.setReadingDirection} */
|
|
20403
|
+
setReadingDirection(readingDirection: ITextFrame.ReadingDirection | null, options?: IStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
20161
20404
|
}
|
|
20162
20405
|
export class CellFont extends Inheritable<IStyledFont.Properties, IStyledFont.JSON> implements IStyledFont {
|
|
20163
20406
|
isEqualMeasure(other: IStyledFont): boolean;
|
|
20407
|
+
/** {@inheritDoc IStyle.toCSS} */
|
|
20408
|
+
toCSS(darkMode?: boolean, zoom?: number, excludeNormal?: boolean): CSSProperties;
|
|
20164
20409
|
/** {@inheritDoc IStyle.isSuperSub} */
|
|
20165
20410
|
isSuperSub(): boolean;
|
|
20166
20411
|
/** {@inheritDoc IStyle.isSuperSub} */
|
|
@@ -20169,36 +20414,62 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20169
20414
|
getSuperSubScale(): number;
|
|
20170
20415
|
/** {@inheritDoc IStyle.getSuperSubShift} */
|
|
20171
20416
|
getSuperSubShift(): number;
|
|
20172
|
-
/** {@inheritDoc IStyle.toCSS} */
|
|
20173
|
-
toCSS(darkMode?: boolean, zoom?: number, excludeNormal?: boolean): CSSProperties;
|
|
20174
20417
|
/** {@inheritDoc IStyle.getFamily} */
|
|
20175
20418
|
getFamily(): string;
|
|
20419
|
+
/** {@inheritDoc IStyle.setFamily} */
|
|
20420
|
+
setFamily(family: string | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20176
20421
|
/** {@inheritDoc IStyle.getFallbacks} */
|
|
20177
20422
|
getFallbacks(): string[];
|
|
20423
|
+
/** {@inheritDoc IStyle.setFamily} */
|
|
20424
|
+
setFallbacks(fallbacks: string[] | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20178
20425
|
/** {@inheritDoc IStyle.getSize} */
|
|
20179
20426
|
getSize(): number;
|
|
20427
|
+
/** {@inheritDoc IStyle.setSize} */
|
|
20428
|
+
setSize(size: number | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20180
20429
|
/** {@inheritDoc IStyle.getWeight} */
|
|
20181
20430
|
getWeight(): number;
|
|
20431
|
+
/** {@inheritDoc IStyle.setWeight} */
|
|
20432
|
+
setWeight(weight: number | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20182
20433
|
/** {@inheritDoc IStyle.getStyle} */
|
|
20183
20434
|
getStyle(): IFont.Style;
|
|
20435
|
+
/** {@inheritDoc IStyle.setStyle} */
|
|
20436
|
+
setStyle(style: IFont.Style | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20184
20437
|
/** {@inheritDoc IStyle.getFill} */
|
|
20185
20438
|
getFill(): IColor;
|
|
20439
|
+
/** {@inheritDoc IStyle.setFill} */
|
|
20440
|
+
setFill(fill: IColor | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20186
20441
|
/** {@inheritDoc IStyle.getLetterSpacing} */
|
|
20187
20442
|
getLetterSpacing(): number;
|
|
20443
|
+
/** {@inheritDoc IStyle.setLetterSpacing} */
|
|
20444
|
+
setLetterSpacing(letterSpacing: number | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20188
20445
|
/** {@inheritDoc IStyle.getUnderline} */
|
|
20189
20446
|
getUnderline(): IFont.UnderlineStyle;
|
|
20447
|
+
/** {@inheritDoc IStyle.setUnderline} */
|
|
20448
|
+
setUnderline(underline: IFont.UnderlineStyle | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20190
20449
|
/** {@inheritDoc IStyle.getStrike} */
|
|
20191
20450
|
getStrike(): boolean;
|
|
20451
|
+
/** {@inheritDoc IStyle.setStrike} */
|
|
20452
|
+
setStrike(strike: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20192
20453
|
/** {@inheritDoc IStyle.getScheme} */
|
|
20193
20454
|
getScheme(): IFont.Scheme;
|
|
20455
|
+
/** {@inheritdoc IStyle.setScheme} */
|
|
20456
|
+
setScheme(scheme: IFont.Scheme | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20194
20457
|
/** {@inheritDoc IStyle.getVerticalAlignment} */
|
|
20195
20458
|
getVerticalAlignment(): IFont.VerticalAlignment;
|
|
20459
|
+
/** {@inheritDoc IStyle.setVerticalAlignment} */
|
|
20460
|
+
setVerticalAlignment(verticalAlign: IFont.VerticalAlignment | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20196
20461
|
/** {@inheritDoc IStyle.getShadow} */
|
|
20197
20462
|
getShadow(): boolean;
|
|
20463
|
+
/** {@inheritDoc IStyle.setShadow} */
|
|
20464
|
+
setShadow(shadow: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20198
20465
|
/** {@inheritDoc IStyle.getOutline} */
|
|
20199
20466
|
getOutline(): boolean;
|
|
20467
|
+
/** {@inheritDoc IStyle.setOutline} */
|
|
20468
|
+
setOutline(outline: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20200
20469
|
/** {@inheritDoc IStyle.getExtend} */
|
|
20201
20470
|
getExtend(): boolean;
|
|
20471
|
+
/** {@inheritDoc IStyle.setExtend} */
|
|
20472
|
+
setExtend(extend: boolean | null, options?: IStyle.UpdateOptions): IStyledFont;
|
|
20202
20473
|
/** {@inheritDoc IStyle.isIStyledFont} */
|
|
20203
20474
|
get isIStyledFont(): true;
|
|
20204
20475
|
}
|
|
@@ -20217,6 +20488,8 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20217
20488
|
getType(): typeof IFill.Type.Solid;
|
|
20218
20489
|
/** {@inheritDoc IFill.ISolid.getColor} */
|
|
20219
20490
|
getColor(): IColor;
|
|
20491
|
+
/** {@inheritDoc IFill.ISolid.setColor} */
|
|
20492
|
+
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.ISolid;
|
|
20220
20493
|
/** {@inheritDoc IFill.ISolid.toCSS} */
|
|
20221
20494
|
toCSS(darkMode?: boolean): CSSProperties;
|
|
20222
20495
|
/** {@inheritDoc IFill.ISolid.toJSON} */
|
|
@@ -20238,12 +20511,20 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20238
20511
|
getType(): typeof IFill.Type.Gradient;
|
|
20239
20512
|
/** {@inheritDoc IFill.IGradient.getStops} */
|
|
20240
20513
|
getStops(): IFill.IGradientStop[];
|
|
20514
|
+
/** {@inheritDoc IFill.IGradient.setStops} */
|
|
20515
|
+
setStops(stops: IFill.IGradientStop[], options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
20241
20516
|
/** {@inheritDoc IFill.IGradient.getGradientType} */
|
|
20242
20517
|
getGradientType(): IFill.GradientType;
|
|
20518
|
+
/** {@inheritDoc IFill.IGradient.setGradientType} */
|
|
20519
|
+
setGradientType(gradientType: IFill.GradientType, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
20243
20520
|
/** {@inheritDoc IFill.IGradient.getAngle} */
|
|
20244
20521
|
getAngle(): number;
|
|
20522
|
+
/** {@inheritDoc IFill.IGradient.setAngle} */
|
|
20523
|
+
setAngle(angle: number, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
20245
20524
|
/** {@inheritDoc IFill.IGradient.getFillTo} */
|
|
20246
20525
|
getFillTo(): Rectangle;
|
|
20526
|
+
/** {@inheritDoc IFill.IGradient.setFillTo} */
|
|
20527
|
+
setFillTo(fillTo: Rectangle, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
20247
20528
|
/** {@inheritDoc IFill.IGradient.toCSS} */
|
|
20248
20529
|
toCSS(darkMode?: boolean, bounds?: Bounds): CSSProperties;
|
|
20249
20530
|
/** {@inheritDoc IFill.IGradient.toJSON} */
|
|
@@ -20256,10 +20537,16 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20256
20537
|
getType(): typeof IFill.Type.Pattern;
|
|
20257
20538
|
/** {@inheritDoc IFill.IPattern.getBackground} */
|
|
20258
20539
|
getBackground(): IColor;
|
|
20540
|
+
/** {@inheritDoc IFill.ISolid.setBackground} */
|
|
20541
|
+
setBackground(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
20259
20542
|
/** {@inheritDoc IFill.IPattern.getForeground} */
|
|
20260
20543
|
getForeground(): IColor;
|
|
20544
|
+
/** {@inheritDoc IFill.ISolid.setForeground} */
|
|
20545
|
+
setForeground(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
20261
20546
|
/** {@inheritDoc IFill.IPattern.getPatternType} */
|
|
20262
20547
|
getPatternType(): IFill.BuiltInSheetPattern;
|
|
20548
|
+
/** {@inheritDoc IFill.IGradient.setPatternType} */
|
|
20549
|
+
setPatternType(patternType: IFill.BuiltInSheetPattern, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
20263
20550
|
/** {@inheritDoc IFill.IPattern.toCSS} */
|
|
20264
20551
|
toCSS(darkMode?: boolean): CSSProperties;
|
|
20265
20552
|
/** {@inheritDoc IFill.IPattern.toJSON} */
|
|
@@ -20280,14 +20567,14 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20280
20567
|
hasVisibleStyling(): boolean;
|
|
20281
20568
|
/** {@inheritDoc IStyle.isNormal} */
|
|
20282
20569
|
isNormal(): boolean;
|
|
20283
|
-
/** {@inheritDoc IStyle.getNamed} */
|
|
20284
|
-
getNamed(): IStyle.INamed;
|
|
20285
20570
|
/** {@inheritDoc IStyle.createTemporaryStyle} */
|
|
20286
20571
|
createTemporaryStyle(update: IStyle.Update): IStyle;
|
|
20287
20572
|
/** {@inheritDoc IStyle.measureText} */
|
|
20288
20573
|
measureText(text: string, size?: number, family?: string, options?: IFont.MetricOptions): IFont.ExtendedMetrics;
|
|
20289
20574
|
/** {@inheritDoc IStyle.createTemporaryTextFrame} */
|
|
20290
20575
|
createTemporaryTextFrame(text: string, allowWrap?: boolean): ITextFrame;
|
|
20576
|
+
/** {@inheritDoc IStyle.update} */
|
|
20577
|
+
update(update: IStyle.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
20291
20578
|
/** {@inheritDoc IStyle.getBestFit} */
|
|
20292
20579
|
getBestFit(): Partial<Dimensions> | null;
|
|
20293
20580
|
/** {@inheritDoc IStyle.getInsets} */
|
|
@@ -20295,27 +20582,31 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20295
20582
|
/** {@inheritDoc IStyle.getBorder} */
|
|
20296
20583
|
getBorder(): IBorder;
|
|
20297
20584
|
/** {@inheritDoc IStyle.setBorder} */
|
|
20298
|
-
setBorder(border: IBorder | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions):
|
|
20585
|
+
setBorder(border: IBorder | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20299
20586
|
/** {@inheritDoc IStyle.getFont} */
|
|
20300
20587
|
getFont(): IStyledFont;
|
|
20301
20588
|
/** {@inheritDoc IStyle.setFont} */
|
|
20302
|
-
setFont(font: IStyledFont | IProperties.ResolvableProperties<IStyledFont.Properties> | string | null, options?: IStyle.UpdateOptions):
|
|
20589
|
+
setFont(font: IStyledFont | IProperties.ResolvableProperties<IStyledFont.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20303
20590
|
/** {@inheritDoc IStyle.getFill} */
|
|
20304
20591
|
getFill(): IFill.ISolid | IFill.IGradient | IFill.IPattern | IFill.INone;
|
|
20305
20592
|
/** {@inheritDoc IStyle.setFill} */
|
|
20306
|
-
setFill(fill: IFill | IProperties.ResolvableProperties<IFill.Properties> | string | null, options?: IStyle.UpdateOptions):
|
|
20593
|
+
setFill(fill: IFill | IProperties.ResolvableProperties<IFill.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20307
20594
|
/** {@inheritDoc IStyle.getAlignment} */
|
|
20308
20595
|
getAlignment(): ITextFrame.IAlignment;
|
|
20309
20596
|
/** {@inheritDoc IStyle.setAlignment} */
|
|
20310
|
-
setAlignment(alignment: ITextFrame.IAlignment | IProperties.ResolvableProperties<ITextFrame.IAlignment.Properties> | string | null, options?: IStyle.UpdateOptions):
|
|
20597
|
+
setAlignment(alignment: ITextFrame.IAlignment | IProperties.ResolvableProperties<ITextFrame.IAlignment.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20311
20598
|
/** {@inheritDoc IStyle.getNumberFormat} */
|
|
20312
20599
|
getNumberFormat(): string;
|
|
20313
20600
|
/** {@inheritDoc IStyle.setNumberFormat} */
|
|
20314
|
-
setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions):
|
|
20601
|
+
setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20315
20602
|
/** {@inheritDoc IStyle.getQuotePrefix} */
|
|
20316
20603
|
getQuotePrefix(): boolean;
|
|
20317
20604
|
/** {@inheritDoc IStyle.setQuotePrefix} */
|
|
20318
|
-
setQuotePrefix(quotePrefix: boolean | null, options?: IStyle.UpdateOptions):
|
|
20605
|
+
setQuotePrefix(quotePrefix: boolean | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20606
|
+
/** {@inheritDoc IStyle.getNamed} */
|
|
20607
|
+
getNamed(): IStyle.INamed;
|
|
20608
|
+
/** {@inheritDoc IStyle.setNamed} */
|
|
20609
|
+
setNamed(named: string | IStyle.INamed | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20319
20610
|
/** {@inheritDoc IStyle.isIStyle} */
|
|
20320
20611
|
get isIStyle(): true;
|
|
20321
20612
|
}
|
|
@@ -21373,8 +21664,8 @@ declare module "sheet/SheetRanges" {
|
|
|
21373
21664
|
autoFit(options?: ICellRange.AutoFitOptions): this;
|
|
21374
21665
|
/** {@inheritDoc ICellRanges.clear} */
|
|
21375
21666
|
clear(applyTo?: ICell.Content, options?: ITransaction.OperationOptions): this;
|
|
21376
|
-
/** {@inheritDoc ICellRanges.
|
|
21377
|
-
|
|
21667
|
+
/** {@inheritDoc ICellRanges.getStyle} */
|
|
21668
|
+
getStyle(): IStyle;
|
|
21378
21669
|
/** {@inheritDoc ICellRanges.merge} */
|
|
21379
21670
|
merge(options?: ICellRange.MergeOptions | IRange.Orientations): this;
|
|
21380
21671
|
/** {@inheritDoc ICellRanges.unmerge} */
|
|
@@ -22103,7 +22394,7 @@ declare module "sheet/Sheet" {
|
|
|
22103
22394
|
/** @internal */
|
|
22104
22395
|
protected _getScalar(rowIndex: number, columnIndex: number, asJSDate?: boolean): Scalar | JSScalar;
|
|
22105
22396
|
/** @internal */
|
|
22106
|
-
protected _getStyle(
|
|
22397
|
+
protected _getStyle(ranges: IRange.Coords[], anchor?: IRangeSelection.Coords): IStyle;
|
|
22107
22398
|
/** @internal */
|
|
22108
22399
|
protected _initState(): void;
|
|
22109
22400
|
/** @internal */
|
|
@@ -22312,8 +22603,6 @@ declare module "sheet/SheetRange" {
|
|
|
22312
22603
|
setHyperlink(hyperlink: IHyperlink.Update, options?: ITransaction.OperationOptions): this;
|
|
22313
22604
|
/** {@inheritDoc ICellRange.setComments} */
|
|
22314
22605
|
setComments(comments: IComment.Properties, options?: ITransaction.OperationOptions): this;
|
|
22315
|
-
/** {@inheritDoc ICellRange.updateStyle} */
|
|
22316
|
-
updateStyle(style: IStyle.Update, options?: IStyle.UpdateOptions): this;
|
|
22317
22606
|
/** {@inheritDoc ICellRange.getStyle} */
|
|
22318
22607
|
getStyle(): IStyle;
|
|
22319
22608
|
/** {@inheritDoc ICellRange.merge} */
|
|
@@ -31272,9 +31561,13 @@ declare module "cellRange/ICellRanges" {
|
|
|
31272
31561
|
*/
|
|
31273
31562
|
getSheet(): ISheet;
|
|
31274
31563
|
/**
|
|
31275
|
-
*
|
|
31564
|
+
* Returns the style for the range.
|
|
31565
|
+
*
|
|
31566
|
+
* @remarks
|
|
31567
|
+
* When querying the style the values will always be for the top left. However the
|
|
31568
|
+
* set values work for the entire range.
|
|
31276
31569
|
*/
|
|
31277
|
-
|
|
31570
|
+
getStyle(): IStyle;
|
|
31278
31571
|
/**
|
|
31279
31572
|
* {@inheritDoc ICellRange.find}
|
|
31280
31573
|
*/
|
|
@@ -31898,11 +32191,10 @@ declare module "cellRange/ICellRange" {
|
|
|
31898
32191
|
*/
|
|
31899
32192
|
getValue(options?: ICellRange.GetValuesOptions): Scalar | JSScalar;
|
|
31900
32193
|
/**
|
|
31901
|
-
* Returns the style for the
|
|
32194
|
+
* Returns the style for the ranges.
|
|
31902
32195
|
*
|
|
31903
|
-
* @
|
|
31904
|
-
*
|
|
31905
|
-
* set values work for the entire range.
|
|
32196
|
+
* @see
|
|
32197
|
+
* {@link ICellRange.getStyle}
|
|
31906
32198
|
*/
|
|
31907
32199
|
getStyle(): IStyle;
|
|
31908
32200
|
/**
|
|
@@ -32226,14 +32518,6 @@ declare module "cellRange/ICellRange" {
|
|
|
32226
32518
|
* @returns Current `ICellRange`.
|
|
32227
32519
|
*/
|
|
32228
32520
|
unmerge(options?: ITransaction.OperationOptions): this;
|
|
32229
|
-
/**
|
|
32230
|
-
* Update the style for the range(s).
|
|
32231
|
-
*
|
|
32232
|
-
* @param style {@link IStyle.Update}
|
|
32233
|
-
* @param options {@link IStyle.UpdateOptions}
|
|
32234
|
-
* @returns Current `ICellRange`.
|
|
32235
|
-
*/
|
|
32236
|
-
updateStyle(style: IStyle.Update, options?: IStyle.UpdateOptions): this;
|
|
32237
32521
|
/**
|
|
32238
32522
|
* Returns an iterator of ICells that match the results.
|
|
32239
32523
|
*
|