Commit: export XHTML data to the UNIX clipboard

From: Dom Lachowicz (doml@appligent.com)
Date: Thu Aug 29 2002 - 14:08:04 EDT

  • Next message: Rui Miguel Seabra: "Re: Commit (HEAD): Remove background transparency (bug 3888)"

    There are a few things that might need to be worked around in the future
    (like how to represent images - maybe MHT?), but this seems to work for
    now. Other platform maintainers may or may not want to post the HTML
    data to their respective clipboards - if so, you just need to add maybe
    3 lines of code to your ap_$(FE)App class.

    This should help our inter-operability with a bunch of the more
    "heavy-weight" UNIX apps like Mozilla and OpenOffice. This is also an
    item on my Gnome Office "Promised TODO" list. We post XHTML data under
    the text/html and application/xhtml+xml clipboard mime-type atoms. If
    there are other HTML mime types that I'm missing and might be useful to
    post under, just tell me. It's trivial to add them.

    FYI, on UNIX we now paste under 4 TEXT, 2 RichText, and 2 HTML targets.
    We can receive from 4 TEXT, 2 RichText, and 5 image targets. Receiving
    HTML clipboard data will be one of my next goals.

    Cheers,

    -- 
    Dom Lachowicz <doml@appligent.com>
    


    This archive was generated by hypermail 2.1.4 : Thu Aug 29 2002 - 14:11:22 EDT