|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler ro.sync.ecss.extensions.tei.TEIP4ExternalObjectInsertionHandler
public class TEIP4ExternalObjectInsertionHandler
Dropped URLs handler
Field Summary |
---|
Fields inherited from class ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler |
---|
TEST_STYLESHEET_CONTENT |
Fields inherited from interface ro.sync.ecss.extensions.api.ExternalObjectInsertionSources |
---|
DND_DB_TREE, DND_DITA_MAPS_MANAGER, DND_EXTERNAL, DND_IMAGE_PREVIEW, DND_PROJECT_TREE, PASTE |
Constructor Summary | |
---|---|
TEIP4ExternalObjectInsertionHandler()
|
Method Summary | |
---|---|
protected boolean |
checkImportedXHTMLContentIsPreservedEntirely()
Overwrite this method if you want to check the text data is preserved on paste after applying the conversion XSL stylesheet. |
protected java.lang.String |
getImporterStylesheetFileName(AuthorAccess authorAccess)
Get the file name of the importer 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. |
Methods inherited from class ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler |
---|
acceptSource, acceptURLs, containOnlyImages, createImporterStylesheetSource, getBaseURLAtCaretPosition, insertXHTMLFragment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TEIP4ExternalObjectInsertionHandler()
Method Detail |
---|
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
AuthorExternalObjectInsertionHandler.getImporterStylesheetFileName(ro.sync.ecss.extensions.api.AuthorAccess)
protected boolean checkImportedXHTMLContentIsPreservedEntirely()
AuthorExternalObjectInsertionHandler
checkImportedXHTMLContentIsPreservedEntirely
in class AuthorExternalObjectInsertionHandler
false
by default.AuthorExternalObjectInsertionHandler.checkImportedXHTMLContentIsPreservedEntirely()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |