When importing, our application breaks up the Word document and stores it to
the dB as a bunch of XML chunks. Each chunk (topic) begins with a H1, H2, or
H3 heading. We then pull from the dB, edit, and save back to the dB.
Currently the topic ID is inserted in the topic heading as a bookmark and
needs to be there for the save back to dB. Problem is that we can open an
individual topic, or a chapter (several topics) or even the whole document
(all topics). This has tremendous advantages for the user but it also means
we have to manage more than one topic ID per Word session, and this rules out
Doc Properties and I think Doc level variables. What we really need is to put
the ID somewhere in the topic XML, somewhere where it is not stripped out by
Word and can't be deleted accidentally by the user. We've tried subsections,
but Word strips it out from those.