필터 지우기
필터 지우기

Report generateur Changer le return standard

조회 수: 3 (최근 30일)
Daniel MONTERRAIN
Daniel MONTERRAIN 2023년 8월 12일
댓글: Daniel MONTERRAIN 2023년 8월 22일
bonjour
après chaque paragraphe exporté vers word , il ya un "return" dans word.
Ce return est défini avec 6points d'espacemetn vertical après.
je voudrai modifier cela depuis matlab de façon a voir un return avec 8 points suplémentaires après.
je n'arrive pas à trouver comment changer le paragraphe standard depuis mon programme Matlab (dans word c'est évident)
J'ai essayer d'utiliser les style d'un modle word , il prend toute la mise en forme du style sauf le nombre de point ajouté au return !
une idée?
Merci d'avance

채택된 답변

Ashutosh
Ashutosh 2023년 8월 21일
The Spacing of the paragraph can be modified with the help of the "OuterMargin" class of the "mlreportgen.dom". The "8" dot of vertical space of the "return" word can be observed by setting up the bottom margin of the paragraph with the help of its "Style" property.
Psuedo code for above is as follows:
% Create a paragraph with text
p = Paragraph('This is a paragraph.');
% Modify the spacing after the paragraph
p.Style = {OuterMargin('0pt', '0pt', '0pt', '8pt');
Following links can be used as the reference for knowing more about "OuterMargin" class:
  댓글 수: 1
Daniel MONTERRAIN
Daniel MONTERRAIN 2023년 8월 22일
Merci cette solution est parfaite et résoud mon souci.
merci beaucoup

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

추가 답변 (0개)

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!