Web addin dialog box in powerpoint: centering and inserting web browser emulation - powerpoint

Operation system: Windows 10
MS Office version: 2019 64-bit
I am trying to create an MS Office web add-in which allows me to place different html pages to different slides. While reading different parts of the MS documentation and web-searching, I could not understand how to:
Center the so-called Taskpane in the center of a slide after start
Insert a web object with an option to show some website content (including js) WITHOUT errors connected to MS Office safety
A good example is a Plotly D3.JS Charts. I try to do practically the same but with support of loading local html files.
UPD: I know about LiveWeb, LiveSlides and other solutions. However, they have their own security problems - I have to correct regit. Therefore, please, do not propose them.

The task pane in an Office Web Add-in always opens to the side of the Office application window. You cannot configure it to open in the center of the document. Also, you cannot have separate task panes for each slide.

Related

Outlook web addin issues

I am developing an Outlook Web Addin using Fabric UI.I have run into couple of issues which are given as follows:
The following is my outlook web addin screen shot:
1:
Issue #1 : I do not have access to addin title "My Test Outlook Web Addin" from within my code. I want to change the CSS properties of the title but I do not seem to have access. This title is defined in an XML file.
Issue #2: I have "Save" and "Cancel" buttons. In their call backs I need to perform some task and close the addin dialog. But I am not able to close the addin dialog. I can close the addin by clicking 'X' icon on the top, but not from within my code.
Issue #3, How to get file types icon with plane JS? (https://developer.microsoft.com/en-us/fabric#/styles/web/file-type-icons)
I am not using React or AngularJS. I am using Core fabric UI with plane JS.
Any help on these issues and on how to control properties of outlook web addin is highly appreciated.
Thanks!
For Issue #1: It is currently not possible to change the styling of the title bar. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.
For Issue #2: You can use the closeContainer API to close the add-in task pane.

How i can add button to main menu not inside message

How to add button to main menu behind "Mark all as read"
instead of showing button inside email body read document but it doesn't help me to find solution,
You cannot get your add-in icon displayed in any place you like. The add-in controls are defined by manifest and displayed in predefined locations of particular client (Outlook Web, Outlook desktop for Windows or Mac, Mobile). Up to developers (Microsoft team) to define the place where the add-in controls will be displayed.
EDIT:
There are two places where add-ins may appear in the client interface. This depends on what type of add-in you have created. There are command add-in and contextual add-in. Both of them will appear somewhat in the space of the message view anyway. The following are examples of where they appear withing the interface ...
And for web view ...
To read more on Outlook add-ins Extension points got to Outlook Add-ins overview article.
Currently the feature you requested is not a part of the product. However, we track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.

Outlook Add-in: Does Outlook Horizontal Add-in View Exist?

I’m a developer working on an add-in for Microsoft Outlook. We are running into a UI bug with certain window sizes. We are having problems resolving this, because we are supporting a horizontal add-in view that we encountered on Outlook on the web in 2016 (please see links below for examples). We haven’t been able to find this view/layout anywhere over many Outlook platforms. Is it safe for us to assume that the horizontal read view has been completely replaced by the add-in commands version that opens the taskpane on the side?
Example One
Example Two
#K. Yu, horizontal add-ins are no longer supported, so use Add-In commands or Contextual Add-ins, depending on what suits your needs.
Check out this blogpost with more information.

Replacing part of Outlook client's window with a custom form

I am developing a VSTO application for Outlook client. I am trying have my form open in the part of the Outlook client window which is highlighted in red in the following image:
I think I can't use the form regions because they replace the view for a single item.
So basically what I want to do is opening my custom form (windows or web) in the red area when I click my tool's button on the toolbar.
Any ideas how this can be done?
There are three main ways for displaying your own form there:
You can use the WebViewURL and WebViewOn properties of the Folder class for setting a web view state for the folder. Microsoft Outlook uses the rendering engine of the version Windows Internet Explorer installed on the client computer to display the web page. If Internet Explorer is not installed on the client computer, Outlook will not display the web page.
Create an adjucent Outlook window. See Creating Adjacent Windows In Outlook for more informaiton. Note, you need to have a deep understanding of Windows API to move that way, see SetWindowsHookEx.
Add-in Express provides a layout for the form out of the box. There is no need to invent a wheel in that case.
You will need to get down to the HWND level to insert your UI - see https://blogs.msdn.microsoft.com/stephen_griffin/2010/06/01/adjacent-windows-in-outlook/ and https://code.msdn.microsoft.com/OlAdjacentWindows/

JavaScript interaction with PowerPoint documents

I have a task pane add-in for PowerPoint in mind that can help users with tasks on the active presentation. With Microsoft Office becoming more and more popular on platforms besides Windows using the JavaScript API would make a great portable implementation. There are a number of COM add-ins doing things like these via the PowerPoint object model:
Get the color of a selected shape and apply to another
Change position of shapes to align
them
Copy one or more shapes from a slide in a presentation to
another
Upload a selected image to a web service
Insert a slide
downloaded from a web service
After going through the JavaScript API documentation it seems like these things are impossible at the moment. getFileAsync sounds remotely promising but does not help in the end. getSelectedDataAsync only returns text or titles and IDs for slides. So this isn't a solution either.
Is it correct that for the tasks above I am currently out of luck with the available JavaScript API for PowerPoint? I.e. I will need to wait for a more comprehensive API to become available (like the APIs for Word and Excel)? Anyone knows if Microsoft has something in the works here?
Right now the Office extensibility team has been investing heavily in Excel and Word JavaScript APIs, the PPT API will also be available in the near future, but I cannot disclose any specific date. Stay tuned!!!

Resources