java.lang.Objectcom.aspose.words.EditableRange
public class EditableRange
Property Getters/Setters Summary | ||
---|---|---|
EditableRangeEnd | getEditableRangeEnd() | |
Gets the node that represents the end of the editable range. | ||
EditableRangeStart | getEditableRangeStart() | |
Gets the node that represents the start of the editable range. | ||
int | getEditorGroup() | |
void | setEditorGroup(int value) | |
Returns or sets an alias (or editing group) which shall be used to determine if the current user shall be allowed to edit this editable range. The value of the property is EditorType integer constant. | ||
int | getId() | |
Gets the editable range identifier. | ||
java.lang.String | getSingleUser() | |
void | setSingleUser(java.lang.String value) | |
Returns or sets the single user for editable range. |
Method Summary | ||
---|---|---|
void | remove() | |
Removes the editable range from the document. Does not remove content inside the editable range. |
Property Getters/Setters Detail |
---|
getEditableRangeEnd | |
public EditableRangeEnd getEditableRangeEnd() |
getEditableRangeStart | |
public EditableRangeStart getEditableRangeStart() |
getEditorGroup/setEditorGroup | |
public int getEditorGroup() / public void setEditorGroup(int value) |
Single user and editor group cannot be set simultaneously for the specific editable range, if the one is set, the other will be clear.
getId | |
public int getId() |
The region must be demarcated using the
Editable range identifiers are supposed to be unique across a document and Aspose.Words automatically maintains editable range identifiers when loading, saving and combining documents.
getSingleUser/setSingleUser | |
public java.lang.String getSingleUser() / public void setSingleUser(java.lang.String value) |
This editor can be stored in one of the following forms:
DOMAIN\Username - for users whose access shall be authenticated using the current user's domain credentials.
user@domain.com - for users whose access shall be authenticated using the user's e-mail address as credentials.
user - for users whose access shall be authenticated using the current user's machine credentials.
Single user and editor group cannot be set simultaneously for the specific editable range, if the one is set, the other will be clear.
Method Detail |
---|
remove | |
public void remove() throws java.lang.Exception |