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
5c0bb108
Kaydet (Commit)
5c0bb108
authored
Eyl 13, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
listening to modify is sufficient to get all changes
Change-Id: I9dc7301bed990838ac5fbb3bb5394bae5171bc22
üst
66322c5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
33 deletions
+7
-33
wrap.cxx
sw/source/ui/frmdlg/wrap.cxx
+6
-31
wrap.hxx
sw/source/uibase/inc/wrap.hxx
+1
-2
No files found.
sw/source/ui/frmdlg/wrap.cxx
Dosyayı görüntüle @
5c0bb108
...
...
@@ -90,31 +90,11 @@ SwWrapTabPage::SwWrapTabPage(vcl::Window *pParent, const SfxItemSet &rSet)
SetExchangeSupport
();
Link
<
SpinField
&
,
void
>
aLk
=
LINK
(
this
,
SwWrapTabPage
,
RangeModifyHdl
);
Link
<
Control
&
,
void
>
aLk3
=
LINK
(
this
,
SwWrapTabPage
,
RangeLoseFocusHdl
);
m_pLeftMarginED
->
SetUpHdl
(
aLk
);
m_pLeftMarginED
->
SetDownHdl
(
aLk
);
m_pLeftMarginED
->
SetFirstHdl
(
aLk
);
m_pLeftMarginED
->
SetLastHdl
(
aLk
);
m_pLeftMarginED
->
SetLoseFocusHdl
(
aLk3
);
m_pRightMarginED
->
SetUpHdl
(
aLk
);
m_pRightMarginED
->
SetDownHdl
(
aLk
);
m_pRightMarginED
->
SetFirstHdl
(
aLk
);
m_pRightMarginED
->
SetLastHdl
(
aLk
);
m_pRightMarginED
->
SetLoseFocusHdl
(
aLk3
);
m_pTopMarginED
->
SetUpHdl
(
aLk
);
m_pTopMarginED
->
SetDownHdl
(
aLk
);
m_pTopMarginED
->
SetFirstHdl
(
aLk
);
m_pTopMarginED
->
SetLastHdl
(
aLk
);
m_pTopMarginED
->
SetLoseFocusHdl
(
aLk3
);
m_pBottomMarginED
->
SetUpHdl
(
aLk
);
m_pBottomMarginED
->
SetDownHdl
(
aLk
);
m_pBottomMarginED
->
SetFirstHdl
(
aLk
);
m_pBottomMarginED
->
SetLastHdl
(
aLk
);
m_pBottomMarginED
->
SetLoseFocusHdl
(
aLk3
);
Link
<
Edit
&
,
void
>
aLk
=
LINK
(
this
,
SwWrapTabPage
,
RangeModifyHdl
);
m_pLeftMarginED
->
SetModifyHdl
(
aLk
);
m_pRightMarginED
->
SetModifyHdl
(
aLk
);
m_pTopMarginED
->
SetModifyHdl
(
aLk
);
m_pBottomMarginED
->
SetModifyHdl
(
aLk
);
Link
<
Button
*
,
void
>
aLk2
=
LINK
(
this
,
SwWrapTabPage
,
WrapTypeHdl
);
m_pNoWrapRB
->
SetClickHdl
(
aLk2
);
...
...
@@ -572,12 +552,7 @@ DeactivateRC SwWrapTabPage::DeactivatePage(SfxItemSet* _pSet)
return
DeactivateRC
::
LeavePage
;
}
// range check
IMPL_LINK
(
SwWrapTabPage
,
RangeLoseFocusHdl
,
Control
&
,
rControl
,
void
)
{
RangeModifyHdl
(
static_cast
<
SpinField
&>
(
rControl
)
);
}
IMPL_LINK
(
SwWrapTabPage
,
RangeModifyHdl
,
SpinField
&
,
rSpin
,
void
)
IMPL_LINK
(
SwWrapTabPage
,
RangeModifyHdl
,
Edit
&
,
rSpin
,
void
)
{
MetricField
&
rEdit
=
static_cast
<
MetricField
&>
(
rSpin
);
sal_Int64
nValue
=
rEdit
.
GetValue
();
...
...
sw/source/uibase/inc/wrap.hxx
Dosyayı görüntüle @
5c0bb108
...
...
@@ -79,8 +79,7 @@ class SwWrapTabPage: public SfxTabPage
virtual
void
ActivatePage
(
const
SfxItemSet
&
rSet
)
override
;
virtual
DeactivateRC
DeactivatePage
(
SfxItemSet
*
pSet
)
override
;
DECL_LINK
(
RangeModifyHdl
,
SpinField
&
,
void
);
DECL_LINK
(
RangeLoseFocusHdl
,
Control
&
,
void
);
DECL_LINK
(
RangeModifyHdl
,
Edit
&
,
void
);
DECL_LINK
(
WrapTypeHdl
,
Button
*
,
void
);
DECL_LINK
(
ContourHdl
,
Button
*
,
void
);
...
...
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