Problem with format text in MS Word

Add-in Express™ Support Service
That's what is more important than anything else

Problem with format text in MS Word
 
Honza Netrval




Posts: 3
Joined: 2005-12-08
When I use sample addin from instalation package and copy some formated text (for example bold) between two documents. Then the format get lost.

Where is problem please
Posted 08 Dec, 2005 16:22:26 Top
Dmitry Kostochko


Add-in Express team


Posts: 2841
Joined: 2004-04-05
Hi Honza,

What host application do you mean? What Office version do you have installed?

Posted 09 Dec, 2005 09:56:21 Top
Guest


Guest


It does not matter. I have Windows XP and MS Word 2003, but this same problem I saw on other operating system and other MS Office. I have czech version Widows and MS Office.
Posted 10 Dec, 2005 07:50:12 Top
Dmitry Kostochko


Add-in Express team


Posts: 2841
Joined: 2004-04-05
Hi Honza,

I can expect such behavior in Word 2000 only because the Office 2000 Object Model has the only way to draw a button image and this way is by means of the clipboard. But it shouldn't appear in Word 2003 because here there are some other methods to pass an image for the button. Please contact me directly we will try to fix the problem.

Posted 11 Dec, 2005 12:15:41 Top
Guest


Guest


Hi,

i am having the same problem with Word 2000 on Windows XP.
In Word 2003 it works fine.

Is there any workaround?

Regards,
Robert
Posted 12 Dec, 2005 06:26:46 Top
Dmitry Kostochko


Add-in Express team


Posts: 2841
Joined: 2004-04-05
Hi Robert,

The problem exists in Office 2000 only. At the moment our code backups and restores simple clipboard data like text, image, rich-text, etc. In future we are planning to support all clipboard data types but currently you can use buttons without images for Office 2000 only.

Posted 12 Dec, 2005 12:04:00 Top
Guest


Guest


Now I use buttons without glyphs and I have problem always.
Posted 16 Dec, 2005 17:01:14 Top
Guest


Guest


Now I use buttons without glyphs and all is OK.

Is it possible to make addin and in Office 2000 wihout glyphs and in better Office with glyphs?

Posted 17 Dec, 2005 10:30:25 Top
Guest


Guest


I must comment two lines in your code (in unit adxAddIn)

1) if Owner.COMAddInClassFactory.GetHostVersion(Owner.HostType) = 9 then S.Save; (in procedure TadxCommandBar.ReconnectControls;)

2) if COMAddInClassFactory.GetHostVersion(HostType) = 9 then S.Save; (in procedure TadxCOMAddInModule.InternalAddCmdBar)

Now is format OK. Is it good solving?
Posted 17 Dec, 2005 10:33:50 Top
Dmitry Kostochko


Add-in Express team


Posts: 2841
Joined: 2004-04-05
Hi Guest,

Is it possible to make addin and in Office 2000 wihout glyphs and in better Office with glyphs?


Yes, it is possible. You can determine the Office version in the OnAddInInitialize event handler and if it is 9, clear the glyphs.


Now is format OK. Is it good solving?


It is ok for the moment, in future releases we will correct the procedure.

Posted 19 Dec, 2005 07:25:33 Top