fdo#45671 fix for transparent colour split button
This commit is contained in:
committed by
Cédric Bosdonnat
parent
cbaabc7323
commit
0466a30ca5
@@ -1435,6 +1435,15 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq )
|
|||||||
pTabViewShell->ExecuteCellFormatDlg( rReq, TP_FONT ); // wenn ToolBar vertikal
|
pTabViewShell->ExecuteCellFormatDlg( rReq, TP_FONT ); // wenn ToolBar vertikal
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case SID_BACKGROUND_COLOR:
|
||||||
|
{
|
||||||
|
SvxBrushItem aBrushItem( (const SvxBrushItem&)
|
||||||
|
pTabViewShell->GetSelectionPattern()->GetItem( ATTR_BACKGROUND ) );
|
||||||
|
aBrushItem.SetColor( COL_TRANSPARENT );
|
||||||
|
pTabViewShell->ApplyAttr( aBrushItem );
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case SID_ATTR_ALIGN_LINEBREAK: // ohne Parameter als Toggle
|
case SID_ATTR_ALIGN_LINEBREAK: // ohne Parameter als Toggle
|
||||||
{
|
{
|
||||||
const ScPatternAttr* pAttrs = pTabViewShell->GetSelectionPattern();
|
const ScPatternAttr* pAttrs = pTabViewShell->GetSelectionPattern();
|
||||||
|
@@ -2250,6 +2250,10 @@ SvxColorExtToolBoxControl::SvxColorExtToolBoxControl(
|
|||||||
switch( nSlotId )
|
switch( nSlotId )
|
||||||
{
|
{
|
||||||
case SID_ATTR_CHAR_COLOR:
|
case SID_ATTR_CHAR_COLOR:
|
||||||
|
addStatusListener( OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:Color" )));
|
||||||
|
nMode = TBX_UPDATER_MODE_CHAR_COLOR_NEW;
|
||||||
|
break;
|
||||||
|
|
||||||
case SID_ATTR_CHAR_COLOR2:
|
case SID_ATTR_CHAR_COLOR2:
|
||||||
addStatusListener( OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CharColorExt" )));
|
addStatusListener( OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CharColorExt" )));
|
||||||
nMode = TBX_UPDATER_MODE_CHAR_COLOR_NEW;
|
nMode = TBX_UPDATER_MODE_CHAR_COLOR_NEW;
|
||||||
|
Reference in New Issue
Block a user