Thanks for letting me know and it is good to hear that you have managed to track the source of the problem down.
One concern I do have however is concerning the .dotm files. I am no expert but understand that this specific extension indicates to Word that the file contains macros but that these can be trusted. As a result, Word will not display a prompt to the user asking them whether or not macro code should be allowed to run. Changing the type as you are doing may subvert this process - I do not now that it will however and think this conclusions should be tested - something which might annoy the document's authors and users. With regard to simple template files - dotx - then this is the perfect solution to the problem I think and well done for finding it. With regard to the dotm files, I think it might be worth discussing the repercussions of the changes - that is if my suspicions are correct - with your users. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/How-to-read-the-value-of-bookmarks-docx-tp5710184p5710759.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
