Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powerpoint missing some models #320

Open
Vision-1776 opened this issue May 14, 2021 · 3 comments
Open

Powerpoint missing some models #320

Vision-1776 opened this issue May 14, 2021 · 3 comments
Labels
ms-powerpoint office-2016 Microsoft Office 2016 office-2019 Microsoft Office 2019

Comments

@Vision-1776
Copy link

Below is a link to the official Microsoft reference for Powerpoint. The netoffice dll is missing this model.
Shape.Model3D property (PowerPoint) on version NetOfficeFw.Powerpoint 1.8.1

Also Im curious as to how these libraries get created? Are they using reflection to stay up to date on any new models introduced by Microsoft or are these needing to be manually updated by your team each time Microsoft introduces anything new?

https://docs.microsoft.com/bs-cyrl-ba/office/vba/api/powerpoint.shape.model3d

@Vision-1776
Copy link
Author

another kind of side note: Id be curious on if it's possible to collaborate on this project

@jozefizso
Copy link
Member

Hi @Vision-1776,
yes, there are few recently added APIs which are not covered by NetOffice yet:

What's new for VBA in Office 2016
What's new for VBA in Office 2019


Also Im curious as to how these libraries get created? Are they using reflection to stay up to date on any new models introduced by Microsoft or are these needing to be manually updated by your team each time Microsoft introduces anything new?

Minor changes to the API are committed manually.

NetOffice as a whole was generated using LateBindingApi.CodeGenerator. This tool captures API from COM libraries and can generate C# code which uses late binding to call COM interfaces.

Unfortunately, the CodeGenerator does not generate the latest NetOffice code. There is ongoing effort in the dev/NetOffice174 branch to update CodeGenerator so it can generate source code matching the NetOffice 1.7.4.

You are welcome to collaborate :)

I think the easy to work on are updates to enums and some properties which can be easily matched between COM and C#. The most complicated are new coclasses and events.

@Vision-1776
Copy link
Author

thank you for the fast response. That answers all my questions. Im a bit curious about helping out so I might consider it now.

@jozefizso jozefizso added office-2016 Microsoft Office 2016 office-2019 Microsoft Office 2019 labels Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ms-powerpoint office-2016 Microsoft Office 2016 office-2019 Microsoft Office 2019
Projects
None yet
Development

No branches or pull requests

2 participants