incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kejia Ye (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ODFTOOLKIT-346) Add new API to create protected section in TextDocument to protect contents
Date Tue, 06 Nov 2012 15:58:12 GMT
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

Mime
View raw message