Profile Picture

Pasting limitations

Posted By NeilTurp 8 Years Ago
Author
Message
NeilTurp
Problem Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 0, Visits: 166
I'm building an app with a ribbon bar and I want to be able to paste images into the documents.  I have a Nov Text Editor in a Xamarin window on OSX El Cap.  If I copy text from e.g a Pages document the Paste icon on the ribbon activates and I can paste in no problem.  If I select an image - and I've tried images in Pages files, and graphics files: png, jpg, etc, the Paste icon stays disabled.  I can't see what I'm doing wrong.  I've not changed anything on the ribbon so I guess it is using the internal PasteCommand - I've not touched that, and it works with text.  Any help appreciated.

Neil

Nevron Support
This post has been flagged as an answer
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Neil,
The problem is that the control accepts RTF as clipboard format - so if you select an image + text it should be able to paste properly. Most likely Pages just copies a single image into the clipboard and our control cannot paste it directly. We'll extend the functionality of the control to allow for single image pasting.


Best Regards,
Nevron Support Team



NeilTurp
Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 0, Visits: 166
Thanks, that certainly sounds like the explanation.  I'll see if I can work with that for now, till the update comes.

Neil

NeilTurp
Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 0, Visits: 166
As a follow up, I tried to copy formatted textwith and without an image from a web page and what I found is this: pasting in formatted text seems to lose formatting, while pasting in any image simply does not work.Is this something else that requires you to extend the functionality?
Neil


Nevron Support
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Neil,
We tested with Safari and it did not loose formatting - what is the browser / OS X version you tested with? Also we've implemented image pasting for png and bitmap images so if the application publishes a single image in the clipboard future versions of the control will be able to pick it up.


Best Regards,
Nevron Support Team



NeilTurp
Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 0, Visits: 166
I'm using Safari on El Capitan, and images still don't appear.  I'm using assembly version 16.8.17.12.  Is that the latest?



Similar Topics


Reading This Topic