Azzera filtri
Azzera filtri

Report generateur Changer le return standard

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Ashutosh
Ashutosh il 21 Ago 2023
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:

Più risposte (0)

Prodotti


Release

R2016b

Community Treasure Hunt

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

Start Hunting!