@types/office-js-preview 1.0.496 → 1.0.498
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 +118 -68
- 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-preview (https://github.com
|
|
|
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: Wed, 14 Aug 2024 20:07:48 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -10384,7 +10384,7 @@ declare namespace Office {
|
|
|
10384
10384
|
* Gets the object to get or set the {@link Office.SensitivityLabel | sensitivity label} of an appointment.
|
|
10385
10385
|
*
|
|
10386
10386
|
* @remarks
|
|
10387
|
-
* [Api set: Mailbox
|
|
10387
|
+
* [Api set: Mailbox 1.13]
|
|
10388
10388
|
*
|
|
10389
10389
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
10390
10390
|
*
|
|
@@ -10393,9 +10393,7 @@ declare namespace Office {
|
|
|
10393
10393
|
* **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
|
|
10394
10394
|
*
|
|
10395
10395
|
* To learn more about how to manage sensitivity labels in your add-in, see
|
|
10396
|
-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode
|
|
10397
|
-
*
|
|
10398
|
-
* @beta
|
|
10396
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
|
|
10399
10397
|
*/
|
|
10400
10398
|
sensitivityLabel: SensitivityLabel;
|
|
10401
10399
|
/**
|
|
@@ -12692,18 +12690,6 @@ declare namespace Office {
|
|
|
12692
12690
|
* To use `appendOnSendAsync`, you must specify a supplementary permission in the manifest. Details vary with the type of manifest. See {@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Understanding Outlook add-in permissions}. To learn more
|
|
12693
12691
|
* about append-on-send and its configuration, see
|
|
12694
12692
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
|
|
12695
|
-
*
|
|
12696
|
-
* **Important**: If the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
|
|
12697
|
-
* is implemented with append-on-send, the following apply.
|
|
12698
|
-
*
|
|
12699
|
-
* - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
|
|
12700
|
-
*
|
|
12701
|
-
* - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
|
|
12702
|
-
* the `appendOnSendAsync` call returns an error as this scenario isn't supported.
|
|
12703
|
-
*
|
|
12704
|
-
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
12705
|
-
*
|
|
12706
|
-
* **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
|
|
12707
12693
|
*
|
|
12708
12694
|
* @remarks
|
|
12709
12695
|
* [Api set: Mailbox 1.9]
|
|
@@ -12712,6 +12698,22 @@ declare namespace Office {
|
|
|
12712
12698
|
*
|
|
12713
12699
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12714
12700
|
*
|
|
12701
|
+
* **Recommended**: Call `getTypeAsync`, then pass its returned value to the `options.coercionType` parameter.
|
|
12702
|
+
*
|
|
12703
|
+
* **Important**:
|
|
12704
|
+
*
|
|
12705
|
+
* - If the user is running add-ins that implement the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send feature}
|
|
12706
|
+
* using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
|
|
12707
|
+
*
|
|
12708
|
+
* - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
|
|
12709
|
+
* the `appendOnSendAsync` call returns an error as this scenario isn't supported.
|
|
12710
|
+
*
|
|
12711
|
+
* - To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
|
|
12712
|
+
*
|
|
12713
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
12714
|
+
*
|
|
12715
|
+
* - The `appendOnSendAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
12716
|
+
*
|
|
12715
12717
|
* **Errors**:
|
|
12716
12718
|
*
|
|
12717
12719
|
* - `DataExceedsMaximumSize`: The `data` parameter is longer than 5,000 characters.
|
|
@@ -12732,18 +12734,6 @@ declare namespace Office {
|
|
|
12732
12734
|
* To use `appendOnSendAsync`, you must specify a supplementary permission in the manifest. Details vary with the type of manifest. See {@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Understanding Outlook add-in permissions}. To learn more
|
|
12733
12735
|
* about append-on-send and its configuration, see
|
|
12734
12736
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
|
|
12735
|
-
*
|
|
12736
|
-
* **Important**: If the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
|
|
12737
|
-
* is implemented with append-on-send, the following apply.
|
|
12738
|
-
*
|
|
12739
|
-
* - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
|
|
12740
|
-
*
|
|
12741
|
-
* - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
|
|
12742
|
-
* the `appendOnSendAsync` call returns an error as this scenario isn't supported.
|
|
12743
|
-
*
|
|
12744
|
-
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
12745
|
-
*
|
|
12746
|
-
* **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
|
|
12747
12737
|
*
|
|
12748
12738
|
* @remarks
|
|
12749
12739
|
* [Api set: Mailbox 1.9]
|
|
@@ -12752,6 +12742,22 @@ declare namespace Office {
|
|
|
12752
12742
|
*
|
|
12753
12743
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12754
12744
|
*
|
|
12745
|
+
* **Recommended**: Call `getTypeAsync`, then pass its returned value to the `options.coercionType` parameter.
|
|
12746
|
+
*
|
|
12747
|
+
* **Important**:
|
|
12748
|
+
*
|
|
12749
|
+
* - If the user is running add-ins that implement the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send feature}
|
|
12750
|
+
* using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
|
|
12751
|
+
*
|
|
12752
|
+
* - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
|
|
12753
|
+
* the `appendOnSendAsync` call returns an error as this scenario isn't supported.
|
|
12754
|
+
*
|
|
12755
|
+
* - To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
|
|
12756
|
+
*
|
|
12757
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
12758
|
+
*
|
|
12759
|
+
* - The `appendOnSendAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
12760
|
+
*
|
|
12755
12761
|
* **Errors**:
|
|
12756
12762
|
*
|
|
12757
12763
|
* - `DataExceedsMaximumSize`: The `data` parameter is longer than 5,000 characters.
|
|
@@ -12857,6 +12863,8 @@ declare namespace Office {
|
|
|
12857
12863
|
*
|
|
12858
12864
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12859
12865
|
*
|
|
12866
|
+
* **Recommended**: Call `getTypeAsync`, then pass the returned value to the `options.coercionType` parameter.
|
|
12867
|
+
*
|
|
12860
12868
|
* **Important**:
|
|
12861
12869
|
*
|
|
12862
12870
|
* - After the content is prepended, the position of the cursor depends on which client the add-in is running. In Outlook on the web and on Windows
|
|
@@ -12876,7 +12884,9 @@ declare namespace Office {
|
|
|
12876
12884
|
* supported. For more information on supported APIs in Outlook mobile, see
|
|
12877
12885
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
12878
12886
|
*
|
|
12879
|
-
*
|
|
12887
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
12888
|
+
*
|
|
12889
|
+
* - The `prependAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
12880
12890
|
*
|
|
12881
12891
|
* **Errors**:
|
|
12882
12892
|
*
|
|
@@ -12900,6 +12910,8 @@ declare namespace Office {
|
|
|
12900
12910
|
*
|
|
12901
12911
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12902
12912
|
*
|
|
12913
|
+
* **Recommended**: Call `getTypeAsync`, then pass the returned value to the `options.coercionType` parameter.
|
|
12914
|
+
*
|
|
12903
12915
|
* **Important**:
|
|
12904
12916
|
*
|
|
12905
12917
|
* - After the content is prepended, the position of the cursor depends on which client the add-in is running. In Outlook on the web and on Windows
|
|
@@ -12919,7 +12931,9 @@ declare namespace Office {
|
|
|
12919
12931
|
* supported. For more information on supported APIs in Outlook mobile, see
|
|
12920
12932
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
12921
12933
|
*
|
|
12922
|
-
*
|
|
12934
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
12935
|
+
*
|
|
12936
|
+
* - The `prependAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
12923
12937
|
*
|
|
12924
12938
|
* **Errors**:
|
|
12925
12939
|
*
|
|
@@ -12932,37 +12946,41 @@ declare namespace Office {
|
|
|
12932
12946
|
prependAsync(data: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
12933
12947
|
/**
|
|
12934
12948
|
* Prepends HTML or plain text to the beginning of a message or appointment body when the mail item is sent.
|
|
12935
|
-
*
|
|
12949
|
+
*
|
|
12936
12950
|
* To use `prependOnSendAsync`, you must specify a supplementary permission in the manifest. Details vary with the type of manifest. For guidance,
|
|
12937
12951
|
* see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Understanding Outlook add-in permissions}.
|
|
12938
|
-
*
|
|
12952
|
+
*
|
|
12939
12953
|
* @remarks
|
|
12940
12954
|
* [Api set: Mailbox 1.13]
|
|
12941
|
-
*
|
|
12955
|
+
*
|
|
12942
12956
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
12943
12957
|
*
|
|
12944
12958
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12945
|
-
*
|
|
12959
|
+
*
|
|
12946
12960
|
* **Recommended**: Call `getTypeAsync`, then pass its returned value to the `options.coercionType` parameter.
|
|
12947
|
-
*
|
|
12961
|
+
*
|
|
12948
12962
|
* **Important**: When implementing `prependOnSendAsync`, keep the following in mind.
|
|
12949
|
-
*
|
|
12963
|
+
*
|
|
12950
12964
|
* - In a {@link https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events | Smart Alerts add-in},
|
|
12951
12965
|
* the prepend-on-send feature runs first.
|
|
12952
|
-
*
|
|
12966
|
+
*
|
|
12953
12967
|
* - A new line is added after the prepended content.
|
|
12954
|
-
*
|
|
12968
|
+
*
|
|
12955
12969
|
* - If multiple active add-ins call `prependOnSendAsync`, the order of the inserted content depends on the order in which the add-in runs.
|
|
12956
12970
|
* The content of the last run add-in appears above previously prepended content.
|
|
12957
|
-
*
|
|
12971
|
+
*
|
|
12958
12972
|
* - If the add-in attempts to insert HTML into a plain text body, the content won't be prepended. Conversely, plain text will be inserted into an HTML body.
|
|
12959
|
-
*
|
|
12973
|
+
*
|
|
12974
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
12975
|
+
*
|
|
12976
|
+
* - The `prependOnSendAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
12977
|
+
*
|
|
12960
12978
|
* **Errors**:
|
|
12961
|
-
*
|
|
12979
|
+
*
|
|
12962
12980
|
* - `DataExceedsMaximumSize`: The `data` parameter exceeds 5,000 characters.
|
|
12963
|
-
*
|
|
12981
|
+
*
|
|
12964
12982
|
* - `InvalidFormatError`: The `options.coercionType` parameter is set to `Office.CoercionType.Html`, but the item body is in plain text format.
|
|
12965
|
-
*
|
|
12983
|
+
*
|
|
12966
12984
|
* @param data - The string to be prepended to the beginning of the message or appointment body. The string is limited to 5,000 characters.
|
|
12967
12985
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
12968
12986
|
* `asyncContext`: Any object that can be accessed in the callback function.
|
|
@@ -12973,37 +12991,41 @@ declare namespace Office {
|
|
|
12973
12991
|
prependOnSendAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
12974
12992
|
/**
|
|
12975
12993
|
* Prepends HTML or plain text to the beginning of a message or appointment body when the mail item is sent.
|
|
12976
|
-
*
|
|
12994
|
+
*
|
|
12977
12995
|
* To use `prependOnSendAsync`, you must specify a supplementary permission in the manifest. Details vary with the type of manifest. For guidance,
|
|
12978
12996
|
* see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Understanding Outlook add-in permissions}.
|
|
12979
|
-
*
|
|
12997
|
+
*
|
|
12980
12998
|
* @remarks
|
|
12981
12999
|
* [Api set: Mailbox 1.13]
|
|
12982
|
-
*
|
|
13000
|
+
*
|
|
12983
13001
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
12984
13002
|
*
|
|
12985
13003
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12986
|
-
*
|
|
13004
|
+
*
|
|
12987
13005
|
* **Recommended**: Call `getTypeAsync`, then pass its returned value to the `options.coercionType` parameter.
|
|
12988
|
-
*
|
|
13006
|
+
*
|
|
12989
13007
|
* **Important**: When implementing `prependOnSendAsync`, keep the following in mind.
|
|
12990
|
-
*
|
|
13008
|
+
*
|
|
12991
13009
|
* - In a {@link https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events | Smart Alerts add-in},
|
|
12992
13010
|
* the prepend-on-send feature runs first.
|
|
12993
|
-
*
|
|
13011
|
+
*
|
|
12994
13012
|
* - A new line is added after the prepended content.
|
|
12995
|
-
*
|
|
13013
|
+
*
|
|
12996
13014
|
* - If multiple active add-ins call `prependOnSendAsync`, the order of the inserted content depends on the order in which the add-in runs.
|
|
12997
13015
|
* The content of the last run add-in appears above previously prepended content.
|
|
12998
|
-
*
|
|
13016
|
+
*
|
|
12999
13017
|
* - If the add-in attempts to insert HTML into a plain text body, the content won't be prepended. Conversely, plain text will be inserted into an HTML body.
|
|
13000
|
-
*
|
|
13018
|
+
*
|
|
13019
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
13020
|
+
*
|
|
13021
|
+
* - The `prependOnSendAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13022
|
+
*
|
|
13001
13023
|
* **Errors**:
|
|
13002
|
-
*
|
|
13024
|
+
*
|
|
13003
13025
|
* - `DataExceedsMaximumSize`: The `data` parameter exceeds 5,000 characters.
|
|
13004
|
-
*
|
|
13026
|
+
*
|
|
13005
13027
|
* - `InvalidFormatError`: The `options.coercionType` parameter is set to `Office.CoercionType.Html`, but the item body is in plain text format.
|
|
13006
|
-
*
|
|
13028
|
+
*
|
|
13007
13029
|
* @param data - The string to be prepended to the beginning of the message or appointment body. The string is limited to 5,000 characters.
|
|
13008
13030
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
13009
13031
|
* of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
|
|
@@ -13019,6 +13041,8 @@ declare namespace Office {
|
|
|
13019
13041
|
*
|
|
13020
13042
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13021
13043
|
*
|
|
13044
|
+
* **Recommended**: Call `getTypeAsync`, then pass the returned value to the `options.coercionType` parameter.
|
|
13045
|
+
*
|
|
13022
13046
|
* **Important**:
|
|
13023
13047
|
*
|
|
13024
13048
|
* - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
|
|
@@ -13040,7 +13064,9 @@ declare namespace Office {
|
|
|
13040
13064
|
* supported. For more information on supported APIs in Outlook mobile, see
|
|
13041
13065
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
13042
13066
|
*
|
|
13043
|
-
*
|
|
13067
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
13068
|
+
*
|
|
13069
|
+
* - The `setAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13044
13070
|
*
|
|
13045
13071
|
* **Errors**:
|
|
13046
13072
|
*
|
|
@@ -13066,6 +13092,8 @@ declare namespace Office {
|
|
|
13066
13092
|
*
|
|
13067
13093
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13068
13094
|
*
|
|
13095
|
+
* **Recommended**: Call `getTypeAsync`, then pass the returned value to the `options.coercionType` parameter.
|
|
13096
|
+
*
|
|
13069
13097
|
* **Important**:
|
|
13070
13098
|
*
|
|
13071
13099
|
* - After the body is replaced with the specified content, the position of the cursor depends on which client the add-in is running.
|
|
@@ -13087,7 +13115,9 @@ declare namespace Office {
|
|
|
13087
13115
|
* supported. For more information on supported APIs in Outlook mobile, see
|
|
13088
13116
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
13089
13117
|
*
|
|
13090
|
-
*
|
|
13118
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
13119
|
+
*
|
|
13120
|
+
* - The `setAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13091
13121
|
*
|
|
13092
13122
|
* **Errors**:
|
|
13093
13123
|
*
|
|
@@ -13107,11 +13137,6 @@ declare namespace Office {
|
|
|
13107
13137
|
* the editor, it replaces the selected text. If the cursor was never in the body of the item, or if the body of the item lost focus in the
|
|
13108
13138
|
* UI, the string will be inserted at the top of the body content. After insertion, the cursor is placed at the end of the inserted content.
|
|
13109
13139
|
*
|
|
13110
|
-
* When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
|
|
13111
|
-
* (see the **Examples** section for a sample).
|
|
13112
|
-
*
|
|
13113
|
-
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
13114
|
-
*
|
|
13115
13140
|
* @remarks
|
|
13116
13141
|
* [Api set: Mailbox 1.1]
|
|
13117
13142
|
*
|
|
@@ -13119,6 +13144,17 @@ declare namespace Office {
|
|
|
13119
13144
|
*
|
|
13120
13145
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13121
13146
|
*
|
|
13147
|
+
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
13148
|
+
*
|
|
13149
|
+
* **Important*:
|
|
13150
|
+
*
|
|
13151
|
+
* - When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
|
|
13152
|
+
* (see the **Examples** section for a sample).
|
|
13153
|
+
*
|
|
13154
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
13155
|
+
*
|
|
13156
|
+
* - The `setSelectedDataAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13157
|
+
*
|
|
13122
13158
|
* **Errors**:
|
|
13123
13159
|
*
|
|
13124
13160
|
* - `DataExceedsMaximumSize`: The `data` parameter is longer than 1,000,000 characters.
|
|
@@ -13140,11 +13176,6 @@ declare namespace Office {
|
|
|
13140
13176
|
* the editor, it replaces the selected text. If the cursor was never in the body of the item, or if the body of the item lost focus in the
|
|
13141
13177
|
* UI, the string will be inserted at the top of the body content. After insertion, the cursor is placed at the end of the inserted content.
|
|
13142
13178
|
*
|
|
13143
|
-
* When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
|
|
13144
|
-
* (see the **Examples** section for a sample).
|
|
13145
|
-
*
|
|
13146
|
-
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
13147
|
-
*
|
|
13148
13179
|
* @remarks
|
|
13149
13180
|
* [Api set: Mailbox 1.1]
|
|
13150
13181
|
*
|
|
@@ -13152,6 +13183,17 @@ declare namespace Office {
|
|
|
13152
13183
|
*
|
|
13153
13184
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13154
13185
|
*
|
|
13186
|
+
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
13187
|
+
*
|
|
13188
|
+
* **Important*:
|
|
13189
|
+
*
|
|
13190
|
+
* - When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
|
|
13191
|
+
* (see the **Examples** section for a sample).
|
|
13192
|
+
*
|
|
13193
|
+
* - SVG files aren't supported. Use JPG or PNG files instead.
|
|
13194
|
+
*
|
|
13195
|
+
* - The `setSelectedDataAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13196
|
+
*
|
|
13155
13197
|
* **Errors**:
|
|
13156
13198
|
*
|
|
13157
13199
|
* - `DataExceedsMaximumSize`: The `data` parameter is longer than 1,000,000 characters.
|
|
@@ -13188,6 +13230,10 @@ declare namespace Office {
|
|
|
13188
13230
|
* When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
|
|
13189
13231
|
* if the user closes the form without making other edits, they won't be prompted to save changes.
|
|
13190
13232
|
*
|
|
13233
|
+
* - SVG files aren't supported in mail signatures. Use JPG or PNG files instead.
|
|
13234
|
+
*
|
|
13235
|
+
* - The `setSignatureAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13236
|
+
*
|
|
13191
13237
|
* **Errors**:
|
|
13192
13238
|
*
|
|
13193
13239
|
* - `DataExceedsMaximumSize`: The `data` parameter is longer than 30,000 characters.
|
|
@@ -13228,6 +13274,10 @@ declare namespace Office {
|
|
|
13228
13274
|
* When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
|
|
13229
13275
|
* if the user closes the form without making other edits, they won't be prompted to save changes.
|
|
13230
13276
|
*
|
|
13277
|
+
* - SVG files aren't supported in mail signatures. Use JPG or PNG files instead.
|
|
13278
|
+
*
|
|
13279
|
+
* - The `setSignatureAsync` method doesn't support inline CSS. Use internal or external CSS instead.
|
|
13280
|
+
*
|
|
13231
13281
|
* **Errors**:
|
|
13232
13282
|
*
|
|
13233
13283
|
* - `DataExceedsMaximumSize`: The `data` parameter is longer than 30,000 characters.
|
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.498",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "f10ebb9813b13cd0e001f18d303985972240127ed41137e855d9897a12646e47",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|