Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 59 additions & 7 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13076,17 +13076,15 @@ declare namespace Office {
*
* **Important**:
*
* - The `contentId` property is only supported in Outlook on the web and Outlook on Windows (new and classic (preview)).
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
*
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
* - Changes to how inline images are represented in the HTML body of Outlook emails in Outlook on the web and the new Outlook on Windows released on November 15, 2025.
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
* After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
* As a result, you'll need to update your add-in's parsing logic if you parse the attachment ID from the HTML editor or
* get the Base64 value of the image from the URL in the `src` attribute. For more information, see
* {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
* For more information, see {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
*/
contentId: string;
/**
Expand Down Expand Up @@ -13144,6 +13142,24 @@ declare namespace Office {
* Gets a value that indicates the attachment's type.
*/
attachmentType: MailboxEnums.AttachmentType | string;
/**
* Gets the content identifier of an inline attachment.
*
* @remarks
*
* **Important**:
*
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
*
* - Changes to how inline images are represented in the HTML body of Outlook emails in Outlook on the web and the new Outlook on Windows released on November 15, 2025.
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
* For more information, see {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
*/
contentId: string;
/**
* Gets the MIME content type of the attachment.
*
Expand Down Expand Up @@ -14974,6 +14990,24 @@ declare namespace Office {
* [Api set: Mailbox 1.5]
*/
pageY: number;
/**
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
* The position is relative to the left edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneX: number;
/**
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
* The position is relative to the top edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneY: number;
/**
* Gets the type of drag-and-drop event. The `dragover` event occurs when messages or file attachments are dragged over an add-in's task pane.
*
Expand Down Expand Up @@ -15020,6 +15054,24 @@ declare namespace Office {
* [Api set: Mailbox 1.5]
*/
pageY: number;
/**
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
* The position is relative to the left edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneX: number;
/**
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
* The position is relative to the top edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneY: number;
/**
* Gets the type of drag-and-drop event. The `drop` event occurs when messages or file attachments are dropped into an add-in's task pane.
*
Expand Down
67 changes: 60 additions & 7 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12992,17 +12992,15 @@ declare namespace Office {
*
* **Important**:
*
* - The `contentId` property is only supported in Outlook on the web and Outlook on Windows (new and classic (preview)).
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
*
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
* - Changes to how inline images are represented in the HTML body of Outlook emails in Outlook on the web and the new Outlook on Windows released on November 15, 2025.
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
* After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
* As a result, you'll need to update your add-in's parsing logic if you parse the attachment ID from the HTML editor or
* get the Base64 value of the image from the URL in the `src` attribute. For more information, see
* {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
* For more information, see {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
*/
contentId: string;
/**
Expand Down Expand Up @@ -13061,6 +13059,24 @@ declare namespace Office {
* Gets a value that indicates the attachment's type.
*/
attachmentType: MailboxEnums.AttachmentType | string;
/**
* Gets the content identifier of an inline attachment.
*
* @remarks
*
* **Important**:
*
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
*
* - Changes to how inline images are represented in the HTML body of Outlook emails in Outlook on the web and the new Outlook on Windows released on November 15, 2025.
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
* For more information, see {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
*/
contentId: string;
/**
* Gets the MIME content type of the attachment.
*
Expand Down Expand Up @@ -14535,6 +14551,24 @@ declare namespace Office {
* [Api set: Mailbox 1.5]
*/
pageY: number;
/**
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
* The position is relative to the left edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneX: number;
/**
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
* The position is relative to the top edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneY: number;
/**
* Gets the type of drag-and-drop event. The `dragover` event occurs when messages or file attachments are dragged over an add-in's task pane.
*
Expand Down Expand Up @@ -14575,11 +14609,30 @@ declare namespace Office {
/**
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
* The position is relative to the top edge of the Outlook on the web or the new Outlook on Windows client window.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
pageY: number;
/**
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
* The position is relative to the left edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneX: number;
/**
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
* The position is relative to the top edge of the add-in's task pane.
*
* @remarks
*
* [Api set: Mailbox 1.5]
*/
taskPaneY: number;
/**
* Gets the type of drag-and-drop event. The `drop` event occurs when messages or file attachments are dropped into an add-in's task pane.
*
Expand Down