Free Support Forum - aspose.com

Is it possible to tag several keywords in a Doc-File?

Hello,


i am generating a doc/docx-file with Aspose.Words that can be edited by the User in Office 2007/2010.

Some of the words are special keywords which are generated from the database. Is it possible to flag this words in the doc-file beside of the normale style-allocation?

For example if i insert a paragraph with text “John Doe”. Then “John” should be marked as “firstname” and “Doe” as “lastname” (like XML).

The aim is to reimport possible changes the office-user made on keywords?

Greetings
Klaus

Hi

Thanks for your request. I think, in your case you can use Form Fields to achieve what you need:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/working-with-form-fields.html

In addition, if you protect your document with AllowOnlyFormFields protection mode, your users will be able to enter values only in form fields.

Best regards,