![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
hello
I've customized appointment form for outlook 2003 & 2007. Is there any way to get formatted text in appointmentItem's body ? I need to retrieve it, modify it & again set this modified formatted text to appointmentItem Body.There is no HTMLBody/RTFBody property like mailItem to appointmentItem. I found Inspector.HtmlEditor ,but it is set to null.Can it be helpful ? How to use it? Thanks |
#2
|
|||
|
|||
![]()
If you use a different API such as Extended MAPI (C++ or Delphi only), CDO
1.21 (deprecated and only unmanaged code) or a MAPI COM wrapper such as Redemption (www.dimastr.com/redemption) you can use the PR_RTF_COMPRESSED property (0x10090102 or in DASL syntax "http://schemas.microsoft.com/mapi/proptag/0x10090102") you can set the desired RTF. In Outlook 2007 you can use PropertyAccessor to work with that property. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "sd" wrote in message ... hello I've customized appointment form for outlook 2003 & 2007. Is there any way to get formatted text in appointmentItem's body ? I need to retrieve it, modify it & again set this modified formatted text to appointmentItem Body.There is no HTMLBody/RTFBody property like mailItem to appointmentItem. I found Inspector.HtmlEditor ,but it is set to null.Can it be helpful ? How to use it? Thanks |
#3
|
|||
|
|||
![]()
Note that simply reading the context of the PR_RTF_COMPRESSED property won't
help you much since the RTF stream is compressed. On the MAPI level, that means that you need to use the WrapCompressedRTFStream() MAPI function. Redemption exposes the RTF body through the Safe*Item.RtfBody and RDOMail.RtfBody properties. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Ken Slovak - [MVP - Outlook]" wrote in message ... If you use a different API such as Extended MAPI (C++ or Delphi only), CDO 1.21 (deprecated and only unmanaged code) or a MAPI COM wrapper such as Redemption (www.dimastr.com/redemption) you can use the PR_RTF_COMPRESSED property (0x10090102 or in DASL syntax "http://schemas.microsoft.com/mapi/proptag/0x10090102") you can set the desired RTF. In Outlook 2007 you can use PropertyAccessor to work with that property. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "sd" wrote in message ... hello I've customized appointment form for outlook 2003 & 2007. Is there any way to get formatted text in appointmentItem's body ? I need to retrieve it, modify it & again set this modified formatted text to appointmentItem Body.There is no HTMLBody/RTFBody property like mailItem to appointmentItem. I found Inspector.HtmlEditor ,but it is set to null.Can it be helpful ? How to use it? Thanks |
#4
|
|||
|
|||
![]()
Thanks Ken & Dmitry
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add text to body | Lp12 | Outlook and VBA | 3 | September 24th 08 07:56 PM |
append formatted text to postitem's body | sd[_2_] | Add-ins for Outlook | 5 | September 19th 08 01:59 PM |
How do I use formatted text from word document in email body | duckfeeder | Outlook and VBA | 7 | June 17th 08 12:47 AM |
Cannot see text in email body | Kevin | Outlook Express | 2 | October 13th 07 06:42 AM |
Moving HTML-formatted messages to PST strips body of message | Scotty | Outlook - General Queries | 0 | February 8th 07 08:43 PM |