Hi Felix,

You can probably start with i54638 if you like.

As the comment from hdu says, the correct digit language should be set during generation of the embedded object replacement image.

The source code that generates the image can be found in sfx2/source/doc/objcont.cxx in the method SfxObjectShell::CreatePreviewMetafile_Impl().

The fix is to provide the correct language to the VirtualDevice that generates the metafile. The digit language settings can be retrieved using SvtCTLOptions class. A good example is the implementation of the function ImpEditEngine::ImplInitLayoutMode() in the file svx/source/editeng/impedit3.cxx

Best regards,
Mikhail.

On 09/09/08 05:25, Zhang Xiaofei wrote:
Hi Mikhail,

Thank you so much for your help, the patch has been corrected and attached to i93617.
By the way, may I have your suggestions on the OLE issues please?

Thanks and Best Regards, :-)
Felix.

Mikhail Voitenko
Hi Felix,

Thanks a lot for the patch, it looks good.
Just a small correction, I would create a name based on the plugin user installation, not the office user installation path. Just because logically the pipe name should be related to the plugin size, not the office size. But as I have mentioned, this is a very small correction.

I have submitted an issue for this, i93617, please attach your patch to this issue and set the Issue type to "patch".

Thanks and best regards,
Mikhail.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to