How do you skip over template items in a .docx file, in MATLAB report generator ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I am creating a report using a template with MATLAB report generator (mlreportgen.dom.*). The template has a title page table on pg 1 where the document details are filled in, I then want to begin adding my headings/paragraphs/images etc on pg 2 of the .docx file.
My issue is when I append these items, the script addes them to the top of pg 1 above the template title page. I cannot find anywhere how to start appending items to pg 2 while keeping the template title page on pg 1.
pagebreak, pagebreakbefore and section break all do their actions from the top of pg 1 and shift the template items down.
Does anyone have any suggestion on how to start on pg 2 while leaving the template title page on pg 1 the way it is?
0 件のコメント
回答 (1 件)
Arun
2024 年 6 月 12 日
I understand that you want to add headings/paragraphs/images on page-2 of the .docx and need guidance to start appending items to page 2 while keeping the template title page on page-1.
Please refer the following MATLAB documentation link which provides information regarding “mlreportgen.dom.PageBreakBefor” class and includes a related example “Create a Page Break before a Heading”: https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.pagebreakbefore-class.html
Hope this helps!
Regards
Arun
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!