Hi all,
I'm currently writing a MetadataExtracter from Word Documents. I want to extract other properties than the default ones (author, title, description) from the properties (like keywords) and from the parsing of the document. I wrote a Java class which extends the org.alfresco.repo.content.metadata.OfficeMetadataExtracter I could find in Alfresco SDK.
But how can I save the extracted metadata from the Java class? There exists the ContentModel with a few metadata (ContentModel.PROP_AUTHOR, etc.), but how could I write say document keywords. Where should I define the PROP_KEYWORD metadata? Could the property be simply defined in a new ContentModel.xml?
Sorry if the answer is obvious, maybe it's simple Java, but I'm lost!
Thanks,
Best regards,
Stéphane