@API(type=INTERNAL, src=PUBLIC) public class DITAMapExternalObjectInsertionHandler extends AuthorExternalObjectInsertionHandler
ONLY_TEXT_CONTENT_STYLESHEET
DND_DB_TREE, DND_DITA_MAPS_MANAGER, DND_EXTERNAL, DND_IMAGE_PREVIEW, DND_PROJECT_TREE, PASTE
Constructor and Description |
---|
DITAMapExternalObjectInsertionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
insertURLs(AuthorAccess authorAccess,
java.util.List<java.net.URL> urls,
int source)
A list of URLs need to be inserted at the caret position, probably as links.
|
void |
insertURLs(AuthorAccess authorAccess,
java.util.List<java.net.URL> urls,
java.util.List<ReferenceType> types,
int source)
A list of URLs need to be inserted at the caret position, probably as links.
|
acceptSource, acceptURLs, checkImportedXHTMLContentIsPreservedEntirely, containOnlyBinaryResources, containOnlyImages, createImporterStylesheetSource, createListsPreprocessingStylesheet, createSectionsPreprocessingStylesheet, getBaseURLAtCaretPosition, getContextPathNamesAndUris, getDescription, getImporterStylesheetFileName, getListsPreprocessingStylesheetFileName, getOnlyTextContentStylesheet, getSectionsPreprocessingStylesheetFileName, insertXHTMLFragment, simpleTransform
public DITAMapExternalObjectInsertionHandler()
public void insertURLs(AuthorAccess authorAccess, java.util.List<java.net.URL> urls, java.util.List<ReferenceType> types, int source) throws AuthorOperationException
AuthorExternalObjectInsertionHandler
source
of the insertion can be a paste event or a
drag and drop event.
AuthorExternalObjectInsertionHandler.acceptURLs(AuthorAccess, List, int)
returned true
for the same source
and urls
list.
insertURLs
in class AuthorExternalObjectInsertionHandler
authorAccess
- The author accessurls
- The list of URLs.types
- The type of the URL reference - if null, the type will be inferred.source
- The source of the URLs, one of the AuthorExternalObjectInsertionHandler
constants.AuthorOperationException
AuthorExternalObjectInsertionHandler.insertURLs(ro.sync.ecss.extensions.api.AuthorAccess, java.util.List, java.util.List, int)
public void insertURLs(AuthorAccess authorAccess, java.util.List<java.net.URL> urls, int source) throws AuthorOperationException
AuthorExternalObjectInsertionHandler
source
of the insertion can be a paste event or a
drag and drop event.
AuthorExternalObjectInsertionHandler.acceptURLs(AuthorAccess, List, int)
returned true
for the same source
and urls
list.
insertURLs
in class AuthorExternalObjectInsertionHandler
authorAccess
- The author accessurls
- The list of URLs.source
- The source of the URLs, one of the AuthorExternalObjectInsertionHandler
constants.AuthorOperationException
AuthorExternalObjectInsertionHandler.insertURLs(ro.sync.ecss.extensions.api.AuthorAccess, java.util.List, int)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.