Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mlreportgen.dom.Document.getCoreProperties

Package: mlreportgen.dom

Get document or template core properties

Syntax

corePropertiesOut = getCoreProperties(path)

Description

example

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

Examples

collapse 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

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

Was this topic helpful?