User`s guide
11 Functions – Alphabetical List
11-24
p = Paragraph('Chapter ');
p.Style = {CounterInc('chapter')};
p.WhiteSpace = 'pre';
append(p,AutoNumber('chapter'));
append(myReport, p);
end
close(myReport);
rptview(myReport.OutputPath,myReport.Type);
• “Automatically Number Document Content”
Input Arguments
docObj — Document to apply numbering stream to
mlreportgen.dom.Document object
Document to apply numbering stream to, specified as an mlreportgen.dom.Document
object.
streamName — Name of numbering stream
string
Consider using a name that indicates the kinds of document element (for example, a
chapter heading) that you expect to apply the stream to.
streamType — Type of numbering stream characters
string
Use one of these letters to specify the type of characters to use for the numbering values.
• 'n' — Arabic numerals (you can also use 'N').
• 'a'— Lowercase alphabetic letters (a,b,c,...)
• ‘A’ — Uppercase alphabetic letters (A,B,C,...)
• ‘i’ — Lowercase Roman numerals (i,ii,iii,...)
• ‘I’ — Uppercase Roman numerals (I,II,III,...)
initialValue — Starting value for a numbering stream
number