@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.
|
java.io.Reader |
createReader()
Returns a reader over the document.
|
AuthorExtensionActionProvider |
getActionsManager() |
WebappAuthorSchemaAwareActionsHandler |
getActionsSupport()
Returns the schema aware actions handler.
|
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() |
AuthorIdIndex<AuthorPersistentHighlight> |
getMarkersIndexer()
Return an indexer that assigned IDs to all markers in the document.
|
AuthorIdIndex<AuthorNode> |
getNodeIndexer()
Returns an indexer that assigned IDs to all 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.
|
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.
|
AuthorDocumentController getAuthorDocumentController()
AuthorHTMLRenderer createHTMLRenderer(java.io.Writer out)
out
- The writer.java.io.Reader createReader()
AuthorIdIndex<AuthorNode> getNodeIndexer()
AuthorIdIndex<AuthorPersistentHighlight> getMarkersIndexer()
java.lang.String getCssContent()
ReviewController getReviewController()
ContentCompletionManager getContentCompletionManager()
AuthorSelectionAndCaretModel getSelectionModel()
java.util.concurrent.Callable<java.util.List<DocumentPositionedInfo>> getValidationTask()
java.lang.String getEncoding()
AuthorExtensionActionProvider getActionsManager()
FormControlEditingHelper getEditingHelper()
WebappAuthorSchemaAwareActionsHandler getActionsSupport()
AuthorAccess getAuthorAccess()
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.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.