Files
libreoffice/dbaccess/source/core/dataaccess/documentdefinition.cxx

1381 lines
58 KiB
C++
Raw Normal View History

2000-09-18 23:16:46 +00:00
/*************************************************************************
*
* $RCSfile: documentdefinition.cxx,v $
*
* $Revision: 1.22 $
2000-09-18 23:16:46 +00:00
*
* last change: $Author: obo $ $Date: 2005-03-15 11:33:00 $
2000-09-18 23:16:46 +00:00
*
* 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 _DBA_COREDATAACCESS_DOCUMENTDEFINITION_HXX_
#include "documentdefinition.hxx"
#endif
2000-10-25 06:42:28 +00:00
#ifndef DBACCESS_SHARED_DBASTRINGS_HRC
#include "dbastrings.hrc"
2000-09-18 23:16:46 +00:00
#endif
#ifndef DBACORE_SDBCORETOOLS_HXX
#include "sdbcoretools.hxx"
#endif
2000-09-18 23:16:46 +00:00
#ifndef _TOOLS_DEBUG_HXX
#include <tools/debug.hxx>
#endif
2000-10-11 10:21:40 +00:00
#ifndef _COMPHELPER_PROPERTY_HXX_
#include <comphelper/property.hxx>
2000-09-18 23:16:46 +00:00
#endif
2000-10-11 10:21:40 +00:00
#ifndef _COMPHELPER_SEQUENCE_HXX_
#include <comphelper/sequence.hxx>
2000-09-18 23:16:46 +00:00
#endif
#ifndef _COMPHELPER_MEDIADESCRIPTOR_HXX_
#include <comphelper/mediadescriptor.hxx>
#endif
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
#ifndef _SO_CLSIDS_HXX
#include <so3/clsids.hxx>
#endif
#ifndef _COM_SUN_STAR_AWT_XTOPWINDOW_HPP_
#include <com/sun/star/awt/XTopWindow.hpp>
#endif
#ifndef _COM_SUN_STAR_AWT_SIZE_HPP_
#include <com/sun/star/awt/Size.hpp>
#endif
2000-09-18 23:16:46 +00:00
#ifndef _COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HPP_
#include <com/sun/star/lang/DisposedException.hpp>
#endif
2000-10-25 06:42:28 +00:00
#ifndef _COM_SUN_STAR_BEANS_PROPERTYATTRIBUTE_HPP_
#include <com/sun/star/beans/PropertyAttribute.hpp>
#endif
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
#ifndef _COM_SUN_STAR_FRAME_XMODEL_HPP_
#include <com/sun/star/frame/XModel.hpp>
#endif
#ifndef _COM_SUN_STAR_FRAME_XCONTROLLER_HPP_
#include <com/sun/star/frame/XController.hpp>
#endif
#ifndef _COM_SUN_STAR_TASK_XJOBEXECUTOR_HPP_
#include <com/sun/star/task/XJobExecutor.hpp>
#endif
#ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTION_HPP_
#include <com/sun/star/frame/XDispatchProviderInterception.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_INSERTCOMMANDARGUMENT_HPP_
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_OPENMODE_HPP_
#include <com/sun/star/ucb/OpenMode.hpp>
#endif
#ifndef _COM_SUN_STAR_XEMBEDOBJECTFACTORY_HPP_
#include <com/sun/star/embed/XEmbedObjectFactory.hpp>
#endif
#ifndef _COM_SUN_STAR_XEMBEDOBJECTCREATOR_HPP_
#include <com/sun/star/embed/XEmbedObjectCreator.hpp>
#endif
#ifndef _COM_SUN_STAR_EMBED_ASPECTS_HPP_
#include <com/sun/star/embed/Aspects.hpp>
#endif
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
#ifndef _UCBHELPER_CANCELCOMMANDEXECUTION_HXX_
#include <ucbhelper/cancelcommandexecution.hxx>
#endif
#ifndef _COM_SUN_STAR_UCB_UNSUPPORTEDDATASINKEXCEPTION_HPP_
#include <com/sun/star/ucb/UnsupportedDataSinkException.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_UNSUPPORTEDOPENMODEEXCEPTION_HPP_
#include <com/sun/star/ucb/UnsupportedOpenModeException.hpp>
#endif
#ifndef _COM_SUN_STAR_ELEMENTMODES_HPP_
#include <com/sun/star/embed/ElementModes.hpp>
#endif
#ifndef _COM_SUN_STAR_XEMBEDPERSIST_HPP_
#include <com/sun/star/embed/XEmbedPersist.hpp>
#endif
#ifndef _COM_SUN_STAR_EMBEDSTATES_HPP_
#include <com/sun/star/embed/EmbedStates.hpp>
#endif
#ifndef _COM_SUN_STAR_XCOMPONENTSUPPLIER_HPP_
#include <com/sun/star/embed/XComponentSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_ENTRYINITMODES_HPP_
#include <com/sun/star/embed/EntryInitModes.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_MISSINGPROPERTIESEXCEPTION_HPP_
#include <com/sun/star/ucb/MissingPropertiesException.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_MISSINGINPUTSTREAMEXCEPTION_HPP_
#include <com/sun/star/ucb/MissingInputStreamException.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_OPENCOMMANDARGUMENT2_HPP_
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
#endif
#ifndef _COM_SUN_STAR_UTIL_XCLOSEBROADCASTER_HPP_
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#endif
#ifndef _COM_SUN_STAR_DATATRANSFER_DATAFLAVOR_HPP_
#include <com/sun/star/datatransfer/DataFlavor.hpp>
#endif
#ifndef _COM_SUN_STAR_DATATRANSFER_XTRANSFERABLE_HPP_
#include <com/sun/star/datatransfer/XTransferable.hpp>
#endif
#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HPP_
#include <com/sun/star/container/XNameContainer.hpp>
#endif
#ifndef _COM_SUN_STAR_XTRANSACTEDOBJECT_HPP_
#include <com/sun/star/embed/XTransactedObject.hpp>
#endif
#ifndef _COM_SUN_STAR_EMBED_XCOMMONEMBEDPERSIST_HPP_
#include <com/sun/star/embed/XCommonEmbedPersist.hpp>
#endif
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
#ifndef DBA_INTERCEPT_HXX
#include "intercept.hxx"
#endif
#ifndef _COM_SUN_STAR_SDB_XINTERACTIONDOCUMENTSAVE_HPP_
#include <com/sun/star/sdb/XInteractionDocumentSave.hpp>
#endif
#ifndef _COM_SUN_STAR_TASK_XINTERACTIONHANDLER_HPP_
#include <com/sun/star/task/XInteractionHandler.hpp>
#endif
#ifndef _COM_SUN_STAR_SDB_DOCUMENTSAVEREQUEST_HPP_
#include <com/sun/star/sdb/DocumentSaveRequest.hpp>
#endif
#ifndef _COM_SUN_STAR_DOCUMENT_XDOCUMENTINFOSUPPLIER_HPP_
#include <com/sun/star/document/XDocumentInfoSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_DOCUMENT_MACROEXECMODE_HPP_
#include <com/sun/star/document/MacroExecMode.hpp>
#endif
#ifndef _COMPHELPER_INTERACTION_HXX_
#include <comphelper/interaction.hxx>
#endif
#ifndef _CONNECTIVITY_DBTOOLS_HXX_
#include <connectivity/dbtools.hxx>
#endif
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
#ifndef _VOS_MUTEX_HXX_
#include <vos/mutex.hxx>
#endif
#ifndef _COM_SUN_STAR_VIEW_XVIEWSETTINGSSUPPLIER_HPP_
#include <com/sun/star/view/XViewSettingsSupplier.hpp>
#endif
#ifndef _DBA_CORE_RESOURCE_HXX_
#include "core_resource.hxx"
#endif
#ifndef _DBA_CORE_RESOURCE_HRC_
#include "core_resource.hrc"
#endif
#ifndef _DBA_COREDATAACCESS_DATASOURCE_HXX_
#include "datasource.hxx"
#endif
#ifndef _COM_SUN_STAR_EMBED_XSTATECHANGEBROADCASTER_HPP_
#include <com/sun/star/embed/XStateChangeBroadcaster.hpp>
#endif
#ifndef _COM_SUN_STAR_TASK_XINTERACTIONAPPROVE_HPP_
#include <com/sun/star/task/XInteractionApprove.hpp>
#endif
#ifndef _COM_SUN_STAR_TASK_XINTERACTIONDISAPPROVE_HPP_
#include <com/sun/star/task/XInteractionDisapprove.hpp>
#endif
#ifndef _DRAFTS_COM_SUN_STAR_FRAME_XLAYOUTMANAGER_HPP_
#include <drafts/com/sun/star/frame/XLayoutManager.hpp>
#endif
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
#ifndef _CPPUHELPER_COMPBASE1_HXX_
#include <cppuhelper/compbase1.hxx>
#endif
#ifndef _COM_SUN_STAR_FRAME_FRAMESEARCHFLAG_HPP_
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#endif
#ifndef _COMPHELPER_SEQUENCEASHASHMAP_HXX_
#include <comphelper/sequenceashashmap.hxx>
#endif
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
using namespace ::com::sun::star::view;
2000-09-18 23:16:46 +00:00
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
using namespace ::com::sun::star::ucb;
2000-09-18 23:16:46 +00:00
using namespace ::com::sun::star::beans;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::embed;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::document;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::sdb;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::datatransfer;
using namespace ::com::sun::star::task;
2000-09-18 23:16:46 +00:00
using namespace ::osl;
2000-10-11 10:21:40 +00:00
using namespace ::comphelper;
2000-09-18 23:16:46 +00:00
using namespace ::cppu;
namespace css = ::com::sun::star;
#define DEFAULT_WIDTH 15000
#define DEFAULT_HEIGHT 10000
//........................................................................
namespace dbaccess
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
typedef ::cppu::WeakComponentImplHelper1< ::com::sun::star::embed::XStateChangeListener > TEmbedObjectHolder;
class OEmbedObjectHolder : public ::comphelper::OBaseMutex
,public TEmbedObjectHolder
{
Reference< XEmbeddedObject > m_xBroadCaster;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
ODocumentDefinition* m_pDefinition;
sal_Bool m_bInStateChange;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
protected:
virtual void SAL_CALL disposing();
public:
OEmbedObjectHolder(const Reference< XEmbeddedObject >& _xBroadCaster,ODocumentDefinition* _pDefinition)
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
: TEmbedObjectHolder(m_aMutex)
,m_xBroadCaster(_xBroadCaster)
,m_pDefinition(_pDefinition)
,m_bInStateChange(sal_False)
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
osl_incrementInterlockedCount( &m_refCount );
if ( m_xBroadCaster.is() )
m_xBroadCaster->addStateChangeListener(this);
osl_decrementInterlockedCount( &m_refCount );
}
virtual void SAL_CALL changingState( const ::com::sun::star::lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL stateChanged( const ::com::sun::star::lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
};
//------------------------------------------------------------------
void SAL_CALL OEmbedObjectHolder::disposing()
{
if ( m_xBroadCaster.is() )
m_xBroadCaster->removeStateChangeListener(this);
m_xBroadCaster = NULL;
m_pDefinition = NULL;
}
//------------------------------------------------------------------
void SAL_CALL OEmbedObjectHolder::changingState( const ::com::sun::star::lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::RuntimeException)
{
}
//------------------------------------------------------------------
void SAL_CALL OEmbedObjectHolder::stateChanged( const ::com::sun::star::lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (::com::sun::star::uno::RuntimeException)
{
if ( !m_bInStateChange && nNewState == EmbedStates::RUNNING && nOldState == EmbedStates::ACTIVE && m_pDefinition )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
m_bInStateChange = sal_True;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference<XInterface> xInt(static_cast< ::cppu::OWeakObject* >(m_pDefinition),UNO_QUERY);
{
Reference<XEmbeddedObject> xEmbeddedObject(aEvent.Source,UNO_QUERY);
if ( xEmbeddedObject.is() )
xEmbeddedObject->changeState(EmbedStates::LOADED);
}
m_bInStateChange = sal_False;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
}
//------------------------------------------------------------------
void SAL_CALL OEmbedObjectHolder::disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException)
{
m_xBroadCaster = NULL;
}
//........................................................................
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
typedef ::cppu::WeakImplHelper1< XEmbeddedClient
> EmbeddedClientHelper_BASE;
class OEmbeddedClientHelper : public EmbeddedClientHelper_BASE
{
ODocumentDefinition* m_pClient;
public:
OEmbeddedClientHelper(ODocumentDefinition* _pClient) :m_pClient(_pClient) {}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
virtual void SAL_CALL saveObject( ) throw (ObjectSaveVetoException, Exception, RuntimeException)
{
if ( m_pClient )
m_pClient->saveObject();
}
virtual void SAL_CALL onShowWindow( sal_Bool bVisible ) throw (RuntimeException)
{
if ( m_pClient )
m_pClient->onShowWindow(bVisible);
}
// XComponentSupplier
virtual Reference< ::com::sun::star::util::XCloseable > SAL_CALL getComponent( ) throw (RuntimeException)
{
Reference< ::com::sun::star::util::XCloseable > xRet;
2004-10-14 06:07:15 +00:00
// if ( m_pClient )
// xRet = m_pClient->getComponent();
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
return xRet;
}
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// XEmbeddedClient
virtual void SAL_CALL visibilityChanged( ::sal_Bool bVisible ) throw (WrongStateException, RuntimeException)
{
if ( m_pClient )
m_pClient->visibilityChanged( bVisible );
}
inline void resetClient(ODocumentDefinition* _pClient) { m_pClient = _pClient; }
};
//==================================================================
// ODocumentSaveContinuation
//==================================================================
class ODocumentSaveContinuation : public OInteraction< XInteractionDocumentSave >
{
::rtl::OUString m_sName;
Reference<XContent> m_xParentContainer;
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
public:
ODocumentSaveContinuation() { }
inline Reference<XContent> getContent() const { return m_xParentContainer; }
inline ::rtl::OUString getName() const { return m_sName; }
// XInteractionDocumentSave
virtual void SAL_CALL setName( const ::rtl::OUString& _sName,const Reference<XContent>& _xParent) throw(RuntimeException);
};
//------------------------------------------------------------------
void SAL_CALL ODocumentSaveContinuation::setName( const ::rtl::OUString& _sName,const Reference<XContent>& _xParent) throw(RuntimeException)
{
m_sName = _sName;
m_xParentContainer = _xParent;
}
::rtl::OUString lcl_GetDocumentServiceFromMediaType( const Reference< XStorage >& xStorage
,const ::rtl::OUString& sEntName )
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
::rtl::OUString sResult;
try
{
if ( xStorage->isStorageElement( sEntName ) )
{
// the object must be based on storage
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference< XPropertySet > xPropSet( xStorage->openStorageElement( sEntName, ElementModes::READ ), UNO_QUERY );
if ( !xPropSet.is() )
throw RuntimeException();
::rtl::OUString aMediaType;
try {
Any aAny = xPropSet->getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) );
aAny >>= aMediaType;
}
catch ( Exception& )
{
}
if ( aMediaType.equalsAscii( "application/vnd.sun.xml.writer" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Writer.TextDocument" );
else if ( aMediaType.equalsAscii( "application/vnd.sun.xml.writer.global" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Writer.GlobalDocument" );
else if ( aMediaType.equalsAscii( "application/vnd.sun.xml.writer.web" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Writer.WebDocument" );
else if ( aMediaType.equalsAscii( "application/vnd.sun.xml.calc" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Calc.SpreadsheetDocument" );
else if ( aMediaType.equalsAscii( "application/vnd.sun.xml.impress" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Draw.PresentationDocument" );
else if ( aMediaType.equalsAscii( "application/vnd.sun.xml.draw" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Draw.DrawingDocument" );
else if ( aMediaType.equalsAscii( "application/vnd.sun.xml.math" ) )
sResult = ::rtl::OUString::createFromAscii( "com.sun.star.comp.Math.FormulaDocument" );
try
{
::comphelper::disposeComponent(xPropSet);
}
catch ( Exception& )
{
}
}
}
catch ( Exception& )
{
}
return sResult;
}
// -----------------------------------------------------------------------------
Sequence< sal_Int8 > lcl_GetSequenceClassID( sal_uInt32 n1, sal_uInt16 n2, sal_uInt16 n3,
sal_uInt8 b8, sal_uInt8 b9, sal_uInt8 b10, sal_uInt8 b11,
sal_uInt8 b12, sal_uInt8 b13, sal_uInt8 b14, sal_uInt8 b15 )
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Sequence< sal_Int8 > aResult( 16 );
aResult[0] = static_cast<sal_Int8>(n1 >> 24);
aResult[1] = static_cast<sal_Int8>(( n1 << 8 ) >> 24);
aResult[2] = static_cast<sal_Int8>(( n1 << 16 ) >> 24);
aResult[3] = static_cast<sal_Int8>(( n1 << 24 ) >> 24);
aResult[4] = n2 >> 8;
aResult[5] = ( n2 << 8 ) >> 8;
aResult[6] = n3 >> 8;
aResult[7] = ( n3 << 8 ) >> 8;
aResult[8] = b8;
aResult[9] = b9;
aResult[10] = b10;
aResult[11] = b11;
aResult[12] = b12;
aResult[13] = b13;
aResult[14] = b14;
aResult[15] = b15;
return aResult;
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
//==========================================================================
//= ODocumentDefinition
//==========================================================================
DBG_NAME(ODocumentDefinition)
2000-09-18 23:16:46 +00:00
//--------------------------------------------------------------------------
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
ODocumentDefinition::ODocumentDefinition(const Reference< XInterface >& _rxContainer
, const Reference< XMultiServiceFactory >& _xORB
,const TContentPtr& _pImpl
, sal_Bool _bForm
, const Sequence< sal_Int8 >& _aClassID
,const Reference<XConnection>& _xConnection
)
:OContentHelper(_xORB,_rxContainer,_pImpl)
,OPropertyStateContainer(m_aBHelper)
,m_pInterceptor(NULL)
,m_pClientHelper(NULL)
,m_bForm(_bForm)
,m_bOpenInDesign(sal_False)
2000-09-18 23:16:46 +00:00
{
DBG_CTOR(ODocumentDefinition, NULL);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
registerProperties();
if ( _aClassID.getLength() )
loadEmbeddedObject(_aClassID,_xConnection);
2000-09-18 23:16:46 +00:00
}
//--------------------------------------------------------------------------
ODocumentDefinition::~ODocumentDefinition()
{
DBG_DTOR(ODocumentDefinition, NULL);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( !m_aBHelper.bInDispose && !m_aBHelper.bDisposed )
{
acquire();
dispose();
}
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( m_pInterceptor )
{
m_pInterceptor->DisconnectContentHolder();
m_pInterceptor->release();
m_pInterceptor = NULL;
}
}
// -----------------------------------------------------------------------------
void ODocumentDefinition::closeObject()
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
::osl::MutexGuard aGuard(m_aMutex);
if ( m_xEmbeddedObject.is() )
{
try
{
Reference< com::sun::star::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY);
if ( xCloseable.is() )
xCloseable->close(sal_True);
}
catch(Exception)
{
}
m_xEmbeddedObject = NULL;
if ( m_pClientHelper )
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
m_pClientHelper->resetClient(NULL);
m_pClientHelper->release();
m_pClientHelper = NULL;
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
void SAL_CALL ODocumentDefinition::disposing()
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
OContentHelper::disposing();
::osl::MutexGuard aGuard(m_aMutex);
closeObject();
::comphelper::disposeComponent(m_xListener);
m_xFrameLoader = NULL;
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
IMPLEMENT_TYPEPROVIDER3(ODocumentDefinition,OContentHelper,OPropertyStateContainer,ODocumentDefinition_Base);
IMPLEMENT_FORWARD_XINTERFACE3( ODocumentDefinition,OContentHelper,OPropertyStateContainer,ODocumentDefinition_Base)
IMPLEMENT_SERVICE_INFO1(ODocumentDefinition,"com.sun.star.comp.dba.ODocumentDefinition",SERVICE_SDB_DOCUMENTDEFINITION)
2000-09-18 23:16:46 +00:00
//--------------------------------------------------------------------------
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
void ODocumentDefinition::registerProperties()
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
registerProperty(PROPERTY_NAME, PROPERTY_ID_NAME, PropertyAttribute::BOUND | PropertyAttribute::READONLY | PropertyAttribute::CONSTRAINED,
&m_pImpl->m_aProps.aTitle, ::getCppuType(&m_pImpl->m_aProps.aTitle));
registerProperty(PROPERTY_AS_TEMPLATE, PROPERTY_ID_AS_TEMPLATE, PropertyAttribute::BOUND | PropertyAttribute::READONLY | PropertyAttribute::CONSTRAINED,
&m_pImpl->m_aProps.bAsTemplate, ::getCppuType(&m_pImpl->m_aProps.bAsTemplate));
registerProperty(PROPERTY_PERSISTENT_NAME, PROPERTY_ID_PERSISTENT_NAME, PropertyAttribute::BOUND | PropertyAttribute::READONLY | PropertyAttribute::CONSTRAINED,
&m_pImpl->m_aProps.sPersistentName, ::getCppuType(&m_pImpl->m_aProps.sPersistentName));
registerProperty(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsForm")), PROPERTY_ID_IS_FORM, PropertyAttribute::BOUND | PropertyAttribute::READONLY | PropertyAttribute::CONSTRAINED,
&m_bForm, ::getCppuType(&m_bForm));
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
Reference< XPropertySetInfo > SAL_CALL ODocumentDefinition::getPropertySetInfo( ) throw(RuntimeException)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference<XPropertySetInfo> xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
2000-09-18 23:16:46 +00:00
}
//--------------------------------------------------------------------------
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
IPropertyArrayHelper& ODocumentDefinition::getInfoHelper()
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
return *getArrayHelper();
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
2000-09-18 23:16:46 +00:00
//--------------------------------------------------------------------------
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
IPropertyArrayHelper* ODocumentDefinition::createArrayHelper( ) const
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Sequence< Property > aProps;
describeProperties(aProps);
return new OPropertyArrayHelper(aProps);
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
Any SAL_CALL ODocumentDefinition::execute( const Command& aCommand, sal_Int32 CommandId, const Reference< XCommandEnvironment >& Environment ) throw (Exception, CommandAbortedException, RuntimeException)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Any aRet;
::osl::MutexGuard aGuard(m_aMutex);
sal_Bool bOpenInDesign = aCommand.Name.equalsAscii("openDesign");
sal_Bool bOpenForMail = aCommand.Name.equalsAscii("openForMail");
if ( aCommand.Name.compareToAscii( "open" ) == 0 || bOpenInDesign || bOpenForMail )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
//////////////////////////////////////////////////////////////////
// open command for a folder content
//////////////////////////////////////////////////////////////////
Reference< XConnection> xConnection;
OpenCommandArgument2 aOpenCommand;
if ( !( aCommand.Argument >>= aOpenCommand ) )
{
sal_Bool bFound = sal_False;
Sequence< PropertyValue > aSeq;
if ( aCommand.Argument >>= aSeq )
{
const PropertyValue* pIter = aSeq.getConstArray();
const PropertyValue* pEnd = pIter + aSeq.getLength();
for(;pIter != pEnd;++pIter)
{
if ( pIter->Name == PROPERTY_ACTIVECONNECTION )
xConnection.set(pIter->Value,UNO_QUERY);
else if ( !bFound )
bFound = ( pIter->Value >>= aOpenCommand );
}
}
if ( !bFound )
{
OSL_ENSURE( sal_False, "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
makeAny( IllegalArgumentException(
rtl::OUString(),
static_cast< cppu::OWeakObject * >( this ),
-1 ) ),
Environment );
// Unreachable
}
}
sal_Bool bOpenFolder =
( ( aOpenCommand.Mode == OpenMode::ALL ) ||
( aOpenCommand.Mode == OpenMode::FOLDERS ) ||
( aOpenCommand.Mode == OpenMode::DOCUMENTS ) );
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( bOpenFolder )
{
// open as folder - return result set
ucbhelper::cancelCommandExecution(
makeAny( UnsupportedOpenModeException(
rtl::OUString(),
static_cast< cppu::OWeakObject * >( this ),
sal_Int16( aOpenCommand.Mode ) ) ),
Environment );
// Unreachable
}
else
{
// Check open mode
if ( ( aOpenCommand.Mode
== OpenMode::DOCUMENT_SHARE_DENY_NONE ) ||
( aOpenCommand.Mode
== OpenMode::DOCUMENT_SHARE_DENY_WRITE ) )
{
// Unsupported.
ucbhelper::cancelCommandExecution(
makeAny( UnsupportedOpenModeException(
rtl::OUString(),
static_cast< cppu::OWeakObject * >( this ),
sal_Int16( aOpenCommand.Mode ) ) ),
Environment );
// Unreachable
}
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference<XModel> xModel;
if ( m_pImpl->m_aProps.sPersistentName.getLength() )
{
m_bOpenInDesign = bOpenInDesign;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
loadEmbeddedObject(Sequence< sal_Int8 >(),xConnection,!bOpenInDesign);
if ( m_xEmbeddedObject.is() )
{
if ( bOpenForMail )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
xModel.set(getComponent(),UNO_QUERY);
fillReportData(!bOpenInDesign);
aRet <<= xModel;
}
else
{
m_xEmbeddedObject->changeState(EmbedStates::ACTIVE);
// object is new, so we an interceptor for save
xModel.set(getComponent(),UNO_QUERY);
Reference< XFrame > xFrame;
if ( xModel.is() )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
xFrame = xModel->getCurrentController()->getFrame();
if ( m_xListener.is() )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
if ( xFrame.is() )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
Reference<XTopWindow> xTopWindow( xFrame->getContainerWindow(),UNO_QUERY );
if( xTopWindow.is() )
xTopWindow->toFront();
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
}
else
{
if ( !m_xFrameLoader.is() )
{
m_xFrameLoader.set(m_xORB->createInstance(SERVICE_FRAME_DESKTOP),UNO_QUERY);
}
// remove the frame from the desktop because we need full control of it.
if ( m_xFrameLoader.is() )
{
Reference<XFramesSupplier> xSup(m_xFrameLoader,UNO_QUERY);
if ( xSup.is() )
{
Reference<XFrames> xFrames = xSup->getFrames();
xFrames->remove(xFrame);
}
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// Reference<XStateChangeBroadcaster> xBrd(m_xEmbeddedObject,UNO_QUERY);
m_xListener = new OEmbedObjectHolder(m_xEmbeddedObject,this);
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( bOpenInDesign && m_bForm )
{
Reference<XViewSettingsSupplier> xViewSup(xModel->getCurrentController(),UNO_QUERY);
if ( xViewSup.is() )
{
Reference<XPropertySet> xProp = xViewSup->getViewSettings();
if ( xProp.is() )
{
// The visual area size can be changed by the setting of the following properties
// so it should be restored later
Reference< XVisualObject > xVisObj( xModel, UNO_QUERY );
::com::sun::star::awt::Size aOrigSize;
if ( xVisObj.is() )
{
try {
aOrigSize = xVisObj->getVisualAreaSize( Aspects::MSOLE_CONTENT );
} catch ( Exception& )
{}
}
// Layout manager should not layout while the size is still not restored
// so it will stay locked for this time
Reference< ::drafts::com::sun::star::frame::XLayoutManager > xLayoutManager;
if ( xFrame.is() )
{
try
{
Reference< XPropertySet > xPropSet( xFrame, UNO_QUERY_THROW );
xLayoutManager.set( xPropSet->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" ) ) ), UNO_QUERY );
if ( xLayoutManager.is() )
xLayoutManager->lock();
}
catch( Exception& )
{}
}
// setting of the visual properties
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
try
{
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ShowRulers")),makeAny(sal_True));
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ShowVertRuler")),makeAny(sal_True));
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ShowHoriRuler")),makeAny(sal_True));
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsRasterVisible")),makeAny(sal_True));
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsSnapToRaster")),makeAny(sal_True));
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ShowOnlineLayout")),makeAny(sal_True));
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RasterSubdivisionX")),makeAny(sal_Int32(5)));
xProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RasterSubdivisionY")),makeAny(sal_Int32(5)));
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
catch(Exception&)
{
}
// setting of the ruler changes the visual area so it should be restored
if ( xVisObj.is() && aOrigSize.Width && aOrigSize.Height )
{
try
{
xVisObj->setVisualAreaSize( Aspects::MSOLE_CONTENT, aOrigSize );
} catch ( Exception& )
{}
}
// setting of the visual area set the form to modified state, it should be restored
try
{
// unlock the layout manager
// and let it layout before setting of the modified state
if ( xLayoutManager.is() )
xLayoutManager->unlock();
Reference< XModifiable > xModif( xModel, UNO_QUERY_THROW );
xModif->setModified( sal_False );
}
catch( Exception& )
{}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
Reference<XModifiable> xModifiable(xModel,UNO_QUERY_THROW);
xModifiable->setModified(sal_False);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
}
fillReportData(!bOpenInDesign);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
aRet <<= xModel;
}
}
}
}
}
else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "copyTo" ) ) )
{
Sequence<Any> aIni;
aCommand.Argument >>= aIni;
if ( aIni.getLength() != 2 )
{
OSL_ENSURE( sal_False, "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
makeAny( IllegalArgumentException(
rtl::OUString(),
static_cast< cppu::OWeakObject * >( this ),
-1 ) ),
Environment );
// Unreachable
}
Reference< XStorage> xStorage(aIni[0],UNO_QUERY);
::rtl::OUString sPersistentName;
aIni[1] >>= sPersistentName;
loadEmbeddedObject();
Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY);
if ( xPersist.is() )
{
xPersist->storeToEntry(xStorage,sPersistentName,Sequence<PropertyValue>(),Sequence<PropertyValue>());
xPersist->storeOwn();
}
else
throw CommandAbortedException();
}
else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "preview" ) ) )
{
generateNewImage(aRet);
}
else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "insert" ) ) )
{
Sequence<Any> aIni;
aCommand.Argument >>= aIni;
if ( aIni.getLength() > 0 && aIni.getLength() < 2 )
{
OSL_ENSURE( sal_False, "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
makeAny( IllegalArgumentException(
rtl::OUString(),
static_cast< cppu::OWeakObject * >( this ),
-1 ) ),
Environment );
// Unreachable
}
::rtl::OUString sURL;
aIni[0] >>= sURL;
insert(sURL,Environment);
}
else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "getdocumentinfo" ) ) )
{
fillDocumentInfo(aRet);
}
else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "delete" ) ) )
{
//////////////////////////////////////////////////////////////////
// delete
//////////////////////////////////////////////////////////////////
closeObject();
Reference< XStorage> xStorage = getStorage();
if ( xStorage.is() )
xStorage->removeElement(m_pImpl->m_aProps.sPersistentName);
dispose();
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
else
aRet = OContentHelper::execute(aCommand,CommandId,Environment);
return aRet;
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
void ODocumentDefinition::insert(const ::rtl::OUString& _sURL, const Reference< XCommandEnvironment >& Environment)
throw( Exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
// Check, if all required properties were set.
if ( !_sURL.getLength() || m_xEmbeddedObject.is() )
{
OSL_ENSURE( sal_False, "Content::insert - property value missing!" );
Sequence< rtl::OUString > aProps( 1 );
aProps[ 0 ] = PROPERTY_URL;
ucbhelper::cancelCommandExecution(
makeAny( MissingPropertiesException(
rtl::OUString(),
static_cast< cppu::OWeakObject * >( this ),
aProps ) ),
Environment );
// Unreachable
}
if ( !m_xEmbeddedObject.is() )
{
Reference< XStorage> xStorage = getStorage();
if ( xStorage.is() )
{
Reference< XEmbedObjectCreator> xEmbedFactory( m_xORB->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.embed.EmbeddedObjectCreator"))) ,UNO_QUERY);
if ( xEmbedFactory.is() )
{
Sequence<PropertyValue> aEmpty,aMediaDesc(1);
aMediaDesc[0].Name = PROPERTY_URL;
aMediaDesc[0].Value <<= _sURL;
m_xEmbeddedObject.set(xEmbedFactory->createInstanceInitFromMediaDescriptor( xStorage
,m_pImpl->m_aProps.sPersistentName
,aMediaDesc
,aEmpty),UNO_QUERY);
Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY);
if ( xPersist.is() )
{
xPersist->storeOwn();
}
try
{
Reference< com::sun::star::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY);
if ( xCloseable.is() )
xCloseable->close(sal_True);
}
catch(Exception)
{
}
m_xEmbeddedObject = NULL;
}
}
}
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// @@@
// storeData();
2000-10-25 06:42:28 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
aGuard.clear();
// inserted();
}
// -----------------------------------------------------------------------------
void SAL_CALL ODocumentDefinition::saveObject( ) throw (ObjectSaveVetoException, Exception, RuntimeException)
2000-09-18 23:16:46 +00:00
{
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
sal_Bool ODocumentDefinition::save(sal_Bool _bApprove)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// default handling: instantiate an interaction handler and let it handle the parameter request
try
{
{
::vos::OGuard aSolarGuard(Application::GetSolarMutex());
// the request
Reference<XNameAccess> xName(m_xParentContainer,UNO_QUERY);
DocumentSaveRequest aRequest;
aRequest.Name = m_pImpl->m_aProps.aTitle;
if ( !aRequest.Name.getLength() )
{
if ( m_bForm )
aRequest.Name = DBACORE_RESSTRING( RID_STR_FORM );
else
aRequest.Name = DBACORE_RESSTRING( RID_STR_REPORT );
aRequest.Name = ::dbtools::createUniqueName(xName,aRequest.Name);
}
aRequest.Content.set(m_xParentContainer,UNO_QUERY);
OInteractionRequest* pRequest = new OInteractionRequest(makeAny(aRequest));
Reference< XInteractionRequest > xRequest(pRequest);
// some knittings
// two continuations allowed: OK and Cancel
ODocumentSaveContinuation* pDocuSave = NULL;
if ( !m_pImpl->m_aProps.aTitle.getLength() )
{
pDocuSave = new ODocumentSaveContinuation;
pRequest->addContinuation(pDocuSave);
}
OInteraction< XInteractionApprove >* pApprove = NULL;
if ( _bApprove )
{
pApprove = new OInteraction< XInteractionApprove >;
pRequest->addContinuation(pApprove);
}
OInteraction< XInteractionDisapprove >* pDisApprove = new OInteraction< XInteractionDisapprove >;
pRequest->addContinuation(pDisApprove);
OInteractionAbort* pAbort = new OInteractionAbort;
pRequest->addContinuation(pAbort);
// create the handler, let it handle the request
Reference< XInteractionHandler > xHandler(m_xORB->createInstance(SERVICE_SDB_INTERACTION_HANDLER), UNO_QUERY);
if ( xHandler.is() )
xHandler->handle(xRequest);
if ( pAbort->wasSelected() )
return sal_False;
if ( pDisApprove->wasSelected() )
return sal_True;
if ( pDocuSave && pDocuSave->wasSelected() )
{
::osl::MutexGuard aGuard(m_aMutex);
Reference<XNameContainer> xNC(pDocuSave->getContent(),UNO_QUERY);
if ( xNC.is() )
{
m_pImpl->m_aProps.aTitle = pDocuSave->getName();
Reference< XContent> xContent = this;
xNC->insertByName(pDocuSave->getName(),makeAny(xContent));
updateDocumentTitle();
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
}
}
::osl::MutexGuard aGuard(m_aMutex);
Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY);
if ( xPersist.is() )
{
xPersist->storeOwn();
notifyDataSourceModified();
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
}
catch(Exception&)
{
OSL_ENSURE(0,"ODocumentDefinition::save: caught an Exception (tried to let the InteractionHandler handle it)!");
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
return sal_True;
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
void ODocumentDefinition::fillLoadArgs(Sequence<PropertyValue>& _rArgs,Sequence<PropertyValue>& _rEmbeddedObjectDescriptor,const Reference<XConnection>& _xConnection,sal_Bool _bReadOnly)
{
sal_Int32 nLen = _rArgs.getLength();
{
Sequence<PropertyValue> aDocumentContext(2);
aDocumentContext[0].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ActiveConnection"));
aDocumentContext[0].Value <<= _xConnection;
aDocumentContext[1].Name = PROPERTY_APPLYFORMDESIGNMODE;
aDocumentContext[1].Value <<= !_bReadOnly;
_rArgs.realloc(nLen+1);
_rArgs[nLen].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ComponentData"));
_rArgs[nLen++].Value <<= aDocumentContext;
}
_rArgs.realloc(nLen+3);
_rArgs[nLen].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ReadOnly"));
_rArgs[nLen++].Value <<= _bReadOnly;
_rArgs[nLen].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MacroExecutionMode"));
_rArgs[nLen++].Value <<= MacroExecMode::USE_CONFIG;
if ( m_pImpl->m_aProps.aTitle.getLength() )
{
_rArgs.realloc(nLen+1);
_rArgs[nLen].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DocumentTitle"));
_rArgs[nLen++].Value <<= m_pImpl->m_aProps.aTitle;
}
if ( m_pInterceptor )
{
m_pInterceptor->DisconnectContentHolder();
m_pInterceptor->release();
m_pInterceptor = NULL;
}
m_pInterceptor = new OInterceptor( this ,_bReadOnly);
m_pInterceptor->acquire();
Reference<XDispatchProviderInterceptor> xInterceptor = m_pInterceptor;
_rEmbeddedObjectDescriptor.realloc(1);
nLen = 0;
_rEmbeddedObjectDescriptor[nLen].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OutplaceDispatchInterceptor"));
_rEmbeddedObjectDescriptor[nLen++].Value <<= xInterceptor;
}
// -----------------------------------------------------------------------------
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
void ODocumentDefinition::loadEmbeddedObject(const Sequence< sal_Int8 >& _aClassID,const Reference<XConnection>& _xConnection,sal_Bool _bReadOnly)
{
if ( !m_xEmbeddedObject.is() )
{
Reference< XStorage> xStorage = getStorage();
if ( xStorage.is() )
{
Reference< XEmbedObjectFactory> xEmbedFactory( m_xORB->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.embed.OOoEmbeddedObjectFactory"))) ,UNO_QUERY);
if ( xEmbedFactory.is() )
{
::rtl::OUString sDocumentService;
sal_Bool bSetSize = sal_False;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
sal_Int32 nEntryConnectionMode = EntryInitModes::DEFAULT_INIT;
Sequence< sal_Int8 > aClassID = _aClassID;
if ( aClassID.getLength() )
{
nEntryConnectionMode = EntryInitModes::TRUNCATE_INIT;
bSetSize = sal_True;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
else
{
aClassID = lcl_GetSequenceClassID(SO3_SW_CLASSID);
sDocumentService = lcl_GetDocumentServiceFromMediaType(xStorage,m_pImpl->m_aProps.sPersistentName);
}
Sequence<PropertyValue> aArgs,aEmbeddedObjectDescriptor;
fillLoadArgs(aArgs,aEmbeddedObjectDescriptor,_xConnection,_bReadOnly);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
m_xEmbeddedObject.set(xEmbedFactory->createInstanceUserInit(aClassID
,sDocumentService
,xStorage
,m_pImpl->m_aProps.sPersistentName
,nEntryConnectionMode
,aArgs
,aEmbeddedObjectDescriptor
),UNO_QUERY);
if ( m_xEmbeddedObject.is() )
{
if ( !m_pClientHelper )
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
m_pClientHelper = new OEmbeddedClientHelper(this);
m_pClientHelper->acquire();
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference<XEmbeddedClient> xClient = m_pClientHelper;
m_xEmbeddedObject->setClientSite(xClient);
m_xEmbeddedObject->changeState(EmbedStates::RUNNING);
if ( bSetSize )
{
::com::sun::star::awt::Size aSize;
aSize.Width = DEFAULT_WIDTH;
aSize.Height = DEFAULT_HEIGHT;
m_xEmbeddedObject->setVisualAreaSize(Aspects::MSOLE_CONTENT,aSize);
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
}
}
}
else if ( m_xEmbeddedObject->getCurrentState() == EmbedStates::LOADED )
{
if ( !m_pClientHelper )
m_pClientHelper = new OEmbeddedClientHelper(this);
Reference<XEmbeddedClient> xClient = m_pClientHelper;
m_xEmbeddedObject->setClientSite(xClient);
Sequence<PropertyValue> aArgs,aEmbeddedObjectDescriptor;
fillLoadArgs(aArgs,aEmbeddedObjectDescriptor,_xConnection,_bReadOnly);
Reference<XCommonEmbedPersist> xCommon(m_xEmbeddedObject,UNO_QUERY);
OSL_ENSURE(xCommon.is(),"unsupported interface!");
if ( xCommon.is() )
xCommon->reload(aArgs,aEmbeddedObjectDescriptor);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
m_xEmbeddedObject->changeState(EmbedStates::RUNNING);
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference<XModel> xModel(getComponent(),UNO_QUERY);
// set the OfficeDatabaseDocument instance as parent of the embedded document
// #i40358# / 2005-01-19 / frank.schoenheit@sun.com
Reference< XChild > xDepdendDocAsChild( xModel, UNO_QUERY );
if ( xDepdendDocAsChild.is() )
{
try
{
if ( !xDepdendDocAsChild->getParent().is() )
{ // first encounter
xDepdendDocAsChild->setParent( getDataSource( m_xParentContainer ) );
}
}
catch( const Exception& )
{
OSL_ENSURE( sal_False, "ODocumentDefinition::loadEmbeddedObject: caught an exception while setting the parent of the embedded object!" );
}
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( xModel.is() )
{
Sequence<PropertyValue> aArgs = xModel->getArgs();
::comphelper::MediaDescriptor aHelper(aArgs);
static const ::rtl::OUString s_sReadOnly(RTL_CONSTASCII_USTRINGPARAM("ReadOnly"));
if ( ! aHelper.createItemIfMissing(s_sReadOnly,_bReadOnly) )
aHelper[s_sReadOnly] <<= _bReadOnly;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( m_pImpl->m_aProps.aTitle.getLength() )
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
{
static const ::rtl::OUString s_sDocumentTitle(RTL_CONSTASCII_USTRINGPARAM("DocumentTitle"));
if ( ! aHelper.createItemIfMissing(s_sDocumentTitle,m_pImpl->m_aProps.aTitle) )
aHelper[s_sDocumentTitle] <<= m_pImpl->m_aProps.aTitle;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
static const ::rtl::OUString s_sMacroExecutionMode(RTL_CONSTASCII_USTRINGPARAM("MacroExecutionMode"));
if ( ! aHelper.createItemIfMissing(s_sMacroExecutionMode,MacroExecMode::USE_CONFIG) )
aHelper[s_sMacroExecutionMode] <<= MacroExecMode::USE_CONFIG;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
aHelper >> aArgs;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
xModel->attachResource(xModel->getURL(),aArgs);
}
}
// -----------------------------------------------------------------------------
void SAL_CALL ODocumentDefinition::onShowWindow( sal_Bool bVisible ) throw (RuntimeException)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
::osl::MutexGuard aGuard(m_aMutex);
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
void ODocumentDefinition::generateNewImage(Any& _rImage)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
loadEmbeddedObject();
if ( m_xEmbeddedObject.is() )
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
try
{
Reference<XTransferable> xTransfer(getComponent(),UNO_QUERY);
if ( xTransfer.is() )
{
DataFlavor aFlavor;
aFlavor.MimeType = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("image/png"));
aFlavor.HumanPresentableName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Portable Network Graphics"));
aFlavor.DataType = ::getCppuType(static_cast< const Sequence < sal_Int8 >* >(NULL));
_rImage = xTransfer->getTransferData( aFlavor );
}
}
catch( Exception )
{
}
2000-09-18 23:16:46 +00:00
}
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
Any ODocumentDefinition::getPropertyDefaultByHandle( sal_Int32 _nHandle ) const
{
return Any();
}
// -----------------------------------------------------------------------------
void ODocumentDefinition::fillDocumentInfo(Any& _rInfo)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
loadEmbeddedObject();
if ( m_xEmbeddedObject.is() )
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
try
{
Reference<XDocumentInfoSupplier> xDocSup(getComponent(),UNO_QUERY);
if ( xDocSup.is() )
_rInfo <<= xDocSup->getDocumentInfo();
}
catch( Exception e )
{
}
2000-09-18 23:16:46 +00:00
}
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
Reference< ::com::sun::star::util::XCloseable> ODocumentDefinition::getComponent() throw (RuntimeException)
{
OSL_ENSURE(m_xEmbeddedObject.is(),"Illegal call for embeddedObject");
Reference< ::com::sun::star::util::XCloseable> xComp;
if ( m_xEmbeddedObject.is() )
{
int nOldState = m_xEmbeddedObject->getCurrentState();
int nState = nOldState;
if ( nOldState == EmbedStates::LOADED )
{
m_xEmbeddedObject->changeState( EmbedStates::RUNNING );
nState = EmbedStates::RUNNING;
}
2000-09-18 23:16:46 +00:00
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
if ( nState == EmbedStates::ACTIVE || nState == EmbedStates::RUNNING )
{
Reference<XComponentSupplier> xCompProv(m_xEmbeddedObject,UNO_QUERY);
if ( xCompProv.is() )
{
xComp = xCompProv->getComponent();
OSL_ENSURE(xComp.is(),"No valid component");
}
}
}
return xComp;
}
// -----------------------------------------------------------------------------
void SAL_CALL ODocumentDefinition::visibilityChanged( ::sal_Bool bVisible ) throw (WrongStateException, RuntimeException)
{
// ::osl::MutexGuard aGuard(m_aMutex);
// if ( m_xEmbeddedObject.is() && !bVisible )
// {
// try
// {
// Reference< com::sun::star::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY);
// if ( xCloseable.is() )
// xCloseable->close(sal_True);
// }
// catch(Exception)
// {
// }
// m_xEmbeddedObject = NULL;
// if ( m_pClientHelper )
// m_pClientHelper->resetClient(NULL);
// }
}
// -----------------------------------------------------------------------------
void SAL_CALL ODocumentDefinition::rename( const ::rtl::OUString& newName ) throw (SQLException, ElementExistException, RuntimeException)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
try
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
sal_Int32 nHandle = PROPERTY_ID_NAME;
osl::ClearableGuard< osl::Mutex > aGuard(m_aMutex);
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Any aOld = makeAny(m_pImpl->m_aProps.aTitle);
aGuard.clear();
Any aNew = makeAny(newName);
fire(&nHandle, &aNew, &aOld, 1, sal_True );
m_pImpl->m_aProps.aTitle = newName;
fire(&nHandle, &aNew, &aOld, 1, sal_False );
if ( m_xEmbeddedObject.is() && m_xEmbeddedObject->getCurrentState() == EmbedStates::ACTIVE )
updateDocumentTitle();
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
}
catch(const PropertyVetoException&)
{
throw ElementExistException(newName,*this);
2000-09-18 23:16:46 +00:00
}
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
Reference< XStorage> ODocumentDefinition::getStorage() const
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
static const ::rtl::OUString s_sForms = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("forms"));
static const ::rtl::OUString s_sReports = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("reports"));
Reference<css::embed::XTransactionListener> xEvt(m_pImpl->m_pDataSource->m_xModel,UNO_QUERY);
return m_pImpl->m_pDataSource ? m_pImpl->m_pDataSource->getStorage(m_bForm ? s_sForms : s_sReports,xEvt) : Reference< XStorage>();
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
sal_Bool ODocumentDefinition::isModified()
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
osl::ClearableGuard< osl::Mutex > aGuard(m_aMutex);
sal_Bool bRet = sal_False;
if ( m_xEmbeddedObject.is() )
{
Reference<XModifiable> xModel(getComponent(),UNO_QUERY);
bRet = xModel.is() && xModel->isModified();
}
return bRet;
2000-09-18 23:16:46 +00:00
}
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
// -----------------------------------------------------------------------------
void ODocumentDefinition::setModelReadOnly(sal_Bool _bReadOnly)
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
Reference<XModel> xModel(getComponent(),UNO_QUERY);
if ( xModel.is() )
{
Sequence<PropertyValue> aArgs = xModel->getArgs();
::comphelper::MediaDescriptor aHelper(aArgs);
static const ::rtl::OUString s_sReadOnly(RTL_CONSTASCII_USTRINGPARAM("ReadOnly"));
if ( ! aHelper.createItemIfMissing(s_sReadOnly,_bReadOnly) )
aHelper[s_sReadOnly] <<= _bReadOnly;
2000-09-18 23:16:46 +00:00
aHelper >> aArgs;
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
xModel->attachResource(xModel->getURL(),aArgs);
}
}
// -----------------------------------------------------------------------------
void ODocumentDefinition::fillReportData(sal_Bool _bFill)
2000-09-18 23:16:46 +00:00
{
if ( !m_bForm && _bFill && m_pImpl->m_aProps.bAsTemplate && !m_bOpenInDesign ) // open a report in alive mode, so we need to fill it
2000-09-18 23:16:46 +00:00
{
INTEGRATION: CWS insight01 (1.10.126); FILE MERGED 2004/07/27 13:26:05 oj 1.10.126.45: new prop 2004/07/27 09:27:02 oj 1.10.126.44: fill report 2004/07/22 10:35:21 oj 1.10.126.43: #i30199# AsTemplate for a component inserted 2004/07/16 12:34:06 oj 1.10.126.42: #i31520# make sure that the name doesn't contain any / 2004/07/09 13:12:29 oj 1.10.126.41: #i30416# correct emb obj handling documentdefinition.cxx 2004/07/01 13:23:22 oj 1.10.126.40: bring window to front when object already exists 2004/07/01 12:33:19 oj 1.10.126.39: bring window to front when object already exists 2004/07/01 11:36:38 oj 1.10.126.38: #i30368# new element to componentData added 2004/06/30 13:22:33 oj 1.10.126.37: #i30401# handle document save 2004/06/11 09:54:09 oj 1.10.126.36: embedded obj changes 2004/06/10 15:43:41 oj 1.10.126.35: embedded obj changes 2004/06/10 11:07:58 oj 1.10.126.34: embedded obj changes 2004/06/04 12:49:38 oj 1.10.126.33: merge 2004/06/03 10:56:43 oj 1.10.126.32: throw missing 2004/06/03 08:49:36 oj 1.10.126.31: merge to m40 2004/06/02 07:44:22 oj 1.10.126.30: embedded api change 2004/04/26 06:37:19 oj 1.10.126.29: fix edit and open 2004/04/15 11:40:36 oj 1.10.126.28: make use of createInstanceUserInit 2004/04/13 12:32:37 oj 1.10.126.27: open only forms in a design mode 2004/04/13 06:35:10 oj 1.10.126.26: ongoing work 2004/03/31 10:03:36 oj 1.10.126.25: correct storage handling 2004/03/30 12:54:40 oj 1.10.126.24: share storage 2004/03/29 09:55:48 oj 1.10.126.23: set document title and read only mode 2004/03/19 07:45:42 oj 1.10.126.22: #111075# ongoing work 2004/03/17 12:52:32 oj 1.10.126.21: #111075# renaming of objects 2004/03/16 14:21:51 oj 1.10.126.20: #111075# change rename handling 2004/03/16 11:07:21 oj 1.10.126.19: #111075# set non existing name when create new object 2004/03/12 14:21:47 oj 1.10.126.18: #111075# ongoing changes 2004/03/12 11:55:21 oj 1.10.126.17: #111075# implement commit 2004/03/11 11:22:01 oj 1.10.126.16: #111075# changes for closing 2004/03/11 09:06:20 oj 1.10.126.15: #111075# changes for closing 2004/02/27 09:11:51 oj 1.10.126.14: #i24209# check if column and table are defaulted 2004/02/23 14:50:20 oj 1.10.126.13: #111075# set the document context 2004/02/20 14:39:55 oj 1.10.126.12: #111075# ongoing work 2004/02/20 11:32:30 oj 1.10.126.11: #i25414# extend the datadescriptor for database location and connection resource 2004/02/17 11:13:09 oj 1.10.126.10: #111075# ongoing work 2004/02/16 07:22:19 oj 1.10.126.9: #111075# linux changes 2004/02/12 16:15:26 oj 1.10.126.8: #111075# fix refcount problem 2004/01/22 14:22:42 oj 1.10.126.7: #i24598# parent handling changed 2004/01/07 13:54:36 oj 1.10.126.6: #111075# ongoing work 2003/12/17 09:46:38 oj 1.10.126.5: #111075# ongoing work 2003/11/26 12:14:31 oj 1.10.126.4: #111075# ongoing work 2003/11/17 09:39:12 oj 1.10.126.3: #111075# ongoning work 2003/11/05 11:36:23 oj 1.10.126.2: #111075# ongoing work 2003/10/24 06:27:29 oj 1.10.126.1: #i21643# import filter changes
2004-08-02 14:10:37 +00:00
setModelReadOnly(sal_False);
Sequence<Any> aArgs(1);
PropertyValue aValue;
aValue.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TextDocument"));
aValue.Value <<= getComponent();
aArgs[0] <<= aValue;
Reference< XJobExecutor > xExecuteable(m_xORB->createInstanceWithArguments(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.wizards.report.CallReportWizard")),aArgs),UNO_QUERY);
if ( xExecuteable.is() )
xExecuteable->trigger(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("fill")));
setModelReadOnly(sal_True);
2000-09-18 23:16:46 +00:00
}
}
// -----------------------------------------------------------------------------
void ODocumentDefinition::updateDocumentTitle()
{
if ( m_pImpl->m_aProps.aTitle.getLength() )
{
Reference<XModel> xModel(getComponent(),UNO_QUERY);
if ( xModel.is() )
{
Sequence<PropertyValue> aArgs = xModel->getArgs();
::comphelper::MediaDescriptor aHelper(aArgs);
static const ::rtl::OUString s_sDocumentTitle(RTL_CONSTASCII_USTRINGPARAM("DocumentTitle"));
if ( ! aHelper.createItemIfMissing(s_sDocumentTitle,m_pImpl->m_aProps.aTitle) )
aHelper[s_sDocumentTitle] <<= m_pImpl->m_aProps.aTitle;
aHelper >> aArgs;
xModel->attachResource(xModel->getURL(),aArgs);
}
}
}
//........................................................................
} // namespace dbaccess
//........................................................................
2000-09-18 23:16:46 +00:00