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

  • 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 701
12 Classes – Alphabetical List
12-208
Method Purpose
clone
Use ListItem.clone the same way you
use Paragraph.clone.
Clone a list item.
Examples
Create List Items for an Ordered List
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Perform the following steps.');
append(d,p);
step1 = ListItem('Do this step first.');
textForItem = Text('Next, do this.');
step2 = ListItem(textForItem);
procedure = OrderedList();
append(procedure,step1);
append(procedure,step2);
append(d,procedure);
close(d);
rptview('test',doctype);
“Create and Format Lists”
See Also
mlreportgen.dom.OrderedList | mlreportgen.dom.UnorderedList
Vue de la page 701
1 2 ... 697 698 699 700 701 702 703 704 705 706 707 ... 985 986

Commentaires sur ces manuels

Pas de commentaire