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
2acfc0a9
Kaydet (Commit)
2acfc0a9
authored
Eyl 15, 2013
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cleanup ruler items (rulritem.hxx) - remove comments, identation
Change-Id: I450ebe3ceab0acf03221970b33c8da4cbb2c6a52
üst
4bc0d4eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
125 additions
and
144 deletions
+125
-144
rulritem.hxx
include/svx/rulritem.hxx
+9
-9
rulritem.cxx
svx/source/dialog/rulritem.cxx
+116
-135
No files found.
include/svx/rulritem.hxx
Dosyayı görüntüle @
2acfc0a9
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include <tools/gen.hxx>
#include <tools/gen.hxx>
#include <svl/poolitem.hxx>
#include <svl/poolitem.hxx>
#include
"svx/svxdllapi.h"
#include
<svx/svxdllapi.h>
#include <vector>
#include <vector>
class
SVX_DLLPUBLIC
SvxLongLRSpaceItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
SvxLongLRSpaceItem
:
public
SfxPoolItem
...
@@ -52,10 +52,10 @@ public:
...
@@ -52,10 +52,10 @@ public:
SvxLongLRSpaceItem
(
const
SvxLongLRSpaceItem
&
);
SvxLongLRSpaceItem
(
const
SvxLongLRSpaceItem
&
);
SvxLongLRSpaceItem
();
SvxLongLRSpaceItem
();
long
GetLeft
()
const
{
return
lLeft
;
}
long
GetLeft
()
const
;
long
GetRight
()
const
{
return
lRight
;
}
long
GetRight
()
const
;
void
SetLeft
(
long
lArgLeft
)
{
lLeft
=
lArgLeft
;}
void
SetLeft
(
long
lArgLeft
);
void
SetRight
(
long
lArgRight
)
{
lRight
=
lArgRight
;}
void
SetRight
(
long
lArgRight
);
};
};
class
SVX_DLLPUBLIC
SvxLongULSpaceItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
SvxLongULSpaceItem
:
public
SfxPoolItem
...
@@ -86,10 +86,10 @@ public:
...
@@ -86,10 +86,10 @@ public:
SvxLongULSpaceItem
(
const
SvxLongULSpaceItem
&
);
SvxLongULSpaceItem
(
const
SvxLongULSpaceItem
&
);
SvxLongULSpaceItem
();
SvxLongULSpaceItem
();
long
GetUpper
()
const
{
return
lLeft
;
}
long
GetUpper
()
const
;
long
GetLower
()
const
{
return
lRight
;
}
long
GetLower
()
const
;
void
SetUpper
(
long
lArgLeft
)
{
lLeft
=
lArgLeft
;}
void
SetUpper
(
long
lArgLeft
);
void
SetLower
(
long
lArgRight
)
{
lRight
=
lArgRight
;}
void
SetLower
(
long
lArgRight
);
};
};
class
SVX_DLLPUBLIC
SvxPagePosSizeItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
SvxPagePosSizeItem
:
public
SfxPoolItem
...
...
svx/source/dialog/rulritem.cxx
Dosyayı görüntüle @
2acfc0a9
...
@@ -23,15 +23,13 @@
...
@@ -23,15 +23,13 @@
#include <com/sun/star/frame/status/LeftRightMargin.hpp>
#include <com/sun/star/frame/status/LeftRightMargin.hpp>
#include <com/sun/star/frame/status/UpperLowerMargin.hpp>
#include <com/sun/star/frame/status/UpperLowerMargin.hpp>
//------------------------------------------------------------------------
TYPEINIT1_AUTOFACTORY
(
SvxPagePosSizeItem
,
SfxPoolItem
);
TYPEINIT1_AUTOFACTORY
(
SvxPagePosSizeItem
,
SfxPoolItem
);
TYPEINIT1_AUTOFACTORY
(
SvxLongLRSpaceItem
,
SfxPoolItem
);
TYPEINIT1_AUTOFACTORY
(
SvxLongLRSpaceItem
,
SfxPoolItem
);
TYPEINIT1_AUTOFACTORY
(
SvxLongULSpaceItem
,
SfxPoolItem
);
TYPEINIT1_AUTOFACTORY
(
SvxLongULSpaceItem
,
SfxPoolItem
);
TYPEINIT1
(
SvxColumnItem
,
SfxPoolItem
);
TYPEINIT1
(
SvxColumnItem
,
SfxPoolItem
);
TYPEINIT1
(
SvxObjectItem
,
SfxPoolItem
);
TYPEINIT1
(
SvxObjectItem
,
SfxPoolItem
);
/
/------------------------------------------------------------------------
/
* SvxLongLRSpaceItem */
int
SvxLongLRSpaceItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
int
SvxLongLRSpaceItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
{
{
...
@@ -40,9 +38,6 @@ int SvxLongLRSpaceItem::operator==( const SfxPoolItem& rCmp) const
...
@@ -40,9 +38,6 @@ int SvxLongLRSpaceItem::operator==( const SfxPoolItem& rCmp) const
lRight
==
((
const
SvxLongLRSpaceItem
&
)
rCmp
).
lRight
;
lRight
==
((
const
SvxLongLRSpaceItem
&
)
rCmp
).
lRight
;
}
}
//------------------------------------------------------------------------
OUString
SvxLongLRSpaceItem
::
GetValueText
()
const
OUString
SvxLongLRSpaceItem
::
GetValueText
()
const
{
{
return
OUString
();
return
OUString
();
...
@@ -80,7 +75,6 @@ bool SvxLongLRSpaceItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8
...
@@ -80,7 +75,6 @@ bool SvxLongLRSpaceItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8
return
true
;
return
true
;
}
}
// -----------------------------------------------------------------------
bool
SvxLongLRSpaceItem
::
PutValue
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
sal_uInt8
nMemberId
)
bool
SvxLongLRSpaceItem
::
PutValue
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
sal_uInt8
nMemberId
)
{
{
bool
bConvert
=
0
!=
(
nMemberId
&
CONVERT_TWIPS
);
bool
bConvert
=
0
!=
(
nMemberId
&
CONVERT_TWIPS
);
...
@@ -92,8 +86,8 @@ bool SvxLongLRSpaceItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
...
@@ -92,8 +86,8 @@ bool SvxLongLRSpaceItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
::
com
::
sun
::
star
::
frame
::
status
::
LeftRightMargin
aLeftRightMargin
;
::
com
::
sun
::
star
::
frame
::
status
::
LeftRightMargin
aLeftRightMargin
;
if
(
rVal
>>=
aLeftRightMargin
)
if
(
rVal
>>=
aLeftRightMargin
)
{
{
lLeft
=
bConvert
?
MM100_TO_TWIP
(
aLeftRightMargin
.
Left
)
:
aLeftRightMargin
.
Left
;
lLeft
=
bConvert
?
MM100_TO_TWIP
(
aLeftRightMargin
.
Left
)
:
aLeftRightMargin
.
Left
;
lRight
=
bConvert
?
MM100_TO_TWIP
(
aLeftRightMargin
.
Right
)
:
aLeftRightMargin
.
Right
;
lRight
=
bConvert
?
MM100_TO_TWIP
(
aLeftRightMargin
.
Right
)
:
aLeftRightMargin
.
Right
;
return
true
;
return
true
;
}
}
}
}
...
@@ -115,63 +109,69 @@ bool SvxLongLRSpaceItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
...
@@ -115,63 +109,69 @@ bool SvxLongLRSpaceItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
return
false
;
return
false
;
}
}
//------------------------------------------------------------------------
SfxItemPresentation
SvxLongLRSpaceItem
::
GetPresentation
(
SfxItemPresentation
/*ePres*/
,
SfxItemPresentation
SvxLongLRSpaceItem
::
GetPresentation
SfxMapUnit
/*eCoreUnit*/
,
(
SfxMapUnit
/*ePresUnit*/
,
SfxItemPresentation
/*ePres*/
,
OUString
&
/*rText*/
,
SfxMapUnit
/*eCoreUnit*/
,
const
IntlWrapper
*
/*pWrapper*/
)
const
SfxMapUnit
/*ePresUnit*/
,
OUString
&
/*rText*/
,
const
IntlWrapper
*
)
const
{
{
return
SFX_ITEM_PRESENTATION_NONE
;
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
//------------------------------------------------------------------------
SfxPoolItem
*
SvxLongLRSpaceItem
::
Clone
(
SfxItemPool
*
)
const
SfxPoolItem
*
SvxLongLRSpaceItem
::
Clone
(
SfxItemPool
*
)
const
{
{
return
new
SvxLongLRSpaceItem
(
*
this
);
return
new
SvxLongLRSpaceItem
(
*
this
);
}
}
//------------------------------------------------------------------------
SvxLongLRSpaceItem
::
SvxLongLRSpaceItem
(
long
lL
,
long
lR
,
sal_uInt16
nId
)
:
SfxPoolItem
(
nId
),
SvxLongLRSpaceItem
::
SvxLongLRSpaceItem
(
long
lL
,
long
lR
,
sal_uInt16
nId
)
lLeft
(
lL
),
:
SfxPoolItem
(
nId
),
lRight
(
lR
)
lLeft
(
lL
),
lRight
(
lR
)
{}
{}
//------------------------------------------------------------------------
SvxLongLRSpaceItem
::
SvxLongLRSpaceItem
()
:
SvxLongLRSpaceItem
::
SvxLongLRSpaceItem
()
:
SfxPoolItem
(
0
),
SfxPoolItem
(
0
),
lLeft
(
0
),
lLeft
(
0
),
lRight
(
0
)
lRight
(
0
)
{}
SvxLongLRSpaceItem
::
SvxLongLRSpaceItem
(
const
SvxLongLRSpaceItem
&
rCpy
)
:
SfxPoolItem
(
rCpy
),
lLeft
(
rCpy
.
lLeft
),
lRight
(
rCpy
.
lRight
)
{}
{}
//------------------------------------------------------------------------
long
SvxLongLRSpaceItem
::
GetLeft
()
const
{
return
lLeft
;
}
long
SvxLongLRSpaceItem
::
GetRight
()
const
{
return
lRight
;
}
void
SvxLongLRSpaceItem
::
SetLeft
(
long
lArgLeft
)
{
lLeft
=
lArgLeft
;
}
SvxLongLRSpaceItem
::
SvxLongLRSpaceItem
(
const
SvxLongLRSpaceItem
&
rCpy
)
void
SvxLongLRSpaceItem
::
SetRight
(
long
lArgRight
)
:
SfxPoolItem
(
rCpy
),
{
lLeft
(
rCpy
.
lLeft
),
lRight
=
lArgRight
;
lRight
(
rCpy
.
lRight
)
}
{}
/
/------------------------------------------------------------------------
/
* SvxLongULSpaceItem */
int
SvxLongULSpaceItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
int
SvxLongULSpaceItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
{
{
return
SfxPoolItem
::
operator
==
(
rCmp
)
&&
return
SfxPoolItem
::
operator
==
(
rCmp
)
&&
lLeft
==
((
const
SvxLongULSpaceItem
&
)
rCmp
).
lLeft
&&
lLeft
==
((
const
SvxLongULSpaceItem
&
)
rCmp
).
lLeft
&&
lRight
==
((
const
SvxLongULSpaceItem
&
)
rCmp
).
lRight
;
lRight
==
((
const
SvxLongULSpaceItem
&
)
rCmp
).
lRight
;
}
}
//------------------------------------------------------------------------
OUString
SvxLongULSpaceItem
::
GetValueText
()
const
OUString
SvxLongULSpaceItem
::
GetValueText
()
const
{
{
return
OUString
();
return
OUString
();
...
@@ -206,7 +206,6 @@ bool SvxLongULSpaceItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8
...
@@ -206,7 +206,6 @@ bool SvxLongULSpaceItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8
return
true
;
return
true
;
}
}
// -----------------------------------------------------------------------
bool
SvxLongULSpaceItem
::
PutValue
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
sal_uInt8
nMemberId
)
bool
SvxLongULSpaceItem
::
PutValue
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rVal
,
sal_uInt8
nMemberId
)
{
{
bool
bConvert
=
0
!=
(
nMemberId
&
CONVERT_TWIPS
);
bool
bConvert
=
0
!=
(
nMemberId
&
CONVERT_TWIPS
);
...
@@ -241,51 +240,60 @@ bool SvxLongULSpaceItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
...
@@ -241,51 +240,60 @@ bool SvxLongULSpaceItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
return
false
;
return
false
;
}
}
//------------------------------------------------------------------------
SfxItemPresentation
SvxLongULSpaceItem
::
GetPresentation
(
SfxItemPresentation
/*ePres*/
,
SfxItemPresentation
SvxLongULSpaceItem
::
GetPresentation
SfxMapUnit
/*eCoreUnit*/
,
(
SfxMapUnit
/*ePresUnit*/
,
SfxItemPresentation
/*ePres*/
,
OUString
&
/*rText*/
,
SfxMapUnit
/*eCoreUnit*/
,
const
IntlWrapper
*
/*pWrapper*/
)
const
SfxMapUnit
/*ePresUnit*/
,
OUString
&
/*rText*/
,
const
IntlWrapper
*
)
const
{
{
return
SFX_ITEM_PRESENTATION_NONE
;
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
//------------------------------------------------------------------------
SfxPoolItem
*
SvxLongULSpaceItem
::
Clone
(
SfxItemPool
*
)
const
SfxPoolItem
*
SvxLongULSpaceItem
::
Clone
(
SfxItemPool
*
)
const
{
{
return
new
SvxLongULSpaceItem
(
*
this
);
return
new
SvxLongULSpaceItem
(
*
this
);
}
}
//------------------------------------------------------------------------
SvxLongULSpaceItem
::
SvxLongULSpaceItem
(
long
lL
,
long
lR
,
sal_uInt16
nId
)
:
SfxPoolItem
(
nId
),
lLeft
(
lL
),
lRight
(
lR
)
{}
SvxLongULSpaceItem
::
SvxLongULSpaceItem
(
long
lL
,
long
lR
,
sal_uInt16
nId
)
SvxLongULSpaceItem
::
SvxLongULSpaceItem
(
const
SvxLongULSpaceItem
&
rCpy
)
:
:
SfxPoolItem
(
nId
),
SfxPoolItem
(
rCpy
),
lLeft
(
lL
),
lLeft
(
rCpy
.
lLeft
),
lRight
(
lR
)
lRight
(
rCpy
.
lRight
)
{}
{}
//------------------------------------------------------------------------
SvxLongULSpaceItem
::
SvxLongULSpaceItem
()
:
SfxPoolItem
(
0
),
lLeft
(
0
),
lRight
(
0
)
{}
long
SvxLongULSpaceItem
::
GetUpper
()
const
{
return
lLeft
;
}
SvxLongULSpaceItem
::
SvxLongULSpaceItem
(
const
SvxLongULSpaceItem
&
rCpy
)
long
SvxLongULSpaceItem
::
GetLower
()
const
:
SfxPoolItem
(
rCpy
),
{
lLeft
(
rCpy
.
lLeft
),
return
lRight
;
lRight
(
rCpy
.
lRight
)
}
{}
//------------------------------------------------------------------------
void
SvxLongULSpaceItem
::
SetUpper
(
long
lArgLeft
)
{
lLeft
=
lArgLeft
;
}
SvxLongULSpaceItem
::
SvxLongULSpaceItem
()
:
void
SvxLongULSpaceItem
::
SetLower
(
long
lArgRight
)
SfxPoolItem
(
0
),
{
lLeft
(
0
),
lRight
=
lArgRight
;
lRight
(
0
)
}
{}
/
/------------------------------------------------------------------------
/
* SvxPagePosSizeItem */
int
SvxPagePosSizeItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
int
SvxPagePosSizeItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
{
{
...
@@ -362,61 +370,48 @@ bool SvxPagePosSizeItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
...
@@ -362,61 +370,48 @@ bool SvxPagePosSizeItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
return
false
;
return
false
;
}
}
//------------------------------------------------------------------------
OUString
SvxPagePosSizeItem
::
GetValueText
()
const
OUString
SvxPagePosSizeItem
::
GetValueText
()
const
{
{
return
OUString
();
return
OUString
();
}
}
//------------------------------------------------------------------------
SfxItemPresentation
SvxPagePosSizeItem
::
GetPresentation
(
SfxItemPresentation
/*ePres*/
,
SfxItemPresentation
SvxPagePosSizeItem
::
GetPresentation
SfxMapUnit
/*eCoreUnit*/
,
(
SfxMapUnit
/*ePresUnit*/
,
SfxItemPresentation
/*ePres*/
,
OUString
&
/*rText*/
,
SfxMapUnit
/*eCoreUnit*/
,
const
IntlWrapper
*
/*pWrapper*/
)
const
SfxMapUnit
/*ePresUnit*/
,
OUString
&
/*rText*/
,
const
IntlWrapper
*
)
const
{
{
return
SFX_ITEM_PRESENTATION_NONE
;
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
//------------------------------------------------------------------------
SfxPoolItem
*
SvxPagePosSizeItem
::
Clone
(
SfxItemPool
*
)
const
SfxPoolItem
*
SvxPagePosSizeItem
::
Clone
(
SfxItemPool
*
)
const
{
{
return
new
SvxPagePosSizeItem
(
*
this
);
return
new
SvxPagePosSizeItem
(
*
this
);
}
}
//------------------------------------------------------------------------
SvxPagePosSizeItem
::
SvxPagePosSizeItem
(
const
Point
&
rP
,
long
lW
,
long
lH
)
:
SfxPoolItem
(
SID_RULER_PAGE_POS
),
SvxPagePosSizeItem
::
SvxPagePosSizeItem
(
const
Point
&
rP
,
long
lW
,
long
lH
)
aPos
(
rP
),
:
SfxPoolItem
(
SID_RULER_PAGE_POS
),
lWidth
(
lW
),
aPos
(
rP
),
lHeight
(
lH
)
lWidth
(
lW
),
lHeight
(
lH
)
{}
{}
//------------------------------------------------------------------------
SvxPagePosSizeItem
::
SvxPagePosSizeItem
(
const
SvxPagePosSizeItem
&
rCpy
)
:
SfxPoolItem
(
rCpy
),
SvxPagePosSizeItem
::
SvxPagePosSizeItem
(
const
SvxPagePosSizeItem
&
rCpy
)
aPos
(
rCpy
.
aPos
),
:
SfxPoolItem
(
rCpy
),
lWidth
(
rCpy
.
lWidth
),
aPos
(
rCpy
.
aPos
),
lHeight
(
rCpy
.
lHeight
)
lWidth
(
rCpy
.
lWidth
),
{}
lHeight
(
rCpy
.
lHeight
)
{}
//------------------------------------------------------------------------
SvxPagePosSizeItem
::
SvxPagePosSizeItem
()
SvxPagePosSizeItem
::
SvxPagePosSizeItem
()
:
:
SfxPoolItem
(
0
),
SfxPoolItem
(
0
),
aPos
(
0
,
0
),
aPos
(
0
,
0
),
lWidth
(
0
),
lWidth
(
0
),
lHeight
(
0
)
lHeight
(
0
)
{}
{}
/
/------------------------------------------------------------------------
/
* SvxColumnItem */
int
SvxColumnItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
int
SvxColumnItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
{
{
...
@@ -429,15 +424,14 @@ int SvxColumnItem::operator==(const SfxPoolItem& rCmp) const
...
@@ -429,15 +424,14 @@ int SvxColumnItem::operator==(const SfxPoolItem& rCmp) const
return
sal_False
;
return
sal_False
;
const
sal_uInt16
nCount
=
((
const
SvxColumnItem
&
)
rCmp
).
Count
();
const
sal_uInt16
nCount
=
((
const
SvxColumnItem
&
)
rCmp
).
Count
();
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
++
i
)
{
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
++
i
)
{
if
(
(
*
this
)[
i
]
!=
((
const
SvxColumnItem
&
)
rCmp
)[
i
]
)
if
(
(
*
this
)[
i
]
!=
((
const
SvxColumnItem
&
)
rCmp
)[
i
]
)
return
sal_False
;
return
sal_False
;
}
}
return
sal_True
;
return
sal_True
;
}
}
//------------------------------------------------------------------------
SvxColumnItem
::
SvxColumnItem
(
sal_uInt16
nAct
)
:
SvxColumnItem
::
SvxColumnItem
(
sal_uInt16
nAct
)
:
SfxPoolItem
(
SID_RULER_BORDERS
),
SfxPoolItem
(
SID_RULER_BORDERS
),
nLeft
(
0
),
nLeft
(
0
),
...
@@ -446,8 +440,7 @@ SvxColumnItem::SvxColumnItem( sal_uInt16 nAct ) :
...
@@ -446,8 +440,7 @@ SvxColumnItem::SvxColumnItem( sal_uInt16 nAct ) :
bTable
(
sal_False
),
bTable
(
sal_False
),
bOrtho
(
sal_True
)
bOrtho
(
sal_True
)
{
{}
}
SvxColumnItem
::
SvxColumnItem
(
sal_uInt16
nActCol
,
sal_uInt16
left
,
sal_uInt16
right
)
:
SvxColumnItem
::
SvxColumnItem
(
sal_uInt16
nActCol
,
sal_uInt16
left
,
sal_uInt16
right
)
:
SfxPoolItem
(
SID_RULER_BORDERS
),
SfxPoolItem
(
SID_RULER_BORDERS
),
...
@@ -456,8 +449,7 @@ SvxColumnItem::SvxColumnItem( sal_uInt16 nActCol, sal_uInt16 left, sal_uInt16 ri
...
@@ -456,8 +449,7 @@ SvxColumnItem::SvxColumnItem( sal_uInt16 nActCol, sal_uInt16 left, sal_uInt16 ri
nActColumn
(
nActCol
),
nActColumn
(
nActCol
),
bTable
(
sal_True
),
bTable
(
sal_True
),
bOrtho
(
sal_True
)
bOrtho
(
sal_True
)
{
{}
}
SvxColumnItem
::
SvxColumnItem
(
const
SvxColumnItem
&
rCopy
)
:
SvxColumnItem
::
SvxColumnItem
(
const
SvxColumnItem
&
rCopy
)
:
SfxPoolItem
(
rCopy
),
SfxPoolItem
(
rCopy
),
...
@@ -472,8 +464,7 @@ SvxColumnItem::SvxColumnItem( const SvxColumnItem& rCopy ) :
...
@@ -472,8 +464,7 @@ SvxColumnItem::SvxColumnItem( const SvxColumnItem& rCopy ) :
}
}
SvxColumnItem
::~
SvxColumnItem
()
SvxColumnItem
::~
SvxColumnItem
()
{
{}
}
OUString
SvxColumnItem
::
GetValueText
()
const
OUString
SvxColumnItem
::
GetValueText
()
const
{
{
...
@@ -481,11 +472,11 @@ OUString SvxColumnItem::GetValueText() const
...
@@ -481,11 +472,11 @@ OUString SvxColumnItem::GetValueText() const
}
}
SfxItemPresentation
SvxColumnItem
::
GetPresentation
(
SfxItemPresentation
SvxColumnItem
::
GetPresentation
(
SfxItemPresentation
/*ePres*/
,
SfxItemPresentation
/*ePres*/
,
SfxMapUnit
/*eCoreUnit*/
,
SfxMapUnit
/*eCoreUnit*/
,
SfxMapUnit
/*ePresUnit*/
,
SfxMapUnit
/*ePresUnit*/
,
OUString
&
/*rText*/
,
OUString
&
/*rText*/
,
const
IntlWrapper
*
)
const
const
IntlWrapper
*
/*pWrapper*/
)
const
{
{
return
SFX_ITEM_PRESENTATION_NONE
;
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
...
@@ -595,6 +586,8 @@ sal_uInt16 SvxColumnItem::Count() const
...
@@ -595,6 +586,8 @@ sal_uInt16 SvxColumnItem::Count() const
return
aColumns
.
size
();
return
aColumns
.
size
();
}
}
/* SvxColumnDescription */
SvxColumnDescription
&
SvxColumnItem
::
At
(
sal_uInt16
index
)
SvxColumnDescription
&
SvxColumnItem
::
At
(
sal_uInt16
index
)
{
{
return
aColumns
[
index
];
return
aColumns
[
index
];
...
@@ -690,8 +683,6 @@ sal_Bool SvxColumnItem::IsConsistent() const
...
@@ -690,8 +683,6 @@ sal_Bool SvxColumnItem::IsConsistent() const
return
nActColumn
<
aColumns
.
size
();
return
nActColumn
<
aColumns
.
size
();
}
}
//------------------------------------------------------------------------
int
SvxObjectItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
int
SvxObjectItem
::
operator
==
(
const
SfxPoolItem
&
rCmp
)
const
{
{
return
SfxPoolItem
::
operator
==
(
rCmp
)
&&
return
SfxPoolItem
::
operator
==
(
rCmp
)
&&
...
@@ -702,15 +693,11 @@ int SvxObjectItem::operator==( const SfxPoolItem& rCmp ) const
...
@@ -702,15 +693,11 @@ int SvxObjectItem::operator==( const SfxPoolItem& rCmp ) const
bLimits
==
((
const
SvxObjectItem
&
)
rCmp
).
bLimits
;
bLimits
==
((
const
SvxObjectItem
&
)
rCmp
).
bLimits
;
}
}
//------------------------------------------------------------------------
OUString
SvxObjectItem
::
GetValueText
()
const
OUString
SvxObjectItem
::
GetValueText
()
const
{
{
return
OUString
();
return
OUString
();
}
}
//------------------------------------------------------------------------
SfxItemPresentation
SvxObjectItem
::
GetPresentation
SfxItemPresentation
SvxObjectItem
::
GetPresentation
(
(
SfxItemPresentation
/*ePres*/
,
SfxItemPresentation
/*ePres*/
,
...
@@ -722,15 +709,11 @@ SfxItemPresentation SvxObjectItem::GetPresentation
...
@@ -722,15 +709,11 @@ SfxItemPresentation SvxObjectItem::GetPresentation
return
SFX_ITEM_PRESENTATION_NONE
;
return
SFX_ITEM_PRESENTATION_NONE
;
}
}
//------------------------------------------------------------------------
SfxPoolItem
*
SvxObjectItem
::
Clone
(
SfxItemPool
*
)
const
SfxPoolItem
*
SvxObjectItem
::
Clone
(
SfxItemPool
*
)
const
{
{
return
new
SvxObjectItem
(
*
this
);
return
new
SvxObjectItem
(
*
this
);
}
}
//------------------------------------------------------------------------
SvxObjectItem
::
SvxObjectItem
(
long
nSX
,
long
nEX
,
SvxObjectItem
::
SvxObjectItem
(
long
nSX
,
long
nEX
,
long
nSY
,
long
nEY
,
sal_Bool
limits
)
:
long
nSY
,
long
nEY
,
sal_Bool
limits
)
:
...
@@ -745,8 +728,6 @@ SvxObjectItem::SvxObjectItem( long nSX, long nEX,
...
@@ -745,8 +728,6 @@ SvxObjectItem::SvxObjectItem( long nSX, long nEX,
{
{
}
}
//------------------------------------------------------------------------
SvxObjectItem
::
SvxObjectItem
(
const
SvxObjectItem
&
rCopy
)
:
SvxObjectItem
::
SvxObjectItem
(
const
SvxObjectItem
&
rCopy
)
:
SfxPoolItem
(
rCopy
),
SfxPoolItem
(
rCopy
),
...
...
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