-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structure cannot be seen in ACME #47
Comments
Thanks is it JUST the file that you have sent? |
@tomyan112 please confirm which version of Chem4Word. |
@tomyan112 no document has come through. Not even in spam folder! Can you please send the document to [email protected] again? |
@tomyan112 is this a file in which you have been "tinkering" with the ContentControls? If so you may have accidentally broken the link between the ContentControl and the stored chemistry. A ContentControl has many properties the two main ones which we use are:
The cml in the CustomXmlParts has the following extra element to allow us to find the chemistry linked to the ContentControl <c4w:customXmlPartGuid>cf188ff717bf42788c582874a02c4602</c4w:customXmlPartGuid> I have just done an experiment where I changed the guid in the tag to a non-existent one and I get the same blank edit screen. Just as in your video. If the document has been saved in this invalid state the real chemistry will have been purged from the document. We remove any unused CustomXmlParts on save to ensure that the word document does not get bloated with orphaned ones. |
Does it appear the Navigator? If not then the link is broken between the control and the chemistry. You then have an orphaned control |
I first removed content control, and then tinkering around, then ctrl+z. |
A) This is one of the main reasons we advise against tinkering with the ContentControl as we can't guarantee that Word's undo system will repair the connection. B) If you open the navigator, you will be able to see all linked Chemistry in the document. |
Thanks @tomyan112 I have just received the document. |
@tomyan112 I have just confirmed using the navigator that the structure in question is not linked to any CustomXmlPart which is present in the document. I forgot to mention earlier, that the navigator operation is bi-directional. When I click on the offending structure in the document no structure is selected in the navigator. |
@tomyan112 sorry, but we are unable to fix your document. As we can detect the condition I am going to issue a warning and prevent empty editor being shown. |
https://youtu.be/fyAeJGoWaOQ
The problematic file has been sent to your email.
The text was updated successfully, but these errors were encountered: