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
bd1d25fe
Kaydet (Commit)
bd1d25fe
authored
Mar 25, 2011
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Moved SvxBorder* into editeng namespace to avoid duplicate DOUBLE on windows
üst
8d377d38
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
border.hxx
cui/source/inc/border.hxx
+5
-2
border.cxx
cui/source/tabpages/border.cxx
+2
-0
borderconn.cxx
cui/source/tabpages/borderconn.cxx
+8
-8
No files found.
cui/source/inc/border.hxx
Dosyayı görüntüle @
bd1d25fe
...
...
@@ -41,7 +41,10 @@
// forward ---------------------------------------------------------------
class
SvxBorderLine
;
namespace
editeng
{
class
SvxBorderLine
;
}
class
XColorTable
;
#include <svx/flagsdef.hxx>
...
...
@@ -150,7 +153,7 @@ private:
// share for individual Frame-/Core-Line
void
ResetFrameLine_Impl
(
svx
::
FrameBorderType
eBorder
,
const
SvxBorderLine
*
pCurLine
,
const
editeng
::
SvxBorderLine
*
pCurLine
,
bool
bValid
);
#endif
};
...
...
cui/source/tabpages/border.cxx
Dosyayı görüntüle @
bd1d25fe
...
...
@@ -56,6 +56,8 @@
#include <sal/macros.h>
#include "borderconn.hxx"
using
namespace
::
editeng
;
// -----------------------------------------------------------------------
/*
...
...
cui/source/tabpages/borderconn.cxx
Dosyayı görüntüle @
bd1d25fe
...
...
@@ -46,20 +46,20 @@ of the tab page.
// 1st: item wrappers ---------------------------------------------------------
class
LineItemWrapper
:
public
sfx
::
SingleItemWrapper
<
SvxLineItem
,
const
SvxBorderLine
*
>
class
LineItemWrapper
:
public
sfx
::
SingleItemWrapper
<
SvxLineItem
,
const
editeng
::
SvxBorderLine
*
>
{
public
:
inline
explicit
LineItemWrapper
(
sal_uInt16
nSlot
)
:
SingleItemWrapperType
(
nSlot
)
{}
virtual
const
SvxBorderLine
*
GetItemValue
(
const
SvxLineItem
&
rItem
)
const
virtual
const
editeng
::
SvxBorderLine
*
GetItemValue
(
const
SvxLineItem
&
rItem
)
const
{
return
rItem
.
GetLine
();
}
virtual
void
SetItemValue
(
SvxLineItem
&
rItem
,
const
SvxBorderLine
*
pLine
)
const
virtual
void
SetItemValue
(
SvxLineItem
&
rItem
,
const
editeng
::
SvxBorderLine
*
pLine
)
const
{
rItem
.
SetLine
(
pLine
);
}
};
// 2nd: control wrappers ------------------------------------------------------
class
FrameSelectorWrapper
:
public
sfx
::
SingleControlWrapper
<
FrameSelector
,
const
SvxBorderLine
*
>
class
FrameSelectorWrapper
:
public
sfx
::
SingleControlWrapper
<
FrameSelector
,
const
editeng
::
SvxBorderLine
*
>
{
public
:
inline
explicit
FrameSelectorWrapper
(
FrameSelector
&
rFrameSel
,
FrameBorderType
eBorder
)
:
...
...
@@ -68,8 +68,8 @@ public:
virtual
bool
IsControlDontKnow
()
const
;
virtual
void
SetControlDontKnow
(
bool
bSet
);
virtual
const
SvxBorderLine
*
GetControlValue
()
const
;
virtual
void
SetControlValue
(
const
SvxBorderLine
*
pLine
);
virtual
const
editeng
::
SvxBorderLine
*
GetControlValue
()
const
;
virtual
void
SetControlValue
(
const
editeng
::
SvxBorderLine
*
pLine
);
private
:
FrameBorderType
meBorder
;
/// The line this wrapper works with.
...
...
@@ -86,12 +86,12 @@ void FrameSelectorWrapper::SetControlDontKnow( bool bSet )
GetControl
().
SetBorderDontCare
(
meBorder
);
}
const
SvxBorderLine
*
FrameSelectorWrapper
::
GetControlValue
()
const
const
editeng
::
SvxBorderLine
*
FrameSelectorWrapper
::
GetControlValue
()
const
{
return
GetControl
().
GetFrameBorderStyle
(
meBorder
);
}
void
FrameSelectorWrapper
::
SetControlValue
(
const
SvxBorderLine
*
pLine
)
void
FrameSelectorWrapper
::
SetControlValue
(
const
editeng
::
SvxBorderLine
*
pLine
)
{
GetControl
().
ShowBorder
(
meBorder
,
pLine
);
}
...
...
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