United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7075105 WIN: Provide a way to format HTML on drop
JDK-7075105 : WIN: Provide a way to format HTML on drop

Details
Type:
Bug
Submit Date:
2011-08-04
Status:
Resolved
Updated Date:
2013-11-20
Project Name:
JDK
Resolved Date:
2013-03-27
Component:
client-libs
OS:
windows_xp,windows
Sub-Component:
java.awt
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Duplicate:
Relates:
Relates:

Sub Tasks

Description
Windows Drag and Drop system allows to restore HTML formatting for a dragged part of HTML text.

This should be useful when a selected text contains only closing or opening tags of HTML markup. If  an opening HTML tag is not in the current selection, drag and drop target is able to find out what styles are used on the source to render a text.

An example of selected text that could be dragged form a native application.

d Format</h1>
  
  <div id="mainSection">
<div class="clsServerSDKContent">

</div>
<p>The requiremen

                                    

Comments
EVALUATION

Previously we provided all document to user. But it was absolutely inconsistent with Linux platform. A programmer had to implement platform specific code even for simple cases.

Now (CR 6513578) on X11 and Windows platforms we provide the same data.

The additional flavor have to gain benefits from Windows clipboard machinery.

See CR 7073803 to find additional info.
                                     
2011-08-04
SUGGESTED FIX

Provide additional flavors that represent full text of HTML markup.
                                     
2011-08-04
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/96750ebc769b
User:  denis
Date:  2013-03-27 12:22:38 +0000

                                     
2013-03-27
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/96750ebc769b
User:  lana
Date:  2013-04-16 20:41:41 +0000

                                     
2013-04-16



Hardware and Software, Engineered to Work Together