Report Generator Word Wrap inside Table cells. Words split rather than complete flowing to next line.

조회 수: 15 (최근 30일)
Table, 1 column, 2 rows.
Words truncated at end of each line. See yellow boxes.
Here is the code, using paragraphs.
MyAText1 ='Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere';
MyAText2 ='Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.';
MyATable = Table(1);
MyARow1 = TableRow();
MyARow2 = TableRow();
MyAT1 = TableEntry();
MyAT2 = TableEntry();
MyAPar1 = Paragraph(MyAText1);
MyAPar2 = Paragraph(MyAText2);
append(MyAT1,MyAPar1);
append(MyAT2,MyAPar2);
append(MyARow1,MyAT1);
append(MyARow2,MyAT2);
append(MyATable,MyARow1);
append(MyATable,MyARow2);
MyATable.Width = '60mm';
append(d,MyATable);
Any suggestions appreciated.

답변 (1개)

Sameer
Sameer 2024년 8월 14일
Hi Matt,
You can resolve this issue by following the answer provided in https://www.mathworks.com/matlabcentral/answers/1863073
I hope this helps!
Sameer
  댓글 수: 1
Matt O'Brien
Matt O'Brien 2024년 8월 17일
이동: John Kelly 2024년 8월 19일
I appreciate your response. I will explore your suggestion later in the Autumn / darker nights.
I have largely given up on MatLab.... main reason is..... I cannot reliably run dir style commands on SD / Compact Flash Cards as it is impossible to distinguish system or hidden files....
I built a lot of tools to support handling of image data.... and used the Report Generator to convert images and related metadata to well formed pdf documents.....
I am using other tools to do the same now.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by