2000-09-18 16:07:07 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* $RCSfile: gluectrl.hxx,v $
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* $Revision: 1.3 $
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* last change: $Author: rt $ $Date: 2005-09-09 05:42:43 $
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
2005-09-09 04:42:43 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
2000-09-18 16:07:07 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SD_GLUECTRL_HXX
|
|
|
|
#define SD_GLUECTRL_HXX
|
|
|
|
|
|
|
|
#ifndef _SV_LSTBOX_HXX //autogen
|
|
|
|
#include <vcl/lstbox.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _SFXTBXCTRL_HXX //autogen
|
|
|
|
#include <sfx2/tbxctrl.hxx>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*************************************************************************
|
|
|
|
|*
|
|
|
|
|* GluePointEscDirLB
|
|
|
|
|*
|
|
|
|
\************************************************************************/
|
|
|
|
class GlueEscDirLB : public ListBox
|
|
|
|
{
|
2004-07-06 11:26:08 +00:00
|
|
|
private:
|
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
|
2000-09-18 16:07:07 +00:00
|
|
|
public:
|
2004-07-06 11:26:08 +00:00
|
|
|
GlueEscDirLB( Window* pParent,
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
|
2000-09-18 16:07:07 +00:00
|
|
|
~GlueEscDirLB();
|
|
|
|
|
|
|
|
virtual void Select();
|
|
|
|
|
|
|
|
void Fill();
|
|
|
|
};
|
|
|
|
|
|
|
|
/*************************************************************************
|
|
|
|
|*
|
|
|
|
|* Toolbox-Controller fuer Klebepunkte-Austrittsrichtung
|
|
|
|
|*
|
|
|
|
\************************************************************************/
|
|
|
|
|
|
|
|
class SdTbxCtlGlueEscDir: public SfxToolBoxControl
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
UINT16 GetEscDirPos( UINT16 nEscDir );
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual void StateChanged( USHORT nSId, SfxItemState eState,
|
|
|
|
const SfxPoolItem* pState );
|
|
|
|
virtual Window* CreateItemWindow( Window *pParent );
|
|
|
|
|
|
|
|
SFX_DECL_TOOLBOX_CONTROL();
|
|
|
|
|
2004-07-06 11:26:08 +00:00
|
|
|
SdTbxCtlGlueEscDir( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
|
2000-09-18 16:07:07 +00:00
|
|
|
~SdTbxCtlGlueEscDir() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SD_GLUECTRL_HXX
|
|
|
|
|