MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Uživatelská příručka Strana 726

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 986
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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”
Zobrazit stránku 725
1 2 ... 721 722 723 724 725 726 727 728 729 730 731 ... 985 986

Komentáře k této Příručce

Žádné komentáře