At the moment, when exporting to HTML Aspose.Words only writes built-in document properties Subject, Keywords and Title as META elements.
There is a request from a customer to export all custom document properties to HTML. It is a good request and we are going to implement this feature. But before we do this, I would like to give you an opportunity to comment on this feature.
How do you want built-in and custom document properties exported/imported to HTML in Aspose.Words?
There are two ways I see at the moment (if you have other ideas, let me know).
1. Do the “HTML” way and export like this:
…
All built in and custom document properties can be simply exported as META elements.
Do you always want to see ALL builtin document properties exported? There are quite a few of them (about 30): https://reference.aspose.com/words/net/aspose.words.properties/builtindocumentproperties. I guess exporting them all as META plus all custom properties could be a bit too much. Another drawback is there will be really no easy way to distinguish between builtin and custom document properties except by name. This could lead to some issues. Essentially two property collections will be merged into a single collection of META elements. If you happen to have a custom document property with a name that matches a name of the built in document property, one of them will have to be overriden.
2. Do the Microsoft Word way and export to HTML like this:
my name
some template.dot
q
…
SalesDeal.doc
Create Sales Deal Rebates
…
Note that I will want export and import of document properties in Aspose.Words to agree on the same format. Looking forward for your responses.