Kaydet (Commit) 62903bf2 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS docking1 (1.5.502); FILE MERGED

2004/04/25 05:40:40 cd 1.5.502.1: #i26252# Transition of toolbar controllers
üst 248cd17b
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: verttexttbxctrl.cxx,v $ * $RCSfile: verttexttbxctrl.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: hr $ $Date: 2003-03-27 15:05:01 $ * last change: $Author: obo $ $Date: 2004-07-06 13:21:26 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -79,17 +79,34 @@ ...@@ -79,17 +79,34 @@
#ifndef _SV_TOOLBOX_HXX #ifndef _SV_TOOLBOX_HXX
#include <vcl/toolbox.hxx> #include <vcl/toolbox.hxx>
#endif #endif
#include <rtl/ustring.hxx>
SFX_IMPL_TOOLBOX_CONTROL(SvxCTLTextTbxCtrl, SfxBoolItem); SFX_IMPL_TOOLBOX_CONTROL(SvxCTLTextTbxCtrl, SfxBoolItem);
SFX_IMPL_TOOLBOX_CONTROL(SvxVertTextTbxCtrl, SfxBoolItem); SFX_IMPL_TOOLBOX_CONTROL(SvxVertTextTbxCtrl, SfxBoolItem);
/* -----------------------------27.04.01 15:50--------------------------------
---------------------------------------------------------------------------*/ // -----------------------------27.04.01 15:50--------------------------------
SvxVertCTLTextTbxCtrl::SvxVertCTLTextTbxCtrl( USHORT nId, ToolBox& rTbx, SfxBindings& rBindings ) :
SfxToolBoxControl( nId, rTbx, rBindings ), SvxCTLTextTbxCtrl::SvxCTLTextTbxCtrl(USHORT nSlotId, USHORT nId, ToolBox& rTbx ) :
SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx )
{
SetVert(FALSE);
addStatusListener( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CTLFontState" )));
}
SvxVertTextTbxCtrl::SvxVertTextTbxCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) :
SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx )
{
SetVert(TRUE);
addStatusListener( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:VerticalTextState" )));
}
/* ---------------------------------------------------------------------------*/
SvxVertCTLTextTbxCtrl::SvxVertCTLTextTbxCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) :
SfxToolBoxControl( nSlotId, nId, rTbx ),
bCheckVertical(sal_True) bCheckVertical(sal_True)
{ {
} }
/* -----------------------------27.04.01 15:53-------------------------------- /* -----------------------------27.04.01 15:53--------------------------------
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
...@@ -99,8 +116,10 @@ SvxVertCTLTextTbxCtrl::~SvxVertCTLTextTbxCtrl( ) ...@@ -99,8 +116,10 @@ SvxVertCTLTextTbxCtrl::~SvxVertCTLTextTbxCtrl( )
/* -----------------------------27.04.01 15:50-------------------------------- /* -----------------------------27.04.01 15:50--------------------------------
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
void SvxVertCTLTextTbxCtrl::StateChanged( USHORT nSID, SfxItemState eState, void SvxVertCTLTextTbxCtrl::StateChanged(
const SfxPoolItem* pState ) USHORT nSID,
SfxItemState eState,
const SfxPoolItem* pState )
{ {
SvtLanguageOptions aLangOptions; SvtLanguageOptions aLangOptions;
BOOL bCalc = sal_False; BOOL bCalc = sal_False;
......
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