Maximilian Odendahl wrote:
Hi Oliver,


if( rSh.HasSelection() )
{
   rSh.NormalizePam(true);
   rSh.ClearMark();
}

Multiple selection and table selections need additional handling.

Do you have some code what to do in these cases?

Hi,
there are two approaches:
- delete the multiple selection and insert as above
- iterate over all selections
For the latter search for the use of FOREACHPAM_START and FOREACHPAM_END (e.g. in sw/source/core/doc/docbm.cxx).

Regards,
Oliver

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

Reply via email to