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

            Bug ID: 155026
           Summary: Cannot disable track-changes markup using UNO-Wrapper
           Product: LibreOffice
           Version: 7.3.0.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hello, 
I've tried mutlipe methods and options to disable TrackChanges when opening a
docx with enabled TrackChanges and saving it as a pdf in order to obtain a
clean pdf file.
After I open the file I try to use an xDispatchHelper this way to run this
(somewhat condensed line): 

    dispatchHelper.executeDispatch(dispatchProvider, ".uno:ShowTrackedChanges",
"", 0,
      new PropertyValue[]{
        new PropertyValue() {
          {
            Name = "ShowTrackedChanges";
            Value = false;
          }
        }
      }
    );

But all I seem to get is the same I put into the system, I verified the code is
called aswell.
I could reproduce this also with version 7.3 of LibreOffice

Steps to Reproduce:
1. Load a docx document using the uno-wrapper whith track changes enabled and
some markup.
2. Apply the given line of code, attempting to disable ShowTrackedChanges
3. Save the document as pdf
4. open the pdf document and verify the track changes are no longer visible

Actual Results:
the track changes markup is still visible

Expected Results:
the track changes markup is no longer visible


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.6.2 (x64) / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 4; OS: Windows 10.0 Build 20348; UI render: Skia/Raster; VCL: win
Locale: en-GB (de_AT); UI: en-GB
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to