I open Notepad. type some text in it.
Select and copy it and then CTRL+v to paste it in RTA area. It shows.
I am using clipboard to do this.
That tells me that access to clipboard is there.
Just haven't figured out the details.
~ Tushar
On Feb 1, 8:29 pm, Peter Blazejewicz <
peter.blazejew...@gmail.com>
wrote:
> hi,
> but that is different scenario, one doesn't useclipboardbut access
> > be passed rich text stored on theclipboardas seen in the example I
> > described, then perhaps it can also be passed other content stored on
> > theclipboardas you are no longer limited to just copying and pasting
> > plain text. Perhaps it can even get at the metadata I was hoping
> > for. Any thoughts?
>
> > On Feb 1, 6:50 pm, Peter Blazejewicz <
peter.blazejew...@gmail.com>
> > wrote:
>
> > > hi,
>
> > > I think none of functionality you've wrote is available in javascript.
> > > Appliaction within browser runs in "black-box" due to security
> > > restrictions and doesn't have knowladge about systemclipboard
> > > content, its kind, etc, metadatas. We can't even useclipboard
> > > programmatically accross browsers (I mean with simple "set" operation
> > > to copy text to systemclipboard),
>
> > > regards
> > > Peter
>
> > > On Jan 29, 4:56 am, Chris <
chris.armstr...@dreamhorizons.com> wrote:
>
> > > > I see that when you highlight part of a website (including links,
> > > > images, etc.) and copy it to theclipboard, you get very different
> > > > results depending on which program you paste into (What gets pasted in
> > > > Notepad looks a lot different than what gets pasted in MS Word, which
> > > > looks different than what gets pasted in an HTML editor). I'd like to
> > > > know how you can use GWT to see ALL of the content that's stored on
> > > > theclipboard, before it's filtered by the program being pasted into.
> > > > Clearly when you paste into Notepad, and then paste into MS Word, you
> > > > see that Notepad filters out a lot of stuff. And I suspect that even
> > > > though MS Word preserves images and hyperlinks, it is filtering out
> > > > content that was stored on theclipboardas well.
>
> > > > What I'm trying to figure out is exactly what is being filtered out,
> > > > and what GWT methods can I use to access the unfiltered data?
>
> > > > I'm hoping some of the contents of theclipboardwould help me in my
> > > > GWT app, but I'd like to see what they are first.
>
> > > > It would be help me if my GWT app knew the URL of the page from which
> > > > the content was copied from, does theclipboardstore this?
> > > > Perhaps it also stores line numbers that indicate the beginning and
> > > > ending of the copied text from the original HTML file?
> > > > Perhaps theclipboardstores the name of the program from which the