Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add the option save with ”read-only recommended”? #201

Closed
kbzsl opened this issue Jun 21, 2021 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@kbzsl
Copy link

kbzsl commented Jun 21, 2021

read-only

@ycphs ycphs added the enhancement New feature or request label Jun 21, 2021
@ycphs
Copy link
Owner

ycphs commented Jun 21, 2021

Could you please provide two files one with the option active and one default file?

@kbzsl
Copy link
Author

kbzsl commented Jun 21, 2021

Here are the files.

no_option.xlsx

read-only_option.xlsx

@kbzsl
Copy link
Author

kbzsl commented Jun 21, 2021

It’s most probably the <DocSecurity>2</DocSecurity> in the docProps\app.xml.
Please refer to: DocumentSecurity Class

In the Excel, this option can be found in the Save As menu, at the Tools | General Options.

@ycphs
Copy link
Owner

ycphs commented Jun 21, 2021

Thank you for your input. That was really helpful.

@JanMarvin
Copy link
Collaborator

I've pushed a draft to implement this in #202. The DocSecurity string is correctly written, but I could not test the functionality with LibreOffice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants