Main Content

mlreportgen.dom.Document.getCoreProperties

Class: mlreportgen.dom.Document
Package: mlreportgen.dom

Get document or template core properties

Description

example

corePropertiesOut = mlreportgen.dom.Document.getCoreProperties(path) specifies the core OPC properties for the document or template having the specified path.

Examples

expand all

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

append(myReport,'Hello world');

close(myReport);
coreProps = Document.getCoreProperties('mydoc.docx')
coreProps = 

  CoreProperties with properties:

          Category: []
     ContentStatus: []
           Creator: 'MathWorks'
       Description: []
        Identifier: []
          Keywords: []
          Language: []
    LastModifiedBy: ''
          Revision: '2'
           Subject: []
             Title: ''
           Version: []
               Tag: 'dom.CoreProperties:203'
                Id: '203'

Input Arguments

expand all

Path to the document or template, specified as a character vector.

Output Arguments

expand all

Core properties of the document or template, represented by an mlreportgen.dom.CoreProperties object.

Introduced in R2014b