[
https://issues.apache.org/jira/browse/ODFTOOLKIT-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491612#comment-13491612
]
Svante Schubert commented on ODFTOOLKIT-346:
--------------------------------------------
For later review/testing, the XML attributes relevant to the protection feature
can be found in the ODF 1.2 specification at
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_protection-key
(and below).
-Svante
> Add new API to create protected section in TextDocument to protect contents
> ----------------------------------------------------------------------------
>
> Key: ODFTOOLKIT-346
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-346
> Project: ODF Toolkit
> Issue Type: New Feature
> Components: simple api
> Reporter: Kejia Ye
>
> Propose to add a new API to create protected section, which can be used to
> prevent contents being modified in editors.
> This feature may refers to three parts:
> 1. new API to create section in TextDocument.
> 2. new API to change the protection status of a section, and also allow user
> to specify a password.
> Regarding to the protection key digest algorithm, we can just provide the
> default one "SHA-1", which is also accepted by OpenOffice as its
> authentication procedure. An ProtectionKeyDigestProvider interface should be
> kept to let users define and extend other alternative algorithms.
> 3. support insert more contents into section in addition to paragraph.
> Some of the cotents, like image and textbox, is already supported by
> bonding to a paragraph. So we may need to implement other kind of objects,
> like table and list which are common used as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira