Extract docx table format and contect to insert in pdf auto generated report

Dear all,
i'm trying to colect from an artifact docx the table content and format(most important) to insert in an autogenerated report in pdf in order to conecnect some linkId's from blocks to this new table.
Is there any idea how to colect? should I go via "Word.Application" or via matlab function?
In one way i can extract and past in other word file, but i can't link the blocks, in the other i can just extract the content but the format is in very bad status.
If you could give some hints.
JM

4 Comments

It's quite difficult to understand what you want to do.
Why don't you just paste in other word file by 'keep source formatting'?
I'm already using a scipt base .m file to generate this kind of report https://ch.mathworks.com/products/matlab-report-generator.html,to colect data from a slx file and screenprint all the subysystem, link then with the repective library and with description etc... the problem is that in order to merge with an already existing docx file I need to collect the table to matlab workspace and than print it in the pdf report, my question is how can i do it and keep the formatting.
In order to understand this better, can please let us know how is form-based report generation using Microsoft Word not helpful in your case?
it is not used that form-based i convert everthing to pdf struct.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2021a

Asked:

on 7 Nov 2022

Commented:

on 3 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!