org.xwiki.gwt.wysiwyg.client.plugin.importer.ui
Class ImportOfficePasteWizardStep

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
      extended by org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
          extended by org.xwiki.gwt.wysiwyg.client.plugin.importer.ui.ImportOfficePasteWizardStep
All Implemented Interfaces:
com.google.gwt.event.dom.client.LoadHandler, com.google.gwt.event.shared.EventHandler, WizardStep

public class ImportOfficePasteWizardStep
extends AbstractInteractiveWizardStep
implements com.google.gwt.event.dom.client.LoadHandler

Wizard step responsible for importing copy-pasted office content.

Since:
2.0.1
Version:
$Id: 640baeb8f7533bf9212dbac045e17b83cca8b98c $

Constructor Summary
ImportOfficePasteWizardStep(ImportServiceAsync importService)
          Creates an instance of ImportOfficePasteWizardStep.
 
Method Summary
protected  Map<String,String> getHTMLCleaningParams()
          Prepares the cleaning parameters map.
 Object getResult()
          
 void init(Object data, com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
          
 void onCancel()
          
 void onLoad(com.google.gwt.event.dom.client.LoadEvent event)
          
 void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)
          
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
display, getStepTitle, isAutoSubmit, setStepTitle
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
getDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportOfficePasteWizardStep

public ImportOfficePasteWizardStep(ImportServiceAsync importService)
Creates an instance of ImportOfficePasteWizardStep.

Parameters:
importService - the component used to clean content copy&pasted from office documents
Method Detail

init

public void init(Object data,
                 com.google.gwt.user.client.rpc.AsyncCallback<?> cb)

Specified by:
init in interface WizardStep

getResult

public Object getResult()

Specified by:
getResult in interface WizardStep

onCancel

public void onCancel()

Specified by:
onCancel in interface WizardStep

onSubmit

public void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)

Specified by:
onSubmit in interface WizardStep

getHTMLCleaningParams

protected Map<String,String> getHTMLCleaningParams()
Prepares the cleaning parameters map.

Returns:
a Map with cleaning parameters for office importer.

onLoad

public void onLoad(com.google.gwt.event.dom.client.LoadEvent event)

Specified by:
onLoad in interface com.google.gwt.event.dom.client.LoadHandler
See Also:
LoadHandler.onLoad(LoadEvent)


Copyright © 2004–2014 XWiki. All rights reserved.