#668 Microsoft Open XML (Word): special bookmark _GoBack not ignored.

SVN
open
nobody
word (3)
5
2014-03-31
2014-03-26
No

In the Microsoft Open XML, you can find at location of last edit:
<w:bookmarkStart w:id="0" w:name="_GoBack"/><w:bookmarkEnd w:id="0"/>

According to http://social.msdn.microsoft.com/Forums/en-US/0e0c5c33-dc4b-4e0f-b795-7868e6a63836/goback-hidden-bookmark-in-open-xml-while-processing-office-2010-word-document?forum=oxmlsdk this is a special bookmark continuously updated when you edit the document.

It allows Shift+F5 (go to previous edit) to work when re-opening a document. It has no meaning for the document itself; it is just a storage for the user's work so far.

Please ignore this one. It continuously introduces new tags per edit.

Discussion

  • Didier Briel

    Didier Briel - 2014-03-27

    Unfortunately, in OmegaT, we don't have any feature to "ignore" a tag. We have something to make a tag untranslatable (defineIntactTags), but that won't make inline tags (inside the segment) go away. Even declaring all w:bookmarkStart and w:bookmarkEnd tags (without even checking whether they are GoBack tags) doesn't make any difference.

    Didier

     
  • Guido Leenders

    Guido Leenders - 2014-03-28

    Ok. We will add some features to our Invantive Composition plug-in for Word to avoid this. Speaking in general: is it wise to add a feature request to support ignored tags or is it unsensible because ignored tags must be placed back somewhere later and it is not known where they should be located often?

     
    • Didier Briel

      Didier Briel - 2014-03-29

      Although removing useless tags (e.g., proofing tags) and not putting them back would appear to make sense, especially in the context of OpenXML, doing that alone would bring nearly no benefit, because you always have the end of a run </w:t></w:r> before the useless tag and the start of the new run <w:t><w:r> after it. So you would have to add an optimisation pass to remove empty runs. If you do that, you might as well remove useless tags in the optimisation pass.

      Didier

       
  • Guido Leenders

    Guido Leenders - 2014-03-29

    Hi Didier, ok. We will add this feature to Invantive Composition free edition too. Do you know whom might be willing to test it outside Invantive but with knowledge of omegat and Word documents frequently passing by?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks