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

  • 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 529
12 Classes – Alphabetical List
12-36
Method Purpose
Use CharEntity.append in a similar way
to how you use ExternalLink.append.
clone
Use CharEntity.clone in a similar way
to how you use Paragraph.clone.
Clone this character entity.
Examples
Append a British Pound Sign
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph(CharEntity('pound'));
append(d,p);
append(p,'3');
close(d);
rptview('test',doctype);
Append Two Nonbreaking Spaces
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Some text');
append(d,p);
ce = CharEntity('nbsp',5);
append(p,ce);
append(p,'more text after five blank spaces');
close(d);
rptview('test',doctype);
See Also
mlreportgen.dom.Paragraph | mlreportgen.dom.Text
Vue de la page 529
1 2 ... 525 526 527 528 529 530 531 532 533 534 535 ... 985 986

Commentaires sur ces manuels

Pas de commentaire