Kejia Ye created ODFTOOLKIT-346:
-----------------------------------
Summary: 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