I have been working with the Report generator dom.api function moveToNextHole(report) to fill in content controls in a Microsoft Word ".dotx" template with no issues. However, in trying to use a class to fill in the content control holes, anything I try to populate (whether text, pictures, or any other content) just ends up at the beginning of the output document, not where the content control holes are. I found this to be true even in just trying to use the Mathworks example given in the "mlreportgen.dom.Document.fill" documentation.
MATLAB: Has anyone had success in creating a Report generator class to properly fill holes in a Word document
dom.apiMATLAB Report Generatormlreportgen.dom.documentreport generatorSimulink Report Generator
Related Question
- How to insert a figure into a report
- MoveToNextHole in Report Generator does not compile.
- How to fill holes in a MS Word Template in Report Generator
- How can a create a table on contents in a pdf document created using the Matlab Report Generator
- Does the import of Report Generator work with Maltab Compiler
Best Answer