mlreportgen.dom.Document.getOPCMainPart
Class: mlreportgen.dom.Document
Namespace: mlreportgen.dom
Return main part of document, document part, or template
Syntax
Description
returns the path of the main part (file) of a package for a document, document part,
or template, based on the specified path. The returned path is relative to the root
directory of the package, which is symbolized by a forward slash
(partOut
= mlreportgen.dom.Document.getOPCMainPart(path
)/
). The main part is the file that contains the document or
template XML or HTML markup.
Examples
Input Arguments
Output Arguments
Tips
The getOPCMainPart
method is a static method. Invoke it on the
Document
class, rather than on an instance of the
Document
class or on a class derived from the
Document
class.
Version History
Introduced in R2014b