@API(type=INTERNAL, src=PUBLIC) public class XHTMLExternalObjectInsertionHandler 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 |
---|
XHTMLExternalObjectInsertionHandler() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getImporterStylesheetFileName(AuthorAccess authorAccess)
Get the file name of the main Author paste stylesheet.
|
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, getListsPreprocessingStylesheetFileName, getOnlyTextContentStylesheet, getSectionsPreprocessingStylesheetFileName, insertXHTMLFragment, simpleTransform
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)
protected java.lang.String getImporterStylesheetFileName(AuthorAccess authorAccess)
AuthorExternalObjectInsertionHandler
getImporterStylesheetFileName
in class AuthorExternalObjectInsertionHandler
authorAccess
- The author access API.AuthorExternalObjectInsertionHandler.getImporterStylesheetFileName(ro.sync.ecss.extensions.api.AuthorAccess)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.