[Libreoffice-bugs] [Bug 89991] Save ODT as DOCX turns on Show Changes when Record Changes also on

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 10 13:45:41 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=89991

--- Comment #24 from Justin L <jluth at mail.com> ---
So how does DOC do it?   For export:
    pDop->fRMView = pLayout == nullptr || !pLayout->IsHideRedlines();
    pDop->fRMPrint = pDop->fRMView;

and for import:
    isHideRedlines = !m_xWDop->fRMView;
    m_rDoc.GetDocumentRedlineManager().SetHideRedlines(isHideRedlines);

Possibly, this is the comparable setting for DOCX???
<w:revisionView w:insDel="true" />

However, if I add this to a DOCX file, then MSWord shows the changes regardless
of the setting, so either it means something different, or it doesn't work for
Word 2010/2003.  In a Microsoft context, someone else also thought it SHOULD
show track changes, but also found that it didn't.
https://stackoverflow.com/questions/47030234/show-reviewing-pane-in-word-client-by-default

2.14.1.69
revisionView (Visibility of Annotation Types)
This element specifies which forms of annotations shall be visible for a
WordprocessingML document when it is displayed. This setting shall not affect
whether annotations are added or persisted, it shall only affect the display of
the annotations which exist in the document's contents (persisted or in
memory). If this element is omitted, then all forms of annotations shall be
visible.

insDel (Display Content Revisions)
Specifies if revisions to content (i.e. insertions, deletions, and moves)
should be included when the contents of this document are displayed. If this
attribute is omitted, then insertions, deletions, and moves shall be displayed
when annotations are visible based on application-level settings. [Example:
Consider the WordprocessingML below specifying that insertions, deletions, and
moves shall be displayed: <w:revisionView w:insDel="true" /> The insDel
attribute has a value of true, specifying that insertions, deletions, and moves
shall be rendered when the document's annotations are displayed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190610/a40329ec/attachment-0001.html>


More information about the Libreoffice-bugs mailing list