Open popsugon opened 6 years ago
Hi @Miramac ,
it would be greater if you add the function about "shape.Table add rows/delete rows".
Yes, the function for adding/deleting rows/columns in tables is missing. Unfortunately not a fast finished task, how the tables are currently being processed.
A good question, because unfortunately there is no documentation yet on how to contribute to the project.
Add the function in C
In your case you want to add this function as a shape function.
/src/OfficeScript/OfficeScript/Report/Shape.cs
Make the function public to Javascript
Add a new async function to the return object of
Invoke()
/src/OfficeScript/OfficeScript/Report/Shape.cs
Compile the C# code
gulp build
Create a javascript wrapper
/lib/powerpoint/shape.js
Make a pull requests
I would love to add your new function to the library!