Lines Matching refs:maVSUnderline
46 , maVSUnderline( this, SVX_RES(VS_UNDERLINE)) in TextUnderlineControl()
90 maVSUnderline.SetColor(GetSettings().GetStyleSettings().GetHighContrastMode()? in initial()
93 maVSUnderline.SetBackground(GetSettings().GetStyleSettings().GetHighContrastMode()? in initial()
100 maVSUnderline.SetStyle( maVSUnderline.GetStyle()| WB_3DLOOK | WB_NO_DIRECTSELECT ); in initial()
103 maVSUnderline.SetStyle( maVSUnderline.GetStyle()| WB_NONEFIELD | WB_MENUSTYLEVALUESET ); in initial()
104 maVSUnderline.SetText( String(SVX_RES(STR_WITHOUT) ) ); in initial()
106 maVSUnderline.InsertItem(1, maIMGSingle ,String(SVX_RES(STR_SINGLE))); in initial()
107 maVSUnderline.SetItemData(1, (void*)(sal_uInt64)UNDERLINE_SINGLE); in initial()
109 maVSUnderline.InsertItem(2, maIMGDouble ,String(SVX_RES(STR_DOUBLE))); in initial()
110 maVSUnderline.SetItemData(2, (void*)(sal_uInt64)UNDERLINE_DOUBLE); in initial()
112 maVSUnderline.InsertItem(3, maIMGBold, String(SVX_RES(STR_BOLD))); in initial()
113 maVSUnderline.SetItemData(3,(void*)(sal_uInt64)UNDERLINE_BOLD); in initial()
115 maVSUnderline.InsertItem(4, maIMGDot, String(SVX_RES(STR_DOT))); in initial()
116 maVSUnderline.SetItemData(4,(void*)(sal_uInt64)UNDERLINE_DOTTED); in initial()
118 maVSUnderline.InsertItem(5, maIMGDotBold, String(SVX_RES(STR_DOT_BOLD))); in initial()
119 maVSUnderline.SetItemData(5,(void*)(sal_uInt64)UNDERLINE_BOLDDOTTED); in initial()
121 maVSUnderline.InsertItem(6, maIMGDash, String(SVX_RES(STR_DASH))); in initial()
122 maVSUnderline.SetItemData(6,(void*)(sal_uInt64)UNDERLINE_DASH); in initial()
124 maVSUnderline.InsertItem(7, maIMGDashLong,String(SVX_RES(STR_DASH_LONG))); in initial()
125 maVSUnderline.SetItemData(7,(void*)(sal_uInt64)UNDERLINE_LONGDASH); in initial()
127 maVSUnderline.InsertItem(8, maIMGDashDot, String(SVX_RES(STR_DASH_DOT))); in initial()
128 maVSUnderline.SetItemData(8,(void*)(sal_uInt64)UNDERLINE_DASHDOT); in initial()
130 maVSUnderline.InsertItem(9, maIMGDashDotDot, String(SVX_RES(STR_DASH_DOT_DOT))); in initial()
131 maVSUnderline.SetItemData(9,(void*)(sal_uInt64)UNDERLINE_DASHDOTDOT); in initial()
133 maVSUnderline.InsertItem(10, maIMGWave, String(SVX_RES(STR_WAVE))); in initial()
134 maVSUnderline.SetItemData(10,(void*)(sal_uInt64)UNDERLINE_WAVE); in initial()
136 maVSUnderline.SetColCount( 1 ); in initial()
138 maVSUnderline.SetSelectHdl(aLink); in initial()
140 maVSUnderline.StartSelection(); in initial()
141 maVSUnderline.Show(); in initial()
148 …maVSUnderline.SetItemImage(1, GetDisplayBackground().GetColor().IsDark()? maIMGSingleH :maIMGSingl… in Rearrange()
149 …maVSUnderline.SetItemImage(2, GetDisplayBackground().GetColor().IsDark()? maIMGDoubleH : maIMGDoub… in Rearrange()
150 maVSUnderline.SetItemImage(3, GetDisplayBackground().GetColor().IsDark()? maIMGBoldH : maIMGBold); in Rearrange()
151 maVSUnderline.SetItemImage(4, GetDisplayBackground().GetColor().IsDark()? maIMGDotH : maIMGDot); in Rearrange()
152 …maVSUnderline.SetItemImage(5, GetDisplayBackground().GetColor().IsDark()? maIMGDotBoldH :maIMGDotB… in Rearrange()
153 maVSUnderline.SetItemImage(6, GetDisplayBackground().GetColor().IsDark()? maIMGDashH :maIMGDash); in Rearrange()
154 …maVSUnderline.SetItemImage(7, GetDisplayBackground().GetColor().IsDark()? maIMGDashLongH : maIMGDa… in Rearrange()
155 …maVSUnderline.SetItemImage(8, GetDisplayBackground().GetColor().IsDark()? maIMGDashDotH : maIMGDas… in Rearrange()
156 …maVSUnderline.SetItemImage(9, GetDisplayBackground().GetColor().IsDark()? maIMGDashDotDotH : maIMG… in Rearrange()
157 maVSUnderline.SetItemImage(10, GetDisplayBackground().GetColor().IsDark()? maIMGWaveH : maIMGWave); in Rearrange()
162 maVSUnderline.SetItemImage(1, maIMGSingleSel); in Rearrange()
163 maVSUnderline.SelectItem(1); in Rearrange()
164 maVSUnderline.GrabFocus(); in Rearrange()
167 maVSUnderline.SetItemImage(2, maIMGDoubleSel); in Rearrange()
168 maVSUnderline.SelectItem(2); in Rearrange()
169 maVSUnderline.GrabFocus(); in Rearrange()
172 maVSUnderline.SetItemImage(3, maIMGBoldSel); in Rearrange()
173 maVSUnderline.SelectItem(3); in Rearrange()
174 maVSUnderline.GrabFocus(); in Rearrange()
177 maVSUnderline.SetItemImage(4, maIMGDotSel); in Rearrange()
178 maVSUnderline.SelectItem(4); in Rearrange()
179 maVSUnderline.GrabFocus(); in Rearrange()
182 maVSUnderline.SetItemImage(5, maIMGDotBoldSel); in Rearrange()
183 maVSUnderline.SelectItem(5); in Rearrange()
184 maVSUnderline.GrabFocus(); in Rearrange()
187 maVSUnderline.SetItemImage(6, maIMGDashSel); in Rearrange()
188 maVSUnderline.SelectItem(6); in Rearrange()
189 maVSUnderline.GrabFocus(); in Rearrange()
192 maVSUnderline.SetItemImage(7, maIMGDashLongSel); in Rearrange()
193 maVSUnderline.SelectItem(7); in Rearrange()
194 maVSUnderline.GrabFocus(); in Rearrange()
197 maVSUnderline.SetItemImage(8, maIMGDashDotSel); in Rearrange()
198 maVSUnderline.SelectItem(8); in Rearrange()
199 maVSUnderline.GrabFocus(); in Rearrange()
202 maVSUnderline.SetItemImage(9, maIMGDashDotDotSel); in Rearrange()
203 maVSUnderline.SelectItem(9); in Rearrange()
204 maVSUnderline.GrabFocus(); in Rearrange()
207 maVSUnderline.SetItemImage(10, maIMGWaveSel); in Rearrange()
208 maVSUnderline.SelectItem(10); in Rearrange()
209 maVSUnderline.GrabFocus(); in Rearrange()
212 maVSUnderline.SelectItem(0); in Rearrange()
213 maVSUnderline.GrabFocus(); in Rearrange()
216 maVSUnderline.SelectItem(1); in Rearrange()
217 maVSUnderline.SetNoSelection(); in Rearrange()
220 maVSUnderline.StartSelection(); in Rearrange()
226 if ( pControl == &maVSUnderline ) in IMPL_LINK()
228 const sal_uInt16 iPos = maVSUnderline.GetSelectItemId(); in IMPL_LINK()
231 : (FontUnderline)(sal_uInt64)maVSUnderline.GetItemData( iPos ); in IMPL_LINK()