https://bugs.documentfoundation.org/show_bug.cgi?id=151607

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyMedium, easyHack

--- Comment #8 from Justin L <[email protected]> ---
(In reply to Heiko Tietze from comment #7)
> Justin, is it an easy hack  to disable/hide the command if one of the
> objects is not a text box?

I imagine that it is an easy hack - although I would phrase it as "disable the
command if less than 2 selected objects are text boxes". The code pointer is
the link in comment 3.

I would suggest adding a (bool bTestOnly) to
svx/source/svdraw/svdedtv2.cxx's CombineMarkedTextObjects

and return true if ( GetMarkedObjectCount() > 1 )

Depending on how easy you want to make the hack - someone could point out where
to check the State for .uno:TextCombine (since my UI knowledge is minimal).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to