Description: I use EncryptionData model argumnets to told to LibreOffice that user doesn't have rights on copy. It's work fine for almost every cases, but I can copy text from cell of Calc document if I select the text insede cell Steps to Reproduce: 1 make restriction on copy on Calc document 2 pick cell 3 select text incide cell and press Ctr+c 4 past in some editor Actual Results: text was copied Expected Results: text wesn't copied Reproducible: Always User Profile Reset: No Additional Info: .
Thank you for reporting the bug. I can confirm that the bug is present in: Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
(In reply to Alex from comment #0) > Description: > I use EncryptionData model argumnets to told to LibreOffice that user > doesn't have rights on copy. It's work fine for almost every cases, but I > can copy text from cell of Calc document if I select the text insede cell > > Steps to Reproduce: > 1 make restriction on copy on Calc document Can you explain how you do this step? In any case, if you right-click the sheet name, select Protect Sheet, then uncheck Select protected cells, you will be unable to select anything, but there is this way: bug 102162. By selecting all from the corner you can copy & paste everything to a new document.
I set LockContentExtraction to true in MediaDescriptor. Link: https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1document_1_1MediaDescriptor.html#aa16816a4605383b6483edd0063cc7af5
(In reply to Alex from comment #3) > I set LockContentExtraction to true in MediaDescriptor. > Link: > https://api.libreoffice.org/docs/idl/ref/ > servicecom_1_1sun_1_1star_1_1document_1_1MediaDescriptor. > html#aa16816a4605383b6483edd0063cc7af5 If you could also share the full code that you are using to do this, it would be great.