Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
df064416
Kaydet (Commit)
df064416
authored
Mar 08, 2012
tarafından
Winfried Donkers
Kaydeden (comit)
Tor Lillqvist
Mar 08, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#45682 split button for writer table line color
üst
6b84f0d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
tbcontrl.cxx
svx/source/tbxctrls/tbcontrl.cxx
+30
-0
swmodule.cxx
sw/source/ui/app/swmodule.cxx
+1
-1
No files found.
svx/source/tbxctrls/tbcontrl.cxx
Dosyayı görüntüle @
df064416
...
@@ -2261,6 +2261,11 @@ SvxColorExtToolBoxControl::SvxColorExtToolBoxControl(
...
@@ -2261,6 +2261,11 @@ SvxColorExtToolBoxControl::SvxColorExtToolBoxControl(
addStatusListener
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:CharBackgroundExt"
)));
addStatusListener
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:CharBackgroundExt"
)));
nMode
=
TBX_UPDATER_MODE_CHAR_COLOR_NEW
;
nMode
=
TBX_UPDATER_MODE_CHAR_COLOR_NEW
;
break
;
break
;
case
SID_FRAME_LINECOLOR
:
addStatusListener
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FrameLineColor"
)));
nMode
=
0
;
break
;
}
}
pBtnUpdater
=
new
::
svx
::
ToolboxButtonColorUpdater
(
nSlotId
,
nId
,
&
GetToolBox
(),
nMode
);
pBtnUpdater
=
new
::
svx
::
ToolboxButtonColorUpdater
(
nSlotId
,
nId
,
&
GetToolBox
(),
nMode
);
...
@@ -2302,6 +2307,10 @@ SfxPopupWindow* SvxColorExtToolBoxControl::CreatePopupWindow()
...
@@ -2302,6 +2307,10 @@ SfxPopupWindow* SvxColorExtToolBoxControl::CreatePopupWindow()
case
SID_BACKGROUND_COLOR
:
case
SID_BACKGROUND_COLOR
:
pColorWin
->
SetText
(
SVX_RESSTR
(
RID_SVXSTR_BACKGROUND
)
);
pColorWin
->
SetText
(
SVX_RESSTR
(
RID_SVXSTR_BACKGROUND
)
);
break
;
break
;
case
SID_FRAME_LINECOLOR
:
pColorWin
->
SetText
(
SVX_RESSTR
(
RID_SVXSTR_FRAME_COLOR
)
);
break
;
}
}
pColorWin
->
StartPopupMode
(
&
GetToolBox
(),
pColorWin
->
StartPopupMode
(
&
GetToolBox
(),
...
@@ -2338,6 +2347,22 @@ void SvxColorExtToolBoxControl::StateChanged(
...
@@ -2338,6 +2347,22 @@ void SvxColorExtToolBoxControl::StateChanged(
mLastColor
=
pItem
->
GetValue
();
mLastColor
=
pItem
->
GetValue
();
}
}
break
;
break
;
case
SID_FRAME_LINECOLOR
:
ToolBox
&
rTbx
=
GetToolBox
();
rTbx
.
EnableItem
(
nSID
,
SFX_ITEM_DISABLED
!=
eState
);
rTbx
.
SetItemState
(
nSID
,
(
SFX_ITEM_DONTCARE
==
eState
)
?
STATE_DONTKNOW
:
STATE_NOCHECK
);
if
(
SFX_ITEM_DONTCARE
!=
eState
)
{
pItem
=
PTR_CAST
(
SvxColorItem
,
pState
);
if
(
pItem
)
{
pBtnUpdater
->
Update
(
pItem
->
GetValue
());
mLastColor
=
pItem
->
GetValue
();
}
}
break
;
}
}
}
}
}
}
...
@@ -2373,6 +2398,11 @@ void SvxColorExtToolBoxControl::Select( sal_Bool )
...
@@ -2373,6 +2398,11 @@ void SvxColorExtToolBoxControl::Select( sal_Bool )
aCommand
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:CharBackgroundExt"
));
aCommand
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:CharBackgroundExt"
));
aParamName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CharBackgroundExt"
));
aParamName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CharBackgroundExt"
));
break
;
break
;
case
SID_FRAME_LINECOLOR
:
aCommand
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FrameLineColor"
));
aParamName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FrameLineColor"
));
break
;
}
}
Sequence
<
PropertyValue
>
aArgs
(
1
);
Sequence
<
PropertyValue
>
aArgs
(
1
);
...
...
sw/source/ui/app/swmodule.cxx
Dosyayı görüntüle @
df064416
...
@@ -355,7 +355,7 @@ void SwDLL::RegisterControls()
...
@@ -355,7 +355,7 @@ void SwDLL::RegisterControls()
SvxColorExtToolBoxControl
::
RegisterControl
(
SID_BACKGROUND_COLOR
,
pMod
);
SvxColorExtToolBoxControl
::
RegisterControl
(
SID_BACKGROUND_COLOR
,
pMod
);
SvxFrameToolBoxControl
::
RegisterControl
(
SID_ATTR_BORDER
,
pMod
);
SvxFrameToolBoxControl
::
RegisterControl
(
SID_ATTR_BORDER
,
pMod
);
SvxFrameLineStyleToolBoxControl
::
RegisterControl
(
SID_FRAME_LINESTYLE
,
pMod
);
SvxFrameLineStyleToolBoxControl
::
RegisterControl
(
SID_FRAME_LINESTYLE
,
pMod
);
Svx
FrameLineColor
ToolBoxControl
::
RegisterControl
(
SID_FRAME_LINECOLOR
,
pMod
);
Svx
ColorExt
ToolBoxControl
::
RegisterControl
(
SID_FRAME_LINECOLOR
,
pMod
);
SvxColumnsToolBoxControl
::
RegisterControl
(
FN_INSERT_FRAME_INTERACT
,
pMod
);
SvxColumnsToolBoxControl
::
RegisterControl
(
FN_INSERT_FRAME_INTERACT
,
pMod
);
SvxColumnsToolBoxControl
::
RegisterControl
(
FN_INSERT_FRAME
,
pMod
);
SvxColumnsToolBoxControl
::
RegisterControl
(
FN_INSERT_FRAME
,
pMod
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment