org.xwiki.gwt.wysiwyg.client.plugin.importer
Class IEPasteFilter

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.importer.PasteFilter
      extended by org.xwiki.gwt.wysiwyg.client.plugin.importer.IEPasteFilter

public class IEPasteFilter
extends PasteFilter

Removes non-HTML elements, i.e. element from a difference name-space.

When pasting rich text from an office document opened with Microsoft's Word application in Internet Explorer the created DOM contains non-HTML elements. These elements have a different name-space that is serialized using a non-standard syntax:

 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 
which is not understood by the server side parser.

Version:
$Id: 2ce42bfe0cd105da4b8b713333b519863498b3bc $
See Also:
XML tags are displayed after copy&paste word-doc in office importer

Constructor Summary
IEPasteFilter()
           
 
Method Summary
 void filter(com.google.gwt.dom.client.Element element)
          Filters the given element.
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.importer.PasteFilter
filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEPasteFilter

public IEPasteFilter()
Method Detail

filter

public void filter(com.google.gwt.dom.client.Element element)
Description copied from class: PasteFilter
Filters the given element.

Overrides:
filter in class PasteFilter
Parameters:
element - the element to be filtered


Copyright © 2004-2013 XWiki. All Rights Reserved.