User`s guide
mlreportgen.dom.Document.moveToNextHole
11-43
mlreportgen.dom.Document.moveToNextHole
Package: mlreportgen.dom
Move document append point to next template hole
Syntax
holeID = moveToNextHole(docObj)
Description
holeID = moveToNextHole(docObj) copies to the output document any text
between the current hole and the next hole in the document template. DOM creates an
mlreportgen.dom.RawText object for the text. This method makes the next hole the
current hole and returns the ID of that hole.
Examples
Move to Next Hole
import mlreportgen.dom.*;
myReport = Document('myDoc','docx');
moveToNextHole(myReport);
• “Add Content to a Report”
Input Arguments
docObj — Document
mlreportgen.dom.Document object
Document in which to move the append point to the next hole.