@Role
@RemoteServiceRelativePath(value="ImportService.gwtrpc")
public interface ImportService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
String |
cleanOfficeHTML(String htmlPaste,
String cleanerHint,
Map<String,String> cleaningParams)
Cleans dirty HTML content produced from an office application like MsWord, MsExcel, OpenOffice Writer etc.
|
String |
officeToXHTML(Attachment attachment,
Map<String,String> cleaningParams)
Imports the given office attachment into XHTML 1.0.
|
String cleanOfficeHTML(String htmlPaste, String cleanerHint, Map<String,String> cleaningParams)
htmlPaste - dirty HTML pasted by the usercleanerHint - role hint for which cleaner to be usedcleaningParams - additional parameters to be used when cleaningString officeToXHTML(Attachment attachment, Map<String,String> cleaningParams)
attachment - office attachment to be imported into XHTML 1.0.cleaningParams - additional parameters for the import operation.Copyright © 2004–2016 XWiki. All rights reserved.