Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] Html Selection (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 10.6pr12
Next thread: [MBS] Just 11 weeks till REAL Studio Summit 2011


[MBS] MBS 7.5 with RB2010r4.1   -   Garth Hjelte
  [MBS] Html Selection   -   Beatrix Willius
   Re: [MBS] Html Selection   -   Beatrix Willius
   Re: [MBS] Html Selection   -   Christian Schmitz

[MBS] Html Selection
Date: 02.01.11 16:57 (Sun, 2 Jan 2011 16:57:59 +0100)
From: Beatrix Willius
With mainFrameMBS.frameView.documentView.SelectedString I can get the selection of a html viewer as string. Is there the possibility to get this as html?

Outlook 2011 defaults to html when creating a new mail. And when I use the test in my email archival app for quoting this looks very odd (no returns).


Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Html Selection
Date: 02.01.11 17:20 (Sun, 2 Jan 2011 17:20:52 +0100)
From: Beatrix Willius
Thanks! I'll try this.

On 02.01.2011, at 17:00, Christian Schmitz wrote:

>
> Am 02.01.2011 um 16:57 schrieb Beatrix Willius:
>
>> With mainFrameMBS.frameView.documentView.SelectedString I can get the selection of a html viewer as string. Is there the possibility to get this as html?
>>
>
> Well, the WebDocumentViewMBS class has a selectedAttributedString method which gets you a NSAttributedStringMBS and there is a htmlString method.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Html Selection
Date: 02.01.11 17:00 (Sun, 2 Jan 2011 17:00:36 +0100)
From: Christian Schmitz

Am 02.01.2011 um 16:57 schrieb Beatrix Willius:

> With mainFrameMBS.frameView.documentView.SelectedString I can get the selection of a html viewer as string. Is there the possibility to get this as html?
>

Well, the WebDocumentViewMBS class has a selectedAttributedString method which gets you a NSAttributedStringMBS and there is a htmlString method.

Greetings
Christian