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

Get document or template core properties


corePropertiesOut = getCoreProperties(path)



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


collapse all

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

append(myReport,'Hello world');

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

collapse all

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

Output Arguments

collapse all

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

Introduced in R2014b