richText method in windows 7

Hello,

I wanted to assign the object text as an rtf text using richText method.

I got a strange behavior with the tables inside rtf.

 

using the same code == tables appear in the text of the object in windows XP but doesn't appear in windows 7.

is this a known issue in windows 7 ?

the code is attached 

 

and this is the screenshot in windows XP

 

and in Windows 7 

 


mmoselhy - Tue Aug 20 09:57:17 EDT 2013

Re: richText method in windows 7
kourosh - Tue Aug 20 19:37:47 EDT 2013

Do you see the same behavior with RTF content which is not an RTF table? The reason I ask is that RTF tables have always caused unexpected behavior and are not supported in DOORS.

Re: richText method in windows 7
mmoselhy - Wed Aug 21 05:25:34 EDT 2013

kourosh - Tue Aug 20 19:37:47 EDT 2013

Do you see the same behavior with RTF content which is not an RTF table? The reason I ask is that RTF tables have always caused unexpected behavior and are not supported in DOORS.

Yes. My only problem is with tables

Re: richText method in windows 7
Tony_Goodman - Wed Aug 21 10:50:49 EDT 2013

mmoselhy - Wed Aug 21 05:25:34 EDT 2013

Yes. My only problem is with tables

Use MS Word to save the RTF tables as embedded word objects. Then import these into DOORS as OLE objects.

Re: richText method in windows 7
mmoselhy - Thu Aug 22 05:07:37 EDT 2013

Tony_Goodman - Wed Aug 21 10:50:49 EDT 2013

Use MS Word to save the RTF tables as embedded word objects. Then import these into DOORS as OLE objects.

How to save the tables as embedded word objects ?

 

This is the "save as" types

 

Re: richText method in windows 7
Tony_Goodman - Thu Aug 22 10:42:22 EDT 2013

mmoselhy - Thu Aug 22 05:07:37 EDT 2013

How to save the tables as embedded word objects ?

 

This is the "save as" types

 

In word, select the whole table and copy. Then select paste special and choose Microsoft Office Word Document Object. This gives you the table as a word object. Now create a new object in doors and use Ctrl-T to edit the text. You can now select the word object in word and drag it into the object text. This will give you an embedding OLE object that can be edited from within doors.