ro.sync.ecss.extensions.dita
Class DITASchemaAwareEditingHandler
java.lang.Object
ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandlerAdapter
ro.sync.ecss.extensions.dita.DITASchemaAwareEditingHandler
- All Implemented Interfaces:
- ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandler
@API(type=INTERNAL,
src=PUBLIC)
public class DITASchemaAwareEditingHandler
- extends AuthorSchemaAwareEditingHandlerAdapter
Specific editing support for DITA documents. Handles typing and paste events inside steps, steps-unordered (a
new step with a cmd will be created and the typing/paste content be put inside it) and tables (CALS and simple).
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandler |
ACTION_ID_BACKSPACE, ACTION_ID_CUT, ACTION_ID_DELETE, ACTION_ID_DND, ACTION_ID_INSERT_FRAGMENT, ACTION_ID_PASTE, ACTION_ID_TYPING, CREATE_FRAGMENT_PURPOSE_COPY, CREATE_FRAGMENT_PURPOSE_CUT, CREATE_FRAGMENT_PURPOSE_DND_COPY, CREATE_FRAGMENT_PURPOSE_DND_MOVE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DITASchemaAwareEditingHandler
public DITASchemaAwareEditingHandler()
handleTyping
public boolean handleTyping(int offset,
char ch,
AuthorAccess authorAccess)
throws InvalidEditException
- Specified by:
handleTyping
in interface ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandler
- Overrides:
handleTyping
in class AuthorSchemaAwareEditingHandlerAdapter
- Throws:
InvalidEditException
- See Also:
AuthorSchemaAwareEditingHandlerAdapter.handleTyping(int, char, ro.sync.ecss.extensions.api.AuthorAccess)
handleTypingFallback
public boolean handleTypingFallback(int offset,
char ch,
AuthorAccess authorAccess)
throws InvalidEditException
- Specified by:
handleTypingFallback
in interface ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandler
- Overrides:
handleTypingFallback
in class AuthorSchemaAwareEditingHandlerAdapter
- Throws:
InvalidEditException
- See Also:
AuthorSchemaAwareEditingHandlerAdapter.handleTypingFallback(int, char, ro.sync.ecss.extensions.api.AuthorAccess)
handlePasteFragment
public boolean handlePasteFragment(int offset,
AuthorDocumentFragment[] fragmentsToInsert,
int actionId,
AuthorAccess authorAccess)
throws InvalidEditException
- Specified by:
handlePasteFragment
in interface ro.sync.ecss.extensions.api.AuthorSchemaAwareEditingHandler
- Overrides:
handlePasteFragment
in class AuthorSchemaAwareEditingHandlerAdapter
- Throws:
InvalidEditException
- See Also:
AuthorSchemaAwareEditingHandlerAdapter.handlePasteFragment(int, ro.sync.ecss.extensions.api.node.AuthorDocumentFragment[], int, ro.sync.ecss.extensions.api.AuthorAccess)
© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.