Kaydet (Commit) 958eea38 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS pchfix04 (1.2.46); FILE MERGED

2007/05/03 15:37:00 hjs 1.2.46.1: #i73604# - fix after resync
üst c5253598
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: adjitem.hxx,v $ * $RCSfile: adjitem.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: vg $ $Date: 2007-04-11 15:38:00 $ * last change: $Author: kz $ $Date: 2007-05-10 14:21:56 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -86,8 +86,8 @@ class SVX_DLLPUBLIC SvxAdjustItem : public SfxEnumItemInterface ...@@ -86,8 +86,8 @@ class SVX_DLLPUBLIC SvxAdjustItem : public SfxEnumItemInterface
public: public:
TYPEINFO(); TYPEINFO();
SvxAdjustItem( const SvxAdjust eAdjst = SVX_ADJUST_LEFT, SvxAdjustItem( const SvxAdjust eAdjst /*= SVX_ADJUST_LEFT*/,
const USHORT nId = ITEMID_ADJUST ); const USHORT nId );
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const; virtual int operator==( const SfxPoolItem& ) const;
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: akrnitem.hxx,v $ * $RCSfile: akrnitem.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: vg $ $Date: 2007-04-11 15:38:12 $ * last change: $Author: kz $ $Date: 2007-05-10 14:22:07 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -66,8 +66,8 @@ class SVX_DLLPUBLIC SvxAutoKernItem : public SfxBoolItem ...@@ -66,8 +66,8 @@ class SVX_DLLPUBLIC SvxAutoKernItem : public SfxBoolItem
public: public:
TYPEINFO(); TYPEINFO();
SvxAutoKernItem( const BOOL bAutoKern = FALSE, SvxAutoKernItem( const BOOL bAutoKern /*= FALSE*/,
const USHORT nId = ITEMID_AUTOKERN ); const USHORT nId );
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: algitem.hxx,v $ * $RCSfile: algitem.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: vg $ $Date: 2007-04-11 15:38:23 $ * last change: $Author: kz $ $Date: 2007-05-10 14:22:20 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -57,16 +57,18 @@ class SvStream; ...@@ -57,16 +57,18 @@ class SvStream;
//------------------------------------------------------------------------ //------------------------------------------------------------------------
#ifdef ITEMID_HORJUSTIFY
class SVX_DLLPUBLIC SvxHorJustifyItem: public SfxEnumItem class SVX_DLLPUBLIC SvxHorJustifyItem: public SfxEnumItem
{ {
public: public:
TYPEINFO(); TYPEINFO();
SvxHorJustifyItem( const USHORT nId );
SvxHorJustifyItem( SvxHorJustifyItem(
const SvxCellHorJustify eJustify = SVX_HOR_JUSTIFY_STANDARD, const SvxCellHorJustify eJustify /*= SVX_HOR_JUSTIFY_STANDARD*/,
const USHORT nId = ITEMID_HORJUSTIFY ); const USHORT nId );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
...@@ -88,20 +90,20 @@ public: ...@@ -88,20 +90,20 @@ public:
} }
}; };
#endif
//------------------------------------------------------------------------ //------------------------------------------------------------------------
#ifdef ITEMID_VERJUSTIFY
class SVX_DLLPUBLIC SvxVerJustifyItem: public SfxEnumItem class SVX_DLLPUBLIC SvxVerJustifyItem: public SfxEnumItem
{ {
public: public:
TYPEINFO(); TYPEINFO();
SvxVerJustifyItem( const USHORT nId );
SvxVerJustifyItem( SvxVerJustifyItem(
const SvxCellVerJustify eJustify = SVX_VER_JUSTIFY_STANDARD, const SvxCellVerJustify eJustify /*= SVX_VER_JUSTIFY_STANDARD*/,
const USHORT nId = ITEMID_VERJUSTIFY ); const USHORT nId );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
...@@ -123,24 +125,21 @@ public: ...@@ -123,24 +125,21 @@ public:
} }
}; };
#endif
//------------------------------------------------------------------------ //------------------------------------------------------------------------
#ifdef ITEMID_ORIENTATION
class SVX_DLLPUBLIC SvxOrientationItem: public SfxEnumItem class SVX_DLLPUBLIC SvxOrientationItem: public SfxEnumItem
{ {
public: public:
TYPEINFO(); TYPEINFO();
SvxOrientationItem( SvxOrientationItem(
const SvxCellOrientation eOrientation = SVX_ORIENTATION_STANDARD, const SvxCellOrientation eOrientation /*= SVX_ORIENTATION_STANDARD*/,
const USHORT nId = ITEMID_ORIENTATION ); const USHORT nId );
SvxOrientationItem( SvxOrientationItem(
INT32 nRotation, BOOL bStacked, INT32 nRotation, BOOL bStacked,
const USHORT nId = ITEMID_ORIENTATION ); const USHORT nId );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit eCoreMetric,
...@@ -169,12 +168,8 @@ public: ...@@ -169,12 +168,8 @@ public:
void SetFromRotation( INT32 nRotation, BOOL bStacked ); void SetFromRotation( INT32 nRotation, BOOL bStacked );
}; };
#endif
//------------------------------------------------------------------------ //------------------------------------------------------------------------
#ifdef ITEMID_MARGIN
class SVX_DLLPUBLIC SvxMarginItem: public SfxPoolItem class SVX_DLLPUBLIC SvxMarginItem: public SfxPoolItem
{ {
INT16 nLeftMargin; INT16 nLeftMargin;
...@@ -183,10 +178,10 @@ class SVX_DLLPUBLIC SvxMarginItem: public SfxPoolItem ...@@ -183,10 +178,10 @@ class SVX_DLLPUBLIC SvxMarginItem: public SfxPoolItem
INT16 nBottomMargin; INT16 nBottomMargin;
public: public:
TYPEINFO(); TYPEINFO();
SvxMarginItem( const USHORT nId = ITEMID_MARGIN ); SvxMarginItem( const USHORT nId );
SvxMarginItem( INT16 nLeft, INT16 nTop = 0, SvxMarginItem( INT16 nLeft, INT16 nTop /*= 0*/,
INT16 nRight = 0, INT16 nBottom = 0, INT16 nRight /*= 0*/, INT16 nBottom /*= 0*/,
const USHORT nId = ITEMID_MARGIN ); const USHORT nId );
SvxMarginItem( const SvxMarginItem& ); SvxMarginItem( const SvxMarginItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
...@@ -223,5 +218,3 @@ public: ...@@ -223,5 +218,3 @@ public:
#endif #endif
#endif
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: blnkitem.hxx,v $ * $RCSfile: blnkitem.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: vg $ $Date: 2007-04-11 15:38:34 $ * last change: $Author: kz $ $Date: 2007-05-10 14:22:32 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -69,7 +69,7 @@ class SVX_DLLPUBLIC SvxBlinkItem : public SfxBoolItem ...@@ -69,7 +69,7 @@ class SVX_DLLPUBLIC SvxBlinkItem : public SfxBoolItem
public: public:
TYPEINFO(); TYPEINFO();
SvxBlinkItem( const BOOL bBlink = FALSE, const USHORT nId = ITEMID_BLINK ); SvxBlinkItem( const BOOL bBlink /*= FALSE*/, const USHORT nId );
// "pure virtual Methoden" vom SfxPoolItem // "pure virtual Methoden" vom SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: boxitem.hxx,v $ * $RCSfile: boxitem.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: vg $ $Date: 2007-04-11 15:39:23 $ * last change: $Author: kz $ $Date: 2007-05-10 14:22:44 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -81,7 +81,7 @@ class SVX_DLLPUBLIC SvxBoxItem : public SfxPoolItem ...@@ -81,7 +81,7 @@ class SVX_DLLPUBLIC SvxBoxItem : public SfxPoolItem
public: public:
TYPEINFO(); TYPEINFO();
SvxBoxItem( const USHORT nId = ITEMID_BOX ); SvxBoxItem( const USHORT nId );
SvxBoxItem( const SvxBoxItem &rCpy ); SvxBoxItem( const SvxBoxItem &rCpy );
~SvxBoxItem(); ~SvxBoxItem();
SvxBoxItem &operator=( const SvxBoxItem& rBox ); SvxBoxItem &operator=( const SvxBoxItem& rBox );
...@@ -154,7 +154,6 @@ horizontalen und vertikalen innerern Linien transportiert. ...@@ -154,7 +154,6 @@ horizontalen und vertikalen innerern Linien transportiert.
#define VALID_DISTANCE 0x40 #define VALID_DISTANCE 0x40
#define VALID_DISABLE 0x80 #define VALID_DISABLE 0x80
#ifdef ITEMID_BOXINFO
class SVX_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem class SVX_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem
{ {
SvxBorderLine* pHori; //innere horizontale Linie SvxBorderLine* pHori; //innere horizontale Linie
...@@ -191,7 +190,7 @@ class SVX_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem ...@@ -191,7 +190,7 @@ class SVX_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem
public: public:
TYPEINFO(); TYPEINFO();
SvxBoxInfoItem( const USHORT nId = ITEMID_BOXINFO ); SvxBoxInfoItem( const USHORT nId );
SvxBoxInfoItem( const SvxBoxInfoItem &rCpy ); SvxBoxInfoItem( const SvxBoxInfoItem &rCpy );
~SvxBoxInfoItem(); ~SvxBoxInfoItem();
SvxBoxInfoItem &operator=( const SvxBoxInfoItem &rCpy ); SvxBoxInfoItem &operator=( const SvxBoxInfoItem &rCpy );
...@@ -241,5 +240,3 @@ public: ...@@ -241,5 +240,3 @@ public:
}; };
#endif #endif
#endif
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: brkitem.hxx,v $ * $RCSfile: brkitem.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: vg $ $Date: 2007-04-11 15:39:36 $ * last change: $Author: kz $ $Date: 2007-05-10 14:22:56 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -70,11 +70,8 @@ class SVX_DLLPUBLIC SvxFmtBreakItem : public SfxEnumItem ...@@ -70,11 +70,8 @@ class SVX_DLLPUBLIC SvxFmtBreakItem : public SfxEnumItem
public: public:
TYPEINFO(); TYPEINFO();
inline SvxFmtBreakItem( const SvxBreak eBrk = SVX_BREAK_NONE, inline SvxFmtBreakItem( const SvxBreak eBrk /*= SVX_BREAK_NONE*/,
#if SUPD<372 const USHORT nWhich );
const BOOL bAuto = FALSE,
#endif
const USHORT nWhich = ITEMID_FMTBREAK );
inline SvxFmtBreakItem( const SvxFmtBreakItem& rBreak ); inline SvxFmtBreakItem( const SvxFmtBreakItem& rBreak );
inline SvxFmtBreakItem& operator=( const SvxFmtBreakItem& rCpy ); inline SvxFmtBreakItem& operator=( const SvxFmtBreakItem& rCpy );
...@@ -101,39 +98,8 @@ public: ...@@ -101,39 +98,8 @@ public:
const SvxBreak GetBreak() const { return SvxBreak( GetValue() ); } const SvxBreak GetBreak() const { return SvxBreak( GetValue() ); }
void SetBreak( const SvxBreak eNew ) void SetBreak( const SvxBreak eNew )
{ SetValue( (USHORT)eNew ); } { SetValue( (USHORT)eNew ); }
#if SUPD<372
BOOL IsAuto() const { return bAuto; }
private:
BOOL bAuto; //Fuer automatische Breaks, wirkt auf das Verhalten bei
//Backspace und Delete. Wird nie veraendert, nicht const
//wg. dem Zuweisungsoperator.
SVX_DLLPRIVATE void SetAuto( const BOOL bNew ) { bAuto = bNew; }
#endif
}; };
#if SUPD<372
inline SvxFmtBreakItem::SvxFmtBreakItem( const SvxBreak eBreak,
const BOOL bA,
const USHORT nWhich ) :
SfxEnumItem( nWhich, (USHORT)eBreak ),
bAuto( bA )
{}
inline SvxFmtBreakItem::SvxFmtBreakItem( const SvxFmtBreakItem& rBreak ) :
SfxEnumItem( rBreak ),
bAuto( rBreak.IsAuto() )
{}
inline SvxFmtBreakItem& SvxFmtBreakItem::operator=(
const SvxFmtBreakItem& rBreak )
{
SetValue( rBreak.GetValue() );
SetAuto( rBreak.IsAuto() );
return *this;
}
#else
inline SvxFmtBreakItem::SvxFmtBreakItem( const SvxBreak eBreak, inline SvxFmtBreakItem::SvxFmtBreakItem( const SvxBreak eBreak,
const USHORT _nWhich ) : const USHORT _nWhich ) :
...@@ -153,5 +119,3 @@ inline SvxFmtBreakItem& SvxFmtBreakItem::operator=( ...@@ -153,5 +119,3 @@ inline SvxFmtBreakItem& SvxFmtBreakItem::operator=(
#endif #endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment