MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 726

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 725
12 Classes – Alphabetical List
12-232
open(d);
dp = DocumentPart(d,'ReportTOC');
append(d,dp);
Set the OutlineLevel property internally, so that there are four levels in the table of
contents.
for i = 1:4
% set internally the OutlineLevel property
append(d,Heading(i,'My Chapter'));
append(d,Paragraph('chapter content....'));
end
Use OutlineLevel to set the level of the Glossary paragraph to 1, so that the
paragraph appears at the top level of the table of contents. Display the report.
para = append(d,Paragraph('Glossary'));
para.Style = {OutlineLevel(1)};
close(d);
rptview(d.OutputPath,d.Type);
See Also
mlreportgen.dom.Heading | mlreportgen.dom.Paragraph
More About
“Automatically Number Document Content”
Vue de la page 725
1 2 ... 721 722 723 724 725 726 727 728 729 730 731 ... 985 986

Commentaires sur ces manuels

Pas de commentaire