@API(type=INTERNAL,
     src=PUBLIC)
public class DITAExternalObjectInsertionHandler
extends AuthorExternalObjectInsertionHandler
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
ONLY_TEXT_CONTENT_TASK_STYLESHEET
An XSLT stylesheet for extracting the entire text content 
 (and only the text content) from any input XML, except the text from elements:
 xhtml:span[contains(@style, 'mso-list:Ignore')] 
 | 
ONLY_TEXT_CONTENT_STYLESHEETDND_DB_TREE, DND_DITA_MAPS_MANAGER, DND_EXTERNAL, DND_IMAGE_PREVIEW, DND_PROJECT_TREE, PASTE| Constructor and Description | 
|---|
DITAExternalObjectInsertionHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 main Author paste stylesheet. 
 | 
protected java.lang.String | 
getOnlyTextContentStylesheet(AuthorAccess authorAccess)
Gets an XSLT stylesheet that can extract the entire text content (and only the text content)
 from any input XML. 
 | 
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. 
 | 
acceptSource, acceptURLs, containOnlyBinaryResources, containOnlyImages, createImporterStylesheetSource, createListsPreprocessingStylesheet, createSectionsPreprocessingStylesheet, getBaseURLAtCaretPosition, getContextPathNamesAndUris, getDescription, getListsPreprocessingStylesheetFileName, getSectionsPreprocessingStylesheetFileName, insertXHTMLFragment, simpleTransformpublic static final java.lang.String ONLY_TEXT_CONTENT_TASK_STYLESHEET
public void insertURLs(AuthorAccess authorAccess, java.util.List<java.net.URL> urls, int source) throws AuthorOperationException
AuthorExternalObjectInsertionHandlersource 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 AuthorExternalObjectInsertionHandlerauthorAccess - The author accessurls - The list of URLs.source - The source of the URLs, one of the AuthorExternalObjectInsertionHandler constants.AuthorOperationExceptionAuthorExternalObjectInsertionHandler.insertURLs(ro.sync.ecss.extensions.api.AuthorAccess, java.util.List, int)protected java.lang.String getImporterStylesheetFileName(AuthorAccess authorAccess)
AuthorExternalObjectInsertionHandlergetImporterStylesheetFileName in class AuthorExternalObjectInsertionHandlerauthorAccess - The author access API.AuthorExternalObjectInsertionHandler.getImporterStylesheetFileName(ro.sync.ecss.extensions.api.AuthorAccess)protected boolean checkImportedXHTMLContentIsPreservedEntirely()
AuthorExternalObjectInsertionHandlercheckImportedXHTMLContentIsPreservedEntirely in class AuthorExternalObjectInsertionHandlerfalse by default.AuthorExternalObjectInsertionHandler.checkImportedXHTMLContentIsPreservedEntirely()protected java.lang.String getOnlyTextContentStylesheet(AuthorAccess authorAccess)
getOnlyTextContentStylesheet in class AuthorExternalObjectInsertionHandlerauthorAccess - The author access© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.