PHP Classes

Great script! But how to add metadata?

Recommend this page to a friend!

      PHP MS Word  >  All threads  >  Great script! But how to add metadata?  >  (Un) Subscribe thread alerts  
Subject:Great script! But how to add metadata?
Summary:How to add stackoverflow
Messages:3
Author:defdgsg
Date:2011-11-29 11:05:59
Update:2011-11-30 08:20:35
 

  1. Great script! But how to add metadata?   Reply   Report abuse  
Picture of defdgsg defdgsg - 2011-11-29 11:05:59
Hi
Great script! But how to add metadata? to the document

  2. Re: Great script! But how to add metadata?   Reply   Report abuse  
Picture of defdgsg defdgsg - 2011-11-30 08:20:11 - In reply to message 1 from defdgsg
like this:
// Write metadata
function WriteMetaData( $MetaDataName ,$Text )
{
$this->handle->ActiveDocument->CustomDocumentProperties($MetaDataName)->Value = $Text;
}

Meta data field must be set prior to that.
Astalavista Bie Bie!

  3. Re: Great script! But how to add metadata?   Reply   Report abuse  
Picture of defdgsg defdgsg - 2011-11-30 08:20:41 - In reply to message 1 from defdgsg
like this:
// Write metadata
function WriteMetaData( $MetaDataName ,$Text )
{
$this->handle->ActiveDocument->CustomDocumentProperties($MetaDataName)->Value = $Text;
}

Meta data field must be set prior to that.
Astalavista Bie Bie!