diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2000-09-18 16:07:07 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2000-09-18 16:07:07 +0000 |
commit | fd069bee7e57ad529c3c0974559fd2d84ec3151a (patch) | |
tree | ef2eddeefb786feaf966d6a1c0c291872c0ae420 | |
parent | 04c1c754ab9d0ad07f2c5362d46597d13efe75c2 (diff) |
initial import
1134 files changed, 698930 insertions, 0 deletions
diff --git a/sfx2/inc/about.hxx b/sfx2/inc/about.hxx new file mode 100644 index 000000000000..5f2076b5e776 --- /dev/null +++ b/sfx2/inc/about.hxx @@ -0,0 +1,122 @@ +/************************************************************************* + * + * $RCSfile: about.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _ABOUT_HXX +#define _ABOUT_HXX + +// include --------------------------------------------------------------- + +#ifndef _RESARY_HXX //autogen +#include <vcl/resary.hxx> +#endif +#ifndef _BUTTON_HXX //autogen +#include <vcl/button.hxx> +#endif +#ifndef _ACCEL_HXX //autogen +#include <vcl/accel.hxx> +#endif +#ifndef _LIST_HXX //autogen +#include <tools/list.hxx> +#endif +#ifndef _STDCTRL_HXX //autogen +#include <svtools/stdctrl.hxx> +#endif +#include "basedlgs.hxx" // SfxModalDialog + +DECLARE_LIST( AccelList, Accelerator* ) + +// class AboutDialog ----------------------------------------------------- + +class AboutDialog : public SfxModalDialog +{ +private: + OKButton aOKButton; + Image aAppLogo; + + FixedInfo aVersionText; + FixedInfo aCopyrightText; + + ResStringArray aDeveloperAry; + String aDevVersionStr; + String aAccelStr; + + AccelList aAccelList; + + AutoTimer aTimer; + long nOff; + long nEnd; + + BOOL bNormal; + +protected: + virtual BOOL Close(); + virtual void Paint( const Rectangle& ); + +public: + AboutDialog( Window* pParent, const ResId& rId, const String& rVerStr ); + ~AboutDialog(); + + DECL_LINK( TimerHdl, Timer * ); + DECL_LINK( AccelSelectHdl, Accelerator * ); +}; + +#endif // #ifndef _ABOUT_HXX + + diff --git a/sfx2/inc/arrdecl.hxx b/sfx2/inc/arrdecl.hxx new file mode 100644 index 000000000000..b240d8ec734a --- /dev/null +++ b/sfx2/inc/arrdecl.hxx @@ -0,0 +1,130 @@ +/************************************************************************* + * + * $RCSfile: arrdecl.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_ARRDECL_HXX +#define _SFX_ARRDECL_HXX + +#include <tools/list.hxx> + +#ifndef _SVARRAY_HXX +#include <svtools/svarray.hxx> +#endif +#include "minarray.hxx" + +struct CntUpdateResult; + +SV_DECL_PTRARR_DEL(CntUpdateResults_Impl, CntUpdateResult*, 4, 4); + +class SfxObjectShell; +SV_DECL_PTRARR( SfxObjectShellArr_Impl, SfxObjectShell*, 4, 4 ); + +class SfxViewFrame; +SV_DECL_PTRARR( SfxViewFrameArr_Impl, SfxViewFrame*, 4, 4 ); + +class SfxViewShell; +SV_DECL_PTRARR( SfxViewShellArr_Impl, SfxViewShell*, 4, 4 ); + +class SfxObjectFactory; +SV_DECL_PTRARR( SfxObjectFactoryArr_Impl, SfxObjectFactory*, 3, 3 ); + +struct SfxTbxCtrlFactory; +SV_DECL_PTRARR_DEL( SfxTbxCtrlFactArr_Impl, SfxTbxCtrlFactory*, 8, 4 ); + +struct SfxStbCtrlFactory; +SV_DECL_PTRARR_DEL( SfxStbCtrlFactArr_Impl, SfxStbCtrlFactory*, 8, 4 ); + +struct SfxMenuCtrlFactory; +SV_DECL_PTRARR_DEL( SfxMenuCtrlFactArr_Impl, SfxMenuCtrlFactory*, 2, 2 ); + +struct SfxChildWinFactory; +SV_DECL_PTRARR_DEL( SfxChildWinFactArr_Impl, SfxChildWinFactory*, 2, 2 ); + +class SfxModule; +SV_DECL_PTRARR( SfxModuleArr_Impl, SfxModule*, 2, 2 ); + +class AsynchronLink; +SV_DECL_PTRARR_DEL( AsynchronLinkArr_Impl, AsynchronLink*, 2, 2 ); + +class SfxFilter; +DECL_PTRARRAY( SfxFilterArr_Impl, SfxFilter*, 4, 4 ); + +class SfxFrame; +typedef SfxFrame* SfxFramePtr; +SV_DECL_PTRARR( SfxFrameArr_Impl, SfxFramePtr, 4, 4 ); + +DECLARE_LIST( SfxFilterList_Impl, SfxFilter* ); + +struct SfxExternalLib_Impl; +typedef SfxExternalLib_Impl* SfxExternalLibPtr; +SV_DECL_PTRARR_DEL( SfxExternalLibArr_Impl, SfxExternalLibPtr, 2, 2 ); + +//class XEventListenerRef; +//typedef XEventListenerRef* XEventListenerPtr; +//SV_DECL_PTRARR_DEL( XEventListenerArr_Impl, XEventListenerPtr, 4, 4 ); + +//class XFrameRef; +//typedef XFrameRef* XFramePtr; +//SV_DECL_PTRARR_DEL( XFrameArr_Impl, XFramePtr, 4, 4 ); + +class SfxSlot; +typedef SfxSlot* SfxSlotPtr; +SV_DECL_PTRARR( SfxSlotArr_Impl, SfxSlotPtr, 20, 20 ); + +#endif diff --git a/sfx2/inc/basmgr.hxx b/sfx2/inc/basmgr.hxx new file mode 100644 index 000000000000..495608c0f0bb --- /dev/null +++ b/sfx2/inc/basmgr.hxx @@ -0,0 +1,170 @@ +/************************************************************************* + * + * $RCSfile: basmgr.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _SFX_BASMGR_HXX +#define _SFX_BASMGR_HXX + +#ifndef _BASMGR_HXX_ +#include <basic/basmgr.hxx> +#endif + +class SfxBasicManager : public BasicManager +{ +private: + BasicLibs* pLibs; + BasicErrorManager* pErrorMgr; + + String aName; + String aStorageName; + BOOL bBasMgrModified; + + void Init(); + +protected: + BOOL ImpStoreLibary( StarBASIC* pLib, SvStorage& rStorage ) const; + BOOL ImpLoadLibary( BasicLibInfo* pLibInfo ) const; + BOOL ImpLoadLibary( BasicLibInfo* pLibInfo, SvStorage* pCurStorage, BOOL bInfosOnly = FALSE ) const; + void ImpCreateStdLib( StarBASIC* pParentFromStdLib ); + void ImpMgrNotLoaded( const String& rStorageName ); + BasicLibInfo* CreateLibInfo(); + void LoadBasicManager( SvStorage& rStorage, BOOL bLoadBasics = TRUE ); + void LoadOldBasicManager( SvStorage& rStorage ); + BOOL ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) const; + void ImplGetPassword( USHORT nLib ) const; + BOOL ImplEncryptStream( SvStream& rStream ) const; + BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const; + void CheckModules( StarBASIC* pBasic, BOOL bReference ) const; + void SetFlagToAllLibs( short nFlag, BOOL bSet ) const; + SfxBasicManager(); // Nur zum anpassen von Pfaden bei 'Speichern unter'. + +public: + TYPEINFO(); + SfxBasicManager( SvStorage& rStorage, StarBASIC* pParentFromStdLib = NULL, String* pLibPath = NULL ); + SfxBasicManager( StarBASIC* pStdLib, String* pLibPath = NULL ); + ~SfxBasicManager(); + + void SetStorageName( const String& rName ) { aStorageName = rName; } + String GetStorageName() const { return aStorageName; } + void SetName( const String& rName ) { aName = rName; } + String GetName() const { return aName; } + + + static BOOL HasBasicManager( const SvStorage& rStorage ); + static BOOL CopyBasicData( SvStorage* pFrom, const String& rSourceURL, SvStorage* pTo); + void Merge( SvStorage& rFromStorage ); + + USHORT GetLibCount() const; + StarBASIC* GetStdLib() const; + StarBASIC* GetLib( USHORT nLib ) const; + StarBASIC* GetLib( const String& rName ) const; + USHORT GetLibId( const String& rName ) const; + USHORT GetLibId( StarBASIC* pLib ) const; + BOOL HasLib( const String& rName ) const; + + void Store( SvStorage& rStorage ); + void Store( SvStorage& rStorage, BOOL bStoreLibs ); + + BOOL SetLibName( USHORT nLib, const String& rName ); + String GetLibName( USHORT nLib ); + + BOOL SetLibStorageName( USHORT nLib, const String& rName ); + String GetLibStorageName( USHORT nLib ); + String GetRelLibStorageName( USHORT nLib ); + + BOOL IsLibLoaded( USHORT nLib ) const; + BOOL LoadLib( USHORT nLib ); + BOOL UnloadLib( USHORT nLib ); + BOOL StoreLib( USHORT nLib ) const; + BOOL RemoveLib( USHORT nLib ); + BOOL RemoveLib( USHORT nLib, BOOL bDelBasicFromStorage ); + + BOOL IsReference( USHORT nLib ); + BOOL IsExtern( USHORT nLib ); + + StarBASIC* CreateLib( const String& rLibName ); + StarBASIC* AddLib( SvStorage& rStorage, const String& rLibName, BOOL bReference ); + void AddLib( StarBASIC* pLib ); + BOOL MoveLib( USHORT nLib, USHORT nNewPos ); + + BOOL HasPassword( USHORT nLib ) const; + String GetPassword( USHORT nLib ) const; + void SetPassword( USHORT nLib, const String& rNewPassword ); + + // Der BasicManager gibt die Basics auch raus, wenn das Passwort nicht + // geprueft wurde, da man auch ohne Passwort mit der Lib arbeiten kann. + // Es ist Sache der App, was Sie dem Anwender ohne Passwort nicht gestattet, + // also z.B. das Betrachten der Source oder das Anzeigen/Loeschen von Modulen. + BOOL IsPasswordVerified( USHORT nLib ) const; + void SetPasswordVerified( USHORT nLib ); + + + // Modify-Flag wird nur beim Speichern zurueckgesetzt. + BOOL IsModified() const; + BOOL IsBasicModified() const; + BOOL IsManagerModified() const { return bBasMgrModified; } + + BOOL HasErrors(); + void ClearErrors(); + BasicError* GetFirstError(); + BasicError* GetNextError(); +}; + +#endif //_SFX_BASMGR_HXX diff --git a/sfx2/inc/bitset.hxx b/sfx2/inc/bitset.hxx new file mode 100644 index 000000000000..90e60ee8d87a --- /dev/null +++ b/sfx2/inc/bitset.hxx @@ -0,0 +1,293 @@ +/************************************************************************* + * + * $RCSfile: bitset.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFXBITSET_HXX +#define _SFXBITSET_HXX + +#ifndef _SOLAR_H +#include <tools/solar.h> +#endif + +class Range; + +class BitSet +{ +private: + void CopyFrom( const BitSet& rSet ); + USHORT nBlocks; + USHORT nCount; + ULONG* pBitmap; +public: + BitSet operator<<( USHORT nOffset ) const; + BitSet operator>>( USHORT nOffset ) const; + static USHORT CountBits( ULONG nBits ); + BOOL operator!() const; + BitSet(); + BitSet( const BitSet& rOrig ); + BitSet( USHORT* pArray, USHORT nSize ); + ~BitSet(); + BitSet( const Range& rRange ); + USHORT Count() const; + BitSet& operator=( const BitSet& rOrig ); + BitSet& operator=( USHORT nBit ); + BitSet operator|( const BitSet& rSet ) const; + BitSet operator|( USHORT nBit ) const; + BitSet& operator|=( const BitSet& rSet ); + BitSet& operator|=( USHORT nBit ); + BitSet operator-( const BitSet& rSet ) const; + BitSet operator-( USHORT nId ) const; + BitSet& operator-=( const BitSet& rSet ); + BitSet& operator-=( USHORT nBit ); + BitSet operator&( const BitSet& rSet ) const; + BitSet& operator&=( const BitSet& rSet ); + BitSet operator^( const BitSet& rSet ) const; + BitSet operator^( USHORT nBit ) const; + BitSet& operator^=( const BitSet& rSet ); + BitSet& operator^=( USHORT nBit ); + BOOL IsRealSubSet( const BitSet& rSet ) const; + BOOL IsSubSet( const BitSet& rSet ) const; + BOOL IsRealSuperSet( const BitSet& rSet ) const; + BOOL Contains( USHORT nBit ) const; + BOOL IsSuperSet( const BitSet& rSet ) const; + BOOL operator==( const BitSet& rSet ) const; + BOOL operator==( USHORT nBit ) const; + BOOL operator!=( const BitSet& rSet ) const; + BOOL operator!=( USHORT nBit ) const; + +}; +//-------------------------------------------------------------------- + +// returns TRUE if the set is empty + + + +inline BOOL BitSet::operator!() const +{ + return nCount == 0; +} +//-------------------------------------------------------------------- + +// returns the number of bits in the bitset + +inline USHORT BitSet::Count() const +{ + return nCount; +} +//-------------------------------------------------------------------- + +// creates the union of two bitset + +inline BitSet BitSet::operator|( const BitSet& rSet ) const +{ + return BitSet(*this) |= rSet; +} +//-------------------------------------------------------------------- + +// creates the union of a bitset with a single bit + +inline BitSet BitSet::operator|( USHORT nBit ) const +{ + return BitSet(*this) |= nBit; +} +//-------------------------------------------------------------------- + +// creates the asymetric difference + +inline BitSet BitSet::operator-( const BitSet& rSet ) const +{ + return BitSet(); +} +//-------------------------------------------------------------------- + +// creates the asymetric difference with a single bit + + +inline BitSet BitSet::operator-( USHORT nId ) const +{ + return BitSet(); +} +//-------------------------------------------------------------------- + +// removes the bits contained in rSet + +inline BitSet& BitSet::operator-=( const BitSet& rSet ) +{ + return *this; +} +//-------------------------------------------------------------------- + + +// creates the intersection with another bitset + +inline BitSet BitSet::operator&( const BitSet& rSet ) const +{ + return BitSet(); +} +//-------------------------------------------------------------------- + +// intersects with another bitset + +inline BitSet& BitSet::operator&=( const BitSet& rSet ) +{ + return *this; +} +//-------------------------------------------------------------------- + +// creates the symetric difference with another bitset + +inline BitSet BitSet::operator^( const BitSet& rSet ) const +{ + return BitSet(); +} +//-------------------------------------------------------------------- + +// creates the symetric difference with a single bit + +inline BitSet BitSet::operator^( USHORT nBit ) const +{ + return BitSet(); +} +//-------------------------------------------------------------------- + +// builds the symetric difference with another bitset + +inline BitSet& BitSet::operator^=( const BitSet& rSet ) +{ + return *this; +} +//-------------------------------------------------------------------- +#ifdef BITSET_READY +// builds the symetric difference with a single bit + +inline BitSet& BitSet::operator^=( USHORT nBit ) +{ + // crash!!! + return BitSet(); +} +#endif +//-------------------------------------------------------------------- + +// determines if the other bitset is a real superset + +inline BOOL BitSet::IsRealSubSet( const BitSet& rSet ) const +{ + return FALSE; +} +//-------------------------------------------------------------------- + +// detsermines if the other bitset is a superset or equal + +inline BOOL BitSet::IsSubSet( const BitSet& rSet ) const +{ + return FALSE; +} +//-------------------------------------------------------------------- + +// determines if the other bitset is a real subset + +inline BOOL BitSet::IsRealSuperSet( const BitSet& rSet ) const +{ + return FALSE; +} + +//-------------------------------------------------------------------- + +// determines if the other bitset is a subset or equal + +inline BOOL BitSet::IsSuperSet( const BitSet& rSet ) const +{ + return FALSE; +} +//-------------------------------------------------------------------- + +// determines if the bit is the only one in the bitset + +inline BOOL BitSet::operator==( USHORT nBit ) const +{ + return FALSE; +} +//-------------------------------------------------------------------- + +// determines if the bitsets aren't equal + +inline BOOL BitSet::operator!=( const BitSet& rSet ) const +{ + return !( *this == rSet ); +} +//-------------------------------------------------------------------- + +// determines if the bitset doesn't contain only this bit + +inline BOOL BitSet::operator!=( USHORT nBit ) const +{ + return !( *this == nBit ); +} +//-------------------------------------------------------------------- + +class IndexBitSet : BitSet +{ +public: + USHORT GetFreeIndex(); + void ReleaseIndex(USHORT i){*this-=i;} +}; + + +#endif + diff --git a/sfx2/inc/configmgr.hxx b/sfx2/inc/configmgr.hxx new file mode 100644 index 000000000000..fa1f38ee5f5f --- /dev/null +++ b/sfx2/inc/configmgr.hxx @@ -0,0 +1,73 @@ +/************************************************************************* + * + * $RCSfile: configmgr.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _SFX_CONFIGMGR_HXX_ +#define _SFX_CONFIGMGR_HXX_ + +namespace utl{ + class ConfigManager; +} + +/* -----------------------------05.09.00 16:42-------------------------------- + appdata.cxx + ---------------------------------------------------------------------------*/ +utl::ConfigManager* GetUtlConfigManager(); +#endif diff --git a/sfx2/inc/dinfedt.hxx b/sfx2/inc/dinfedt.hxx new file mode 100644 index 000000000000..514462f5a681 --- /dev/null +++ b/sfx2/inc/dinfedt.hxx @@ -0,0 +1,120 @@ +/************************************************************************* + * + * $RCSfile: dinfedt.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_DINFEDT_HXX +#define _SFX_DINFEDT_HXX + +// include --------------------------------------------------------------- + +#ifndef _SV_EDIT_HXX //autogen wg. Edit +#include <vcl/edit.hxx> +#endif +#ifndef _SV_DIALOG_HXX //autogen wg. ModalDialog +#include <vcl/dialog.hxx> +#endif +#ifndef _SV_GROUP_HXX //autogen wg. GroupBox +#include <vcl/group.hxx> +#endif +#ifndef _SV_BUTTON_HXX //autogen wg. OKButton +#include <vcl/button.hxx> +#endif + +// class InfoEdit_Impl --------------------------------------------------- + +class InfoEdit_Impl : public Edit +{ +public: + InfoEdit_Impl( Window* pParent, const ResId& rResId ) : + Edit( pParent, rResId ) {} + + virtual void KeyInput( const KeyEvent& rKEvent ); +}; + +// class SfxDocInfoEditDlg ----------------------------------------------- + +class SfxDocInfoEditDlg : public ModalDialog +{ +private: + InfoEdit_Impl aInfo1ED; + InfoEdit_Impl aInfo2ED; + InfoEdit_Impl aInfo3ED; + InfoEdit_Impl aInfo4ED; + GroupBox aInfoGB; + OKButton aOkBT; + CancelButton aCancelBT; + HelpButton aHelpBtn; + +public: + SfxDocInfoEditDlg( Window* pParent ); + + void SetText1( const String &rStr) { aInfo1ED.SetText( rStr ); } + void SetText2( const String &rStr) { aInfo2ED.SetText( rStr ); } + void SetText3( const String &rStr) { aInfo3ED.SetText( rStr ); } + void SetText4( const String &rStr) { aInfo4ED.SetText( rStr ); } + + String GetText1() const { return aInfo1ED.GetText(); } + String GetText2() const { return aInfo2ED.GetText(); } + String GetText3() const { return aInfo3ED.GetText(); } + String GetText4() const { return aInfo4ED.GetText(); } +}; + + +#endif + diff --git a/sfx2/inc/docvor.hxx b/sfx2/inc/docvor.hxx new file mode 100644 index 000000000000..2334628397cd --- /dev/null +++ b/sfx2/inc/docvor.hxx @@ -0,0 +1,183 @@ +/************************************************************************* + * + * $RCSfile: docvor.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:22 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFXDOCVOR_HXX +#define _SFXDOCVOR_HXX + + +#ifndef _DIALOG_HXX //autogen +#include <vcl/dialog.hxx> +#endif +#ifndef _SVTREEBOX_HXX //autogen +#include <svtools/svtreebx.hxx> +#endif + +#include "objsh.hxx" +#include "orgmgr.hxx" + +//========================================================================= + +class SfxDocumentTemplates; +class Path; + +//========================================================================= +#ifndef _SFX_HXX + +class SfxOrganizeDlg_Impl; + +class SfxOrganizeListBox_Impl: public SvTreeListBox +{ +friend class SfxOrganizeDlg_Impl; + + SfxOrganizeMgr *pMgr; + Image aOpenedFolderBmp; + Image aClosedFolderBmp; + Image aOpenedDocBmp; + Image aClosedDocBmp; + SfxOrganizeDlg_Impl *pDlg; + static BOOL bDropMoveOk; + +protected: + virtual BOOL EditingEntry( SvLBoxEntry* pEntry, Selection & ); + virtual BOOL EditedEntry( SvLBoxEntry* pEntry, const String& rNewText ); + virtual BOOL NotifyQueryDrop(SvLBoxEntry *); + virtual BOOL NotifyMoving(SvLBoxEntry *pSource, + SvLBoxEntry* pTarget, + SvLBoxEntry *&pNewParent, ULONG &); + virtual BOOL NotifyCopying(SvLBoxEntry *pSource, + SvLBoxEntry* pTarget, + SvLBoxEntry *&pNewParent, ULONG &); + virtual void RequestingChilds( SvLBoxEntry* pParent ); + virtual long ExpandingHdl(); +#if SUPD < 306 + virtual BOOL Drop( const DropEvent& rEvt ); + virtual BOOL QueryDrop( const DropEvent& rEvt ); +#else + virtual BOOL Drop( DropEvent& rEvt ); + virtual BOOL QueryDrop( DropEvent& rEvt ); +#endif + virtual DragDropMode NotifyBeginDrag(SvLBoxEntry *); + virtual BOOL Select( SvLBoxEntry* pEntry, BOOL bSelect=TRUE ); + virtual void Command( const CommandEvent& rCEvt ); + +public: + enum DataEnum { + VIEW_TEMPLATES, + VIEW_FILES + } eViewType; + SfxOrganizeListBox_Impl(SfxOrganizeDlg_Impl *pDlg, + Window *pParent, WinBits, DataEnum); + + DataEnum GetViewType() const { return eViewType; } + void SetViewType(DataEnum eType) { eViewType = eType; } + + void SetMgr(SfxOrganizeMgr *pM) { pMgr = pM; } + void Reset(); + void SetBitmaps(const Image &rOFolderBitmap, + const Image &rCFolderBitmap, + const Image &rODocBitmap, + const Image &rCDocBitmap) { + aOpenedFolderBmp = rOFolderBitmap; + aClosedFolderBmp = rCFolderBitmap; + aOpenedDocBmp = rODocBitmap; + aClosedDocBmp = rCDocBitmap; + } + const Image &GetClosedBmp(USHORT nLevel) const; + const Image &GetOpenedBmp(USHORT nLevel) const; + +private: + BOOL IsStandard_Impl( SvLBoxEntry *) const; + BOOL MoveOrCopyTemplates(SvLBox *pSourceBox, + SvLBoxEntry *pSource, + SvLBoxEntry* pTarget, + SvLBoxEntry *&pNewParent, + ULONG &rIdx, + BOOL bCopy); + BOOL MoveOrCopyContents(SvLBox *pSourceBox, + SvLBoxEntry *pSource, + SvLBoxEntry* pTarget, + SvLBoxEntry *&pNewParent, + ULONG &rIdx, + BOOL bCopy); + inline USHORT GetDocLevel() const; + SfxObjectShellRef GetObjectShell(const Path &); + BOOL IsUniqName_Impl(const String &rText, SvLBoxEntry* pParent, SvLBoxEntry *pEntry = 0) const; + USHORT GetLevelCount_Impl(SvLBoxEntry* pParent) const; +}; + +#endif +//========================================================================= + +class SfxTemplateOrganizeDlg : public ModalDialog +{ +friend class SfxOrganizeListBox_Impl; + + class SfxOrganizeDlg_Impl *pImp; + +public: + SfxTemplateOrganizeDlg(Window * pParent, SfxDocumentTemplates* = 0); + ~SfxTemplateOrganizeDlg(); + +#define RET_EDIT_STYLE 100 + + virtual short Execute(); +}; + +#endif diff --git a/sfx2/inc/frmload.hxx b/sfx2/inc/frmload.hxx new file mode 100644 index 000000000000..d65b5909707a --- /dev/null +++ b/sfx2/inc/frmload.hxx @@ -0,0 +1,221 @@ +/************************************************************************* + * + * $RCSfile: frmload.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _SFX_FRMLOAD_HXX +#define _SFX_FRMLOAD_HXX + +#ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_HDL_ +#include <com/sun/star/lang/XInitialization.hpp> +#endif + +#ifndef _COM_SUN_STAR_FRAME_XFRAMELOADER_HPP_ +#include <com/sun/star/frame/XFrameLoader.hpp> +#endif + +#ifndef _COM_SUN_STAR_FRAME_XEXTENDEDFILTERDETECTION_HPP_ +#include <com/sun/star/frame/XExtendedFilterDetection.hpp> +#endif + +#ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_ +#include <com/sun/star/uno/Exception.hpp> +#endif + +#ifndef _COM_SUN_STAR_UNO_REFERENCE_H_ +#include <com/sun/star/uno/Reference.h> +#endif + +#ifndef _CPPUHELPER_IMPLBASE1_HXX_ +#include <cppuhelper/implbase1.hxx> +#endif + +#ifndef _CPPUHELPER_IMPLBASE2_HXX_ +#include <cppuhelper/implbase2.hxx> +#endif + +#ifndef _CPPUHELPER_IMPLBASE3_HXX_ +#include <cppuhelper/implbase3.hxx> +#endif + +#include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <cppuhelper/factory.hxx> +#include <tools/link.hxx> +#include <tools/string.hxx> + +class SfxObjectFactory; +class SfxFilterMatcher; +class LoadEnvironment_Impl; +namespace com +{ + namespace sun + { + namespace star + { + namespace uno + { + class Any; + } + namespace lang + { + class XMultiServiceFactory; + } + namespace frame + { + class XFrame; + } + namespace beans + { + struct PropertyValue; + } + } + } +} + +#include "sfxuno.hxx" + +#define REFERENCE ::com::sun::star::uno::Reference +#define SEQUENCE ::com::sun::star::uno::Sequence +#define RUNTIME_EXCEPTION ::com::sun::star::uno::RuntimeException + +class SfxFilterDetect_Impl : public ::cppu::WeakImplHelper3< ::com::sun::star::frame::XExtendedFilterDetection, + ::com::sun::star::lang::XInitialization, ::com::sun::star::lang::XServiceInfo > +{ + String aFilterName; +public: + SFX_DECL_XSERVICEINFO + SfxFilterDetect_Impl( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); + virtual ::rtl::OUString SAL_CALL detect( const ::rtl::OUString& sURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgumentlist ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) + throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); +}; + +class SfxFrameLoader : public ::cppu::WeakImplHelper2< ::com::sun::star::frame::XFrameLoader, ::com::sun::star::lang::XInitialization > +{ + REFERENCE < ::com::sun::star::frame::XFrame > xFrame; + REFERENCE < ::com::sun::star::frame::XLoadEventListener > xListener; + LoadEnvironment_Impl* pLoader; + SfxFilterMatcher* pMatcher; + String aFilterName; + + DECL_LINK( LoadDone_Impl, void* ); + +public: + SfxFrameLoader( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); + virtual ~SfxFrameLoader(); + + void SetFilterName( const ::rtl::OUString& rFilterName ) + { aFilterName = rFilterName; } + String GetFilterName() const + { return aFilterName; } + + // XLoader + virtual void SAL_CALL load( const REFERENCE < ::com::sun::star::frame::XFrame >& aFrame, + const ::rtl::OUString& aURL, + const SEQUENCE < ::com::sun::star::beans::PropertyValue >& aArgs, + const REFERENCE < ::com::sun::star::frame::XLoadEventListener >& aListener) throw( RUNTIME_EXCEPTION ); + virtual void SAL_CALL cancel() throw( RUNTIME_EXCEPTION ); + + // XInitialization + virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) + throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + +protected: + virtual SfxObjectFactory& GetFactory()=0; +}; + +class SfxFrameLoader_Impl : public SfxFrameLoader, public ::com::sun::star::lang::XServiceInfo +{ +public: + SFX_DECL_XINTERFACE + SFX_DECL_XSERVICEINFO + SfxFrameLoader_Impl( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); +protected: + virtual SfxObjectFactory& GetFactory(); +}; + +class SfxFrameLoaderFactory : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XServiceInfo, ::com::sun::star::lang::XSingleServiceFactory > +{ +private: + ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; + ::rtl::OUString aImplementationName; + ::cppu::ComponentInstantiation pCreateFunction; + +public: + SfxFrameLoaderFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rServiceManager, + ::cppu::ComponentInstantiation pCreateFunction_, const ::rtl::OUString& rImplementationName_ ) + : xSMgr( rServiceManager ) + , aImplementationName( rImplementationName_ ) + , pCreateFunction( pCreateFunction_ ) + {} + + // XSingleServiceFactory + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance(void) + throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any>& Arguments) + throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + + // XServiceInfo + ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException); + sal_Bool SAL_CALL supportsService(const ::rtl::OUString& ServiceName) throw(::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw(::com::sun::star::uno::RuntimeException); +}; + +#endif diff --git a/sfx2/inc/idpool.hxx b/sfx2/inc/idpool.hxx new file mode 100644 index 000000000000..b24db8ed9436 --- /dev/null +++ b/sfx2/inc/idpool.hxx @@ -0,0 +1,97 @@ +/************************************************************************* + * + * $RCSfile: idpool.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFXIDPOOL_HXX +#define _SFXIDPOOL_HXX + +#include <limits.h> // USHRT_MAX +#include "bitset.hxx" + +// class IdPool ---------------------------------------------------------- + +class IdPool: private BitSet +{ +private: + USHORT nNextFree; + USHORT nRange; + USHORT nOffset; +public: + BOOL Lock( const BitSet& rLockSet ); + BOOL IsLocked( USHORT nId ) const; + IdPool( USHORT nMin = 1, USHORT nMax = USHRT_MAX ); + USHORT Get(); + BOOL Put( USHORT nId ); + BOOL Lock( const Range& rRange ); + BOOL Lock( USHORT nId ); + +}; + +//------------------------------------------------------------------------ + +// returns TRUE if the id is locked + +inline BOOL IdPool::IsLocked( USHORT nId ) const +{ + return ( this->Contains(nId-nOffset) ); +} + + +#endif + diff --git a/sfx2/inc/imgmgr.hxx b/sfx2/inc/imgmgr.hxx new file mode 100644 index 000000000000..fddeb020b2ce --- /dev/null +++ b/sfx2/inc/imgmgr.hxx @@ -0,0 +1,155 @@ +/************************************************************************* + * + * $RCSfile: imgmgr.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFXIMGMGR_HXX +#define _SFXIMGMGR_HXX + +#include "cfgitem.hxx" + +#include <imgdef.hxx> + + +#ifndef _GEN_HXX //autogen +#include <tools/gen.hxx> +#endif +#ifndef _IMAGE_HXX //autogen +#include <vcl/image.hxx> +#endif + +class ToolBox; + +class SfxModule; +class SfxToolBoxManager; +class SfxBitmapList_Impl; +class SfxToolBoxArr_Impl; + +class SfxImageManager: public SfxConfigItem +{ + SfxBitmapList_Impl* pUserDefList; + ImageList* pImageList; + ImageList* pUserImageList; + ImageList* pOffImageList; + SfxSymbolSet eSymbolSet; + BOOL bImageDefault; + SfxToolBoxArr_Impl* pToolBoxList; + USHORT nOutStyle; + +protected: + + virtual int Load(SvStream&); + virtual BOOL Store(SvStream&); + virtual void UseDefault(); + virtual String GetName() const; + +#if __PRIVATE + void MakeDefaultImageList_Impl(); + void MakeLists_Impl( SfxSymbolSet ); +#endif + +public: + SfxImageManager(); + ~SfxImageManager(); + + // Allgemeine Properties + void SetSymbolSet(SfxSymbolSet); + void SetOutStyle(USHORT); + + SfxSymbolSet GetSymbolSet() const + { return eSymbolSet; } + USHORT GetOutStyle() const + { return nOutStyle; } + Size GetImageSize() const + {return pImageList->GetImageSize(); } + Color GetMaskColor() const; + + // Image(s) aus einem Modul oder der OFA-Liste + Image GetImage(USHORT nId, SfxModule* pMod = 0) const; + void SetImages( ToolBox& rToolBox, SfxModule* ); + void LockImage(USHORT nNewId, ToolBox *pBox); + + // Zugriff auf die Userdef-Liste + void ReplaceImage(USHORT nId, Bitmap* pBmp=0); + void AddImage(USHORT nId, const Image& rImage); + + // Umkonfigurieren + void StartCustomize(); + void EndCustomize(); + Image SeekImage(USHORT nId, SfxModule* pModule = 0) const; + + // Toolbox-Registrierung/Abmeldung + void RegisterToolBox(ToolBox*, USHORT nFlags=0xFFFF ); + void RegisterToolBox(ToolBox*, SfxModule*, USHORT nFlags=0xFFFF ); + void ReleaseToolBox(ToolBox*); + void RegisterToolBoxManager(SfxToolBoxManager*, USHORT nFlags=0xFFFF ); + void ReleaseToolBoxManager(SfxToolBoxManager*); + +#if __PRIVATE + void ExchangeItemImage_Impl(USHORT nId, const Image& rImage); + BOOL IsUserDef_Impl(USHORT nId) const; + const Bitmap& GetUserDefBitmap_Impl(USHORT nId) const; + Image GetAndLockImage_Impl(USHORT nId, SfxModule* pMod = 0); + Image GetImageFromModule_Impl( USHORT nId, SfxModule *pMod ); +#endif + +}; + +#define SFX_IMAGEMANAGER() SfxGetpApp()->GetImageManager() + +#endif diff --git a/sfx2/inc/inettbc.hxx b/sfx2/inc/inettbc.hxx new file mode 100644 index 000000000000..446912b8c831 --- /dev/null +++ b/sfx2/inc/inettbc.hxx @@ -0,0 +1,163 @@ +/************************************************************************* + * + * $RCSfile: inettbc.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _SFX_INETTBC_HXX +#define _SFX_INETTBC_HXX + +// includes ***************************************************************** +#include <tools/string.hxx> +#include <tools/urlobj.hxx> + +#ifndef _COMBOBOX_HXX //autogen +#include <vcl/combobox.hxx> +#endif + +#define _SVSTDARR_STRINGSDTOR +#include <svtools/svstdarr.hxx> + +struct SfxPickEntry_Impl; +class SfxURLBox : public ComboBox +{ +friend class SfxMatchContext_Impl; +friend class SfxURLBox_Impl; + Link aOpenHdl; + String aBaseURL; + INetProtocol eSmartProtocol; + SfxMatchContext_Impl* pCtx; + SfxURLBox_Impl* pImp; + BOOL bAutoCompleteMode; + BOOL bOnlyDirectories; + BOOL bModified; + BOOL bTryAutoComplete: 1, + bCtrlClick: 1; + + BOOL ProcessKey( const KeyCode& rCode ); + void TryAutoComplete( BOOL bForward, BOOL bForce ); + void UpdatePicklistForSmartProtocol_Impl(); + DECL_LINK( AutoCompleteHdl_Impl, void* ); + +protected: + virtual long Notify( NotifyEvent& rNEvt ); + virtual void Select(); + virtual void Modify(); + virtual BOOL QueryDrop( DropEvent &rEvt ); + virtual BOOL Drop( const DropEvent &rEvt ); + virtual long PreNotify( NotifyEvent& rNEvt ); + +public: + SfxURLBox( Window* pParent, INetProtocol eSmart = INET_PROT_NOT_VALID ); + + void OpenURL( SfxPickEntry_Impl* pEntry, const String& rName, BOOL nMod ) const; + void SetBaseURL( const String& rURL ) { aBaseURL = rURL; } + const String& GetBaseURL() const { return aBaseURL; } + void SetOpenHdl( const Link& rLink ) { aOpenHdl = rLink; } + const Link& GetOpenHdl() const { return aOpenHdl; } + void SetOnlyDirectories( BOOL bDir = TRUE ); + INetProtocol GetSmartProtocol() const { return eSmartProtocol; } + void SetSmartProtocol( INetProtocol eProt ); + BOOL IsCtrlOpen() + { return bCtrlClick; } +}; + +#if __PRIVATE + +#include "tbxctrl.hxx" +class SfxURLToolBoxControl_Impl : public SfxToolBoxControl +{ +private: + SfxStatusForwarder aURLForwarder; + SfxURLBox* GetURLBox() const; + DECL_LINK( OpenHdl, void* ); + DECL_LINK( SelectHdl, void* ); +public: + + SFX_DECL_TOOLBOX_CONTROL(); + + SfxURLToolBoxControl_Impl( USHORT nId, + ToolBox& rBox, + SfxBindings& rBindings ); + + virtual Window* CreateItemWindow( Window* pParent ); + virtual void StateChanged( USHORT nSID, SfxItemState eState, + const SfxPoolItem* pState ); +}; + +class SfxCancelToolBoxControl_Impl : public SfxToolBoxControl +{ +public: + + SFX_DECL_TOOLBOX_CONTROL(); + + SfxCancelToolBoxControl_Impl( + USHORT nId, + ToolBox& rBox, + SfxBindings& rBindings ); + + virtual SfxPopupWindowType GetPopupWindowType() const; + virtual SfxPopupWindow* CreatePopupWindow(); + virtual void StateChanged( USHORT nSID, SfxItemState eState, + const SfxPoolItem* pState ); +}; + +#endif + +#endif + diff --git a/sfx2/inc/mieclip.hxx b/sfx2/inc/mieclip.hxx new file mode 100644 index 000000000000..435dc0fc1526 --- /dev/null +++ b/sfx2/inc/mieclip.hxx @@ -0,0 +1,130 @@ +/************************************************************************* + * + * $RCSfile: mieclip.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _MIECLIP_HXX +#define _MIECLIP_HXX + +#ifndef _SOLAR_H +#include <tools/solar.h> +#endif + +#ifndef _STRING_HXX //autogen +#include <tools/string.hxx> +#endif + +class SvStream; +class SotDataObject; +class SvData; + +class MSE40HTMLClipFormatObj +{ + SvStream* pStrm; + String sBaseURL; + +public: + MSE40HTMLClipFormatObj() : pStrm(0) {} + ~MSE40HTMLClipFormatObj(); + + BOOL GetData( SotDataObject& ); + BOOL GetData( SvData& ); + + const SvStream* GetStream() const { return pStrm; } + SvStream* GetStream() { return pStrm; } + const String& GetBaseURL() const { return sBaseURL; } +}; + + +//////////////////////////////////////////////////////////////////////////////// +// +/* + $Log: not supported by cvs2svn $ + Revision 1.8 2000/09/17 16:47:07 willem.vandorp + OpenOffice header added. + + Revision 1.7 2000/09/06 14:49:36 willem.vandorp + Header and footer replaced. + + Revision 1.6 1999/12/16 19:32:37 er + #60614# add: GetData with SvData + + Revision 1.5 1999/07/23 08:34:06 hr + #65293#: misplaced comment + + Revision 1.4 1999/01/18 13:35:50 JP + Task #59398#: unnoetiges RegisterClipb... gegen IDS ausgetauscht + + + Rev 1.3 18 Jan 1999 14:35:50 JP + Task #59398#: unnoetiges RegisterClipb... gegen IDS ausgetauscht + + Rev 1.2 22 Jun 1998 21:20:36 JP + SvDataObject gegen SorDataObject ausgetauscht + + Rev 1.1 23 Feb 1998 17:05:14 TJ + include + + Rev 1.0 18 Feb 1998 17:28:26 OK + NEW: MSE40HTMLClipFormatObj + +*/ + +#endif //_MIECLIP_HXX + diff --git a/sfx2/inc/minfitem.hxx b/sfx2/inc/minfitem.hxx new file mode 100644 index 000000000000..36c52eee0353 --- /dev/null +++ b/sfx2/inc/minfitem.hxx @@ -0,0 +1,115 @@ +/************************************************************************* + * + * $RCSfile: minfitem.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_MINFITEM_HXX +#define _SFX_MINFITEM_HXX + + +#ifndef _STRING_HXX //autogen +#include <tools/string.hxx> +#endif +#ifndef _SFXPOOLITEM_HXX //autogen +#include <svtools/poolitem.hxx> +#endif +class BasicManager; + +class SfxMacroInfoItem: public SfxPoolItem +{ + const BasicManager* pBasicManager; + String aLibName; + String aModuleName; + String aMethodName; + String aCommentText; + +public: + TYPEINFO(); + SfxMacroInfoItem( USHORT nWhich, + const BasicManager* pMgr, + const String &rLibName, + const String &rModuleName, + const String &rMethodName, + const String &rComment); + + SfxMacroInfoItem( const SfxMacroInfoItem& ); + + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; + String GetComment() const + { return aCommentText; } + void SetComment( const String& r ) + { aCommentText = r; } + String GetMethod() const + { return aMethodName; } + void SetMethod( const String& r ) + { aMethodName = r; } + String GetModule() const + { return aModuleName; } + void SetModule( const String& r ) + { aModuleName = r; } + String GetLib() const + { return aLibName; } + void SetLib( const String& r ) + { aLibName = r; } + const BasicManager* GetBasicManager() const + { return pBasicManager; } + String GetQualifiedName() const; +}; + +#endif diff --git a/sfx2/inc/msgnodei.hxx b/sfx2/inc/msgnodei.hxx new file mode 100644 index 000000000000..6912eb5b9a7e --- /dev/null +++ b/sfx2/inc/msgnodei.hxx @@ -0,0 +1,269 @@ +/************************************************************************* + * + * $RCSfile: msgnodei.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:23 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _MSGNODEI_HXX +#define _MSGNODEI_HXX + + +#ifndef _SFXENUMITEM_HXX //autogen +#include <svtools/eitem.hxx> +#endif +#ifndef _STRING_HXX //autogen +#include <tools/string.hxx> +#endif +#ifndef _SFXPOOLITEM_HXX //autogen +#include <svtools/poolitem.hxx> +#endif +#ifndef _LIST_HXX //autogen +#include <tools/list.hxx> +#endif +struct SfxMsgAttachFile { + String aFile; + String aName; + + int operator==( const SfxMsgAttachFile& rRec ) const + { + if( aName == rRec.aName && aFile == rRec.aFile ) + return TRUE; + return FALSE; + } + + SfxMsgAttachFile( const String& rFile, const String& rName) + : aName( rName ), aFile( rFile ) {} + + SfxMsgAttachFile( const SfxMsgAttachFile& rRec ) + : aName( rRec.aName), aFile( rRec.aFile ) {} +}; + +enum SfxMsgReceiverRole +{ + MSG_RECEIVER_TO = 0, + MSG_RECEIVER_CC, + MSG_RECEIVER_BCC, + MSG_RECEIVER_NEWSGROUP +}; + +struct SfxMsgReceiver { + String aName; + SfxMsgReceiverRole eRole; + + int operator==( const SfxMsgReceiver& rRec ) const + { + if( aName == rRec.aName && eRole == rRec.eRole ) + return TRUE; + return FALSE; + } + + SfxMsgReceiver( const String& rName, SfxMsgReceiverRole _eRole ) + : aName( rName ), eRole( _eRole ) {} + + SfxMsgReceiver( const SfxMsgReceiver& rRec ) + : aName( rRec.aName), eRole( rRec.eRole ) {} +}; + +// ------------------------------------------------------------------------ + +class SfxMsgReceiverList_Impl : public List +{ + ULONG nRef; + ~SfxMsgReceiverList_Impl(); + SfxMsgReceiverList_Impl& operator=( const SfxMsgReceiverList_Impl&); //n.i. +public: + SfxMsgReceiverList_Impl(); + SfxMsgReceiverList_Impl(const SfxMsgReceiverList_Impl&); + + void Load( SvStream& ); + void Store( SvStream& ) const; + void IncRef() { nRef++; } + void DecRef() { nRef--; if( !nRef ) delete this; } + ULONG GetRefCount() const { return nRef; } + int operator==( const SfxMsgReceiverList_Impl& ) const; +}; + +class SfxMsgReceiverListItem : public SfxPoolItem +{ + void Disconnect(); +protected: + SfxMsgReceiverList_Impl* pImp; +public: + TYPEINFO(); + + SfxMsgReceiverListItem(); + SfxMsgReceiverListItem( USHORT nWhich ); + SfxMsgReceiverListItem( USHORT nWhich, SvStream& rStream ); + SfxMsgReceiverListItem( const SfxMsgReceiverListItem& rItem ); + ~SfxMsgReceiverListItem(); + +#if SUPD<355 + virtual int IsPoolable() const; +#endif + + virtual int operator==( const SfxPoolItem& ) const; + + virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, + SfxMapUnit eCoreMetric, + SfxMapUnit ePresMetric, + XubString &rText ) const; + + USHORT Count() const; + SfxMsgReceiver* GetObject( USHORT nPos ); + void Remove( USHORT nPos ); + void Add( const SfxMsgReceiver& ); + + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Create( SvStream &, USHORT nVersion ) const; + virtual SvStream& Store( SvStream &, USHORT nItemVersion ) const; +}; + + +// ------------------------------------------------------------------------ + +class SfxMsgAttachFileList_Impl : public List +{ + ULONG nRef; + ~SfxMsgAttachFileList_Impl(); + SfxMsgAttachFileList_Impl& operator=( const SfxMsgAttachFileList_Impl&); //n.i. + +public: + SfxMsgAttachFileList_Impl(); + SfxMsgAttachFileList_Impl(const SfxMsgAttachFileList_Impl&); + + int operator==( const SfxMsgAttachFileList_Impl& rRec ) const; + SfxMsgAttachFile* GetReceiver(ULONG nPos) { return (SfxMsgAttachFile*)List::GetObject(nPos); } + void Load( SvStream& ); + void Store( SvStream& ) const; + void IncRef() { nRef++; } + void DecRef() { nRef--; if( !nRef ) delete this; } + ULONG GetRefCount() const { return nRef; } +}; + +class SfxMsgAttachFileListItem : public SfxPoolItem +{ +protected: + SfxMsgAttachFileList_Impl* pImp; + void Disconnect(); +public: + TYPEINFO(); + + SfxMsgAttachFileListItem(); + SfxMsgAttachFileListItem( USHORT nWhich ); + SfxMsgAttachFileListItem( USHORT nWhich, SvStream& rStream ); + SfxMsgAttachFileListItem( const SfxMsgAttachFileListItem& rItem ); + ~SfxMsgAttachFileListItem(); + +#if SUPD<355 + virtual int IsPoolable() const; +#endif + + virtual int operator==( const SfxPoolItem& ) const; + + virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, + SfxMapUnit eCoreMetric, + SfxMapUnit ePresMetric, + XubString &rText ) const; + + USHORT Count() const; + SfxMsgAttachFile* GetObject( USHORT nPos ); + void Remove( USHORT nPos ); + void Add( const SfxMsgAttachFile& ); + + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Create( SvStream &, USHORT nVersion ) const; + virtual SvStream& Store( SvStream &, USHORT nItemVersion ) const; +}; + + +//========================================================================= + +enum SfxMsgPriority +{ + MSG_PRIORITY_LOW = 0, + MSG_PRIORITY_NORMAL, + MSG_PRIORITY_URGENT +}; +#define SFXMSGPRIORITYCOUNT 3 + +class SfxMsgPriorityItem : public SfxEnumItem +{ +public: + TYPEINFO(); + + SfxMsgPriorityItem( USHORT nWhich, SfxMsgPriority = MSG_PRIORITY_NORMAL); + + virtual SfxPoolItem* Clone( SfxItemPool* pPool=0 ) const; + virtual SfxPoolItem* Create( SvStream&, USHORT ) const; + virtual SvStream& Store( SvStream&, USHORT ) const; + virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePresentation, + SfxMapUnit eCoreMetric, + SfxMapUnit ePresentationMetric, + String &rText ) const; + virtual USHORT GetValueCount() const; + virtual String GetValueTextByPos( USHORT nPos ) const; + + inline SfxMsgPriorityItem& operator=(const SfxMsgPriorityItem& rPrio) + { + SetValue( rPrio.GetValue() ); + return *this; + } +}; + + +#endif diff --git a/sfx2/inc/orgmgr.hxx b/sfx2/inc/orgmgr.hxx new file mode 100644 index 000000000000..697f5394a652 --- /dev/null +++ b/sfx2/inc/orgmgr.hxx @@ -0,0 +1,133 @@ +/************************************************************************* + * + * $RCSfile: orgmgr.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_ORGMGR_HXX +#define _SFX_ORGMGR_HXX + +#ifndef _SVARRAY_HXX //autogen +#include <svtools/svarray.hxx> +#endif + +class SfxDocumentTemplates; +class SfxOrganizeListBox_Impl; +class SfxObjectShell; +struct _FileListEntry; + +//========================================================================= + +SV_DECL_PTRARR_SORT(_SfxObjectList, _FileListEntry*, 1, 4) + +class SfxObjectList: public _SfxObjectList +{ +public: + SfxObjectList(); + ~SfxObjectList(); + + const String& GetBaseName( USHORT nId ) const; + const String& GetFileName( USHORT nId ) const; +}; + +//========================================================================= + +class SfxOrganizeMgr +{ +private: + SfxObjectList* pDocList; + SfxDocumentTemplates* pTemplates; + SfxOrganizeListBox_Impl* pLeftBox; + SfxOrganizeListBox_Impl* pRightBox; + BOOL bDeleteTemplates :1; + BOOL bModified :1; + + SfxOrganizeListBox_Impl* GetOther( SfxOrganizeListBox_Impl* ); + +public: + SfxOrganizeMgr( SfxOrganizeListBox_Impl* pLeft, + SfxOrganizeListBox_Impl* pRight, + SfxDocumentTemplates* pTempl = NULL ); + ~SfxOrganizeMgr(); + + BOOL Copy( USHORT nTargetRegion, USHORT nTargetIdx, USHORT nSourceRegion, USHORT nSourceIdx ); + BOOL Move( USHORT nTargetRegion, USHORT nTargetIdx, USHORT nSourceRegion, USHORT nSourceIdx ); + BOOL Delete( SfxOrganizeListBox_Impl* pCaller, USHORT nRegion, USHORT nIdx ); + BOOL InsertDir( SfxOrganizeListBox_Impl* pCaller, const String& rName, USHORT nRegion ); + BOOL SetName( const String& rName, USHORT nRegion, USHORT nIdx = USHRT_MAX ); + BOOL CopyTo( USHORT nRegion, USHORT nIdx, const String& rName ) const; + BOOL CopyFrom( SfxOrganizeListBox_Impl* pCaller, USHORT nRegion, USHORT nIdx, String& rName ); + + BOOL Rescan(); + BOOL InsertFile( SfxOrganizeListBox_Impl* pCaller, const String& rFileName ); + + BOOL IsModified() const { return bModified ? TRUE : FALSE; } + + const SfxDocumentTemplates* GetTemplates() const { return pTemplates; } + SfxObjectList& GetObjectList() { return *pDocList; } + const SfxObjectList& GetObjectList() const { return *pDocList; } + + SfxObjectShellRef CreateObjectShell( USHORT nIdx ); + SfxObjectShellRef CreateObjectShell( USHORT nRegion, USHORT nIdx ); + BOOL DeleteObjectShell( USHORT ); + BOOL DeleteObjectShell( USHORT, USHORT ); + void SaveAll( Window* pParent ); +}; + +#endif // #ifndef _SFX_ORGMGR_HXX + + diff --git a/sfx2/inc/progind.hxx b/sfx2/inc/progind.hxx new file mode 100644 index 000000000000..fe08683a68a9 --- /dev/null +++ b/sfx2/inc/progind.hxx @@ -0,0 +1,127 @@ +/************************************************************************* + * + * $RCSfile: progind.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_PROGIND_HXX +#define _SFX_PROGIND_HXX + +#ifndef _COM_SUN_STAR_TASK_XSTATUSINDICATORFACTORY_HPP_ +#include <com/sun/star/task/XStatusIndicatorFactory.hpp> +#endif +#ifndef _COM_SUN_STAR_TASK_XSTATUSINDICATORSUPPLIER_HPP_ +#include <com/sun/star/task/XStatusIndicatorSupplier.hpp> +#endif +#ifndef _COM_SUN_STAR_TASK_XSTATUSINDICATOR_HPP_ +#include <com/sun/star/task/XStatusIndicator.hpp> +#endif +#include <vcl/window.hxx> +#include <vcl/fixed.hxx> +#include <svtools/prgsbar.hxx> +#ifndef _CPPUHELPER_WEAK_HXX_ +#include <cppuhelper/weak.hxx> +#endif +#ifndef _CPPUHELPER_IMPLBASE1_HXX_ +#include <cppuhelper/implbase1.hxx> +#endif + +#include "sfxuno.hxx" + +class SfxStatusInd_Impl : public cppu::WeakImplHelper1< ::com::sun::star::task::XStatusIndicator > +{ + long nValue; + long nRange; + sal_uInt16 nProgressCount; + +friend class SfxPopupStatusIndicator; + SfxPopupStatusIndicator* pWindow; + +public: + + SfxStatusInd_Impl(); + + // XStatusIndicator + virtual void SAL_CALL start(const ::rtl::OUString& aText, sal_Int32 nRange) throw ( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL end(void) throw ( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL setText(const ::rtl::OUString& aText) throw ( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL setValue(sal_Int32 nValue) throw ( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL reset() throw ( ::com::sun::star::uno::RuntimeException ); +}; + +class SfxPopupStatusIndicator : public Window +{ +friend class SfxStatusInd_Impl; + FixedText aTextBar; + ProgressBar aProgressBar; + SfxStatusInd_Impl* pInterface; + +public: + SfxPopupStatusIndicator( Window* pParent ); + ~SfxPopupStatusIndicator(); + + virtual void MakeVisible( sal_Bool bVisible ); + virtual void Resize(); + virtual void Paint( const Rectangle& rRect ); + Size CalcWindowSizePixel(); + ::com::sun::star::task::XStatusIndicator* GetInterface() + { return pInterface; } +}; + + +#endif + diff --git a/sfx2/inc/resmgr.hxx b/sfx2/inc/resmgr.hxx new file mode 100644 index 000000000000..5f6cfe401130 --- /dev/null +++ b/sfx2/inc/resmgr.hxx @@ -0,0 +1,109 @@ +/************************************************************************* + * + * $RCSfile: resmgr.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_RESMGR_HXX +#define _SFX_RESMGR_HXX + +#include "app.hxx" +#include "minarray.hxx" + +class SfxMessageDescription; +class SfxMessageTable; +class Bitmap; + +DECL_PTRARRAY(SfxResMgrArr, ResMgr *, 1, 1); + +// INCLUDE --------------------------------------------------------------- + +class SfxResourceManager +{ + SfxResMgrArr aResMgrArr; + SfxResMgrArr aResMgrBmpArr; + USHORT nEnterCount; + SfxMessageTable* pMessageTable; + +private: + void ClearMsgTable_Impl(); + SfxMessageDescription* MakeDesc_Impl(USHORT); + +public: + SfxResourceManager(); + ~SfxResourceManager(); + + USHORT RegisterResource( const char *pFileName); + void ReleaseResource( USHORT nRegisterId ); + + USHORT RegisterBitmap(const char *pMono, const char *pColor); + + USHORT RegisterBitmap( const char *pSingleFile ); + void ReleaseBitmap( USHORT nRegisterId ); + + Bitmap GetAllBitmap( USHORT nBmpsPerRow ); + + void Enter(); + void Leave(); + SfxMessageDescription* CreateDescription( USHORT nId ); +}; + + +#define SFX_RESMANAGER() SFX_APP()->GetResourceManager() + +#endif + diff --git a/sfx2/inc/sfxbasic.hxx b/sfx2/inc/sfxbasic.hxx new file mode 100644 index 000000000000..4ec7d082a2a3 --- /dev/null +++ b/sfx2/inc/sfxbasic.hxx @@ -0,0 +1,76 @@ +/************************************************************************* + * + * $RCSfile: sfxbasic.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFXBASIC_HXX +#define _SFXBASIC_HXX + +class BasicManager; +class SbMethod; + +//------------------------------------------------------------------ + +SbMethod* SfxQueryMacro( BasicManager* pMgr, const String& rMacro ); + +ErrCode SfxCallMacro( BasicManager* pMgr, const String& rMacro, + SbxArray *pArgs = 0, SbxValue *pRet = 0 ); + + +#endif + diff --git a/sfx2/inc/sfxhelp.hxx b/sfx2/inc/sfxhelp.hxx new file mode 100644 index 000000000000..f8ebb69422d0 --- /dev/null +++ b/sfx2/inc/sfxhelp.hxx @@ -0,0 +1,311 @@ +/************************************************************************* + * + * $RCSfile: sfxhelp.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_HELP_HXX +#define _SFX_HELP_HXX + +#ifndef _BUTTON_HXX //autogen +#include <vcl/button.hxx> +#endif +#ifndef _HELP_HXX //autogen +#include <vcl/help.hxx> +#endif +#include <childwin.hxx> +#include <dockwin.hxx> + +#include <docfac.hxx> +#include <viewfac.hxx> +#include <objsh.hxx> +#include <viewsh.hxx> + +class HelpPI; +class SHelpInfo; +struct SpecialLinkInfo; +class Library; +class SfxPrinter; +class DirEntry; +class SvStringsDtor; + +struct HelpFileInfo +{ + String aFileName; + String aTitle; +}; + + +class SfxHelpPIWrapper : public SfxChildWindow +{ +public: + SfxHelpPIWrapper(Window *pParent, USHORT nId, + SfxBindings *pBindings, SfxChildWinInfo *pInfo); + + SFX_DECL_CHILDWINDOW(SfxHelpPIWrapper); + + virtual BOOL QueryClose(); +}; + +class SfxHelpTipsWrapper : public SfxChildWindow +{ +public: + SfxHelpTipsWrapper(Window *pParent, USHORT nId, + SfxBindings *pBindings, SfxChildWinInfo *pInfo); + + SFX_DECL_CHILDWINDOW(SfxHelpTipsWrapper); +}; + + + +class SfxHelpTipsWindow : public SfxDockingWindow +{ +private: + HelpPI* mpHelpPI; + PushButton maCloseButton; + Window maTipWindow; + CheckBox maCheckBox; + +protected: + DECL_LINK( CloseButtonHdl, Button* ); + DECL_LINK( ShowTip, void* ); + DECL_LINK( CheckBoxHdl, CheckBox* ); + +public: + SfxHelpTipsWindow( SfxBindings* pBindimgs, SfxChildWindow* pChildWin, Window* pParent ); + ~SfxHelpTipsWindow(); + + virtual void FillInfo( SfxChildWinInfo& ) const; + virtual void Resize(); +}; + + + +class SfxHelpPI : public SfxDockingWindow +{ + HelpPI* pHelpPI; + Window* pInnerWindow; + + Timer aTopicJustRequestedTimer; + + ULONG nTip; + CheckBox aTipBox; + + BOOL bInShowMe; + +protected: + virtual void Resize(); + virtual void Paint( const Rectangle& ); + +public: + SfxHelpPI( SfxBindings* pBindimgs, SfxChildWindow* pChildWin, + Window* pParent, USHORT nScale ); + ~SfxHelpPI(); + + void LoadTopic( const String& rFileName, ULONG nId ); + void LoadTopic( ULONG nId ); + void LoadTopic( const String& rKeyword ); + void ResetTopic(); + + BOOL Close(); + + BOOL IsConstructed() const { return ( pHelpPI != 0 ); } + String GetExtraInfo() const; + + HelpPI* GetHelpPI() const { return pHelpPI; } + + virtual void FillInfo( SfxChildWinInfo& ) const; + + void SetTip( ULONG nId ); + ULONG GetTip() const { return nTip; } + void SetTipText( const String& rText ); + + BOOL IsInShowMe() const { return bInShowMe; } + + // Nach F1 fuer einige ms nicht aufgrund von FocusChanged ein anderes Topic laden... + BOOL IsTopicJustRequested() const { return aTopicJustRequestedTimer.IsActive(); } + void SetTopicJustRequested( BOOL bOn ) { if( bOn ) + aTopicJustRequestedTimer.Start(); + else + aTopicJustRequestedTimer.Stop(); } + +#if __PRIVATE + DECL_LINK( TopicChangedHdl_Impl, void* ); + DECL_LINK( SpecialLinkHdl, SpecialLinkInfo* ); + DECL_LINK( TipBoxHdl, CheckBox* ); + DECL_LINK( PIToolboxHdl, ToolBox* ); +#endif +}; + + + +class SfxHelp +{ +public: + static BOOL ShowHelp( ULONG nId, BOOL bShowInHelpAgent, const char* pFileName = 0, BOOL bQuiet = FALSE ); + static BOOL ShowHelp( const String& rKeyword, BOOL bShowInHelpAgent, const char* pFileName = 0 ); + static void ShowHint( ULONG nId ); + static void SetCustomHelpFile( const String& rName ); + static USHORT GetHelpFileInfoCount(); + static HelpFileInfo* GetHelpFileInfo( USHORT n ); +}; + +USHORT ImplSetLanguageGroup( Config& rConfig, const String& rGroupName, BOOL bSearchLanguage ); + + + +#if __PRIVATE + +SV_DECL_VARARR_SORT( SortedULONGs, ULONG, 0, 4 ); +//SV_DECL_PTRARR_DEL( HelpTextCaches, HelpTextCache*, 0, 4 ); + + +class SfxHelp_Impl : public Help, public SfxListener +{ + friend class SfxHelp; + + String aCustomHelpFile; + String aCurHelpFile; // Kurzer Name ohne Pfad + + SHelpInfo* pHelpInfo; // Fr GetHelpText() + +// HelpTextCache* pHelpCache; +// HelpTextCaches aHelpCaches; + + Timer aDialogDetector; + + SortedULONGs* pPIStarterList; + + ULONG nLastDialog; + BOOL bForcedFloatingPI; + + List* pHelpFileInfos; + +private: + BOOL ImplStart( ULONG nHelpId, BOOL bCheckHelpFile, BOOL bChangeHelpFile, BOOL bHelpAgent ); + virtual BOOL Start( ULONG nHelpId ); +#ifndef ENABLEUNICODE + virtual BOOL Start( const String& rKeyWord ); +#else + virtual BOOL Start( const UniString& rKeyWord ); +#endif + void SetCurrentHelpFile( ULONG nId ); + String GetCurrentHelpFile() const { return aCurHelpFile; } + + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + + + inline SortedULONGs* GetPIStarterList(); + void CreatePIStarterList(); + + + DECL_LINK( DialogDetectHdl, Timer* ); + +protected: + void AssertValidHelpDocInfo(); + +public: + + SfxHelp_Impl(); + ~SfxHelp_Impl(); + + static String GetHelpPath(); + static String GetHelpFileName( ULONG nId ); + BOOL CheckHelpFile( BOOL bPrompt ) const; + static BOOL CheckHelpFile( const String& rFilename, BOOL bPrompt ); + + static Window* SearchFocusWindowParent(); + void CheckPIPosition(); + + void SetHelpFile( const String &rHelpFileName, BOOL bAdjustExt = TRUE ); + const String& GetCurHelpFile() const { return aCurHelpFile; } + + XubString GetHelpText( ULONG nHelpId ); + + void GetHelpURLs( const String& rRootURL, SvStringsDtor& rLst ); + void GetBookmarks( SvStringsDtor& rLst ); + void AddBookmark( const String& rName, const String& rURL ); + void RemoveBookmark( const String& rName ); + void RenameBookmark( const String& rOldTitle, const String& rNewTitle ); + + void SlotExecutedOrFocusChanged( ULONG nId, BOOL bSlot, BOOL bAutoStart ); + void EnableTip( ULONG nTip, BOOL bEnable ); + + void ResetPIStarterList(); + + void HelpAgentClosed(); + + void StartHelpPI( ULONG nHelpId, BOOL bSlot, BOOL bTip = FALSE ); + + USHORT GetHelpFileInfoCount(); + HelpFileInfo* GetHelpFileInfo( USHORT n ); + + static String GetConfigDir( BOOL bGetSharedConfig ); + static String GetHelpAgentConfig(); +}; + +inline SortedULONGs* SfxHelp_Impl::GetPIStarterList() +{ + if ( !pPIStarterList ) + CreatePIStarterList(); + return pPIStarterList; +} + +#endif // _PRIVATE + +#endif // #ifndef _SFX_HELP_HXX + diff --git a/sfx2/inc/sfxresid.hxx b/sfx2/inc/sfxresid.hxx new file mode 100644 index 000000000000..f362dc87cdde --- /dev/null +++ b/sfx2/inc/sfxresid.hxx @@ -0,0 +1,92 @@ +/************************************************************************* + * + * $RCSfile: sfxresid.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_SFXRESID_HXX +#define _SFX_SFXRESID_HXX + +#ifndef _STRING_HXX +#include <tools/string.hxx> +#endif + +#ifndef _RESID_HXX //autogen +#include <vcl/resid.hxx> +#endif + +class SfxResId: public ResId +{ +public: + SfxResId( USHORT nId ); +}; + +//============================================================================ +class SfxSimpleResId +{ + String m_sText; + +public: + SfxSimpleResId(USHORT nID); + + String getText() const { return m_sText; } + + operator String() const { return getText(); } +}; + + +#endif diff --git a/sfx2/inc/stbitem.hxx b/sfx2/inc/stbitem.hxx new file mode 100644 index 000000000000..f0e1c60298bb --- /dev/null +++ b/sfx2/inc/stbitem.hxx @@ -0,0 +1,143 @@ +/************************************************************************* + * + * $RCSfile: stbitem.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:24 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFXSTBITEM_HXX +#define _SFXSTBITEM_HXX + +#ifndef _SFXCTRLITEM_HXX +#include "ctrlitem.hxx" +#endif + +class SvStream; +class SvStream; +class SfxModule; + +//------------------------------------------------------------------ + +class StatusBar; +class SfxStatusBarControl; +class SfxBindings; + +typedef SfxStatusBarControl* (*SfxStatusBarControlCtor)( USHORT nId, StatusBar &rStb, SfxBindings & ); + +struct SfxStbCtrlFactory +{ + SfxStatusBarControlCtor pCtor; + TypeId nTypeId; + USHORT nSlotId; + + SfxStbCtrlFactory( SfxStatusBarControlCtor pTheCtor, + TypeId nTheTypeId, USHORT nTheSlotId ): + pCtor(pTheCtor), + nTypeId(nTheTypeId), + nSlotId(nTheSlotId) + {} +}; + +//------------------------------------------------------------------ + +class CommandEvent; +class MouseEvent; +class UserDrawEvent; + +class SfxStatusBarControl: public SfxControllerItem +{ +friend class SfxStatusBar_Impl; + + StatusBar* pBar; + +protected: + virtual void StateChanged( USHORT nSID, SfxItemState eState, + const SfxPoolItem* pState ); + virtual void Click(); + virtual void DoubleClick(); + virtual void Command( const CommandEvent& rCEvt ); + virtual BOOL MouseButtonDown( const MouseEvent & ); + virtual BOOL MouseMove( const MouseEvent & ); + virtual BOOL MouseButtonUp( const MouseEvent & ); + virtual void Paint( const UserDrawEvent &rUDEvt ); + +public: + SfxStatusBarControl( USHORT nId, StatusBar& rBar, SfxBindings & ); + virtual ~SfxStatusBarControl(); + + StatusBar& GetStatusBar() const { return *pBar; } + void CaptureMouse(); + void ReleaseMouse(); + + static SfxStatusBarControl* CreateControl( USHORT nId, StatusBar *pBar, SfxBindings&, SfxModule* ); +}; + +//------------------------------------------------------------------ + +#define SFX_DECL_STATUSBAR_CONTROL() \ + static SfxStatusBarControl* CreateImpl( USHORT nId, StatusBar &rStb, SfxBindings &rBindings ); \ + static void RegisterControl(USHORT nSlotId = 0, SfxModule *pMod=NULL) + +#define SFX_IMPL_STATUSBAR_CONTROL(Class, nItemClass) \ + SfxStatusBarControl* __EXPORT Class::CreateImpl( USHORT nId, StatusBar &rStb, SfxBindings &rBindings ) \ + { return new Class(nId, rStb, rBindings); } \ + void Class::RegisterControl(USHORT nSlotId, SfxModule *pMod) \ + { SFX_APP()->RegisterStatusBarControl( pMod, new SfxStbCtrlFactory( \ + Class::CreateImpl, TYPE(nItemClass), nSlotId ) ); } + + +#endif + diff --git a/sfx2/inc/tplpitem.hxx b/sfx2/inc/tplpitem.hxx new file mode 100644 index 000000000000..1595e3b597f6 --- /dev/null +++ b/sfx2/inc/tplpitem.hxx @@ -0,0 +1,92 @@ +/************************************************************************* + * + * $RCSfile: tplpitem.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:25 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _SFX_TPLPITEM_HXX +#define _SFX_TPLPITEM_HXX + + +#ifndef _STRING_HXX //autogen +#include <tools/string.hxx> +#endif +#ifndef _RTTI_HXX //autogen +#include <tools/rtti.hxx> +#endif +#ifndef _SFXFLAGITEM_HXX //autogen +#include <svtools/flagitem.hxx> +#endif + +class SfxTemplateItem: public SfxFlagItem +{ + String aStyle; +public: + TYPEINFO(); + SfxTemplateItem( USHORT nWhich, + const String &rStyle, + USHORT nMask = 0xffff ); + SfxTemplateItem( const SfxTemplateItem& ); + + const String& GetStyleName() const { return aStyle; } + + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; + virtual BYTE GetFlagCount() const; +}; + +#endif diff --git a/sfx2/inc/viewfac.hxx b/sfx2/inc/viewfac.hxx new file mode 100644 index 000000000000..e5234f1330b6 --- /dev/null +++ b/sfx2/inc/viewfac.hxx @@ -0,0 +1,102 @@ +/************************************************************************* + * + * $RCSfile: viewfac.hxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 16:52:25 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * 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. + * + * 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. + * + * 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 + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef _VIEWFAC_HXX +#define _VIEWFAC_HXX + + +#ifndef _STRING_HXX //autogen +#include <tools/string.hxx> +#endif +#ifndef _RESID_HXX //autogen +#include <vcl/resid.hxx> +#endif + +class SfxViewFrame; +class SfxViewShell; +class Window; + +typedef SfxViewShell* (*SfxViewCtor)(SfxViewFrame*, SfxViewShell*); +typedef void (*SfxViewInit)(); + +// CLASS ----------------------------------------------------------------- +class SfxViewFactory +{ +public: + SfxViewFactory( SfxViewCtor fnC, SfxViewInit fnI, + USHORT nOrdinal, const ResId& aDescrResId ); + ~SfxViewFactory(); + + SfxViewShell *CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh); + void InitFactory(); + + String GetDescription() const + { return String( aDescription ); } + USHORT GetOrdinal() const { return nOrd; } + +private: + SfxViewCtor fnCreate; + SfxViewInit fnInit; + USHORT nOrd; + ResId aDescription; +}; + +#endif + diff --git a/sfx2/prj/d.lst b/sfx2/prj/d.lst new file mode 100644 index 000000000000..0cec2284377d --- /dev/null +++ b/sfx2/prj/d.lst @@ -0,0 +1,148 @@ +mkdir: %_DEST%\inc\sfx2 +mkdir: %_DEST%\inc\enus +mkdir: %_DEST%\inc\fren +mkdir: %_DEST%\inc\dtch +mkdir: %_DEST%\inc\ital +mkdir: %_DEST%\inc\swed +mkdir: %_DEST%\inc\port +mkdir: %_DEST%\inc\dan +mkdir: %_DEST%\inc\span +mkdir: %_DEST%\inc\chinsim +mkdir: %_DEST%\inc\japn +mkdir: %_DEST%\inc\russ +mkdir: %_DEST%\inc\pol + +touch: ..\%__SRC%\misc\sfx2.hid %_DEST%\bin%_EXT%\sfx2.hid + +..\%__SRC%\inc\sfxslots.ilb %_DEST%\inc%_EXT%\sfxslots.ilb +..\%__SRC%\inc\sfxslots.ilb* %_DEST%\inc%_EXT%\sfxslots.ilb* +..\%__SRC%\lib\sfx.lib %_DEST%\lib%_EXT%\sfx.lib +..\%__SRC%\lib\*.so %_DEST%\lib%_EXT%\*.so +..\%__SRC%\lib\*.a %_DEST%\lib%_EXT%\*.a +..\%__SRC%\slb\sfx.lib %_DEST%\lib%_EXT%\xsfx.lib +..\%__SRC%\obj\appctor.obj %_DEST%\lib%_EXT%\xsfxapp.obj +..\%__SRC%\lib\isfx.lib %_DEST%\lib%_EXT%\isfx.lib +..\%__SRC%\lib\debug.lib %_DEST%\lib%_EXT%\sfxdebug.lib +..\%__SRC%\bin\sfx?????.sym %_DEST%\bin%_EXT%\sfx?????.sym +..\%__SRC%\bin\sfx?????.dll %_DEST%\bin%_EXT%\sfx?????.dll +..\%__SRC%\bin\sfx???[0-9][0-9].dll %_DEST%\bin%_EXT%\sfx?????.dll +..\%__SRC%\bin\sfx?????.res %_DEST%\bin%_EXT%\sfx?????.res +..\%__SRC%\bin\sfx?????.sym %_DEST%\bin%_EXT%\sfx?????.sym +..\%__SRC%\misc\sfx?????.map %_DEST%\bin%_EXT%\sfx?????.map +..\%__SRC%\bin\elc?????.dll %_DEST%\bin%_EXT%\elc?????.dll +..\%__SRC%\srs\sfx.srs %_DEST%\res%_EXT%\sfx.srs +..\%__SRC%\srs\sfxslots.srs %_DEST%\res%_EXT%\sfxslots.srs +..\%__SRC%\res\sfx.srs %_DEST%\res%_EXT%\sfx.srs +..\util\svdbt.dll %_DEST%\bin%_EXT%\svdbt.dll +..\%__SRC%\misc\sfx2.csv %_DEST%\inc%_EXT%\sfx2.csv +..\%__SRC%\inc\macropg.hxx %_DEST%\inc%_EXT%\macropg.hxx +..\%__SRC%\bin\odk?????.dll %_DEST%\odk\bin%_EXT%\odk?????.dll +..\%__SRC%\bin\cli?????.dll %_DEST%\odk\bin%_EXT%\cli?????.dll + +hedabu: ..\inc\inettbc.hxx %_DEST%\inc%_EXT%\sfx2\inettbc.hxx +hedabu: ..\inc\accmgr.hxx %_DEST%\inc%_EXT%\sfx2\accmgr.hxx +hedabu: ..\inc\app.hxx %_DEST%\inc%_EXT%\sfx2\app.hxx +hedabu: ..\inc\basedlgs.hxx %_DEST%\inc%_EXT%\sfx2\basedlgs.hxx +hedabu: ..\inc\bindings.hxx %_DEST%\inc%_EXT%\sfx2\bindings.hxx +hedabu: ..\inc\clientsh.hxx %_DEST%\inc%_EXT%\sfx2\clientsh.hxx +hedabu: ..\inc\cfgitem.hxx %_DEST%\inc%_EXT%\sfx2\cfgitem.hxx +hedabu: ..\inc\configmgr.hxx %_DEST%\inc%_EXT%\sfx2\configmgr.hxx +hedabu: ..\inc\chalign.hxx %_DEST%\inc%_EXT%\sfx2\chalign.hxx +hedabu: ..\inc\childwin.hxx %_DEST%\inc%_EXT%\sfx2\childwin.hxx +hedabu: ..\inc\ctrlitem.hxx %_DEST%\inc%_EXT%\sfx2\ctrlitem.hxx +hedabu: ..\inc\dispatch.hxx %_DEST%\inc%_EXT%\sfx2\dispatch.hxx +hedabu: ..\inc\dinfdlg.hxx %_DEST%\inc%_EXT%\sfx2\dinfdlg.hxx +hedabu: ..\inc\dinfedt.hxx %_DEST%\inc%_EXT%\sfx2\dinfedt.hxx +hedabu: ..\inc\docinf.hxx %_DEST%\inc%_EXT%\sfx2\docinf.hxx +hedabu: ..\inc\docfac.hxx %_DEST%\inc%_EXT%\sfx2\docfac.hxx +hedabu: ..\inc\docfile.hxx %_DEST%\inc%_EXT%\sfx2\docfile.hxx +hedabu: ..\inc\docfilt.hxx %_DEST%\inc%_EXT%\sfx2\docfilt.hxx +hedabu: ..\inc\dockwin.hxx %_DEST%\inc%_EXT%\sfx2\dockwin.hxx +hedabu: ..\inc\doctempl.hxx %_DEST%\inc%_EXT%\sfx2\doctempl.hxx +hedabu: ..\inc\doctdlg.hxx %_DEST%\inc%_EXT%\sfx2\doctdlg.hxx +hedabu: ..\inc\event.hxx %_DEST%\inc%_EXT%\sfx2\event.hxx +hedabu: ..\inc\evntconf.hxx %_DEST%\inc%_EXT%\sfx2\evntconf.hxx +hedabu: ..\inc\exchobj.hxx %_DEST%\inc%_EXT%\sfx2\exchobj.hxx +hedabu: ..\inc\expfile.hxx %_DEST%\inc%_EXT%\sfx2\expfile.hxx +hedabu: ..\inc\explorer.hxx %_DEST%\inc%_EXT%\sfx2\explorer.hxx +hedabu: ..\inc\exptypes.hxx %_DEST%\inc%_EXT%\sfx2\exptypes.hxx +hedabu: ..\inc\fcontnr.hxx %_DEST%\inc%_EXT%\sfx2\fcontnr.hxx +hedabu: ..\inc\frame.hxx %_DEST%\inc%_EXT%\sfx2\frame.hxx +hedabu: ..\inc\frameobj.hxx %_DEST%\inc%_EXT%\sfx2\frameobj.hxx +hedabu: ..\inc\frmdescr.hxx %_DEST%\inc%_EXT%\sfx2\frmdescr.hxx +hedabu: ..\inc\frmhtml.hxx %_DEST%\inc%_EXT%\sfx2\frmhtml.hxx +hedabu: ..\inc\frmhtmlw.hxx %_DEST%\inc%_EXT%\sfx2\frmhtmlw.hxx +hedabu: ..\inc\frmload.hxx %_DEST%\inc%_EXT%\sfx2\frmload.hxx +hedabu: ..\inc\genlink.hxx %_DEST%\inc%_EXT%\sfx2\genlink.hxx +hedabu: ..\inc\hintpost.hxx %_DEST%\inc%_EXT%\sfx2\hintpost.hxx +hedabu: ..\inc\interno.hxx %_DEST%\inc%_EXT%\sfx2\interno.hxx +hedabu: ..\inc\inimgr.hxx %_DEST%\inc%_EXT%\sfx2\inimgr.hxx +hedabu: ..\inc\imgmgr.hxx %_DEST%\inc%_EXT%\sfx2\imgmgr.hxx +hedabu: ..\inc\imgdef.hxx %_DEST%\inc%_EXT%\sfx2\imgdef.hxx +hedabu: ..\inc\interno.hxx %_DEST%\inc%_EXT%\sfx2\interno.hxx +hedabu: ..\inc\ipfrm.hxx %_DEST%\inc%_EXT%\sfx2\ipfrm.hxx +hedabu: ..\inc\linkhdl.hxx %_DEST%\inc%_EXT%\sfx2\linkhdl.hxx +hedabu: ..\inc\macrconf.hxx %_DEST%\inc%_EXT%\sfx2\macrconf.hxx +hedabu: ..\inc\macropg.hxx %_DEST%\inc%_EXT%\sfx2\macropg.hxx +hedabu: ..\inc\mailitem.hxx %_DEST%\inc%_EXT%\sfx2\mailitem.hxx +hedabu: ..\inc\topfrm.hxx %_DEST%\inc%_EXT%\sfx2\topfrm.hxx +hedabu: ..\inc\mfldmgr.hxx %_DEST%\inc%_EXT%\sfx2\mfldmgr.hxx +hedabu: ..\inc\mgetempl.hxx %_DEST%\inc%_EXT%\sfx2\mgetempl.hxx +hedabu: ..\inc\mieclip.hxx %_DEST%\inc%_EXT%\sfx2\mieclip.hxx +hedabu: ..\inc\minarray.hxx %_DEST%\inc%_EXT%\sfx2\minarray.hxx +hedabu: ..\inc\minfitem.hxx %_DEST%\inc%_EXT%\sfx2\minfitem.hxx +hedabu: ..\inc\minfstack.hxx %_DEST%\inc%_EXT%\sfx2\minfstack.hxx +hedabu: ..\inc\minstack.hxx %_DEST%\inc%_EXT%\sfx2\minstack.hxx +hedabu: ..\inc\mnuitem.hxx %_DEST%\inc%_EXT%\sfx2\mnuitem.hxx +hedabu: ..\inc\module.hxx %_DEST%\inc%_EXT%\sfx2\module.hxx +hedabu: ..\inc\msg.hxx %_DEST%\inc%_EXT%\sfx2\msg.hxx +hedabu: ..\inc\mnumgr.hxx %_DEST%\inc%_EXT%\sfx2\mnumgr.hxx +hedabu: ..\inc\newstyle.hxx %_DEST%\inc%_EXT%\sfx2\newstyle.hxx +hedabu: ..\inc\new.hxx %_DEST%\inc%_EXT%\sfx2\new.hxx +hedabu: ..\inc\navigat.hxx %_DEST%\inc%_EXT%\sfx2\navigat.hxx +hedabu: ..\inc\msgdescr.hxx %_DEST%\inc%_EXT%\sfx2\msgdescr.hxx +hedabu: ..\inc\msgpool.hxx %_DEST%\inc%_EXT%\sfx2\msgpool.hxx +hedabu: ..\inc\passwd.hxx %_DEST%\inc%_EXT%\sfx2\passwd.hxx +hedabu: ..\inc\prnmon.hxx %_DEST%\inc%_EXT%\sfx2\prnmon.hxx +hedabu: ..\inc\objface.hxx %_DEST%\inc%_EXT%\sfx2\objface.hxx +hedabu: ..\inc\objitem.hxx %_DEST%\inc%_EXT%\sfx2\objitem.hxx +hedabu: ..\inc\objsh.hxx %_DEST%\inc%_EXT%\sfx2\objsh.hxx +hedabu: ..\inc\printer.hxx %_DEST%\inc%_EXT%\sfx2\printer.hxx +hedabu: ..\inc\progress.hxx %_DEST%\inc%_EXT%\sfx2\progress.hxx +hedabu: ..\inc\request.hxx %_DEST%\inc%_EXT%\sfx2\request.hxx +hedabu: ..\inc\saveopt.hxx %_DEST%\inc%_EXT%\sfx2\saveopt.hxx +hedabu: ..\inc\sfx.hrc %_DEST%\inc%_EXT%\sfx2\sfx.hrc +hedabu: ..\inc\sfxdefs.hxx %_DEST%\inc%_EXT%\sfx2\sfxdefs.hxx +hedabu: ..\inc\sfxdir.hxx %_DEST%\inc%_EXT%\sfx2\sfxdir.hxx +hedabu: ..\inc\sfxhelp.hxx %_DEST%\inc%_EXT%\sfx2\sfxhelp.hxx +hedabu: ..\inc\sfxhtml.hxx %_DEST%\inc%_EXT%\sfx2\sfxhtml.hxx +hedabu: ..\inc\sfxsids.hrc %_DEST%\inc%_EXT%\sfx2\sfxsids.hrc +hedabu: ..\inc\shell.hxx %_DEST%\inc%_EXT%\sfx2\shell.hxx +hedabu: ..\inc\stbitem.hxx %_DEST%\inc%_EXT%\sfx2\stbitem.hxx +hedabu: ..\inc\stbmgr.hxx %_DEST%\inc%_EXT%\sfx2\stbmgr.hxx +hedabu: ..\inc\styfitem.hxx %_DEST%\inc%_EXT%\sfx2\styfitem.hxx +hedabu: ..\inc\styledlg.hxx %_DEST%\inc%_EXT%\sfx2\styledlg.hxx +hedabu: ..\inc\tabdlg.hxx %_DEST%\inc%_EXT%\sfx2\tabdlg.hxx +hedabu: ..\inc\tbxctrl.hxx %_DEST%\inc%_EXT%\sfx2\tbxctrl.hxx +hedabu: ..\inc\tbxmgr.hxx %_DEST%\inc%_EXT%\sfx2\tbxmgr.hxx +hedabu: ..\inc\templdlg.hxx %_DEST%\inc%_EXT%\sfx2\templdlg.hxx +hedabu: ..\inc\tplpitem.hxx %_DEST%\inc%_EXT%\sfx2\tplpitem.hxx +hedabu: ..\inc\viewfrm.hxx %_DEST%\inc%_EXT%\sfx2\viewfrm.hxx +hedabu: ..\inc\viewsh.hxx %_DEST%\inc%_EXT%\sfx2\viewsh.hxx +hedabu: ..\inc\viewfac.hxx %_DEST%\inc%_EXT%\sfx2\viewfac.hxx +hedabu: ..\inc\iodlg.hxx %_DEST%\inc%_EXT%\sfx2\iodlg.hxx +hedabu: ..\inc\appuno.hxx %_DEST%\inc%_EXT%\sfx2\appuno.hxx +hedabu: ..\inc\sfxuno.hxx %_DEST%\inc%_EXT%\sfx2\sfxuno.hxx +hedabu: ..\inc\sfxbasemodel.hxx %_DEST%\inc%_EXT%\sfx2\sfxbasemodel.hxx +hedabu: ..\inc\sfxbasecontroller.hxx %_DEST%\inc%_EXT%\sfx2\sfxbasecontroller.hxx +hedabu: ..\inc\unoctitm.hxx %_DEST%\inc%_EXT%\sfx2\unoctitm.hxx +hedabu: ..\inc\objuno.hxx %_DEST%\inc%_EXT%\sfx2\objuno.hxx +hedabu: ..\inc\viewuno.hxx %_DEST%\inc%_EXT%\sfx2\viewuno.hxx +hedabu: ..\inc\misccfg.hxx %_DEST%\inc%_EXT%\sfx2\misccfg.hxx +hedabu: ..\inc\srchitem.hxx %_DEST%\inc%_EXT%\sfx2\srchitem.hxx +hedabu: ..\inc\fontitem.hxx %_DEST%\inc%_EXT%\sfx2\fontitem.hxx +hedabu: ..\inc\xmlmetae.hxx %_DEST%\inc%_EXT%\sfx2\xmlmetae.hxx +hedabu: ..\inc\xmlmetai.hxx %_DEST%\inc%_EXT%\sfx2\xmlmetai.hxx +hedabu: ..\inc\cntids.hrc %_DEST%\inc%_EXT%\sfx2\cntids.hrc +hedabu: ..\inc\basmgr.hxx %_DEST%\inc%_EXT%\sfx2\basmgr.hxx + diff --git a/sfx2/sdi/appslots.sdi b/sfx2/sdi/appslots.sdi new file mode 100644 index 000000000000..d51cb9a994d0 --- /dev/null +++ b/sfx2/sdi/appslots.sdi @@ -0,0 +1,375 @@ +/************************************************************************* +#* +#* $RCSfile: appslots.sdi,v $ +#* +#* Description shell SfxApplication +#* +#* Creation date MI 01/31/1995 +#* last change $Author: hr $ $Date: 2000-09-18 16:52:25 $ +#* $Revision: 1.1.1.1 $ +#* +#* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved. +#* +#************************************************************************/ + +interface Module : Object +[ + Automation = FALSE; +] +{ +} + +interface Application : Module + +/* [Beschreibung] + + Dieses ist die Funktionalit"at jeder SFx-Applikation. Ein solches Objekt + existiert genau einmal pro Applikation. Angesprochen wird es beispiels- + weise "uber 'StarWriter'. + + + [Anmerkungen] + + Die von OLE-Automation gewnschten (optional) Methoden Repeat und Undo + sind von uns hier nicht sinnvoll implementierbar, da Repeat, Undo + und Redo Dokument-spezifisch sind. +*/ + + +[ + Automation = FALSE ; +] +{ + //--------------------------------------------------------------------- + SID_AUTOPILOTMENU // ole(no) api(final/play/rec) + [ + ] + + //--------------------------------------------------------------------- + SID_FORMATMENU // ole(no) api(no) + [ + ] + + //--------------------------------------------------------------------- + SID_HELPMENU // ole(no) api(no) + [ + ] + + //--------------------------------------------------------------------- + SID_PICKLIST // ole(no) api(no) + [ + ] + + //--------------------------------------------------------------------- + SID_MDIWINDOWLIST // ole(no) api(no) + [ + ] + + //--------------------------------------------------------------------- + SID_ABOUT // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_FOCUSURLBOX // ole(no) api(final/play/rec) + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_SETOPTIONS + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_QUITAPP // ole(req) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_HELPINDEX // ole(no) api(final/todo) + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_HELPONHELP // ole(no) api(final/todo) + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_EXTENDEDHELP // ole(no) api(final/play/norec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_HELPBALLOONS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_HELPTIPS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CURRENTTIME // ole(no) api(final/play/norec) + [ + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CURRENTDATE // ole(no) api(final/play/norec) + [ + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_LOADCONFIG // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_SAVECONFIG // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CONFIG // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_TOOLBOXOPTIONS // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CONFIGSTATUSBAR // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CONFIGMENU // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CONFIGACCEL // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CONFIGEVENT // ole(no) api(final/play) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_ORGANIZER // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_ATTR_UNDO_COUNT // ole(no) api(final/play) + [ + ExecMethod = PropExec_Impl ; + StateMethod = PropState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK1 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl + ] + + //--------------------------------------------------------------------- + SID_PICK2 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK3 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK4 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK5 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK6 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK7 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK8 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PICK9 // ole(no) api(no) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BASICSTOP // ole(no) api(final/play/norec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BASICBREAK // ole(no) api(final/play/norec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BROWSE_STOP // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CLEARMEMCACHE + [ + ExecMethod = INetExecute_Impl ; + ] + + //--------------------------------------------------------------------- + SID_LOAD_LIBRARY + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_UNLOAD_LIBRARY + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_ADD_LIBRARY + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_REMOVE_LIBRARY + [ + ExecMethod = MiscExec_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CRASH + [ + ExecMethod = MiscExec_Impl ; + ] +} + + //========================================================================= + +shell SfxApplication + +/* [Beschreibung] + + Dieses ist die Funktionalit"at jeder SFx-Applikation. Ein solches Objekt + existiert genau einmal pro Applikation. Angesprochen wird es beispiels- + weise "uber 'StarWriter'. + + + [Anmerkungen] + + Die von OLE-Automation gewnschten (optional) Methoden Repeat und Undo + sind von uns hier nicht sinnvoll implementierbar, da Repeat, Undo + und Redo Dokument-spezifisch sind. +*/ + +{ + import Application [Automation]; + import Documents "Documents"; + + SID_NEWDOCDIRECT // ole(no) api(no) + [ + ExecMethod = NewDocDirectExec_Impl ; + StateMethod = CreateDocState_Impl ; + ] + + SID_CLOSEDOCS + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] +/* + SID_NEWFRAMESET + [ + ExecMethod = NewFramesetExec_Impl ; + StateMethod = CreateDocState_Impl ; + ] +*/ +} + +shell SfxModule +{ + import Module; +} + +// eof ------------------------------------------------------------------------ + diff --git a/sfx2/sdi/docslots.sdi b/sfx2/sdi/docslots.sdi new file mode 100644 index 000000000000..844ebcc92643 --- /dev/null +++ b/sfx2/sdi/docslots.sdi @@ -0,0 +1,408 @@ +/*========================================================================= + shell SfxObjectShell + + (C) 1994-1995 StarDivision GmbH, Hamburg, Germany + $Author: hr $ $Date: 2000-09-18 16:52:25 $ $Revision: 1.1.1.1 $ + $Logfile: T:/sfx2/sdi/docslots.sdv $ $Workfile: DOCSLOTS.SDI $ +=========================================================================*/ + + + + +interface Documents : Collection +[ + uuid = "61753B60-1114-101D-B8ED-3273768855A7" ; +] +{ + //--------------------------------------------------------------------- + SID_NEWDOC // ole(opt) api(final/play/rec) + [ + ExecMethod = NewDocExec_Impl ; + StateMethod = CreateDocState_Impl ; + ] + //--------------------------------------------------------------------- + SID_OPENDOC // ole(no) api(final/play/rec) + [ + ExecMethod = OpenDocExec_Impl ; + StateMethod = CreateDocState_Impl ; + ] + //--------------------------------------------------------------------- + SID_OPENURL // ole(no) api(no) + [ + ExecMethod = OpenDocExec_Impl ; + StateMethod = CreateDocState_Impl ; + ] + + SID_CURRENT_URL // ole(no) api(no) + [ + StateMethod = CreateDocState_Impl ; + ] + //--------------------------------------------------------------------- + SID_OPENTEMPLATE // ole(no) api(final/play/rec) + [ + ExecMethod = OpenDocExec_Impl ; + StateMethod = CreateDocState_Impl ; + ] + //--------------------------------------------------------------------- + SID_CLOSEDOCS // ole(req) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + //--------------------------------------------------------------------- + SID_SAVEDOCS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] +} + + //========================================================================= + +interface DocumentInfo : Object +[ + uuid = "11A1EDE0-1308-101D-B8ED-3273768855A7" +] +{ + //--------------------------------------------------------------------- + SID_DOCINFO // ole(no) api(final/play) + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + BOOL Load SID_DOCINFO_LOAD ( String FileName SID_FILE_NAME ) ; + //--------------------------------------------------------------------- + BOOL Save SID_DOCINFO_SAVE () ; +} + + //========================================================================= + +interface Document : Object +[ + Automation = FALSE ; +] +{ + //--------------------------------------------------------------------- + String Name // ole(no) api(final/play/norec) + [Readonly;] + //--------------------------------------------------------------------- + SbxObject UNO SID_UNO // ole(no) api(final/play/norec) + [Readonly;] + //--------------------------------------------------------------------- + SID_DOCTITLE // ole(opt) api(final/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOCPATH // ole(req) api(final/play/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOCFULLNAME // ole(req) api(final/play/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_CLOSEDOC // ole(req) api(final/play/rec) + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_CLOSING // ole(no) api(final/play/norec) + [ + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ACTIVATE // ole(no) api(final/play/norec) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_CREATEDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_OPENDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_PREPARECLOSEDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_CLOSEDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_SAVEDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_SAVEASDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + + SID_ON_SAVEDOCDONE // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + + //--------------------------------------------------------------------- + SID_ON_SAVEASDOCDONE // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_ACTIVATEDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_DEACTIVATEDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_ON_PRINTDOC // ole(no) api(final/play) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SfxObjectItem Module SID_ACTIVEMODULE + [ + StateMethod = StateProps_Impl ; + ] +} + +interface OfficeDocument : Document +[ + Automation = FALSE +] +{ + //--------------------------------------------------------------------- + SbxObject DocumentInfo // ole(no) api(final/plac/norec) + [ + Readonly ; + ] + //--------------------------------------------------------------------- + SID_DOCINFO_AUTHOR // ole(opt) api(todo) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOCINFO_COMMENTS // ole(opt) api(todo) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOCINFO_KEYWORDS // ole(opt) api(todo) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOC_READONLY // ole(opt) api(final/play/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOC_SAVED // ole(req) api(final/play/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOC_MODIFIED // ole(no) api(final/noplay/norec) + [ + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_MODIFIED // ole(no) api(final/noplay/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_SAVEDOC // ole(req) api(final/play/rec) + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_SAVEASDOC // ole(req) api(final/play/rec) + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_SAVEASURL // ole(no) api() + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOCTEMPLATE // ole(no) api(final/play/rec) + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] + //--------------------------------------------------------------------- + SID_PRINTDOC //ole(req) api(final/play/norec) + [ + ExecMethod = PrintExec_Impl ; + StateMethod = NoState ; + ] + //--------------------------------------------------------------------- + SID_PRINTOUT // ole(opt) api(final/play/norec) + [ + ExecMethod = PrintExec_Impl ; + StateMethod = PrintState_Impl ; + ] + //--------------------------------------------------------------------- + SID_DOC_LOADING // ole(no) api(final/play/norec) + [ + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_IMG_LOADING // ole(no) api(final/play/norec) + [ + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_PLAYMACRO // ole(no) api(final/play/norec) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + SID_VERSION + [ + ExecMethod = ExecFile_Impl; + StateMethod = GetState_Impl; + ] +} + + //========================================================================= + +shell SfxObjectShell + +/* [Beschreibung] + + Funktionalit"at aller 'Dokumente' in SFx-Applikationen. Angesprochen + werden diese Objekte entweder als 'ActiveDocument' oder mit dem + Namen des Dokuments (i.d.R. der Dateiname) ohne Pfad in eckigen + Klammern (z.B. als '[unbenannt1]' oder '[brief6.sdw]'). +*/ + + + + +{ + import OfficeDocument [Automation]; + import DocumentInfo ".DocumentInfo"; + //--------------------------------------------------------------------- + SID_THISDOCUMENT // ole(no) api(no) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_THISWINDOW // ole(no) api(no) + [ + ExecMethod = ExecProps_Impl ; + StateMethod = StateProps_Impl ; + ] + //--------------------------------------------------------------------- + SID_FILE_NAME // ole(no) api(final/play/rec) + [ + StateMethod = GetState_Impl ; + ] + SID_DOCINFO_TITLE // ole(no) api(final/play/rec) + [ + StateMethod = GetState_Impl ; + ] +} ; + +/*------------------------------------------------------------------------- + + $Log: not supported by cvs2svn $ + Revision 1.82 2000/07/26 19:10:04 mba + LoadLibrary only in App + + Revision 1.81 2000/03/09 15:34:31 mba + #70338#: use SID_CURRENT_URL / CurrentURL + + Revision 1.80 1999/10/06 15:19:52 mba + #68854#: Events nach Speichern + + Revision 1.79 1998/06/23 10:30:40 MBA + SID_VERSION + + + Rev 1.78 23 Jun 1998 12:30:40 MBA + SID_VERSION + + Rev 1.77 12 Jun 1998 15:56:06 MI + UNO-Objekt Zugriff + + Rev 1.76 13 Nov 1997 12:50:08 MBA + Save an DocInfo ohne Parameter + + Rev 1.75 28 Oct 1997 15:33:24 MBA + Bugfix #45146#: Author, Comments und Keywords implementiert + + Rev 1.74 04 Sep 1997 13:20:06 MBA + OfficeDocument eingefuehrt + + Rev 1.72 28 Aug 1997 12:20:44 MBA + Neue Interface-Namen + + Rev 1.71 05 Aug 1997 17:36:36 MI + #42439# Module-Property war kaputt-gespielt + + Rev 1.70 08 Jul 1997 19:34:36 MI + Flags bei ObjShells: InCloseEvent+HiddenLocked (#40060#) + + Rev 1.69 03 Jul 1997 16:45:28 MBA + SID_MODIFIED + + Rev 1.68 01 Jul 1997 12:45:54 MBA + LOAD/UNLOAD/ADD/REMOVE-Library + + Rev 1.67 01 Jul 1997 12:38:32 MI + Modified-Property setzbar + + Rev 1.66 12 May 1997 13:53:30 MBA + Seitenansicht raus + +-------------------------------------------------------------------------*/ + + + + diff --git a/sfx2/sdi/frmslots.sdi b/sfx2/sdi/frmslots.sdi new file mode 100644 index 000000000000..353a418aa2a9 --- /dev/null +++ b/sfx2/sdi/frmslots.sdi @@ -0,0 +1,696 @@ +/*========================================================================= + shell SfxViewFrame + + (C) 1994-1995 StarDivision GmbH, Hamburg, Germany + $Author: hr $ $Date: 2000-09-18 16:52:25 $ $Revision: 1.1.1.1 $ + $Logfile: T:/sfx2/sdi/frmslots.sdv $ $Workfile: FRMSLOTS.SDI $ +=========================================================================*/ + +interface Window : Object +[ + Automation = FALSE ; +] +{ + SID_CUSTOMIZETOOLBOX // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //---------------------------------------------------------------------- + SID_HYPERLINK_INSERT + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //---------------------------------------------------------------------- + SID_HYPERLINK_DIALOG + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //---------------------------------------------------------------------- + SID_NAVIGATOR // status(final|play) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //--------------------------------------------------------------------- + SID_SHOW_BROWSER // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //--------------------------------------------------------------------- + SID_NEXTWINDOW + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_PREVWINDOW + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BROWSER // ole(no) api() + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //--------------------------------------------------------------------- + SID_PARTWIN // ole(no) api() + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //--------------------------------------------------------------------- + SID_MAIL_CHILDWIN // ole(no) api() + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + SID_TIPWINDOW + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + //--------------------------------------------------------------------- + SID_SEARCH_DLG // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + //--------------------------------------------------------------------- + SID_HELP_PI // ole(no) api(final/play/rec) + [ + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + SID_TOGGLECOMMONTASKBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + SID_TOGGLENAVBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + SID_TOGGLEMACROBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + SID_TOGGLEOPTIONBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_TOGGLEFUNCTIONBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_TOGGLEOBJECTBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_TOGGLETOOLBAR // ole(no) api(final/play/rec) + [ + ExecMethod = ToolboxExec_Impl ; + StateMethod = ToolboxState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + SID_STYLE_DESIGNER // ole(no) api(final/play/rec) + [ + ReadOnlyDoc = FALSE ; + ExecMethod = ChildWindowExecute ; + StateMethod = ChildWindowState ; + ] + + // Window.Document + SID_DOCUMENT + [ + StateMethod = PropState_Impl; + ] + + // Window.GetTopWindow + SID_TOPWINDOW + [ + StateMethod = PropState_Impl; + ] + + // Window.ParentWindow + SID_PARENTFRAME + [ + StateMethod = PropState_Impl; + ] + + // Window.IsTopWindow + SID_ISTOP + [ + StateMethod = PropState_Impl; + ] + + // Window.GetActiveFrameWindow + SfxObjectItem ActiveFrameWindow SID_ACTIVEWINDOW + [ + StateMethod = PropState_Impl; + ] + + // Window.GetFrameCount + SID_FRAMECOUNT + [ + StateMethod = PropState_Impl; + ] + + // Window.GetFrameWindow( "Name" ) + SID_FILLFRAME + [ + ExecMethod = ExecView_Impl; + ] + + // Nur f"ur Gestalter: Slot mu\s vorhanden sein + SID_STYLE_NEW + [ + Export = FALSE; + ] + + // Nur f"ur Gestalter: Slot mu\s vorhanden sein + SID_STYLE_DRAGHIERARCHIE + [ + Export = FALSE; + ] + + SID_CLEARHISTORY // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + + SID_UNDO // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + + SID_REDO // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + + SID_REPEAT // ole(no) api(final/play/rec) + [ + ExecMethod = ExecHistory_Impl ; + StateMethod = StateHistory_Impl ; + ] + + // Basic-only property Window.Selection + SbxObject Selection SID_SELECTION // ole(no) api(final/play/rec) + [ + ] + + // Basic-only property: Window.View + SbxObject View SID_VIEW + [ + ] + + // Stringlist mit den Verben( SFX only ) + SID_OBJECT // ole(no) api(no) + [ + StateMethod = GetState_Impl ; + ] + + // F"ur slots.sdc-Macros eingebaut + SfxStringItem ConvertString SID_CONVERTSTRING + ( + SfxStringItem Which SID_CONVERTSTRING + ) + [ + ExecMethod = ExecView_Impl ; + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Synchron; + Container = TRUE, + PlugComm = FALSE, + Export = TRUE, + Hidden = TRUE, + IsCollection = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_APPLICATION; + ] +/* + SfxStringItem GetHelpText SID_HELP_STRING + ( + SfxUInt16Item Which SID_CONFIGITEMID + ) + [ + ExecMethod = ExecView_Impl ; + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Synchron; + Container = TRUE, + PlugComm = FALSE, + Export = TRUE, + Hidden = TRUE, + IsCollection = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_APPLICATION; + ] + + SfxStringItem GetFunctionName SID_METHODNAME + ( + SfxUInt16Item Which SID_CONFIGITEMID + ) + [ + ExecMethod = ExecView_Impl ; + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Synchron; + Container = TRUE, + PlugComm = FALSE, + Export = TRUE, + Hidden = TRUE, + IsCollection = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_APPLICATION; + ] + + SfxBoolItem IsToolboxConfig SID_CONFIGITEMID + ( + SfxUInt16Item Which SID_CONFIGITEMID + ) + [ + ExecMethod = ExecView_Impl ; + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Synchron; + Container = TRUE, + PlugComm = FALSE, + Export = TRUE, + Hidden = TRUE, + IsCollection = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_APPLICATION; + ] +*/ +} + +interface BrowseWindow : Window +[ + Automation = FALSE ; +] +{ + SID_ACTIVATE // ole(no) api(final/play/rec) + [ + // Implementierung in Subklassen + ] + + SID_NEWWINDOW // ole(no) api(play/rec) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + + SID_EDITDOC // ole(?opt) api(play/rec) + [ + ExecMethod = ExecReload_Impl ; + StateMethod = StateReload_Impl ; + ] + + SID_RELOAD // ole(?opt) api(play/rec) + [ + ExecMethod = ExecReload_Impl ; + StateMethod = StateReload_Impl ; + ] + + SID_VIEWSHELL // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + + SID_VIEWSHELL0 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + + SID_VIEWSHELL1 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + + SID_VIEWSHELL2 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + + SID_VIEWSHELL3 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] + + SID_VIEWSHELL4 // ole(no) api(no) + [ + ExecMethod = ExecView_Impl ; + StateMethod = StateView_Impl ; + ] +} + +interface TopWindow : BrowseWindow +[ + Automation = FALSE ; +] +{ + SID_WIN_FULLSCREEN // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + SID_FRAMETITLE // ole(no) api(play/rec) + [ + StateMethod = StateView_Impl ; + ] + + //--------------------------------------------------------------------- + SID_WIN_POSSIZE // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + //---------------------------------------------------------------------{ + SID_OPTIMIZEWIN // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + //---------------------------------------------------------------------{ + SID_WIN_MINIMIZED // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + //---------------------------------------------------------------------{ + SID_WIN_MAXIMIZED // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + //---------------------------------------------------------------------{ + SID_RESTOREWIN // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CLOSEWIN // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BROWSE_FORWARD // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BROWSE_BACKWARD // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_BROWSE_HOME // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CREATELINK // ole(no) api() + [ + ExecMethod = INetExecute_Impl ; + StateMethod = INetState_Impl ; + ] +} + + //========================================================================= + +shell SfxViewFrame + +/* [Beschreibung] + + Funktionalit"at jedes Fensters, in dem spezifische Views (Ansichten) + eines Dokuments dargestellt werden. Angesprochen werden diese Objekte + entweder als 'ActiveWindow' oder mit dem Namen des Dokuments (i.d.R. + der Dateiname) ohne Pfad aber mit der Nummer des Fensters, alles in eckigen Klammern (z.B. als + '[unbenannt1:1]' oder '[brief6.sdw:4]'). Im Ggs. zur Anzeige in der + Caption-Bar (solange nur ein Fenster f"ur das betreffende Dokument + existiert) darf die Nummer niemals ausgelassen werden. Die Numerierung + beginnt bei 1 und ist f"ur die Existenz des Fensters stabil. + + + [Anmerkung] + + Im StarWriter ist das Verhalten einiger dieser Funktionen nicht definiert, + da dieser seinen eigenen History-Mechanismus hat. +*/ + + +{ + import BrowseWindow [Automation]; +} + +/*------------------------------------------------------------------------- + + $Log: not supported by cvs2svn $ + Revision 1.48 2000/09/12 10:42:32 mba + ChildWindow slot all in SfxViewFrame + + Revision 1.47 2000/09/01 17:32:04 mba + some slots moved from appslots + + Revision 1.46 1998/07/29 09:42:28 MI + #53054# Bookmarks auch ohne alten Explorer ablegbar + + + Rev 1.45 29 Jul 1998 11:42:28 MI + #53054# Bookmarks auch ohne alten Explorer ablegbar + + Rev 1.44 16 Jan 1998 11:34:08 MBA + Topframe und Taskframe zusammengefasst + + Rev 1.43 13 Nov 1997 12:51:56 MBA + Property Name gehoert in base class + + Rev 1.42 28 Aug 1997 12:22:30 MBA + Neue Interface-Namen; BrowseWindow + + Rev 1.40 28 May 1997 15:14:42 TLX + DOCFRAME war doppelt + + Rev 1.39 13 May 1997 17:52:40 MBA + SID_VIEW fuer OLE-Automation + + Rev 1.38 09 May 1997 18:15:16 MBA + Neue Slots fuer Frames-Handling ( BASIC, C-API ) + + Rev 1.37 06 Apr 1997 12:38:48 NF + syntax + + Rev 1.36 05 Apr 1997 20:51:16 NF + Syntax + + Rev 1.35 06 Mar 1997 12:38:06 MBA + Slots fuer Bmp-Listen + + Rev 1.34 04 Mar 1997 12:37:54 MI + SID_TOPWINDOW + + Rev 1.33 23 Feb 1997 21:20:50 MBA + SID_RELOAD, SID_EDITDOC raus + + Rev 1.32 18 Dec 1996 15:57:42 MI + SID_LASTVERSIONDOC + + Rev 1.31 09 Dec 1996 12:04:50 MBA + Helptext,Configname raus + + Rev 1.30 06 Dec 1996 10:44:34 MI + Document-Property (SID_DOCUMENT) + + Rev 1.29 28 Nov 1996 09:58:58 MBA + Voruebergehend: SID_CONVERTSTRING + + Rev 1.28 06 Nov 1996 10:55:50 TLX + Gestalter Defaults + + Rev 1.27 24 Oct 1996 13:49:36 MI + #32691# (OLE)-Object-Menu auch in plugins enablen + + Rev 1.26 22 Oct 1996 20:10:16 HJS + merge 22.10.96 + + Rev 1.25 08 Oct 1996 14:30:36 HJS + merge 08.10.96 + + Rev 1.24 24 Sep 1996 16:37:54 MBA + SID_FRAME_TITLE in newslots.idl + + Rev 1.23 12 Sep 1996 17:32:28 TLX + FRAMETITLE + + Rev 1.22 12 Sep 1996 15:44:50 MBA + + + Rev 1.21 11 Sep 1996 13:09:58 TLX + LASTVERSION und EDITDOC in den ViewFrame + + Rev 1.20 09 Sep 1996 16:42:40 MBA + Neue Slotfiles + + Rev 1.19 30 Aug 1996 13:42:26 HJS + eu... + + Rev 1.18 27 Aug 1996 18:55:42 MBA + SID_VIEWSHELL etc. an ViewFrame + + Rev 1.17 30 Jul 1996 15:41:02 MI + fix #29879# Undo/Redo waren beim asynch laden enabled + + Rev 1.16 16 Jul 1996 13:14:04 TLX + PlugComm eingetragen + + Rev 1.15 12 Jul 1996 13:51:30 MI + fix #29412# Redo/Repeat waren Method+R/W-Prop daher GPF aus BASIC + + Rev 1.14 08 Jul 1996 16:50:16 HJS + uebersetzung + + Rev 1.13 30 Mar 1996 21:13:40 MI + Selection-Object jetzt per Property (effizienter) + + Rev 1.12 20 Feb 1996 17:29:38 MI + Selection-Property + + Rev 1.11 12 Dec 1995 18:50:54 MI + Ableitung von _Object + + Rev 1.10 05 Dec 1995 10:46:30 MI + Fix #22800 Rechtschreibfehler + + Rev 1.9 05 Dec 1995 09:36:16 MI + interne Interfaces nicht exportieren + + Rev 1.8 28 Nov 1995 17:34:16 MI + neue Tags + + Rev 1.7 23 Nov 1995 17:29:56 MI + neue IDL + + Rev 1.6 18 Oct 1995 09:00:48 MI + Properties und Methoden duerfen nicht den gleichen Namen haben + + Rev 1.5 17 Oct 1995 16:14:52 KL + Ueberarbeitung nach MS-Standard + + Rev 1.4 11 Oct 1995 18:16:02 MI + undo: MS-kompatible Namen + + Rev 1.3 06 Oct 1995 15:51:08 MI + HelpTexts scharfgeschaltet + + Rev 1.2 29 Aug 1995 14:06:52 MI + Checkliste eingebaut + +-------------------------------------------------------------------------*/ + + + + + diff --git a/sfx2/sdi/makefile.mk b/sfx2/sdi/makefile.mk new file mode 100644 index 000000000000..2e489d83cd7c --- /dev/null +++ b/sfx2/sdi/makefile.mk @@ -0,0 +1,105 @@ +#************************************************************************* +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1.1.1 $ +# +# last change: $Author: hr $ $Date: 2000-09-18 16:52:25 $ +# +# The Contents of this file are made available subject to the terms of +# either of the following licenses +# +# - GNU Lesser General Public License Version 2.1 +# - Sun Industry Standards Source License Version 1.1 +# +# Sun Microsystems Inc., October, 2000 +# +# GNU Lesser General Public License Version 2.1 +# ============================================= +# Copyright 2000 by Sun Microsystems, Inc. +# 901 San Antonio Road, Palo Alto, CA 94303, USA +# +# 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. +# +# 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. +# +# 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 +# +# +# Sun Industry Standards Source License Version 1.1 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.1 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://www.openoffice.org/license.html. +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2000 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +# Contributor(s): _______________________________________ +# +# +# +#************************************************************************* + +PRJ=.. + +PRJNAME=sfx2 +TARGET=sfxslots +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# --- Settings ----------------------------------------------------- + +.INCLUDE : svpre.mk +.INCLUDE : settings.mk +.INCLUDE : sv.mk + +SDINAME=$(TARGET) +SDIEXPORT=newslots +SIDHRCNAME=sfx.hrc + +# --- Files -------------------------------------------------------- + +SVSDIDEPEND= \ + $(PRJ)$/inc$/sfxsids.hrc \ + sfx.sdi \ + appslots.sdi \ + sfxslots.sdi \ + options.sdi \ + progress.sdi \ + docslots.sdi \ + ipfslots.sdi \ + mdislots.sdi \ + viwslots.sdi \ + pinslots.sdi \ + frsslots.sdi \ + object.sdi \ + frmslots.sdi \ + genslots.sdi \ + newslots.sdi + +SRCFILES = \ + sfxslots.src + +# --- Targets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/sfx2/sdi/mdislots.sdi b/sfx2/sdi/mdislots.sdi new file mode 100644 index 000000000000..e177b74ce674 --- /dev/null +++ b/sfx2/sdi/mdislots.sdi @@ -0,0 +1,404 @@ +/*========================================================================= + shell SfxMDIFrame + + (C) 1994-1995 StarDivision GmbH, Hamburg, Germany + $Author: hr $ $Date: 2000-09-18 16:52:25 $ $Revision: 1.1.1.1 $ + $Logfile: T:/sfx2/sdi/mdislots.sdv $ $Workfile: MDISLOTS.SDI $ +=========================================================================*/ + + + + +interface Windows : Collection +[ + uuid = "7ADC8720-1114-101D-B8ED-3273768855A7" ; +] +{ + //--------------------------------------------------------------------- + SID_CASCADEWINS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_TILEWINS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_HORIZONTALWINS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_VERTICALWINS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_ARRANGEICONS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_CLOSEWINS // ole(opt) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] + + //--------------------------------------------------------------------- + SID_MINIMIZEWINS // ole(no) api(final/play/rec) + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] +} + + +interface Task : Object +[ + uuid = "FC02CBE1-8D8A-11d1-89CC-00A0249D57BE" ; + +] +{ + //----------------------------------------------------------------- + SfxVoidItem CloseActiveWindow SID_CLOSEWIN () + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + //--------------------------------------------------------------------- + SID_FLOATING_TASK + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + //--------------------------------------------------------------------- + SID_INSERT_TASKFRAME + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + //--------------------------------------------------------------------- + SID_TASK_ALWAYSVISIBLE + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + //--------------------------------------------------------------------- + SfxBoolItem Tile SID_TILEDOCKWINS // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + + //--------------------------------------------------------------------- + SfxBoolItem ArrangeHorizontal SID_HORIZONTALDOCKWINS // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + + //--------------------------------------------------------------------- + SfxBoolItem ArrangeVertical SID_VERTICALDOCKWINS // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + + SID_ACTIVEWINDOW + [ + StateMethod = State_Impl; + ] + + SID_CLOSETASK + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + + SID_NEXTWINDOW + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] + + SID_PREVWINDOW + [ + ExecMethod = Exec_Impl ; + StateMethod = State_Impl ; + ] +} + +interface TaskPartWindow : TopWindow +[ + uuid = "A5EEDEF0-9CA3-11D1-AA41-00A0249D57BE"; +] +{ + // Window.Task + SID_TASK + [ + StateMethod = GetState_Impl; + ] +} + + //========================================================================= + +shell SfxTopViewFrame : SfxViewFrame + +/* [Beschreibung] + + Funktionalit"at jedes MDI-Fensters, in dem spezifische Views (Ansichten) + eines Dokuments dargestellt werden. Angesprochen werden diese Objekte + entweder als 'ActiveWindow' oder mit dem Namen des Dokuments (i.d.R. + der Dateiname) ohne Pfad aber mit der Nummer des Fensters, alles in eckigen Klammern (z.B. als + '[unbenannt1:1]' oder '[brief6.sdw:4]'). Im Ggs. zur Anzeige in der + Caption-Bar (solange nur ein Fenster f"ur das betreffende Dokument + existiert) darf die Nummer niemals ausgelassen werden. Die Numerierung + beginnt bei 1 und ist f"ur die Existenz des Fensters stabil. +*/ +{ + import TaskPartWindow [Automation]; + + // Slot ist schon in base interface, Exec/State-Methoden sind spezifisch + SID_ACTIVATE // ole(no) api(final/play/rec) + [ + ExecMethod = Exec_Impl ; + StateMethod = GetState_Impl ; + ] + + // Mu\s einfach nur drin sein, damit nicht disabled + SID_TOPDOC + [ + ] +} + +shell SfxExternalTopViewFrame_Impl : SfxViewFrame + +/* [Beschreibung] + + Funktionalit"at jedes MDI-Fensters, in dem spezifische Views (Ansichten) + eines Dokuments dargestellt werden. Angesprochen werden diese Objekte + entweder als 'ActiveWindow' oder mit dem Namen des Dokuments (i.d.R. + der Dateiname) ohne Pfad aber mit der Nummer des Fensters, alles in eckigen Klammern (z.B. als + '[unbenannt1:1]' oder '[brief6.sdw:4]'). Im Ggs. zur Anzeige in der + Caption-Bar (solange nur ein Fenster f"ur das betreffende Dokument + existiert) darf die Nummer niemals ausgelassen werden. Die Numerierung + beginnt bei 1 und ist f"ur die Existenz des Fensters stabil. +*/ +{ + import TopWindow [Automation]; + + // Slot ist schon in base interface, Exec/State-Methoden sind spezifisch + SID_ACTIVATE // ole(no) api(final/play/rec) + [ +// ExecMethod = Exec_Impl ; +// StateMethod = GetState_Impl ; + ] + + // Mu\s einfach nur drin sein, damit nicht disabled + SID_TOPDOC + [ + ] +} + +shell SfxTask +{ + import Task [Automation]; +} + +/*------------------------------------------------------------------------- + + $Log: not supported by cvs2svn $ + Revision 1.66 1999/02/09 16:36:54 MBA + Fix #61564#: ArrangeSlots ohne Toggle + + + Rev 1.65 09 Feb 1999 17:36:54 MBA + Fix #61564#: ArrangeSlots ohne Toggle + + Rev 1.64 20 Jan 1999 11:09:00 MBA + Fix #58947#: eigene Slots fuer Task-Arrange + + Rev 1.63 18 Dec 1998 18:06:08 MBA + Fix #58947#: Next/PrevWindow + + Rev 1.62 18 May 1998 13:31:48 MBA + ExternalTopViewFrame + + Rev 1.61 04 Feb 1998 11:11:14 MBA + Import korrigiert + + Rev 1.60 04 Feb 1998 10:45:20 MBA + Interface TaskPartWindow, neue TaskSlots + + Rev 1.59 29 Jan 1998 10:07:20 MBA + SID_INSERT_FRAME jetzt SID_INSERT_TASKFRAME + + Rev 1.58 26 Jan 1998 11:11:14 MBA + Neuer Slot SID_INSERT_FRAME + + Rev 1.57 21 Jan 1998 09:53:22 MBA + Neue TaskSlots + + Rev 1.56 19 Jan 1998 15:17:34 MBA + SID_SPLIT_TASK... + + Rev 1.55 16 Jan 1998 11:33:50 MBA + SfxTopViewFrame, SfxTask + + Rev 1.54 13 Nov 1997 12:49:32 MBA + Property Name gehoert in base class + + Rev 1.53 28 Aug 1997 12:23:34 MBA + Neue Interface-Namen + + Rev 1.52 04 Jun 1997 12:16:30 PB + rmv: alte Slots + + Rev 1.51 23 Feb 1997 21:20:02 MBA + SID_RELOAD, SID_EDITDOC + + Rev 1.50 19 Feb 1997 16:42:08 MBA + SID_TOPDOC + + Rev 1.49 09 Dec 1996 12:06:30 MBA + Helptext,Configname raus + + Rev 1.48 24 Oct 1996 13:49:34 MI + #32691# (OLE)-Object-Menu auch in plugins enablen + + Rev 1.47 22 Oct 1996 20:10:18 HJS + merge 22.10.96 + + Rev 1.46 16 Oct 1996 15:14:50 MBA + SID_EDIT_FRAMESET entfernt + + Rev 1.45 08 Oct 1996 14:30:38 HJS + merge 08.10.96 + + Rev 1.44 12 Sep 1996 18:19:56 TLX + State_Impl -> StateView_Impl + + Rev 1.43 12 Sep 1996 18:13:06 TLX + NEWWINDOW in Window + + Rev 1.42 12 Sep 1996 15:44:42 MBA + + + Rev 1.41 11 Sep 1996 13:10:10 TLX + LASTVERSION und EDITDOC in den ViewFrame + + Rev 1.40 09 Sep 1996 16:42:48 MBA + Neue Slotfiles + + Rev 1.39 05 Sep 1996 12:49:10 WP + Mergefehler + + Rev 1.38 30 Aug 1996 13:41:40 HJS + eu... + + Rev 1.38 30 Aug 1996 13:39:40 HJS + + Rev 1.37 27 Aug 1996 18:55:30 MBA + SID_VIEWSHELL etc. an ViewFrame + + Rev 1.36 19 Aug 1996 11:48:38 TLX + Neuer SuperCache Mode + + Rev 1.35 12 Aug 1996 15:36:08 MBA + SID_EDIT_FRAMESETS kein ReadOnlyDoc-Slot + + Rev 1.34 03 Aug 1996 09:13:12 EL + SID_CREATELINK_INSELECTED + + Rev 1.33 30 Jul 1996 15:05:28 MI + fix #29621# Ablegen von Bookmarks bei unbenanntem Doc + + Rev 1.32 24 Jun 1996 18:07:34 MI + fix #28983# 'bearbeiten' falsch geschrieben + + Rev 1.31 21 Jun 1996 14:16:36 MBA + SID_RESTOREWIN + + Rev 1.30 14 Jun 1996 16:02:14 MBA + ConfigName fuer SID_EDIT_FRAMESET + + Rev 1.29 06 Jun 1996 18:01:28 MBA + New SID_EDIT_FRAMESET + + Rev 1.28 28 May 1996 16:36:56 MBA + Neue INET-Slots + + Rev 1.27 11 Mar 1996 10:32:08 MI + SID_EDITDOC + + Rev 1.26 09 Mar 1996 17:21:24 MI + kein OpenUrl am ViewFrame + + Rev 1.25 28 Feb 1996 21:34:52 MI + SID_OPENURL + + Rev 1.24 17 Jan 1996 10:43:06 MI + Windows.Close mit Returnwert (Grosskunden) + + Rev 1.23 11 Jan 1996 18:46:30 MI + fix #24226# Groessenaenderungen relativ Recorden + + Rev 1.22 15 Dec 1995 19:06:32 MI + Area etc. Absolut recorden + + Rev 1.21 13 Dec 1995 14:32:14 MI + Name-Property explizit + + Rev 1.20 12 Dec 1995 18:50:32 MI + Windows ohne Coll... + + Rev 1.19 07 Dec 1995 12:58:18 MI + Area + + Rev 1.18 06 Dec 1995 21:56:50 MI + Windows + + Rev 1.17 05 Dec 1995 09:36:10 MI + interne Interfaces nicht exportieren + + Rev 1.16 04 Dec 1995 19:09:36 MI + Minimized/Maximized + + Rev 1.15 03 Dec 1995 11:54:04 MI + interface Window + + Rev 1.14 30 Nov 1995 10:34:20 MI + SwitchViewShell nicht exportiert + + Rev 1.13 28 Nov 1995 17:34:18 MI + neue Tags + + Rev 1.12 23 Nov 1995 17:30:14 MI + neue IDL + + Rev 1.11 17 Oct 1995 16:14:54 KL + Ueberarbeitung nach MS-Standard + + Rev 1.10 06 Oct 1995 15:51:16 MI + HelpTexts scharfgeschaltet + + Rev 1.9 29 Aug 1995 14:07:36 MI + Checkliste eingebaut + +-------------------------------------------------------------------------*/ + + + + diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi new file mode 100644 index 000000000000..b34a3c309db4 --- /dev/null +++ b/sfx2/sdi/sfx.sdi @@ -0,0 +1,9267 @@ +//-------------------------------------------------------------------------- +SfxVoidItem AboutDialog SID_ABOUT +() +[ + UnoName = "About"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem AddBookmark SID_CREATELINK +(SfxStringItem URL SID_BOOKMARK_URL,SfxStringItem Title SID_BOOKMARK_TITLE) +[ + UnoName = "AddBookmark"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem BrowseBackward SID_BROWSE_BACKWARD +(SfxUInt16Item nSteps SID_BROWSE_BACKWARD) +[ + UnoName = "BrowseBackward"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem BrowseForward SID_BROWSE_FORWARD +(SfxUInt16Item nSteps SID_BROWSE_FORWARD) +[ + UnoName = "BrowseForward"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CancelDownloads SID_BROWSE_STOP +() +[ + UnoName = "Cancel"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* status: */ + SlotType = SfxBoolItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Close SID_CLOSEWIN +() +[ + UnoName = "CloseFrame"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Copy SID_COPY +() +[ + UnoName = "Copy"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CrashApp SID_CRASH +(SfxBoolItem Direct SID_CRASH) +[ + UnoName = "Crash"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateBookmark SID_EXPLORER_CREATEBOOKMARK +() +[ + UnoName = "CreateBookmark"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateDatabase SID_EXPLORER_CREATEDATABASE +() +[ + UnoName = "CreateDatabase"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateFolder SID_EXPLORER_CREATEFOLDER +() +[ + UnoName = "CreateFolder"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateFtpServer SID_EXPLORER_CREATEFTPSERVER +() +[ + UnoName = "CreateFtpServer"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateGallery SID_EXPLORER_CREATEGALLERY +() +[ + UnoName = "CreateGallery"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateIMapAccount SID_EXPLORER_CREATEIMAPACCOUNT +() +[ + UnoName = "CreateIMapAccount"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateLink SID_EXPLORER_CREATELINK +() +[ + UnoName = "CreateLink"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateLink_InSelected SID_CREATELINK_INSELECTED +(SfxStringItem URL SID_BOOKMARK_URL,SfxStringItem Title SID_BOOKMARK_TITLE) +[ + UnoName = "CreateLinkInSelected"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateNewsServer SID_EXPLORER_CREATENEWS +() +[ + UnoName = "CreateNewsServer"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateOuttray SID_EXPLORER_CREATEOUTTRAY +() +[ + UnoName = "CreateOuttray"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreatePOP3Account SID_EXPLORER_CREATEPOP3ACCOUNT +() +[ + UnoName = "CreatePOP3Account"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateSearchFolder SID_EXPLORER_CREATESEARCHFOLDER +() +[ + UnoName = "CreateSearchFolder"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CreateWorkplace SID_EXPLORER_CREATEWORKPLACE +() +[ + UnoName = "CreateWorkplace"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxStringItem CurrentURL SID_CURRENT_URL + +[ + UnoName = "CurrentURL"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Cut SID_CUT +() +[ + UnoName = "Cut"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Delete SID_DELETE +() +[ + UnoName = "Delete"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem IsDesktop SID_EXPLORER_ISDESKTOP + +[ + UnoName = "DesktopFolder"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ExplorerDetails SID_EXPLORER_DETAILS + +[ + UnoName = "Details"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ExplorerDocinfo SID_EXPLORER_DOCINFO + +[ + UnoName = "DocInfo"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ReloadForEdit SID_EDITDOC +(SfxBoolItem Editable SID_EDITDOC) +[ + UnoName = "EditDoc"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem FocusBeamer SID_FOCUS_BEAMER + +[ + UnoName = "FocusBeamer"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxBoolItem FocusExplorer SID_FOCUS_EXPLORER + +[ + UnoName = "FocusExplorer"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxStringItem GroupView SID_GROUPVIEW +() +[ + UnoName = "GroupView"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = FALSE, + MenuConfig = TRUE, + StatusBarConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem ImportBmkFile SID_EXPLORER_IMPORTBOOKMARKS +() +[ + UnoName = "ImportBookmarks"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem MakeExplorerRoot SID_EXPLORER_MAKEROOT +() +[ + UnoName = "MakeRoot"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxStringItem ModifiedStatus SID_DOC_MODIFIED + +[ + UnoName = "Modified"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = TRUE, + ToolBoxConfig = FALSE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxBoolItem MultiQuickSearch SID_EXPLORER_MULTIQUICKSEARCH + +[ + UnoName = "MultiQuickSearch"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem NextWindow SID_NEXTWINDOW +() +[ + UnoName = "NextWindow"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxStringItem OpenUrl SID_OPENURL + +[ + UnoName = "OpenURL"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Options SID_OPTIONS +() +[ + UnoName = "Options"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_OPTIONS; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Paste SID_PASTE +() +[ + UnoName = "Paste"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem PGPDecode SID_PGP_DECODE +() +[ + UnoName = "PGPDecode"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem PGPEncode SID_PGP_ENCODE +(SfxBoolItem Encrypt FN_PARAM_1,SfxBoolItem Sign FN_PARAM_2) +[ + UnoName = "PGPEncode"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ExplorerPreview SID_EXPLORER_PREVIEW + +[ + UnoName = "Preview"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem PreviousWindow SID_PREVWINDOW +() +[ + UnoName = "PreviousWindow"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SwitchToPrevLevel SID_EXPLORER_PREVLEVEL +() +[ + UnoName = "PrevLevel"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxBoolItem Print SID_PRINTDOC +(SfxInt16Item from SID_PRINT_FIRST_PAGE,SfxInt16Item to SID_PRINT_LAST_PAGE,SfxInt16Item copies SID_PRINT_COPIES,SfxBoolItem silent SID_SILENT) +[ + UnoName = "Print"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem PrintDefault SID_PRINTDOCDIRECT +() +[ + UnoName = "PrintDefault"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem PrinterSetup SID_SETUPPRINTER +() +[ + UnoName = "PrinterSetup"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Properties SID_PROPERTIES +() +[ + UnoName = "Properties"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxDocumentInfoItem DocInfo SID_DOCINFO + +[ + UnoName = "Properties"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxStringItem RedoAction SID_REDO +[ + SfxVoidItem Redo(); + + UnoName = "Redo"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem Reload SID_RELOAD +() +[ + UnoName = "Reload"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + /* status: */ + SlotType = SfxBoolItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxStringItem RepeatAction SID_REPEAT +[ + SfxVoidItem Repeat(); + + UnoName = "Repeat"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem Save SID_SAVEDOC +(SfxStringItem VersionComment SID_VERSION,SfxStringItem Author SID_DOCINFO_AUTHOR) +[ + UnoName = "Save"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem SaveAs SID_SAVEASDOC +(SfxStringItem FileName SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem PassWord SID_DOC_READONLY,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS) +[ + UnoName = "SaveAs"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem SaveAsTemplate SID_DOCTEMPLATE +(SfxStringItem TemplateRegion SID_TEMPLATE_REGIONNAME,SfxStringItem TemplateName SID_TEMPLATE_NAME) +[ + UnoName = "SaveAsTemplate"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_TEMPLATE; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ScrollBodyPageDown SID_MAIL_SCROLLBODY_PAGEDOWN +() +[ + UnoName = "ScrollMailBodyPageDown"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem ExecuteSearch FID_SEARCH_NOW +(SvxSearchItem SearchItem SID_SEARCH_ITEM) +[ + UnoName = "Search"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem SearchDialog SID_SEARCH_DLG + +[ + UnoName = "SearchDialog"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ExplorerSearch SID_EXPLORER_SEARCH_DLG + +[ + UnoName = "SearchFolder"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxUInt16Item SearchOptions SID_SEARCH_OPTIONS + +[ + UnoName = "SearchOptions"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_INTERN; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SearchOriginal SID_EXPLORER_SEARCHORIGINAL +() +[ + UnoName = "SearchOriginal"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SvxSearchItem _Search SID_SEARCH_ITEM + +[ + UnoName = "SearchProperties"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SelectAll SID_SELECTALL +() +[ + UnoName = "SelectAll"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxStringItem ExplorerSelectionSize SID_EXPLORER_SELECTIONSIZE + +[ + UnoName = "SelectionSize"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = TRUE, + ToolBoxConfig = FALSE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SetAsBookmarkDir SID_EXPLORER_MAKEBMKDIR +() +[ + UnoName = "SetAsBookmarkDir"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GalleryBackground SID_GALLERY_BG_BRUSH +(SfxStringItem ImageFile SID_FILE_NAME) +[ + UnoName = "SetBackgroundImage"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_INSERT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem FramesetSource SID_SOURCEVIEW + +[ + UnoName = "SourceView"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_OPTIONS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ExplorerSymbols SID_EXPLORER_ICONS + +[ + UnoName = "Symbols"; + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SyncExplorer SID_SYNCEXPLORER +() +[ + UnoName = "SyncExplorer"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxStringItem UndoAction SID_UNDO +[ + SfxVoidItem Undo(); + + UnoName = "Undo"; + + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoUpBlockSel SID_CURSORPAGEUP_SEL +(SfxInt16Item By FN_PARAM_1) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoUpSel SID_CURSORUP_SEL +(SfxInt16Item By FN_PARAM_1) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxStringItem OnSaveAs SID_ON_SAVEASDOC + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoLeftBlock SID_CURSORPAGELEFT +(SfxInt16Item By FN_PARAM_1,SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoDownBlockSel SID_CURSORPAGEDOWN_SEL +(SfxInt16Item By FN_PARAM_1) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem HelpDownload SID_HELP_DOWNLOAD +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxUInt16Item EditStyle SID_STYLE_EDIT +(SfxStringItem Param SID_STYLE_EDIT,SfxUInt16Item Family SID_STYLE_FAMILY) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_TEMPLATE; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToStartSel SID_CURSORTOPOFFILE_SEL +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem LoadStatusBar SID_CONFIGSTATUSBAR +(SfxStringItem FileName SID_CFGFILE) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_OPTIONS; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoRightSel SID_CURSORRIGHT_SEL +(SfxInt16Item By FN_PARAM_1) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxStringItem OnDeactivate SID_ON_DEACTIVATEDOC + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxObjectItem ActiveModule SID_ACTIVEMODULE + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxObjectItem FileName SID_FILE_NAME + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Tile SID_TILEWINS +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoRight SID_CURSORRIGHT +(SfxInt16Item By FN_PARAM_1,SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem StyleCatalog SID_STYLE_CATALOG +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_TEMPLATE; +] + +//-------------------------------------------------------------------------- +SfxStringItem FrameContent SID_FRAME_CONTENT + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxStringItem _PickEntry8 SID_PICK8 + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_INTERN; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CursorEndOfScreen SID_CURSORENDOFSCREEN +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_INTERN; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToStartOfRowSel SID_CURSORHOME_SEL +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem InternetSearch SID_INTERNET_SEARCH +(SfxStringItem SearchString SID_INTERNET_SEARCH) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToEndOfDataSel SID_CURSORENDOFFILE_SEL +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ObjectBarVisible SID_TOGGLEOBJECTBAR + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE +(SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxBoolItem FloatingTask SID_FLOATING_TASK + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxUInt16Item DeleteStyle SID_STYLE_DELETE +(SfxStringItem Param SID_STYLE_DELETE,SfxUInt16Item Family SID_STYLE_FAMILY) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_TEMPLATE; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoLeft SID_CURSORLEFT +(SfxInt16Item By FN_PARAM_1,SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxStringItem OnSaveDone SID_ON_SAVEDOCDONE + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem EditFrameSet SID_EDIT_FRAMESET + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToStart SID_CURSORTOPOFFILE +(SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxUInt16Item FrameSpacing SID_FRAMESPACING + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxBoolItem PartWindow SID_PARTWIN + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem WindowList SID_MDIWINDOWLIST +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxStringItem CurrentTime SID_CURRENTTIME + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Volatile, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = TRUE, + ToolBoxConfig = FALSE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxStringItem FrameTitle SID_FRAMETITLE + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxObjectItem Document SID_DOCUMENT + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_INTERN; +] + +//-------------------------------------------------------------------------- +SfxStringItem Path SID_DOCPATH + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem DocumentManager SID_DOCMANAGER +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxStringItem Title SID_DOCTITLE + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToStartOfRow SID_CURSORHOME +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem NewWindow SID_NEWWINDOW +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxStringItem Comments SID_DOCINFO_COMMENTS + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Optimize SID_OPTIMIZEWIN +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxObjectItem Open SID_DOCINFO_TITLE + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SendFax FN_FAX +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SbxDeleted SID_BASICIDE_SBXDELETED +(SbxItem Sbx SID_BASICIDE_ARG_SBX) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_MACRO; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Quit SID_QUITAPP +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxBoolItem OpenUrl SID_EXECUTE +(SfxStringItem Comand SID_EXECUTE) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem ToolsMacroEdit SID_EDITMACRO +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_MACRO; +] + +//-------------------------------------------------------------------------- +SfxObjectItem SplitHorizontal SID_SPLIT_HORIZONTAL +(SfxStringItem Frame SID_FRAMETITLE) +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem IsLoading SID_DOC_LOADING + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxInt32Item CompareDocuments SID_DOCUMENT_COMPARE +(SfxStringItem FileName SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem FilterFlags SID_FILE_FILTEROPTIONS,SfxInt16Item Version SID_VERSION) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem _SwitchViewShell1 SID_VIEWSHELL1 + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem DeleteFrame SID_DELETE_FRAME +(SfxStringItem Frame SID_FRAMETITLE) +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem ReleaseObject SID_DELETE_BASICOBJECT +(SfxObjectItem Object SID_DELETE_BASICOBJECT) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoToEndOfRowSel SID_CURSOREND_SEL +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Close SID_CLOSETASK +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem FormatMenu SID_FORMATMENU +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem HyperlinkDialog SID_HYPERLINK_DIALOG + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem CursorTopOfScreen SID_CURSORTOPOFSCREEN +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_INTERN; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ConfigureToolboxVisible SID_CUSTOMIZETOOLBOX + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_OPTIONS; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoUp SID_CURSORUP +(SfxInt16Item By FN_PARAM_1,SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxBoolItem StartApplication SID_START_APP +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxStringItem Caption SID_CAPTION + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem GoUpBlock SID_CURSORPAGEUP +(SfxInt16Item By FN_PARAM_1,SfxBoolItem Sel FN_PARAM_2) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxStringItem Author SID_DOCINFO_AUTHOR + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem ReadOnly SID_DOC_READONLY + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem DesktopMode SID_DESKTOPMODE + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxBoolItem UnloadLibrary SID_UNLOAD_LIBRARY +(SfxStringItem LibraryName SID_UNLOAD_LIBRARY) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_MACRO; +] + +//-------------------------------------------------------------------------- +SfxStringItem PrivateUse SID_OFFICE_PRIVATE_USE + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_SPECIAL; +] + +//-------------------------------------------------------------------------- +SfxStringItem LibLoaded SID_BASICIDE_LIBLOADED +(SfxStringItem LibName SID_BASICIDE_ARG_LIBNAME) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_MACRO; +] + +//-------------------------------------------------------------------------- +SfxObjectItem Selection SID_SELECTION + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SearchOriginal SID_SEARCHORIGINAL +(SfxStringItem FileName SID_FILE_NAME) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxVoidItem FileDocument SID_SAVEDOCTOBOOKMARK +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem SaveAll SID_SAVEDOCS +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxObjectItem StarWriter SID_STARWRITER + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxStringItem SelectionTextExt SID_SELECTION_TEXT_EXT + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxObjectItem Task SID_TASK + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxStringItem SelectionText SID_SELECTION_TEXT + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem Recording SID_RECORDMACRO +[ + SfxVoidItem StopRecording(); + + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_MACRO; +] + +//-------------------------------------------------------------------------- +SfxInt32Item MergeDocuments SID_DOCUMENT_MERGE +(SfxStringItem FileName SID_FILE_NAME,SfxInt16Item Version SID_VERSION) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxStringItem FullName SID_PROGFILENAME + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem PrintPreview SID_PRINTPREVIEW + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = FALSE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem SaveConfiguration SID_SAVECONFIG +(SfxStringItem FileName SID_CFGFILE) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_OPTIONS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem SaveAsUrl SID_SAVEASURL +(SfxStringItem FileName SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem PassWord SID_DOC_READONLY,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_DOCUMENT; +] + +//-------------------------------------------------------------------------- +SfxVoidItem Repaint SID_REPAINT +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxBoolItem StatusBarVisible SID_TOGGLESTATUSBAR + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxVoidItem StartMenu SID_STARTMENU +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* status: */ + SlotType = SfxStringItem + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_APPLICATION; +] + +//-------------------------------------------------------------------------- +SfxVoidItem JumpToMark SID_JUMPTOMARK +(SfxStringItem Bookmark ID_VAL_DUMMY0) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +//-------------------------------------------------------------------------- +SfxObjectItem StarDraw SID_STARDRAW + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem RemoveLibrary SID_REMOVE_LIBRARY +(SfxStringItem LibraryName SID_REMOVE_LIBRARY) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_MACRO; +] + +//-------------------------------------------------------------------------- +SfxVoidItem InternetUpdate SID_INTERNET_UPDATE +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = TRUE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxStringItem StatusBar SID_STATUSBARTEXT + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxBoolItem IsTopWindow SID_ISTOP + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = TRUE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxVoidItem LoadConfiguration SID_LOADCONFIG +(SfxStringItem FileName SID_CFGFILE) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_OPTIONS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem MailWindow SID_MAIL_CHILDWIN + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +//-------------------------------------------------------------------------- +SfxBoolItem MailReadDialog SID_MAIL_INBOX + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_EXPLORER; +] + +//-------------------------------------------------------------------------- +SfxObjectItem OpenTemplate SID_OPENTEMPLATE +(SfxStringItem Region SID_TEMPLATE_REGIONNAME,SfxStringItem Name SID_TEMPLATE_NAME) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_TEMPLATE; +] + +//-------------------------------------------------------------------------- +SfxStringItem Printer SID_PRINTER_NAME + +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Asynchron; + + Readonly = FALSE, + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = ; +] + +//-------------------------------------------------------------------------- +SfxObjectItem SplitParentVertical SID_SPLIT_PARENT_VERTICAL +(SfxStringItem Frame SID_FRAMETITLE) +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + +//-------------------------------------------------------------------------- +SfxBoolItem LoadLibrary SID_LOAD_LIBRARY +(SfxStringItem LibraryName SID_LOAD_LIBRARY) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + Synchron; + + /* config: */ + |