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
7d6fea90
Kaydet (Commit)
7d6fea90
authored
May 13, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fixes of SvxParaPrevWindow refactoring
Change-Id: If9ca3234f9f3ea1ed176d3fc020d4b6d7a554937
üst
0e27079c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
paragrph.hxx
cui/source/inc/paragrph.hxx
+2
-2
paragrph.cxx
cui/source/tabpages/paragrph.cxx
+8
-8
uiregionsw.cxx
sw/source/ui/dialog/uiregionsw.cxx
+1
-1
No files found.
cui/source/inc/paragrph.hxx
Dosyayı görüntüle @
7d6fea90
...
...
@@ -87,7 +87,7 @@ private:
void
SetLineSpacing_Impl
(
const
SvxLineSpacingItem
&
rAttr
);
void
Init_Impl
();
void
UpdateExample_Impl
(
bool
bAll
=
false
);
void
UpdateExample_Impl
();
DECL_LINK
(
LineDistHdl_Impl
,
ListBox
*
);
DECL_LINK
(
ModifyHdl_Impl
,
void
*
);
...
...
@@ -154,7 +154,7 @@ class SvxParaAlignTabPage : public SfxTabPage
DECL_LINK
(
LastLineHdl_Impl
,
void
*
);
DECL_LINK
(
TextDirectionHdl_Impl
,
void
*
);
void
UpdateExample_Impl
(
bool
bAll
=
false
);
void
UpdateExample_Impl
();
SvxParaAlignTabPage
(
vcl
::
Window
*
pParent
,
const
SfxItemSet
&
rSet
);
...
...
cui/source/tabpages/paragrph.cxx
Dosyayı görüntüle @
7d6fea90
...
...
@@ -819,7 +819,7 @@ IMPL_LINK( SvxStdParagraphTabPage, LineDistHdl_Impl, ListBox *, pBox )
}
break
;
}
UpdateExample_Impl
(
true
);
UpdateExample_Impl
();
return
0
;
}
...
...
@@ -856,7 +856,7 @@ void SvxStdParagraphTabPage::Init_Impl()
m_pLineDistAtMetricBox
->
SetMax
(
m_pLineDistAtMetricBox
->
Normalize
(
nAbst
),
eUnit
);
}
void
SvxStdParagraphTabPage
::
UpdateExample_Impl
(
bool
bAll
)
void
SvxStdParagraphTabPage
::
UpdateExample_Impl
()
{
m_pExampleWin
->
SetFirstLineOfst
(
(
short
)
m_pFLineIndent
->
Denormalize
(
m_pFLineIndent
->
GetValue
(
FUNIT_TWIP
)
)
);
m_pExampleWin
->
SetLeftMargin
(
static_cast
<
long
>
(
m_pLeftIndent
->
Denormalize
(
m_pLeftIndent
->
GetValue
(
FUNIT_TWIP
)
)
)
);
...
...
@@ -886,7 +886,7 @@ void SvxStdParagraphTabPage::UpdateExample_Impl( bool bAll )
(
sal_uInt16
)
GetCoreValue
(
*
m_pLineDistAtMetricBox
,
SFX_MAPUNIT_TWIP
)
);
break
;
}
m_pExampleWin
->
Draw
(
bAll
);
m_pExampleWin
->
Invalidate
(
);
}
void
SvxStdParagraphTabPage
::
EnableRegisterMode
()
...
...
@@ -1260,7 +1260,7 @@ void SvxParaAlignTabPage::Reset( const SfxItemSet* rSet )
m_pLastLineLB
->
SaveValue
();
m_pExpandCB
->
SaveValue
();
UpdateExample_Impl
(
true
);
UpdateExample_Impl
();
}
IMPL_LINK_NOARG
(
SvxParaAlignTabPage
,
AlignHdl_Impl
)
...
...
@@ -1270,7 +1270,7 @@ IMPL_LINK_NOARG(SvxParaAlignTabPage, AlignHdl_Impl)
m_pLastLineLB
->
Enable
(
bJustify
);
bool
bLastLineIsBlock
=
m_pLastLineLB
->
GetSelectEntryPos
()
==
2
;
m_pExpandCB
->
Enable
(
bJustify
&&
bLastLineIsBlock
);
UpdateExample_Impl
(
false
);
UpdateExample_Impl
();
return
0
;
}
...
...
@@ -1279,7 +1279,7 @@ IMPL_LINK_NOARG(SvxParaAlignTabPage, LastLineHdl_Impl)
//fdo#41350 only enable 'Expand last word' if last line is also justified
bool
bLastLineIsBlock
=
m_pLastLineLB
->
GetSelectEntryPos
()
==
2
;
m_pExpandCB
->
Enable
(
bLastLineIsBlock
);
UpdateExample_Impl
(
false
);
UpdateExample_Impl
();
return
0
;
}
...
...
@@ -1301,7 +1301,7 @@ IMPL_LINK_NOARG(SvxParaAlignTabPage, TextDirectionHdl_Impl)
return
0
;
}
void
SvxParaAlignTabPage
::
UpdateExample_Impl
(
bool
bAll
)
void
SvxParaAlignTabPage
::
UpdateExample_Impl
()
{
if
(
m_pLeft
->
IsChecked
()
)
m_pExampleWin
->
SetAdjust
(
SVX_ADJUST_LEFT
);
...
...
@@ -1321,7 +1321,7 @@ void SvxParaAlignTabPage::UpdateExample_Impl( bool bAll )
m_pExampleWin
->
SetLastLine
(
eLastBlock
);
}
m_pExampleWin
->
Draw
(
bAll
);
m_pExampleWin
->
Invalidate
(
);
}
void
SvxParaAlignTabPage
::
EnableJustifyExt
()
...
...
sw/source/ui/dialog/uiregionsw.cxx
Dosyayı görüntüle @
7d6fea90
...
...
@@ -2242,7 +2242,7 @@ IMPL_LINK_NOARG(SwSectionIndentTabPage, IndentModifyHdl)
{
m_pPreviewWin
->
SetLeftMargin
(
static_cast
<
long
>
(
m_pBeforeMF
->
Denormalize
(
m_pBeforeMF
->
GetValue
(
FUNIT_TWIP
)))
);
m_pPreviewWin
->
SetRightMargin
(
static_cast
<
long
>
(
m_pAfterMF
->
Denormalize
(
m_pAfterMF
->
GetValue
(
FUNIT_TWIP
)))
);
m_pPreviewWin
->
Draw
(
true
);
m_pPreviewWin
->
Invalidate
(
);
return
0
;
}
...
...
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