jferard / fastods

A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
36 stars 6 forks source link

Add support for "Tools > Protect Spreadsheet" #203

Closed jferard closed 3 years ago

jferard commented 4 years ago

And "Tools > Protect Sheet".

jferard commented 3 years ago

XML:

    <table:table table:name="Sheet1" table:style-name="ta1" table:protected="true" table:protection-key="base64..." table:protection-key-digest-algorithm="http://www.w3.org/2000/09/xmldsig#sha1"><loext:table-protection loext:select-protected-cells="true" loext:select-unprotected-cells="true"/>

See: 19.696 table:protected, 19.697table:protection-key, 19.698 table:protection-key-digest-algorithm.