public interface ImportServiceAsync
ImportService with an additional AsyncCallback parameter. This is specific to GWT's architecture.| Modifier and Type | Method and Description |
|---|---|
void |
cleanOfficeHTML(String htmlPaste,
String cleanerHint,
Map<String,String> cleaningParams,
com.google.gwt.user.client.rpc.AsyncCallback<String> async)
Makes a request to the server to clean the given HTML fragment which comes from an office application.
|
void |
officeToXHTML(Attachment attachment,
Map<String,String> cleaningParams,
com.google.gwt.user.client.rpc.AsyncCallback<String> async)
Imports the given office attachment into XHTML 1.0.
|
void cleanOfficeHTML(String htmlPaste, String cleanerHint, Map<String,String> cleaningParams, com.google.gwt.user.client.rpc.AsyncCallback<String> async)
htmlPaste - dirty HTML pasted by the usercleanerHint - role hint for which cleaner to be usedcleaningParams - additional parameters to be used when cleaningasync - the call-back to be used for notifying the caller after receiving the response from the servervoid officeToXHTML(Attachment attachment, Map<String,String> cleaningParams, com.google.gwt.user.client.rpc.AsyncCallback<String> async)
attachment - office attachment to be imported into XHTML 1.0cleaningParams - additional parameters for the import operationasync - the call-back to be used for notifying the caller after receiving the response from the serverCopyright © 2004–2016 XWiki. All rights reserved.