|
Oxygen XML Editor 14.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler
ro.sync.ecss.extensions.dita.DITAExternalObjectInsertionHandler
@API(type=INTERNAL,
src=PUBLIC)
public class DITAExternalObjectInsertionHandlerDropped URLs handler
| Field Summary | |
|---|---|
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')] |
| Fields inherited from class ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler |
|---|
ONLY_TEXT_CONTENT_STYLESHEET |
| 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 | |
|---|---|
DITAExternalObjectInsertionHandler()
|
|
| 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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ONLY_TEXT_CONTENT_TASK_STYLESHEET
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
| Constructor Detail |
|---|
public DITAExternalObjectInsertionHandler()
| Method Detail |
|---|
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)
AuthorExternalObjectInsertionHandler
getImporterStylesheetFileName in class AuthorExternalObjectInsertionHandlerauthorAccess - The author access API.
AuthorExternalObjectInsertionHandler.getImporterStylesheetFileName(ro.sync.ecss.extensions.api.AuthorAccess)protected boolean checkImportedXHTMLContentIsPreservedEntirely()
AuthorExternalObjectInsertionHandler
checkImportedXHTMLContentIsPreservedEntirely in class AuthorExternalObjectInsertionHandlerfalse by default.AuthorExternalObjectInsertionHandler.checkImportedXHTMLContentIsPreservedEntirely()protected java.lang.String getOnlyTextContentStylesheet(AuthorAccess authorAccess)
getOnlyTextContentStylesheet in class AuthorExternalObjectInsertionHandlerauthorAccess - The author access
|
Oxygen XML Editor 14.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||