openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jianyuan Li <>
Subject [Discussion]Active Doc/Sheet protection password related blocks
Date Tue, 26 Jun 2012 06:44:14 GMT
Hi, all,

In ../sc/inc/tabprotection.hxx, a macro is defined as below:

So all blocks controlled by it will not be executed:
1. Import/export Sheet/Doc protection password for a protected xls file.
2. Import a protected xls file and show unpassword dlg to input password
when unprotect the sheet/doc.
2. Import a ods/xls file and export it as a xls/ods file. Show password
retype dlg.
And there is an issue related to it: I have added some
comments for it.
I had a simple test to set the macro as 1 and checked all above scenarios.
It works well. So here I want to set the macro as 1.

Any comments? Or does anyone know the initial thought for the value "0"

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message