@types/office-js-preview 1.0.380 → 1.0.381
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.
- office-js-preview/README.md +1 -1
- office-js-preview/index.d.ts +221 -52
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 17 Apr 2023 19:02:43 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -19968,6 +19968,56 @@ declare namespace Excel {
|
|
|
19968
19968
|
referencedValues?: ReferencedValue[];
|
|
19969
19969
|
}
|
|
19970
19970
|
/**
|
|
19971
|
+
* The base64 encoding type and data of an image.
|
|
19972
|
+
*
|
|
19973
|
+
* @remarks
|
|
19974
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19975
|
+
* @beta
|
|
19976
|
+
*/
|
|
19977
|
+
interface Base64EncodedImage {
|
|
19978
|
+
/**
|
|
19979
|
+
* The file type of the encoded image.
|
|
19980
|
+
*
|
|
19981
|
+
* @remarks
|
|
19982
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19983
|
+
* @beta
|
|
19984
|
+
*/
|
|
19985
|
+
type: Base64EncodingType | "JPG" | "PNG";
|
|
19986
|
+
/**
|
|
19987
|
+
* The base64 string encoding.
|
|
19988
|
+
*
|
|
19989
|
+
* @remarks
|
|
19990
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19991
|
+
* @beta
|
|
19992
|
+
*/
|
|
19993
|
+
data: string;
|
|
19994
|
+
}
|
|
19995
|
+
/**
|
|
19996
|
+
* The file type represented by the base64 encoding.
|
|
19997
|
+
*
|
|
19998
|
+
* @remarks
|
|
19999
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20000
|
+
* @beta
|
|
20001
|
+
*/
|
|
20002
|
+
enum Base64EncodingType {
|
|
20003
|
+
/**
|
|
20004
|
+
* The JPG file type.
|
|
20005
|
+
*
|
|
20006
|
+
* @remarks
|
|
20007
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20008
|
+
* @beta
|
|
20009
|
+
*/
|
|
20010
|
+
JPG = "JPG",
|
|
20011
|
+
/**
|
|
20012
|
+
* The PNG file type.
|
|
20013
|
+
*
|
|
20014
|
+
* @remarks
|
|
20015
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20016
|
+
* @beta
|
|
20017
|
+
*/
|
|
20018
|
+
PNG = "PNG"
|
|
20019
|
+
}
|
|
20020
|
+
/**
|
|
19971
20021
|
* Represents a card layout that is best used for an array.
|
|
19972
20022
|
*
|
|
19973
20023
|
* @remarks
|
|
@@ -24570,6 +24620,13 @@ declare namespace Excel {
|
|
|
24570
24620
|
*/
|
|
24571
24621
|
linkedEntity = "LinkedEntity",
|
|
24572
24622
|
/**
|
|
24623
|
+
* Represents a `LocalImageCellValue`.
|
|
24624
|
+
*
|
|
24625
|
+
* @remarks
|
|
24626
|
+
* [Api set: ExcelApi 1.16]
|
|
24627
|
+
*/
|
|
24628
|
+
localImage = "LocalImage",
|
|
24629
|
+
/**
|
|
24573
24630
|
* Represents a `ReferenceCellValue`.
|
|
24574
24631
|
*
|
|
24575
24632
|
* @remarks
|
|
@@ -24604,7 +24661,7 @@ declare namespace Excel {
|
|
|
24604
24661
|
* @remarks
|
|
24605
24662
|
* [Api set: ExcelApi 1.16]
|
|
24606
24663
|
*/
|
|
24607
|
-
type CellValue = (ArrayCellValue | BooleanCellValue | DoubleCellValue | EntityCellValue | EmptyCellValue | ErrorCellValue | FormattedNumberCellValue | LinkedEntityCellValue | ReferenceCellValue | StringCellValue | ValueTypeNotAvailableCellValue | WebImageCellValue) & CellValueExtraProperties;
|
|
24664
|
+
type CellValue = (ArrayCellValue | BooleanCellValue | DoubleCellValue | EntityCellValue | EmptyCellValue | ErrorCellValue | FormattedNumberCellValue | LinkedEntityCellValue | LocalImageCellValue | ReferenceCellValue | StringCellValue | ValueTypeNotAvailableCellValue | WebImageCellValue) & CellValueExtraProperties;
|
|
24608
24665
|
/**
|
|
24609
24666
|
* These extra properties may appear on a `CellValue` and provide information about that `CellValue`, but the extra properties are not part of the value in the cell.
|
|
24610
24667
|
*
|
|
@@ -25425,7 +25482,14 @@ declare namespace Excel {
|
|
|
25425
25482
|
* @remarks
|
|
25426
25483
|
* [Api set: ExcelApi 1.16]
|
|
25427
25484
|
*/
|
|
25428
|
-
dataProviderError = "DataProviderError"
|
|
25485
|
+
dataProviderError = "DataProviderError",
|
|
25486
|
+
/**
|
|
25487
|
+
* An error caused by a missing file. In this case, the RichValueRel.xml file is missing from the metro package. Displays as error type #FIELD! in Excel.
|
|
25488
|
+
*
|
|
25489
|
+
* @remarks
|
|
25490
|
+
* [Api set: 1.16]
|
|
25491
|
+
*/
|
|
25492
|
+
richValueRelMissingFilePart = "RichValueRelMissingFilePart"
|
|
25429
25493
|
}
|
|
25430
25494
|
/**
|
|
25431
25495
|
* Represents the value of a cell containing a #FIELD! error.
|
|
@@ -25470,7 +25534,7 @@ declare namespace Excel {
|
|
|
25470
25534
|
* @remarks
|
|
25471
25535
|
* [Api set: ExcelApi 1.16]
|
|
25472
25536
|
*/
|
|
25473
|
-
errorSubType?: FieldErrorCellValueSubType | "Unknown" | "WebImageMissingFilePart" | "DataProviderError";
|
|
25537
|
+
errorSubType?: FieldErrorCellValueSubType | "Unknown" | "WebImageMissingFilePart" | "DataProviderError" | "RichValueRelMissingFilePart";
|
|
25474
25538
|
/**
|
|
25475
25539
|
* Represents the field which was not found by FIELDVALUE.
|
|
25476
25540
|
*
|
|
@@ -25666,6 +25730,88 @@ declare namespace Excel {
|
|
|
25666
25730
|
provider?: CellValueProviderAttributes;
|
|
25667
25731
|
}
|
|
25668
25732
|
/**
|
|
25733
|
+
* Represents the value of a cell containing a locally stored or generated image.
|
|
25734
|
+
*
|
|
25735
|
+
* @remarks
|
|
25736
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25737
|
+
* @beta
|
|
25738
|
+
*/
|
|
25739
|
+
interface LocalImageCellValue {
|
|
25740
|
+
/**
|
|
25741
|
+
* Represents the type of this cell value.
|
|
25742
|
+
*
|
|
25743
|
+
* @remarks
|
|
25744
|
+
* [Api set: ExcelApi 1.16]
|
|
25745
|
+
*/
|
|
25746
|
+
type: CellValueType.localImage | "LocalImage";
|
|
25747
|
+
/**
|
|
25748
|
+
* Represents the value that would be returned by `Range.values` for a cell with this value.
|
|
25749
|
+
* When accessed through a `valuesAsJson` property, this string value aligns with the en-US locale.
|
|
25750
|
+
* When accessed through a `valuesAsJsonLocal` property, this string value aligns with the user's display locale.
|
|
25751
|
+
*
|
|
25752
|
+
* @remarks
|
|
25753
|
+
* [Api set: ExcelApi 1.16]
|
|
25754
|
+
*/
|
|
25755
|
+
basicValue?: "#VALUE!" | string;
|
|
25756
|
+
/**
|
|
25757
|
+
* Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
|
|
25758
|
+
*
|
|
25759
|
+
* @remarks
|
|
25760
|
+
* [Api set: ExcelApi 1.16]
|
|
25761
|
+
*/
|
|
25762
|
+
basicType?: RangeValueType.error | "Error";
|
|
25763
|
+
/**
|
|
25764
|
+
* Represents the image itself, either cached or encoded.
|
|
25765
|
+
*
|
|
25766
|
+
* @remarks
|
|
25767
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25768
|
+
* @beta
|
|
25769
|
+
*/
|
|
25770
|
+
image: LocalImageCellValueCacheId | Base64EncodedImage;
|
|
25771
|
+
/**
|
|
25772
|
+
* Represents the alternate text used in accessibility scenarios to describe what the image represents.
|
|
25773
|
+
*
|
|
25774
|
+
* @remarks
|
|
25775
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25776
|
+
* @beta
|
|
25777
|
+
*/
|
|
25778
|
+
altText?: string;
|
|
25779
|
+
/**
|
|
25780
|
+
* Represents attribution information to describe the source and license requirements for this image.
|
|
25781
|
+
*
|
|
25782
|
+
* @remarks
|
|
25783
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25784
|
+
* @beta
|
|
25785
|
+
*/
|
|
25786
|
+
attribution?: CellValueAttributionAttributes[];
|
|
25787
|
+
/**
|
|
25788
|
+
* Represents information that describes the entity or individual who provided the image.
|
|
25789
|
+
* This information is used for branding purposes in image cards.
|
|
25790
|
+
*
|
|
25791
|
+
* @remarks
|
|
25792
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25793
|
+
* @beta
|
|
25794
|
+
*/
|
|
25795
|
+
provider?: CellValueProviderAttributes;
|
|
25796
|
+
}
|
|
25797
|
+
/**
|
|
25798
|
+
* The UID of a previously cached image.
|
|
25799
|
+
*
|
|
25800
|
+
* @remarks
|
|
25801
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25802
|
+
* @beta
|
|
25803
|
+
*/
|
|
25804
|
+
interface LocalImageCellValueCacheId {
|
|
25805
|
+
/**
|
|
25806
|
+
* Represents the image's UID as it appears in the cache.
|
|
25807
|
+
*
|
|
25808
|
+
* @remarks
|
|
25809
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
25810
|
+
* @beta
|
|
25811
|
+
*/
|
|
25812
|
+
cacheUid: string;
|
|
25813
|
+
}
|
|
25814
|
+
/**
|
|
25669
25815
|
* Represents the value of a cell containing a #N/A! error.
|
|
25670
25816
|
*
|
|
25671
25817
|
* @remarks
|
|
@@ -27303,42 +27449,42 @@ declare namespace Excel {
|
|
|
27303
27449
|
as a result of that primary move.
|
|
27304
27450
|
*
|
|
27305
27451
|
* @remarks
|
|
27306
|
-
* [Api set:
|
|
27452
|
+
* [Api set: ExcelApi 1.17]
|
|
27307
27453
|
*/
|
|
27308
27454
|
interface WorksheetMovedEventArgs {
|
|
27309
27455
|
/**
|
|
27310
27456
|
* Gets the new position of the worksheet, after the move.
|
|
27311
27457
|
*
|
|
27312
27458
|
* @remarks
|
|
27313
|
-
* [Api set:
|
|
27459
|
+
* [Api set: ExcelApi 1.17]
|
|
27314
27460
|
*/
|
|
27315
27461
|
positionAfter: number;
|
|
27316
27462
|
/**
|
|
27317
27463
|
* Gets the previous position of the worksheet, prior to the move.
|
|
27318
27464
|
*
|
|
27319
27465
|
* @remarks
|
|
27320
|
-
* [Api set:
|
|
27466
|
+
* [Api set: ExcelApi 1.17]
|
|
27321
27467
|
*/
|
|
27322
27468
|
positionBefore: number;
|
|
27323
27469
|
/**
|
|
27324
27470
|
* The source of the event. It can be local or remote (through co-authoring).
|
|
27325
27471
|
*
|
|
27326
27472
|
* @remarks
|
|
27327
|
-
* [Api set:
|
|
27473
|
+
* [Api set: ExcelApi 1.17]
|
|
27328
27474
|
*/
|
|
27329
27475
|
source: Excel.EventSource | "Local" | "Remote";
|
|
27330
27476
|
/**
|
|
27331
27477
|
* Gets the type of the event.
|
|
27332
27478
|
*
|
|
27333
27479
|
* @remarks
|
|
27334
|
-
* [Api set:
|
|
27480
|
+
* [Api set: ExcelApi 1.17]
|
|
27335
27481
|
*/
|
|
27336
27482
|
type: string;
|
|
27337
27483
|
/**
|
|
27338
27484
|
* Gets the ID of the worksheet that was moved.
|
|
27339
27485
|
*
|
|
27340
27486
|
* @remarks
|
|
27341
|
-
* [Api set:
|
|
27487
|
+
* [Api set: ExcelApi 1.17]
|
|
27342
27488
|
*/
|
|
27343
27489
|
worksheetId: string;
|
|
27344
27490
|
}
|
|
@@ -27346,42 +27492,42 @@ declare namespace Excel {
|
|
|
27346
27492
|
* Provides information about the worksheet whose name has changed.
|
|
27347
27493
|
*
|
|
27348
27494
|
* @remarks
|
|
27349
|
-
* [Api set:
|
|
27495
|
+
* [Api set: ExcelApi 1.17]
|
|
27350
27496
|
*/
|
|
27351
27497
|
interface WorksheetNameChangedEventArgs {
|
|
27352
27498
|
/**
|
|
27353
27499
|
* Gets the new name of the worksheet, after the name change.
|
|
27354
27500
|
*
|
|
27355
27501
|
* @remarks
|
|
27356
|
-
* [Api set:
|
|
27502
|
+
* [Api set: ExcelApi 1.17]
|
|
27357
27503
|
*/
|
|
27358
27504
|
nameAfter: string;
|
|
27359
27505
|
/**
|
|
27360
27506
|
* Gets the previous name of the worksheet, before the name changed.
|
|
27361
27507
|
*
|
|
27362
27508
|
* @remarks
|
|
27363
|
-
* [Api set:
|
|
27509
|
+
* [Api set: ExcelApi 1.17]
|
|
27364
27510
|
*/
|
|
27365
27511
|
nameBefore: string;
|
|
27366
27512
|
/**
|
|
27367
27513
|
* The source of the event. It can be local or remote (through co-authoring).
|
|
27368
27514
|
*
|
|
27369
27515
|
* @remarks
|
|
27370
|
-
* [Api set:
|
|
27516
|
+
* [Api set: ExcelApi 1.17]
|
|
27371
27517
|
*/
|
|
27372
27518
|
source: Excel.EventSource | "Local" | "Remote";
|
|
27373
27519
|
/**
|
|
27374
27520
|
* Gets the type of the event.
|
|
27375
27521
|
*
|
|
27376
27522
|
* @remarks
|
|
27377
|
-
* [Api set:
|
|
27523
|
+
* [Api set: ExcelApi 1.17]
|
|
27378
27524
|
*/
|
|
27379
27525
|
type: string;
|
|
27380
27526
|
/**
|
|
27381
27527
|
* Gets the ID of the worksheet with the new name.
|
|
27382
27528
|
*
|
|
27383
27529
|
* @remarks
|
|
27384
|
-
* [Api set:
|
|
27530
|
+
* [Api set: ExcelApi 1.17]
|
|
27385
27531
|
*/
|
|
27386
27532
|
worksheetId: string;
|
|
27387
27533
|
}
|
|
@@ -27389,42 +27535,42 @@ declare namespace Excel {
|
|
|
27389
27535
|
* Provides information about the worksheet whose visibility has changed.
|
|
27390
27536
|
*
|
|
27391
27537
|
* @remarks
|
|
27392
|
-
* [Api set:
|
|
27538
|
+
* [Api set: ExcelApi 1.17]
|
|
27393
27539
|
*/
|
|
27394
27540
|
interface WorksheetVisibilityChangedEventArgs {
|
|
27395
27541
|
/**
|
|
27396
27542
|
* The source of the event. It can be local or remote (through co-authoring).
|
|
27397
27543
|
*
|
|
27398
27544
|
* @remarks
|
|
27399
|
-
* [Api set:
|
|
27545
|
+
* [Api set: ExcelApi 1.17]
|
|
27400
27546
|
*/
|
|
27401
27547
|
source: Excel.EventSource | "Local" | "Remote";
|
|
27402
27548
|
/**
|
|
27403
27549
|
* Gets the type of the event.
|
|
27404
27550
|
*
|
|
27405
27551
|
* @remarks
|
|
27406
|
-
* [Api set:
|
|
27552
|
+
* [Api set: ExcelApi 1.17]
|
|
27407
27553
|
*/
|
|
27408
27554
|
type: string;
|
|
27409
27555
|
/**
|
|
27410
27556
|
* Gets the new visibility setting of the worksheet, after the visibility change.
|
|
27411
27557
|
*
|
|
27412
27558
|
* @remarks
|
|
27413
|
-
* [Api set:
|
|
27559
|
+
* [Api set: ExcelApi 1.17]
|
|
27414
27560
|
*/
|
|
27415
27561
|
visibilityAfter: Excel.SheetVisibility | "Visible" | "Hidden" | "VeryHidden";
|
|
27416
27562
|
/**
|
|
27417
27563
|
* Gets the previous visibility setting of the worksheet, before the visibility change.
|
|
27418
27564
|
*
|
|
27419
27565
|
* @remarks
|
|
27420
|
-
* [Api set:
|
|
27566
|
+
* [Api set: ExcelApi 1.17]
|
|
27421
27567
|
*/
|
|
27422
27568
|
visibilityBefore: Excel.SheetVisibility | "Visible" | "Hidden" | "VeryHidden";
|
|
27423
27569
|
/**
|
|
27424
27570
|
* Gets the ID of the worksheet whose visibility has changed.
|
|
27425
27571
|
*
|
|
27426
27572
|
* @remarks
|
|
27427
|
-
* [Api set:
|
|
27573
|
+
* [Api set: ExcelApi 1.17]
|
|
27428
27574
|
*/
|
|
27429
27575
|
worksheetId: string;
|
|
27430
27576
|
}
|
|
@@ -31897,6 +32043,15 @@ declare namespace Excel {
|
|
|
31897
32043
|
* [Api set: ExcelApi 1.11]
|
|
31898
32044
|
*/
|
|
31899
32045
|
readonly decimalSeparator: string;
|
|
32046
|
+
/**
|
|
32047
|
+
* Specifies whether the Format Stale Values option within Calculation Options is enabled or disabled.
|
|
32048
|
+
The stale formulas are rendered with stale formatting if the option is enabled.
|
|
32049
|
+
*
|
|
32050
|
+
* @remarks
|
|
32051
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
32052
|
+
* @beta
|
|
32053
|
+
*/
|
|
32054
|
+
formatStaleValues: boolean;
|
|
31900
32055
|
/**
|
|
31901
32056
|
* Gets the string used to separate groups of digits to the left of the decimal for numeric values. This is based on the local Excel settings.
|
|
31902
32057
|
*
|
|
@@ -33064,7 +33219,7 @@ declare namespace Excel {
|
|
|
33064
33219
|
* Occurs when the worksheet name is changed.
|
|
33065
33220
|
*
|
|
33066
33221
|
* @remarks
|
|
33067
|
-
* [Api set:
|
|
33222
|
+
* [Api set: ExcelApi 1.17]
|
|
33068
33223
|
*
|
|
33069
33224
|
* @eventproperty
|
|
33070
33225
|
*/
|
|
@@ -33122,7 +33277,7 @@ declare namespace Excel {
|
|
|
33122
33277
|
* Occurs when the worksheet visibility is changed.
|
|
33123
33278
|
*
|
|
33124
33279
|
* @remarks
|
|
33125
|
-
* [Api set:
|
|
33280
|
+
* [Api set: ExcelApi 1.17]
|
|
33126
33281
|
*
|
|
33127
33282
|
* @eventproperty
|
|
33128
33283
|
*/
|
|
@@ -33351,7 +33506,7 @@ declare namespace Excel {
|
|
|
33351
33506
|
* Occurs when a worksheet is moved within a workbook. This event only triggers when a worksheet is directly moved within a workbook. This event doesn't trigger when the position of a worksheet is indirectly changed, such as when a new worksheet is inserted and causes existing worksheets to change positions.
|
|
33352
33507
|
*
|
|
33353
33508
|
* @remarks
|
|
33354
|
-
* [Api set:
|
|
33509
|
+
* [Api set: ExcelApi 1.17]
|
|
33355
33510
|
*
|
|
33356
33511
|
* @eventproperty
|
|
33357
33512
|
*/
|
|
@@ -33360,7 +33515,7 @@ declare namespace Excel {
|
|
|
33360
33515
|
* Occurs when the worksheet name is changed in the worksheet collection.
|
|
33361
33516
|
*
|
|
33362
33517
|
* @remarks
|
|
33363
|
-
* [Api set:
|
|
33518
|
+
* [Api set: ExcelApi 1.17]
|
|
33364
33519
|
*
|
|
33365
33520
|
* @eventproperty
|
|
33366
33521
|
*/
|
|
@@ -33416,7 +33571,7 @@ declare namespace Excel {
|
|
|
33416
33571
|
* Occurs when the worksheet visibility is changed in the worksheet collection.
|
|
33417
33572
|
*
|
|
33418
33573
|
* @remarks
|
|
33419
|
-
* [Api set:
|
|
33574
|
+
* [Api set: ExcelApi 1.17]
|
|
33420
33575
|
*
|
|
33421
33576
|
* @eventproperty
|
|
33422
33577
|
*/
|
|
@@ -43839,8 +43994,7 @@ declare namespace Excel {
|
|
|
43839
43994
|
* Gets the currency symbol for currency values. This is based on current system settings.
|
|
43840
43995
|
*
|
|
43841
43996
|
* @remarks
|
|
43842
|
-
* [Api set: ExcelApi
|
|
43843
|
-
* @beta
|
|
43997
|
+
* [Api set: ExcelApi 1.17]
|
|
43844
43998
|
*/
|
|
43845
43999
|
readonly currencySymbol: string;
|
|
43846
44000
|
/**
|
|
@@ -46877,8 +47031,7 @@ declare namespace Excel {
|
|
|
46877
47031
|
* Change the conditional format rule type to cell value.
|
|
46878
47032
|
*
|
|
46879
47033
|
* @remarks
|
|
46880
|
-
* [Api set: ExcelApi
|
|
46881
|
-
* @beta
|
|
47034
|
+
* [Api set: ExcelApi 1.17]
|
|
46882
47035
|
*
|
|
46883
47036
|
* @param properties The properties to set for the cell value conditional format rule.
|
|
46884
47037
|
*/
|
|
@@ -46887,16 +47040,14 @@ declare namespace Excel {
|
|
|
46887
47040
|
* Change the conditional format rule type to color scale.
|
|
46888
47041
|
*
|
|
46889
47042
|
* @remarks
|
|
46890
|
-
* [Api set: ExcelApi
|
|
46891
|
-
* @beta
|
|
47043
|
+
* [Api set: ExcelApi 1.17]
|
|
46892
47044
|
*/
|
|
46893
47045
|
changeRuleToColorScale(): void;
|
|
46894
47046
|
/**
|
|
46895
47047
|
* Change the conditional format rule type to text comparison.
|
|
46896
47048
|
*
|
|
46897
47049
|
* @remarks
|
|
46898
|
-
* [Api set: ExcelApi
|
|
46899
|
-
* @beta
|
|
47050
|
+
* [Api set: ExcelApi 1.17]
|
|
46900
47051
|
*
|
|
46901
47052
|
* @param properties The properties to set for the text comparison conditional format rule.
|
|
46902
47053
|
*/
|
|
@@ -46905,8 +47056,7 @@ declare namespace Excel {
|
|
|
46905
47056
|
* Change the conditional format rule type to custom.
|
|
46906
47057
|
*
|
|
46907
47058
|
* @remarks
|
|
46908
|
-
* [Api set: ExcelApi
|
|
46909
|
-
* @beta
|
|
47059
|
+
* [Api set: ExcelApi 1.17]
|
|
46910
47060
|
*
|
|
46911
47061
|
* @param formula The formula to set for the custom conditional format rule.
|
|
46912
47062
|
*/
|
|
@@ -46915,24 +47065,21 @@ declare namespace Excel {
|
|
|
46915
47065
|
* Change the conditional format rule type to data bar.
|
|
46916
47066
|
*
|
|
46917
47067
|
* @remarks
|
|
46918
|
-
* [Api set: ExcelApi
|
|
46919
|
-
* @beta
|
|
47068
|
+
* [Api set: ExcelApi 1.17]
|
|
46920
47069
|
*/
|
|
46921
47070
|
changeRuleToDataBar(): void;
|
|
46922
47071
|
/**
|
|
46923
47072
|
* Change the conditional format rule type to icon set.
|
|
46924
47073
|
*
|
|
46925
47074
|
* @remarks
|
|
46926
|
-
* [Api set: ExcelApi
|
|
46927
|
-
* @beta
|
|
47075
|
+
* [Api set: ExcelApi 1.17]
|
|
46928
47076
|
*/
|
|
46929
47077
|
changeRuleToIconSet(): void;
|
|
46930
47078
|
/**
|
|
46931
47079
|
* Change the conditional format rule type to preset criteria.
|
|
46932
47080
|
*
|
|
46933
47081
|
* @remarks
|
|
46934
|
-
* [Api set: ExcelApi
|
|
46935
|
-
* @beta
|
|
47082
|
+
* [Api set: ExcelApi 1.17]
|
|
46936
47083
|
*
|
|
46937
47084
|
* @param properties The properties to set for the preset criteria conditional format rule.
|
|
46938
47085
|
*/
|
|
@@ -46941,8 +47088,7 @@ declare namespace Excel {
|
|
|
46941
47088
|
* Change the conditional format rule type to top/bottom.
|
|
46942
47089
|
*
|
|
46943
47090
|
* @remarks
|
|
46944
|
-
* [Api set: ExcelApi
|
|
46945
|
-
* @beta
|
|
47091
|
+
* [Api set: ExcelApi 1.17]
|
|
46946
47092
|
*
|
|
46947
47093
|
* @param properties The properties to set for the top/bottom conditional format rule.
|
|
46948
47094
|
*/
|
|
@@ -46980,8 +47126,7 @@ declare namespace Excel {
|
|
|
46980
47126
|
* Set the ranges that the conditonal format rule is applied to.
|
|
46981
47127
|
*
|
|
46982
47128
|
* @remarks
|
|
46983
|
-
* [Api set: ExcelApi
|
|
46984
|
-
* @beta
|
|
47129
|
+
* [Api set: ExcelApi 1.17]
|
|
46985
47130
|
*
|
|
46986
47131
|
* @param ranges Collection of one or more ranges for this rule to be applied to.
|
|
46987
47132
|
*/
|
|
@@ -47994,8 +48139,7 @@ declare namespace Excel {
|
|
|
47994
48139
|
* Remove the format properties from a conditional format rule. This creates a rule with no format settings.
|
|
47995
48140
|
*
|
|
47996
48141
|
* @remarks
|
|
47997
|
-
* [Api set: ExcelApi
|
|
47998
|
-
* @beta
|
|
48142
|
+
* [Api set: ExcelApi 1.17]
|
|
47999
48143
|
*/
|
|
48000
48144
|
clearFormat(): void;
|
|
48001
48145
|
/**
|
|
@@ -63957,6 +64101,15 @@ declare namespace Excel {
|
|
|
63957
64101
|
* [Api set: ExcelApi 1.1 for get, 1.8 for set]
|
|
63958
64102
|
*/
|
|
63959
64103
|
calculationMode?: Excel.CalculationMode | "Automatic" | "AutomaticExceptTables" | "Manual";
|
|
64104
|
+
/**
|
|
64105
|
+
* Specifies whether the Format Stale Values option within Calculation Options is enabled or disabled.
|
|
64106
|
+
The stale formulas are rendered with stale formatting if the option is enabled.
|
|
64107
|
+
*
|
|
64108
|
+
* @remarks
|
|
64109
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
64110
|
+
* @beta
|
|
64111
|
+
*/
|
|
64112
|
+
formatStaleValues?: boolean;
|
|
63960
64113
|
}
|
|
63961
64114
|
/** An interface for updating data on the IterativeCalculation object, for use in `iterativeCalculation.set({ ... })`. */
|
|
63962
64115
|
interface IterativeCalculationUpdateData {
|
|
@@ -69160,6 +69313,15 @@ declare namespace Excel {
|
|
|
69160
69313
|
* [Api set: ExcelApi 1.11]
|
|
69161
69314
|
*/
|
|
69162
69315
|
decimalSeparator?: string;
|
|
69316
|
+
/**
|
|
69317
|
+
* Specifies whether the Format Stale Values option within Calculation Options is enabled or disabled.
|
|
69318
|
+
The stale formulas are rendered with stale formatting if the option is enabled.
|
|
69319
|
+
*
|
|
69320
|
+
* @remarks
|
|
69321
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
69322
|
+
* @beta
|
|
69323
|
+
*/
|
|
69324
|
+
formatStaleValues?: boolean;
|
|
69163
69325
|
/**
|
|
69164
69326
|
* Gets the string used to separate groups of digits to the left of the decimal for numeric values. This is based on the local Excel settings.
|
|
69165
69327
|
*
|
|
@@ -73140,8 +73302,7 @@ declare namespace Excel {
|
|
|
73140
73302
|
* Gets the currency symbol for currency values. This is based on current system settings.
|
|
73141
73303
|
*
|
|
73142
73304
|
* @remarks
|
|
73143
|
-
* [Api set: ExcelApi
|
|
73144
|
-
* @beta
|
|
73305
|
+
* [Api set: ExcelApi 1.17]
|
|
73145
73306
|
*/
|
|
73146
73307
|
currencySymbol?: string;
|
|
73147
73308
|
/**
|
|
@@ -76487,6 +76648,15 @@ declare namespace Excel {
|
|
|
76487
76648
|
* [Api set: ExcelApi 1.11]
|
|
76488
76649
|
*/
|
|
76489
76650
|
decimalSeparator?: boolean;
|
|
76651
|
+
/**
|
|
76652
|
+
* Specifies whether the Format Stale Values option within Calculation Options is enabled or disabled.
|
|
76653
|
+
The stale formulas are rendered with stale formatting if the option is enabled.
|
|
76654
|
+
*
|
|
76655
|
+
* @remarks
|
|
76656
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
76657
|
+
* @beta
|
|
76658
|
+
*/
|
|
76659
|
+
formatStaleValues?: boolean;
|
|
76490
76660
|
/**
|
|
76491
76661
|
* Gets the string used to separate groups of digits to the left of the decimal for numeric values. This is based on the local Excel settings.
|
|
76492
76662
|
*
|
|
@@ -82416,8 +82586,7 @@ declare namespace Excel {
|
|
|
82416
82586
|
* Gets the currency symbol for currency values. This is based on current system settings.
|
|
82417
82587
|
*
|
|
82418
82588
|
* @remarks
|
|
82419
|
-
* [Api set: ExcelApi
|
|
82420
|
-
* @beta
|
|
82589
|
+
* [Api set: ExcelApi 1.17]
|
|
82421
82590
|
*/
|
|
82422
82591
|
currencySymbol?: boolean;
|
|
82423
82592
|
/**
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.381",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "d9be09e80fb0b76b6836d314e2a69413acaea87d8081c47ec070b9f2a8f15b2b",
|
|
49
49
|
"typeScriptVersion": "4.3"
|
|
50
50
|
}
|