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
3d978117
Kaydet (Commit)
3d978117
authored
Nis 10, 2017
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwRedlineOptionsTabPage
Change-Id: I7d8d63ef09f6b21278a2e8c7ea4db05612fd9449
üst
d608fa64
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
120 deletions
+120
-120
optpage.cxx
sw/source/ui/config/optpage.cxx
+108
-108
optpage.hxx
sw/source/uibase/inc/optpage.hxx
+12
-12
No files found.
sw/source/ui/config/optpage.cxx
Dosyayı görüntüle @
3d978117
...
@@ -1720,61 +1720,61 @@ SwRedlineOptionsTabPage::SwRedlineOptionsTabPage( vcl::Window* pParent,
...
@@ -1720,61 +1720,61 @@ SwRedlineOptionsTabPage::SwRedlineOptionsTabPage( vcl::Window* pParent,
{
{
Size
aPreviewSize
(
getPreviewOptionsSize
(
this
));
Size
aPreviewSize
(
getPreviewOptionsSize
(
this
));
get
(
pInsertLB
,
"insert"
);
get
(
m_
pInsertLB
,
"insert"
);
get
(
pInsertColorLB
,
"insertcolor"
);
get
(
m_
pInsertColorLB
,
"insertcolor"
);
pInsertColorLB
->
SetSlotId
(
SID_AUTHOR_COLOR
,
true
);
m_
pInsertColorLB
->
SetSlotId
(
SID_AUTHOR_COLOR
,
true
);
get
(
pInsertedPreviewWN
,
"insertedpreview"
);
get
(
m_
pInsertedPreviewWN
,
"insertedpreview"
);
get
(
pDeletedLB
,
"deleted"
);
get
(
m_
pDeletedLB
,
"deleted"
);
get
(
pDeletedColorLB
,
"deletedcolor"
);
get
(
m_
pDeletedColorLB
,
"deletedcolor"
);
pDeletedColorLB
->
SetSlotId
(
SID_AUTHOR_COLOR
,
true
);
m_
pDeletedColorLB
->
SetSlotId
(
SID_AUTHOR_COLOR
,
true
);
get
(
pDeletedPreviewWN
,
"deletedpreview"
);
get
(
m_
pDeletedPreviewWN
,
"deletedpreview"
);
get
(
pChangedLB
,
"changed"
);
get
(
m_
pChangedLB
,
"changed"
);
get
(
pChangedColorLB
,
"changedcolor"
);
get
(
m_
pChangedColorLB
,
"changedcolor"
);
pChangedColorLB
->
SetSlotId
(
SID_AUTHOR_COLOR
,
true
);
m_
pChangedColorLB
->
SetSlotId
(
SID_AUTHOR_COLOR
,
true
);
get
(
pChangedPreviewWN
,
"changedpreview"
);
get
(
m_
pChangedPreviewWN
,
"changedpreview"
);
get
(
pMarkPosLB
,
"markpos"
);
get
(
m_
pMarkPosLB
,
"markpos"
);
get
(
pMarkColorLB
,
"markcolor"
);
get
(
m_
pMarkColorLB
,
"markcolor"
);
get
(
pMarkPreviewWN
,
"markpreview"
);
get
(
m_
pMarkPreviewWN
,
"markpreview"
);
pInsertedPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
m_
pInsertedPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
pDeletedPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
m_
pDeletedPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
pChangedPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
m_
pChangedPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
pMarkPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
m_
pMarkPreviewWN
->
set_height_request
(
aPreviewSize
.
Height
());
pInsertedPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
m_
pInsertedPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
pDeletedPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
m_
pDeletedPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
pChangedPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
m_
pChangedPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
pMarkPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
m_
pMarkPreviewWN
->
set_width_request
(
aPreviewSize
.
Width
());
for
(
sal_Int32
i
=
0
;
i
<
pInsertLB
->
GetEntryCount
();
++
i
)
for
(
sal_Int32
i
=
0
;
i
<
m_
pInsertLB
->
GetEntryCount
();
++
i
)
{
{
const
OUString
sEntry
(
pInsertLB
->
GetEntry
(
i
));
const
OUString
sEntry
(
m_
pInsertLB
->
GetEntry
(
i
));
pDeletedLB
->
InsertEntry
(
sEntry
);
m_
pDeletedLB
->
InsertEntry
(
sEntry
);
pChangedLB
->
InsertEntry
(
sEntry
);
m_
pChangedLB
->
InsertEntry
(
sEntry
);
};
};
// remove strikethrough from insert and change and underline + double
// remove strikethrough from insert and change and underline + double
// underline from delete
// underline from delete
pInsertLB
->
RemoveEntry
(
5
);
m_
pInsertLB
->
RemoveEntry
(
5
);
pChangedLB
->
RemoveEntry
(
5
);
m_
pChangedLB
->
RemoveEntry
(
5
);
pDeletedLB
->
RemoveEntry
(
4
);
m_
pDeletedLB
->
RemoveEntry
(
4
);
pDeletedLB
->
RemoveEntry
(
3
);
m_
pDeletedLB
->
RemoveEntry
(
3
);
Link
<
ListBox
&
,
void
>
aLk
=
LINK
(
this
,
SwRedlineOptionsTabPage
,
AttribHdl
);
Link
<
ListBox
&
,
void
>
aLk
=
LINK
(
this
,
SwRedlineOptionsTabPage
,
AttribHdl
);
pInsertLB
->
SetSelectHdl
(
aLk
);
m_
pInsertLB
->
SetSelectHdl
(
aLk
);
pDeletedLB
->
SetSelectHdl
(
aLk
);
m_
pDeletedLB
->
SetSelectHdl
(
aLk
);
pChangedLB
->
SetSelectHdl
(
aLk
);
m_
pChangedLB
->
SetSelectHdl
(
aLk
);
Link
<
SvxColorListBox
&
,
void
>
aLk2
=
LINK
(
this
,
SwRedlineOptionsTabPage
,
ColorHdl
);
Link
<
SvxColorListBox
&
,
void
>
aLk2
=
LINK
(
this
,
SwRedlineOptionsTabPage
,
ColorHdl
);
pInsertColorLB
->
SetSelectHdl
(
aLk2
);
m_
pInsertColorLB
->
SetSelectHdl
(
aLk2
);
pDeletedColorLB
->
SetSelectHdl
(
aLk2
);
m_
pDeletedColorLB
->
SetSelectHdl
(
aLk2
);
pChangedColorLB
->
SetSelectHdl
(
aLk2
);
m_
pChangedColorLB
->
SetSelectHdl
(
aLk2
);
pMarkPosLB
->
SetSelectHdl
(
LINK
(
this
,
SwRedlineOptionsTabPage
,
ChangedMaskPrevHdl
));
m_
pMarkPosLB
->
SetSelectHdl
(
LINK
(
this
,
SwRedlineOptionsTabPage
,
ChangedMaskPrevHdl
));
pMarkColorLB
->
SetSelectHdl
(
LINK
(
this
,
SwRedlineOptionsTabPage
,
ChangedMaskColorPrevHdl
));
m_
pMarkColorLB
->
SetSelectHdl
(
LINK
(
this
,
SwRedlineOptionsTabPage
,
ChangedMaskColorPrevHdl
));
}
}
SwRedlineOptionsTabPage
::~
SwRedlineOptionsTabPage
()
SwRedlineOptionsTabPage
::~
SwRedlineOptionsTabPage
()
...
@@ -1784,18 +1784,18 @@ SwRedlineOptionsTabPage::~SwRedlineOptionsTabPage()
...
@@ -1784,18 +1784,18 @@ SwRedlineOptionsTabPage::~SwRedlineOptionsTabPage()
void
SwRedlineOptionsTabPage
::
dispose
()
void
SwRedlineOptionsTabPage
::
dispose
()
{
{
pInsertLB
.
clear
();
m_
pInsertLB
.
clear
();
pInsertColorLB
.
clear
();
m_
pInsertColorLB
.
clear
();
pInsertedPreviewWN
.
clear
();
m_
pInsertedPreviewWN
.
clear
();
pDeletedLB
.
clear
();
m_
pDeletedLB
.
clear
();
pDeletedColorLB
.
clear
();
m_
pDeletedColorLB
.
clear
();
pDeletedPreviewWN
.
clear
();
m_
pDeletedPreviewWN
.
clear
();
pChangedLB
.
clear
();
m_
pChangedLB
.
clear
();
pChangedColorLB
.
clear
();
m_
pChangedColorLB
.
clear
();
pChangedPreviewWN
.
clear
();
m_
pChangedPreviewWN
.
clear
();
pMarkPosLB
.
clear
();
m_
pMarkPosLB
.
clear
();
pMarkColorLB
.
clear
();
m_
pMarkColorLB
.
clear
();
pMarkPreviewWN
.
clear
();
m_
pMarkPreviewWN
.
clear
();
SfxTabPage
::
dispose
();
SfxTabPage
::
dispose
();
}
}
...
@@ -1820,38 +1820,38 @@ bool SwRedlineOptionsTabPage::FillItemSet( SfxItemSet* )
...
@@ -1820,38 +1820,38 @@ bool SwRedlineOptionsTabPage::FillItemSet( SfxItemSet* )
ColorData
nOldMarkColor
=
pOpt
->
GetMarkAlignColor
().
GetColor
();
ColorData
nOldMarkColor
=
pOpt
->
GetMarkAlignColor
().
GetColor
();
sal_uInt16
nOldMarkMode
=
pOpt
->
GetMarkAlignMode
();
sal_uInt16
nOldMarkMode
=
pOpt
->
GetMarkAlignMode
();
sal_Int32
nPos
=
pInsertLB
->
GetSelectEntryPos
();
sal_Int32
nPos
=
m_
pInsertLB
->
GetSelectEntryPos
();
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
{
{
pAttr
=
static_cast
<
CharAttr
*>
(
pInsertLB
->
GetEntryData
(
nPos
));
pAttr
=
static_cast
<
CharAttr
*>
(
m_
pInsertLB
->
GetEntryData
(
nPos
));
aInsertedAttr
.
nItemId
=
pAttr
->
nItemId
;
aInsertedAttr
.
nItemId
=
pAttr
->
nItemId
;
aInsertedAttr
.
nAttr
=
pAttr
->
nAttr
;
aInsertedAttr
.
nAttr
=
pAttr
->
nAttr
;
aInsertedAttr
.
nColor
=
pInsertColorLB
->
GetSelectEntryColor
().
GetColor
();
aInsertedAttr
.
nColor
=
m_
pInsertColorLB
->
GetSelectEntryColor
().
GetColor
();
pOpt
->
SetInsertAuthorAttr
(
aInsertedAttr
);
pOpt
->
SetInsertAuthorAttr
(
aInsertedAttr
);
}
}
nPos
=
pDeletedLB
->
GetSelectEntryPos
();
nPos
=
m_
pDeletedLB
->
GetSelectEntryPos
();
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
{
{
pAttr
=
static_cast
<
CharAttr
*>
(
pDeletedLB
->
GetEntryData
(
nPos
));
pAttr
=
static_cast
<
CharAttr
*>
(
m_
pDeletedLB
->
GetEntryData
(
nPos
));
aDeletedAttr
.
nItemId
=
pAttr
->
nItemId
;
aDeletedAttr
.
nItemId
=
pAttr
->
nItemId
;
aDeletedAttr
.
nAttr
=
pAttr
->
nAttr
;
aDeletedAttr
.
nAttr
=
pAttr
->
nAttr
;
aDeletedAttr
.
nColor
=
pDeletedColorLB
->
GetSelectEntryColor
().
GetColor
();
aDeletedAttr
.
nColor
=
m_
pDeletedColorLB
->
GetSelectEntryColor
().
GetColor
();
pOpt
->
SetDeletedAuthorAttr
(
aDeletedAttr
);
pOpt
->
SetDeletedAuthorAttr
(
aDeletedAttr
);
}
}
nPos
=
pChangedLB
->
GetSelectEntryPos
();
nPos
=
m_
pChangedLB
->
GetSelectEntryPos
();
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
{
{
pAttr
=
static_cast
<
CharAttr
*>
(
pChangedLB
->
GetEntryData
(
nPos
));
pAttr
=
static_cast
<
CharAttr
*>
(
m_
pChangedLB
->
GetEntryData
(
nPos
));
aChangedAttr
.
nItemId
=
pAttr
->
nItemId
;
aChangedAttr
.
nItemId
=
pAttr
->
nItemId
;
aChangedAttr
.
nAttr
=
pAttr
->
nAttr
;
aChangedAttr
.
nAttr
=
pAttr
->
nAttr
;
aChangedAttr
.
nColor
=
pChangedColorLB
->
GetSelectEntryColor
().
GetColor
();
aChangedAttr
.
nColor
=
m_
pChangedColorLB
->
GetSelectEntryColor
().
GetColor
();
pOpt
->
SetFormatAuthorAttr
(
aChangedAttr
);
pOpt
->
SetFormatAuthorAttr
(
aChangedAttr
);
}
}
nPos
=
0
;
nPos
=
0
;
switch
(
pMarkPosLB
->
GetSelectEntryPos
())
switch
(
m_
pMarkPosLB
->
GetSelectEntryPos
())
{
{
case
0
:
nPos
=
text
::
HoriOrientation
::
NONE
;
break
;
case
0
:
nPos
=
text
::
HoriOrientation
::
NONE
;
break
;
case
1
:
nPos
=
text
::
HoriOrientation
::
LEFT
;
break
;
case
1
:
nPos
=
text
::
HoriOrientation
::
LEFT
;
break
;
...
@@ -1861,7 +1861,7 @@ bool SwRedlineOptionsTabPage::FillItemSet( SfxItemSet* )
...
@@ -1861,7 +1861,7 @@ bool SwRedlineOptionsTabPage::FillItemSet( SfxItemSet* )
}
}
pOpt
->
SetMarkAlignMode
(
nPos
);
pOpt
->
SetMarkAlignMode
(
nPos
);
pOpt
->
SetMarkAlignColor
(
pMarkColorLB
->
GetSelectEntryColor
());
pOpt
->
SetMarkAlignColor
(
m_
pMarkColorLB
->
GetSelectEntryColor
());
if
(
!
(
aInsertedAttr
==
aOldInsertAttr
)
||
if
(
!
(
aInsertedAttr
==
aOldInsertAttr
)
||
!
(
aDeletedAttr
==
aOldDeletedAttr
)
||
!
(
aDeletedAttr
==
aOldDeletedAttr
)
||
...
@@ -1891,28 +1891,28 @@ void SwRedlineOptionsTabPage::Reset( const SfxItemSet* )
...
@@ -1891,28 +1891,28 @@ void SwRedlineOptionsTabPage::Reset( const SfxItemSet* )
const
AuthorCharAttr
&
rChangedAttr
=
pOpt
->
GetFormatAuthorAttr
();
const
AuthorCharAttr
&
rChangedAttr
=
pOpt
->
GetFormatAuthorAttr
();
// initialise preview
// initialise preview
InitFontStyle
(
*
pInsertedPreviewWN
);
InitFontStyle
(
*
m_
pInsertedPreviewWN
);
InitFontStyle
(
*
pDeletedPreviewWN
);
InitFontStyle
(
*
m_
pDeletedPreviewWN
);
InitFontStyle
(
*
pChangedPreviewWN
);
InitFontStyle
(
*
m_
pChangedPreviewWN
);
ColorData
nColor
=
rInsertAttr
.
nColor
;
ColorData
nColor
=
rInsertAttr
.
nColor
;
pInsertColorLB
->
SelectEntry
(
Color
(
nColor
));
m_
pInsertColorLB
->
SelectEntry
(
Color
(
nColor
));
nColor
=
rDeletedAttr
.
nColor
;
nColor
=
rDeletedAttr
.
nColor
;
pDeletedColorLB
->
SelectEntry
(
Color
(
nColor
));
m_
pDeletedColorLB
->
SelectEntry
(
Color
(
nColor
));
nColor
=
rChangedAttr
.
nColor
;
nColor
=
rChangedAttr
.
nColor
;
pChangedColorLB
->
SelectEntry
(
Color
(
nColor
));
m_
pChangedColorLB
->
SelectEntry
(
Color
(
nColor
));
pMarkColorLB
->
SelectEntry
(
pOpt
->
GetMarkAlignColor
());
m_
pMarkColorLB
->
SelectEntry
(
pOpt
->
GetMarkAlignColor
());
pInsertLB
->
SelectEntryPos
(
0
);
m_
pInsertLB
->
SelectEntryPos
(
0
);
pDeletedLB
->
SelectEntryPos
(
0
);
m_
pDeletedLB
->
SelectEntryPos
(
0
);
pChangedLB
->
SelectEntryPos
(
0
);
m_
pChangedLB
->
SelectEntryPos
(
0
);
lcl_FillRedlineAttrListBox
(
*
pInsertLB
,
rInsertAttr
,
aInsertAttrMap
,
SAL_N_ELEMENTS
(
aInsertAttrMap
));
lcl_FillRedlineAttrListBox
(
*
m_
pInsertLB
,
rInsertAttr
,
aInsertAttrMap
,
SAL_N_ELEMENTS
(
aInsertAttrMap
));
lcl_FillRedlineAttrListBox
(
*
pDeletedLB
,
rDeletedAttr
,
aDeletedAttrMap
,
SAL_N_ELEMENTS
(
aDeletedAttrMap
));
lcl_FillRedlineAttrListBox
(
*
m_
pDeletedLB
,
rDeletedAttr
,
aDeletedAttrMap
,
SAL_N_ELEMENTS
(
aDeletedAttrMap
));
lcl_FillRedlineAttrListBox
(
*
pChangedLB
,
rChangedAttr
,
aChangedAttrMap
,
SAL_N_ELEMENTS
(
aChangedAttrMap
));
lcl_FillRedlineAttrListBox
(
*
m_
pChangedLB
,
rChangedAttr
,
aChangedAttrMap
,
SAL_N_ELEMENTS
(
aChangedAttrMap
));
sal_Int32
nPos
=
0
;
sal_Int32
nPos
=
0
;
switch
(
pOpt
->
GetMarkAlignMode
())
switch
(
pOpt
->
GetMarkAlignMode
())
...
@@ -1923,15 +1923,15 @@ void SwRedlineOptionsTabPage::Reset( const SfxItemSet* )
...
@@ -1923,15 +1923,15 @@ void SwRedlineOptionsTabPage::Reset( const SfxItemSet* )
case
text
:
:
HoriOrientation
::
OUTSIDE
:
nPos
=
3
;
break
;
case
text
:
:
HoriOrientation
::
OUTSIDE
:
nPos
=
3
;
break
;
case
text
:
:
HoriOrientation
::
INSIDE
:
nPos
=
4
;
break
;
case
text
:
:
HoriOrientation
::
INSIDE
:
nPos
=
4
;
break
;
}
}
pMarkPosLB
->
SelectEntryPos
(
nPos
);
m_
pMarkPosLB
->
SelectEntryPos
(
nPos
);
// show settings in preview
// show settings in preview
AttribHdl
(
*
pInsertLB
);
AttribHdl
(
*
m_
pInsertLB
);
ColorHdl
(
*
pInsertColorLB
);
ColorHdl
(
*
m_
pInsertColorLB
);
AttribHdl
(
*
pDeletedLB
);
AttribHdl
(
*
m_
pDeletedLB
);
ColorHdl
(
*
pInsertColorLB
);
ColorHdl
(
*
m_
pInsertColorLB
);
AttribHdl
(
*
pChangedLB
);
AttribHdl
(
*
m_
pChangedLB
);
ColorHdl
(
*
pChangedColorLB
);
ColorHdl
(
*
m_
pChangedColorLB
);
ChangedMaskPrev
();
ChangedMaskPrev
();
}
}
...
@@ -1941,20 +1941,20 @@ IMPL_LINK( SwRedlineOptionsTabPage, AttribHdl, ListBox&, rLB, void )
...
@@ -1941,20 +1941,20 @@ IMPL_LINK( SwRedlineOptionsTabPage, AttribHdl, ListBox&, rLB, void )
SvxFontPrevWindow
*
pPrev
=
nullptr
;
SvxFontPrevWindow
*
pPrev
=
nullptr
;
SvxColorListBox
*
pColorLB
;
SvxColorListBox
*
pColorLB
;
if
(
&
rLB
==
pInsertLB
)
if
(
&
rLB
==
m_
pInsertLB
)
{
{
pColorLB
=
pInsertColorLB
;
pColorLB
=
m_
pInsertColorLB
;
pPrev
=
pInsertedPreviewWN
;
pPrev
=
m_
pInsertedPreviewWN
;
}
}
else
if
(
&
rLB
==
pDeletedLB
)
else
if
(
&
rLB
==
m_
pDeletedLB
)
{
{
pColorLB
=
pDeletedColorLB
;
pColorLB
=
m_
pDeletedColorLB
;
pPrev
=
pDeletedPreviewWN
;
pPrev
=
m_
pDeletedPreviewWN
;
}
}
else
else
{
{
pColorLB
=
pChangedColorLB
;
pColorLB
=
m_
pChangedColorLB
;
pPrev
=
pChangedPreviewWN
;
pPrev
=
m_
pChangedPreviewWN
;
}
}
SvxFont
&
rFont
=
pPrev
->
GetFont
();
SvxFont
&
rFont
=
pPrev
->
GetFont
();
...
@@ -2045,20 +2045,20 @@ IMPL_LINK( SwRedlineOptionsTabPage, ColorHdl, SvxColorListBox&, rListBox, void )
...
@@ -2045,20 +2045,20 @@ IMPL_LINK( SwRedlineOptionsTabPage, ColorHdl, SvxColorListBox&, rListBox, void )
SvxFontPrevWindow
*
pPrev
=
nullptr
;
SvxFontPrevWindow
*
pPrev
=
nullptr
;
ListBox
*
pLB
;
ListBox
*
pLB
;
if
(
pColorLB
==
pInsertColorLB
)
if
(
pColorLB
==
m_
pInsertColorLB
)
{
{
pLB
=
pInsertLB
;
pLB
=
m_
pInsertLB
;
pPrev
=
pInsertedPreviewWN
;
pPrev
=
m_
pInsertedPreviewWN
;
}
}
else
if
(
pColorLB
==
pDeletedColorLB
)
else
if
(
pColorLB
==
m_
pDeletedColorLB
)
{
{
pLB
=
pDeletedLB
;
pLB
=
m_
pDeletedLB
;
pPrev
=
pDeletedPreviewWN
;
pPrev
=
m_
pDeletedPreviewWN
;
}
}
else
else
{
{
pLB
=
pChangedLB
;
pLB
=
m_
pChangedLB
;
pPrev
=
pChangedPreviewWN
;
pPrev
=
m_
pChangedPreviewWN
;
}
}
SvxFont
&
rFont
=
pPrev
->
GetFont
();
SvxFont
&
rFont
=
pPrev
->
GetFont
();
...
@@ -2106,10 +2106,10 @@ IMPL_LINK( SwRedlineOptionsTabPage, ColorHdl, SvxColorListBox&, rListBox, void )
...
@@ -2106,10 +2106,10 @@ IMPL_LINK( SwRedlineOptionsTabPage, ColorHdl, SvxColorListBox&, rListBox, void )
void
SwRedlineOptionsTabPage
::
ChangedMaskPrev
()
void
SwRedlineOptionsTabPage
::
ChangedMaskPrev
()
{
{
pMarkPreviewWN
->
SetMarkPos
(
pMarkPosLB
->
GetSelectEntryPos
());
m_pMarkPreviewWN
->
SetMarkPos
(
m_
pMarkPosLB
->
GetSelectEntryPos
());
pMarkPreviewWN
->
SetColor
(
pMarkColorLB
->
GetSelectEntryColor
().
GetColor
());
m_pMarkPreviewWN
->
SetColor
(
m_
pMarkColorLB
->
GetSelectEntryColor
().
GetColor
());
pMarkPreviewWN
->
Invalidate
();
m_
pMarkPreviewWN
->
Invalidate
();
}
}
IMPL_LINK_NOARG
(
SwRedlineOptionsTabPage
,
ChangedMaskPrevHdl
,
ListBox
&
,
void
)
IMPL_LINK_NOARG
(
SwRedlineOptionsTabPage
,
ChangedMaskPrevHdl
,
ListBox
&
,
void
)
...
...
sw/source/uibase/inc/optpage.hxx
Dosyayı görüntüle @
3d978117
...
@@ -311,21 +311,21 @@ public:
...
@@ -311,21 +311,21 @@ public:
// redlining options
// redlining options
class
SwRedlineOptionsTabPage
:
public
SfxTabPage
class
SwRedlineOptionsTabPage
:
public
SfxTabPage
{
{
VclPtr
<
ListBox
>
pInsertLB
;
VclPtr
<
ListBox
>
m_
pInsertLB
;
VclPtr
<
SvxColorListBox
>
pInsertColorLB
;
VclPtr
<
SvxColorListBox
>
m_
pInsertColorLB
;
VclPtr
<
SvxFontPrevWindow
>
pInsertedPreviewWN
;
VclPtr
<
SvxFontPrevWindow
>
m_
pInsertedPreviewWN
;
VclPtr
<
ListBox
>
pDeletedLB
;
VclPtr
<
ListBox
>
m_
pDeletedLB
;
VclPtr
<
SvxColorListBox
>
pDeletedColorLB
;
VclPtr
<
SvxColorListBox
>
m_
pDeletedColorLB
;
VclPtr
<
SvxFontPrevWindow
>
pDeletedPreviewWN
;
VclPtr
<
SvxFontPrevWindow
>
m_
pDeletedPreviewWN
;
VclPtr
<
ListBox
>
pChangedLB
;
VclPtr
<
ListBox
>
m_
pChangedLB
;
VclPtr
<
SvxColorListBox
>
pChangedColorLB
;
VclPtr
<
SvxColorListBox
>
m_
pChangedColorLB
;
VclPtr
<
SvxFontPrevWindow
>
pChangedPreviewWN
;
VclPtr
<
SvxFontPrevWindow
>
m_
pChangedPreviewWN
;
VclPtr
<
ListBox
>
pMarkPosLB
;
VclPtr
<
ListBox
>
m_
pMarkPosLB
;
VclPtr
<
SvxColorListBox
>
pMarkColorLB
;
VclPtr
<
SvxColorListBox
>
m_
pMarkColorLB
;
VclPtr
<
SwMarkPreview
>
pMarkPreviewWN
;
VclPtr
<
SwMarkPreview
>
m_
pMarkPreviewWN
;
DECL_LINK
(
AttribHdl
,
ListBox
&
,
void
);
DECL_LINK
(
AttribHdl
,
ListBox
&
,
void
);
void
ChangedMaskPrev
();
void
ChangedMaskPrev
();
...
...
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