This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Package: mlreportgen.dom

Return numbering stream


autoNumStreamOut = getAutoNumberStream(docObj,streamName)



autoNumStreamOut = getAutoNumberStream(docObj,streamName) returns the specified numbering stream used by the document.


collapse all

import mlreportgen.dom.*;
myReport = Document('mydoc','html');

streamOut = getAutoNumberStream(myReport,'chapterNum')
streamOut = 

  AutoNumberStream with properties:

       StreamName: 'chapterNum'
    CharacterType: 'roman'
    CharacterCase: 'upper'
     InitialValue: 1
              Tag: 'dom.AutoNumberStream:500'
               Id: '500'

Input Arguments

collapse all

Document that uses the numbering stream, specified as an mlreportgen.dom.Document object.

Name of the numbering stream to return, specified as a character vector.

Output Arguments

collapse all

Numbering stream used by the document, represented by an mlreportgen.dom.AutoNumberStream object.

Introduced in R2014b