summaryrefslogtreecommitdiff
path: root/framework/inc/services/taskcreatorsrv.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-04-16 15:33:13 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-04-16 15:33:13 +0000
commitd444546afd06bfd729a44c36d0038ef268129113 (patch)
treee721f87d11817332479d4b1554f7f350c6e680b1 /framework/inc/services/taskcreatorsrv.hxx
parent42c96dd20fdb0688c2bf0b3b51f24f54a74a3758 (diff)
INTEGRATION: CWS fwkdbdesign01 (1.2.86); FILE MERGED
2007/02/26 11:49:24 as 1.2.86.3: #i74541# improved service to create any type of frames 2007/02/19 10:58:28 as 1.2.86.2: #i74541# make framework ready for real sub frames 2007/02/14 14:26:22 as 1.2.86.1: #i74541# new API (and some small code changes) to support real sub frames greater level 1
Diffstat (limited to 'framework/inc/services/taskcreatorsrv.hxx')
-rw-r--r--framework/inc/services/taskcreatorsrv.hxx54
1 files changed, 45 insertions, 9 deletions
diff --git a/framework/inc/services/taskcreatorsrv.hxx b/framework/inc/services/taskcreatorsrv.hxx
index f8549ff931af..b3769d6d94a5 100644
--- a/framework/inc/services/taskcreatorsrv.hxx
+++ b/framework/inc/services/taskcreatorsrv.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: taskcreatorsrv.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2006-09-08 08:31:30 $
+ * last change: $Author: ihi $ $Date: 2007-04-16 16:33:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -90,6 +90,10 @@
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#endif
+#ifndef _COM_SUN_STAR_AWT_RECTANGLE_HPP_
+#include <com/sun/star/awt/Rectangle.hpp>
+#endif
+
//_______________________________________________
// other includes
@@ -104,10 +108,6 @@
//_______________________________________________
// definition
-#ifndef css
-namespace css = ::com::sun::star;
-#endif
-
namespace framework
{
@@ -125,6 +125,35 @@ class TaskCreatorService : public css::lang::XTypeProvider
//___________________________________________
// types
+ public:
+
+ /// [XFrame] if it's set, it will be used as parent frame for the new created frame.
+ static const ::rtl::OUString ARGUMENT_PARENTFRAME;
+
+ /** [OUString] if it's not a special name (beginning with "_" ... which are not allowed here!)
+ it will be set as the API name of the new created frame.
+ */
+ static const ::rtl::OUString ARGUMENT_FRAMENAME;
+
+ /// [sal_Bool] If its set to TRUE we will make the new created frame visible.
+ static const ::rtl::OUString ARGUMENT_MAKEVISIBLE;
+
+ /** [sal_Bool] If not "ContainerWindow" property is set it force creation of a
+ top level window as new container window.
+ */
+ static const ::rtl::OUString ARGUMENT_CREATETOPWINDOW;
+
+ /// [Rectangle] Place the new created frame on this place and resize the container window.
+ static const ::rtl::OUString ARGUMENT_POSSIZE;
+
+ /// [XWindow] an outside created window, used as container window of the new created frame.
+ static const ::rtl::OUString ARGUMENT_CONTAINERWINDOW;
+
+ /** [sal_Bool] enable/disable special mode, where this frame will be part of
+ the persistent window state feature suitable for any office module window
+ */
+ static const ::rtl::OUString ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE;
+
//___________________________________________
// member
@@ -162,9 +191,16 @@ class TaskCreatorService : public css::lang::XTypeProvider
private:
- css::uno::Reference< css::frame::XFrame > implts_createSystemTask( const css::uno::Reference< css::frame::XFramesSupplier >& xDesktop ,
- const ::rtl::OUString& sName ,
- sal_Bool bVisible );
+ css::uno::Reference< css::awt::XWindow > implts_createContainerWindow( const css::uno::Reference< css::awt::XWindow >& xParentWindow ,
+ const css::awt::Rectangle& aPosSize ,
+ sal_Bool bTopWindow );
+
+ css::uno::Reference< css::frame::XFrame > implts_createFrame( const css::uno::Reference< css::frame::XFrame >& xParentFrame ,
+ const css::uno::Reference< css::awt::XWindow >& xContainerWindow ,
+ const ::rtl::OUString& sName );
+
+ void implts_establishWindowStateListener( const css::uno::Reference< css::frame::XFrame >& xFrame );
+
::rtl::OUString impl_filterNames( const ::rtl::OUString& sName );
};