L
Luther Miller
We have found a situation where we have a Word 2003 (SP1 or SP2) document
that is using an XSD schema. We have an element that has Placeholder text and
that element is in a table cell.
The document is protected so that the schema does not become invald.
When we are NOT viewing XML (as our users will not be) and we tab into the
placeholder, typing works just fine - it goes into the element.
However, if you paste, then it replaces the entire XML node instead of
pasting into the XML node.
We have found that this doesn't happen if you are viewing the XML schema in
the Word document (and then you do not see the placeholder), or if the
element is not in a table cell, or if you use the protection task pane and
find the next editable part of the document instead of clicking or tabbing
into the placeholder.
We are looking for a programmatic workaround to this issue; looking into
SelectionChanged event to determine if whole element is selected so we can
position insertion point into the node.
that is using an XSD schema. We have an element that has Placeholder text and
that element is in a table cell.
The document is protected so that the schema does not become invald.
When we are NOT viewing XML (as our users will not be) and we tab into the
placeholder, typing works just fine - it goes into the element.
However, if you paste, then it replaces the entire XML node instead of
pasting into the XML node.
We have found that this doesn't happen if you are viewing the XML schema in
the Word document (and then you do not see the placeholder), or if the
element is not in a table cell, or if you use the protection task pane and
find the next editable part of the document instead of clicking or tabbing
into the placeholder.
We are looking for a programmatic workaround to this issue; looking into
SelectionChanged event to determine if whole element is selected so we can
position insertion point into the node.