public abstract static class CommonsOperationsUtil.ConversionElementHelper
extends java.lang.Object
Constructor and Description |
---|
ConversionElementHelper() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
blockContentMustBeConverted(AuthorNode node,
AuthorAccess authorAccess)
Check if a block node can be converted in other node (cell or list entry).
|
AuthorDocumentFragment |
createAuthorDocumentFragment(AuthorDocumentController controller,
int start,
int end)
Create the author document fragment to be inserted in a table cell/list item
|
public abstract boolean blockContentMustBeConverted(AuthorNode node, AuthorAccess authorAccess) throws AuthorOperationException
node
- The node to checkauthorAccess
- The author accesstrue
if the conversion can not be completed for this nodeAuthorOperationException
public AuthorDocumentFragment createAuthorDocumentFragment(AuthorDocumentController controller, int start, int end) throws AuthorOperationException, javax.swing.text.BadLocationException
controller
- The document controller.start
- The start offset.end
- The end offset.null
, a document fragment from the provided offsets will be created.javax.swing.text.BadLocationException
- When the given offset is not in content.AuthorOperationException
- When the operation could not be completed.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.