NetOffice icon indicating copy to clipboard operation
NetOffice copied to clipboard

Powerpoint missing some models

Open Vision-1776 opened this issue 3 years ago • 3 comments

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 avatar May 14 '21 20:05 Vision-1776

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

Vision-1776 avatar May 14 '21 20:05 Vision-1776

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.

jozefizso avatar May 14 '21 20:05 jozefizso

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

Vision-1776 avatar May 14 '21 21:05 Vision-1776