1. Introduction

OCEditor is an open collaboration editor that allows controversial and extendend documents to be created,

edited, commented and voted. The discussions and versions are kept.

2. User management

OCEditor supports both anonymous and registred users.

Anonymous users are restricted only to see document.

Registred users can create and edit documents.

This section explains how to create user account, and how users edit their account profiles.

2.1. Registration

Your registration allows you to create new documents, variants of existing documents, edit existing documents and their variants,

comment and vote for document or document node.

To create a new account, click on [register] link on the top panel.

A new registration form appears:

Fill all fileds and click ' register' button.

A new account is created and you can login in OCEditor application now.

2.2. Manage profile

If you have an account already created, you can edit your profile information.

To manage your profile, login and click [edit details] link on the top panel.

Edit profile form appears:

Change your data and save changes.

If you want to change your password, click [Change password] link and you will be redirected to a chage password form:

You have to fill and confirm your new password and press 'Update''.

2.3. Remember password

If you forget your password, you have to go to the login form and click on [Forget your user name or password?] link.

You will be prompted to enter a valid email address (from your account) and the password will be sent to this address.

3. Document management

OCEditor application allows authorized users to create, edit and delete document.

3.1. Create a document

To create a new document, you have to log into OCEditor application and click [Create document] link on the top panel.

A new document form appears.

In the first step, you should specify the title, category and other meta information for the document.

The form has following fields:

Title - Document title. Required filed, max length is 256 characters. Document title must be unique. You will get an error message if a document with the same title already exixts.

Category - Document type. Following types are supported:

- Article

- Book

Abstract - A brief description of the document. Optiona filed, max length is 512.

Keywords - A List that contains keywords for the document (separated by spaces). Keywords are used to refine document browsing.

Optional filed, max length is 256.

License - License information for the document. Optional filed, max length is 512.

Group - Predefined set of permissions for users.

Following groups are defined:

- Public - Anonymous users can see the document. All authenticated users can edit the document.

- Protected - All authenticated users can see the document. Only authorized users can edit the document.

- Private - Only authorized users can see and edit the document.

Open for editing - Check this box if you want to enable the document for editing.

Open for commenting - Check this box to make the document avaliable for commenting.

Open for voting - Check this box to make the document avaliable for voting.

Fill all required fields and click 'create' button.

Now the document is created and you can edit its structure and content. (See section 3.2. Edit document).

3.2. Edit a document

If you want to edit an existing document, you have to open it in 'edit' mode (See section 4.1. Open document in edit mode) .

If it is not a document of yours, you must be authorized to edit the document.

3.2.1. Edit meta information

To edit document meta information, click [Meta information] on the action bar.

Make your changes and press 'Update' button to save them.

If it is an existing document the chages will be stored immediately.

3.2.2. Edit properties

To edit document properties, click [Properties] on the action bar.

Make your changes and press 'Update' button to save them.

If it is an existing document the changes will be kept in memory until save the document (see section 3.2.6. Save a document).

3.2.3. Edit content

To edit document content, click [Content] on the action bar.

Make your changes and press 'Update' button to save them.

If it is an existing document the changes will be kept in memory until save the document (see section 3.2.6. Save a document).

3.2.4. Edit user roles

If you are author or administrator of a document, you can grant permissions to other users.

To do that, click [User roles] link the action bar.

Select a user and role to assign and press 'Add'.

To remove a role from an user, click [Delete] link in the corresponding row.

3.2.5. Edit structure

A document may contain one or more fragments (nodes) organized in a tree structure.

Currently for node types are supported:

- Part

- Chapter

- Section

- Paragraph

3.2.5.1. Create a node

To add new node to a document, select the parent node in the document tree, and click [Add node] link.

The Editor Pane in the right part of the main frame displays new node form:

In the first step, you should specify the title and other meta information for the node

The form has following fields:

Type - Node type. Following types are supported:

- Part

- Chapter

- Section

- Paragraph

Title - Node title. Required filed, max length is 4000 characters.

Order - Position in the document tree.

Group - Predefined set of permissions for users.

Following groups are defined:

- Public - Anonymous users can see this section. All authenticated users can edit this section.

- Protected - All authenticated users can see the section. Only authorized users can edit the section.

- Private - Only authorized users can see and edit the section.

Open for editing - Check this box if you want to enable the node for editing.

Open for commenting - Check this box to make the nodr avaliable for commenting.

Open for voting - Check this box to make the node avaliable for voting.

Fill all required fields and click on 'create' button.

Now a new node is created and you can edit its structure and content (See section 3.2.5.2. Edit a node).

3.2.5.2. Edit a node

If you want to edit a node from an document, you have to open the document it in 'edit' mode

and click on desired node in the document tree (See section 4.1. Open document in edit mode) .

If it is not a document of yours, you must be authorized to edit the node.

3.2.5.2.1. Edit node meta information

To edit node meta information, select the node in the document tree and click [Meta information] on the action bar.

Make your changes and press 'Update' button to save them.

If it is an existing node the chages will be stored immediately.

3.2.5.2.2. Edit node properties

To edit node properties, select the node in the document tree and click [Properties] on the action bar.

Make your changes and press 'Update' button to save them.

If it is an existing node the chages will be kept in memory until save the document (see section 3.2.6. Save a document).

3.2.5.2.3. Edit node content

To edit node content, select the node in the document tree and click [Content] on the action bar.

Make your changes and press 'Update' button to save them.

If it is an existing node the chages will be kept in memory until save the document (see section 3.2.6. Save a document).

3.2.5.2.4. Edit user roles

If you are author or administrator of a node, you can grant permissions to other users.

To do that select the node in the document tree and click [User roles] link the action bar.

Select a user and role to assign and press 'Add'.

To remove a role from an user, click [Delete] link in the corresponding row.

3.2.5.3. Preview

To see a node, select it in the document tree and click [Preview] link.

Formatted node content (include subnodes) appears on the right part.

3.2.5.5. Remove a node

To remove a node from the document, select the node to be removed in the document tree and click [Delete].

3.2.6. Save a document

To persist the changes in a document, click [Save document] link in the document tree.

If it is a newly created document it will be stored in the database.

If it is an existing documet, it will be updated and a new version will be created.

If you want to discard your changes just click [Discard changes] link and last stored version will be loaded.

3.3. Delete a document

To delete a document, open it in edit mode, select the document node and click [Delete].

Note: All information related to the document will be deleted (nodes, comments, variants and versions).

4. Search Documents

OCEditor allows both anonymous and authenticated users to search for documents and view content and other

information related to a document.

To search for an existing document, use search form in the top panel.

You have to specify title pattern and type and press 'Search'.

(Title pattern means entire document name or part of name. Empty value means all documents)

You will get a list of documents that match the specified conditions.

4.1. Open document in edit mode

The OCEditor frame shows the document structure in the left part of the main window. The right part shows the document content.

You may use document tree to navigate to a node, or to change the document structure.

The root of the tree is a document node.

The Editor Pane in the right part of the main frame displays a part of the document selected in the document tree.

4.2. Open document in view mode

To open a document from document list, click on [Open] link.

The OCEditor frame shows the document structure in the left part of the main window. The right part shows the document content.

To see a specific node content, click on it in the document tree.

The node will be shown in the right part.

4.3. View document content

To see document content only, without any related information, click [View] link.

The document will be open in a separate tab.

5. Versions

OCEditor keeps history at both document and node level and allows users to see previous versions.

5.1. View an old version

To see an old version of a document/node, open the document in view mode, select the node and select a version from drop-down list.

5.2. Edit history

To see history of a document/node, open the document in view mode, select the node and click [Edit history].

A list that contains old versions will be shown.

6. Variants management

OCEditor allows user to create their own variants of a document or a document node.

6.1. Create a variant

To create a new document/node variant, open the document in vew mode and select the node in the document tree,

after that click [Create variant] link in the document tree.

The Editor Pane in the right part of the main frame displays new variant form:

In the first step, you should specify the name and other meta information for the variant.

The form has following fields:

Name - variant name. Required filed, max length is 32 charaters.

Group - Predefined set of permissions for users.

Following groups are defined:

- Public - Anonymous users can see this variant. All authenticated users can edit this variant.

- Protected - All authenticated users can see the variant. Only authorized users can edit the variant.

- Private - Only authorized users can see and edit the variant.

Open for editing - Check this box if you want to enable the variant for editing.

Open for commenting - Check this box to make the variant avaliable for commenting.

Open for voting - Check this box to make the variant avaliable for voting.

Fill all required fields and click on 'create' button.

Now the variant is created and you can edit its content (Structural changes are not supported in this version).

6.2. Edit a variant

To edit an existing variant, open it in edit mode (See section 7.2. Open a variant in edit mode).

6.2.1. Edit variant properties

To edit variant meta information, click [Edit variant] on the action bar.

Make your changes and press 'Update' button to save them.

6.2.2. Edit variant content

To edit variant content, click [Content] on the action bar.

Make your changes and press 'Update' button to save them.

6.2.3. Save variant

To save your variant, click [Save variant] on the action bar.

If it is a newly created variant it will be stored in the database.

If it is an existing variant, it will be updated and a new version will be created.

6.3. Delete a variant

To delete a variant, open it in edit mode and click [Delete] link on the action bar.

7. Browse variants

OCEditor allows both anonymous and authenticated users to browse variants.

To see document/node variants, open the document in view mode and, select the node and click [Variants] link on the action bar.

You will see a list that contains all variants of the selected node.

7.1. Open a variant in view mode

To see the content of a variant, click [Open] link.

The OCEditor frame shows the variant in the right part.

7.2. Open a variant in edit mode

If you want to edit a variant, click [Edit] link. The OCEditor frame shows the edit variant form in the right part.

8. Comments

OCEditor allows authenticated users to add comments for a document, a node or a variant.

Anonymous users can only see comments.

8.1. Comments for a document

To see comments for a document, open it in vew mode and select document node from the tree.

Comments are shown in the right parts, below document content.

To see comments in a separate frame, click [Comments] link in the document tree.

To add a new comment, enter your text in comment area and press 'Create'.

8.2. Comments for a node

To see comments for a node, open the document in vew mode and select the node from the document tree.

Comments are shown in the right parts, below node content.

To see comments in a separate frame, click [Comments] link in the document tree.

To add a new comment, enter your text in comment area and press 'Create'.

8.3. Comments for a variant

To see comments for a document/node variant, open the variant in vew mode.

Comments are shown in the right parts, below node content.

To add a new comment, enter your text in comment area and press 'Create'.

9. Votes

OCEditor allows authenticated users to vote for a document, node or variant.

Anonymous users can only see voting statistics.

Vote options are configurable and can be changed by application administrator.

9.1. Vote for a document

To see vote statistics for a document, open it in view mode and select document node from the tree.

Then click Votes link in the action bar, the OCEditor frame shows the votes page in the right part.

To vote for a document select your choice from the drop-down list and press 'Vote'.'

9.2. Vote for a node

To see vote statistics for a node, open the document in view mode and select the node from the tree.

Then click Votes link in the action bar, the OCEditor frame shows the votes page in the right part.

To vote for a node select your choice from the drop-down list and press 'Vote'.'

9.3. Vote for a variant

To see vote statistics for a document/node variant, open the variant in vew mode.

Then click Votes link in the action bar, the OCEditor frame shows the votes page in the right part.

To vote for the variant select your choice from the drop-down list and press 'Vote'.'

10. User preferences

Registred users can add documents to their preferences in order to see particular document on login or to get notification for changes.

10.1. Add document preferences

To add a document to your preferences, open the document in view mode and click [Preferences] link in the document tree.

OCEditor frame shows the preferrences page in the right part.

You can choose to:

- Add the document to your favorites documents, that means you will see the document on login.

- Register to document events, that means you will receive an email when somebody do some changes on the document.

Press 'save' to add selected preferences.'

10.2. Edit preferences

To edit your preferences click [Preferences] link on the top panel.

OCEditor frame shows all preferrences in the right part.

You can change them and press 'Update' to save changes.