https://bugs.documentfoundation.org/show_bug.cgi?id=120680
--- Comment #4 from Heiko Tietze <[email protected]> ---
(In reply to Xisco FaulĂ from comment #3)
> @Heiko, candidate for easyhack ?
Shapes are generic commands, not only used in Calc. There is .uno:BasicShapes
and .uno:BasicShapes.rectangle, .uno:BasicShapes.quadrat etc. with
SID_DRAWTBX_CS_BASIC and SID_DRAWTBX_CS_BASIC1.. SID_DRAWTBX_CS_BASIC<n>. All
the children commands needs to be disabled individually.
I would think about a new state method, assign this to all SIDs, add the code
similar to ScModule::GetState( SfxItemSet& rSet ). Maybe ScTable::IsProtected
returns whether the sheet is protected. OTOH, such a state method requires Calc
specific commands...
Usually I fail with the first approach and things are more complicated than
expected. So not an easyhack.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs