@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorDocumentModel
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
AuthorHTMLRenderer |
createHTMLRenderer(java.io.Writer out)
Returns a renderer of the document to the specified writer.
|
AuthorHTMLRenderer |
createHTMLRenderer(java.io.Writer out,
AuthorHighlighter highlighter)
Returns a renderer of the document to the specified writer.
|
java.io.Reader |
createReader()
Returns a reader over the document.
|
void |
dispose()
Dispose the current document.
|
WebappActionsManager |
getActionsManager() |
WebappAuthorSchemaAwareActionsHandler |
getActionsSupport()
Returns the schema aware actions handler.
|
AttributesManager |
getAttributesManager()
Returns the attribute manager offering attributes support.
|
AuthorAccess |
getAuthorAccess()
Returns the Autor access object.
|
AuthorDocumentController |
getAuthorDocumentController()
Getter for the document controller.
|
ContentCompletionManager |
getContentCompletionManager()
Returns the content completion manager that can be used to insert XML tags
in the document such that the document remains valid according to its
schema.
|
java.lang.String |
getCssContent()
TODO (EXM-27739): split it into document-specific and doctype specific CSS in order
to allow separate caching.
|
ro.sync.exml.editor.xmleditor.DocumentTypeProvider |
getDocTypeProvider()
Get document type provider.
|
java.lang.String |
getDocumentTypeId()
Returns the id of the document type of the document.
|
DPILocation |
getDPILocation(DocumentPositionedInfo dpInfo)
Compute for the given document position info the content offsets.
|
FormControlEditingHelper |
getEditingHelper()
Returns the form control editing helper.
|
java.lang.String |
getEncoding() |
FindReplaceSupport |
getFindReplaceSupport()
The support object for find and replace actions.
|
java.lang.String |
getLicenseeId() |
WebappLockManager |
getLockManager() |
AuthorIdIndex<AuthorPersistentHighlight> |
getMarkersIndexer()
Return an indexer that assigned IDs to all markers in the document.
|
WebappMessagesProvider |
getMessageProvider()
Returns the message reporter.
|
AuthorIdIndex<AuthorNode> |
getNodeIndexer()
Returns an indexer that assigned IDs to the nodes in the document.
|
ReviewController |
getReviewController()
Returns a review controller that can be used to perform actions on the
markers present in the document.
|
AuthorSelectionAndCaretModel |
getSelectionModel()
Returns the selection model of the document.
|
WebappSpellchecker |
getSpellchecker() |
java.lang.String |
getUserId()
The ID that uniquely identifies the user that opened the document.
|
java.util.List<ro.sync.exml.editor.scenario.BaseScenario> |
getValidationScenarios()
Get validation scenarios associated with the document.
|
java.util.concurrent.Callable<java.util.List<DocumentPositionedInfo>> |
getValidationTask()
A task that tries to validate the document according to its schema and
returns the list of found errors.
|
WSEditor |
getWSEditor()
Exposes some of the WSEditor functionality for the current document.
|
void |
setUserId(java.lang.String userId)
Sets the user id.
|
AuthorDocumentController getAuthorDocumentController()
AuthorHTMLRenderer createHTMLRenderer(java.io.Writer out)
out
- The writer.AuthorHTMLRenderer createHTMLRenderer(java.io.Writer out, AuthorHighlighter highlighter)
out
- The writer.highlighter
- Highlighter for non-persistent highlights.java.io.Reader createReader()
AuthorIdIndex<AuthorNode> getNodeIndexer()
AuthorIdIndex<AuthorPersistentHighlight> getMarkersIndexer()
java.lang.String getCssContent()
ReviewController getReviewController()
AttributesManager getAttributesManager()
ContentCompletionManager getContentCompletionManager()
AuthorSelectionAndCaretModel getSelectionModel()
java.util.concurrent.Callable<java.util.List<DocumentPositionedInfo>> getValidationTask()
java.lang.String getEncoding()
WebappActionsManager getActionsManager()
FormControlEditingHelper getEditingHelper()
WebappAuthorSchemaAwareActionsHandler getActionsSupport()
AuthorAccess getAuthorAccess()
WebappMessagesProvider getMessageProvider()
java.lang.String getDocumentTypeId()
java.util.List<ro.sync.exml.editor.scenario.BaseScenario> getValidationScenarios()
ro.sync.exml.editor.xmleditor.DocumentTypeProvider getDocTypeProvider()
DPILocation getDPILocation(DocumentPositionedInfo dpInfo)
dpInfo
- The document position info.void dispose()
FindReplaceSupport getFindReplaceSupport()
WSEditor getWSEditor()
java.lang.String getUserId()
void setUserId(java.lang.String userId)
userId
- Sets the unique ID of the user that opened the document.java.lang.String getLicenseeId()
WebappLockManager getLockManager()
WebappSpellchecker getSpellchecker()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.