Meta Data

This document is about how to set up XMP Meta Data for an IDML document.

Table of contents

First steps

The MetaData object can hold some copyright information. To be part of the IDML document, it needs to be added to the content object.


use IDML\Content;
use IDML\Content\MetaData;

$content = new Content();

$metaData = new MetaData(); 
    ->setCopyright('Made by Bit&Black')


Since IDML-Creator version 4.0, you can use the Factory to create and register the MetaData:

$metaData = $factory->createMetaData();