Report generateur Changer le return standard

1 次查看(过去 30 天)
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:

更多回答(0 个)

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!