Mark Fletcher wrote: > > It looks like DocumentUtil.pendingChanges(doc) will tell XXE that a file > is dirty (even if it is not). Is that right?
Yes. > But I'm still hoping for a > way to tell XXE that a file is not dirty (even if it is). There is currently no public, documented, way to do this. > In addition to my need for it regarding an unset/reset conref, this type > of command is handy for enforcing standards "silently" on new files; for > example, entering the user's name as author when a new file is opened. > In this case, the dirtying of the file can confuse the writer if they > decide they don't want to keep it. (They wonder why they're being > prompted to save their changes when they haven't made any.) Professional Edition comes with the full source code of the product. Therefore there is no technical limit to what you can do to handle your very specific needs.

