Hi Giuseppe,

On 06/02/07 19:31, Giuseppe Castagno wrote:

I'm trying to work out a patch for issue 39977, and I have the following question:

How can I obtain a Point object suitable to be used in SwCrsrShell::SetCrsr() method, starting from a SwTextnode object?

I guess it's somehow layout related, but I couldn't find a suitable example to be used or to examine.

Before to reinvent the wheel I thought to ask if there is already some code to do the job, usable from inside SwEditShell.

in order to fix this issue I guess you have to set the current cursor position in SwFEShell::InsertLabel() to the end of the paragraph containing the label text and avoid the call of SelectFlyFrm(). This should be done depending on a new parameter which has to be added to the function signature.

Hope this helps,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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

Reply via email to