MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES User's Guide Page 726

  • Download
  • Add to my manuals
  • Print
  • Page
    / 986
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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”
Page view 725
1 2 ... 721 722 723 724 725 726 727 728 729 730 731 ... 985 986

Comments to this Manuals

No comments