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
3c404572
Kaydet (Commit)
3c404572
authored
May 03, 2013
tarafından
Oliver-Rainer Wittmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
122140: add 'None' entry to underline style drop-down-list in text property panel
üst
dc9abefa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
TextPropertyPanel.hrc
svx/source/sidebar/text/TextPropertyPanel.hrc
+2
-0
TextPropertyPanel.src
svx/source/sidebar/text/TextPropertyPanel.src
+5
-0
TextUnderlineControl.cxx
svx/source/sidebar/text/TextUnderlineControl.cxx
+12
-3
No files found.
svx/source/sidebar/text/TextPropertyPanel.hrc
Dosyayı görüntüle @
3c404572
...
@@ -107,6 +107,8 @@
...
@@ -107,6 +107,8 @@
#define IMG_DASH_DOT_DOT_SEL 48
#define IMG_DASH_DOT_DOT_SEL 48
#define IMG_WAVE_SEL 49
#define IMG_WAVE_SEL 49
#define STR_WITHOUT 50
//popup window font color
//popup window font color
#define VS_FONT_COLOR 1
#define VS_FONT_COLOR 1
#define STR_AUTOMATICE 2
#define STR_AUTOMATICE 2
...
...
svx/source/sidebar/text/TextPropertyPanel.src
Dosyayı görüntüle @
3c404572
...
@@ -392,6 +392,11 @@ Control RID_POPUPPANEL_TEXTPAGE_UNDERLINE
...
@@ -392,6 +392,11 @@ Control RID_POPUPPANEL_TEXTPAGE_UNDERLINE
ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";};
ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";};
};
};
String STR_WITHOUT
{
Text [ en-US ] = "(Without)";
};
//tips
//tips
String STR_SINGLE
String STR_SINGLE
{
{
...
...
svx/source/sidebar/text/TextUnderlineControl.cxx
Dosyayı görüntüle @
3c404572
...
@@ -97,6 +97,10 @@ void TextUnderlineControl::initial()
...
@@ -97,6 +97,10 @@ void TextUnderlineControl::initial()
maVSUnderline
.
SetStyle
(
maVSUnderline
.
GetStyle
()
|
WB_3DLOOK
|
WB_NO_DIRECTSELECT
);
maVSUnderline
.
SetStyle
(
maVSUnderline
.
GetStyle
()
|
WB_3DLOOK
|
WB_NO_DIRECTSELECT
);
// 'none' item
maVSUnderline
.
SetStyle
(
maVSUnderline
.
GetStyle
()
|
WB_NONEFIELD
|
WB_MENUSTYLEVALUESET
);
maVSUnderline
.
SetText
(
String
(
SVX_RES
(
STR_WITHOUT
)
)
);
maVSUnderline
.
InsertItem
(
1
,
maIMGSingle
,
String
(
SVX_RES
(
STR_SINGLE
)));
maVSUnderline
.
InsertItem
(
1
,
maIMGSingle
,
String
(
SVX_RES
(
STR_SINGLE
)));
maVSUnderline
.
SetItemData
(
1
,
(
void
*
)(
sal_uInt64
)
UNDERLINE_SINGLE
);
maVSUnderline
.
SetItemData
(
1
,
(
void
*
)(
sal_uInt64
)
UNDERLINE_SINGLE
);
...
@@ -203,6 +207,9 @@ void TextUnderlineControl::Rearrange(FontUnderline eLine)
...
@@ -203,6 +207,9 @@ void TextUnderlineControl::Rearrange(FontUnderline eLine)
maVSUnderline
.
GrabFocus
();
maVSUnderline
.
GrabFocus
();
break
;
break
;
case
UNDERLINE_NONE
:
case
UNDERLINE_NONE
:
maVSUnderline
.
SelectItem
(
0
);
maVSUnderline
.
GrabFocus
();
break
;
default
:
default
:
maVSUnderline
.
SelectItem
(
1
);
maVSUnderline
.
SelectItem
(
1
);
maVSUnderline
.
SetNoSelection
();
maVSUnderline
.
SetNoSelection
();
...
@@ -214,10 +221,12 @@ void TextUnderlineControl::Rearrange(FontUnderline eLine)
...
@@ -214,10 +221,12 @@ void TextUnderlineControl::Rearrange(FontUnderline eLine)
IMPL_LINK
(
TextUnderlineControl
,
VSSelectHdl
,
void
*
,
pControl
)
IMPL_LINK
(
TextUnderlineControl
,
VSSelectHdl
,
void
*
,
pControl
)
{
{
if
(
pControl
==
&
maVSUnderline
)
if
(
pControl
==
&
maVSUnderline
)
{
{
sal_uInt16
iPos
=
maVSUnderline
.
GetSelectItemId
();
const
sal_uInt16
iPos
=
maVSUnderline
.
GetSelectItemId
();
FontUnderline
eUnderline
=
(
FontUnderline
)(
sal_uInt64
)
maVSUnderline
.
GetItemData
(
iPos
);
const
FontUnderline
eUnderline
=
(
iPos
==
0
)
?
UNDERLINE_NONE
:
(
FontUnderline
)(
sal_uInt64
)
maVSUnderline
.
GetItemData
(
iPos
);
SvxUnderlineItem
aLineItem
(
eUnderline
,
SID_ATTR_CHAR_UNDERLINE
);
SvxUnderlineItem
aLineItem
(
eUnderline
,
SID_ATTR_CHAR_UNDERLINE
);
...
...
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