Borrar filtros
Borrar filtros

Report generateur Changer le return standard

1 visualización (últimos 30 días)
Daniel MONTERRAIN
Daniel MONTERRAIN el 12 de Ag. de 2023
Comentada: Daniel MONTERRAIN el 22 de Ag. de 2023
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

Respuesta aceptada

Ashutosh
Ashutosh el 21 de Ag. de 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:
  1 comentario
Daniel MONTERRAIN
Daniel MONTERRAIN el 22 de Ag. de 2023
Merci cette solution est parfaite et résoud mon souci.
merci beaucoup

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!