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

2145 lines
82 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2012-06-14 17:39:53 +01:00
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 .
*/
2000-09-18 23:16:46 +00:00
#include "documentdefinition.hxx"
2000-10-25 06:42:28 +00:00
#include "dbastrings.hrc"
#include "sdbcoretools.hxx"
2000-09-18 23:16:46 +00:00
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
2011-02-03 00:33:36 +01:00
#include <osl/diagnose.h>
2000-10-11 10:21:40 +00:00
#include <comphelper/property.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/classids.hxx>
#include <com/sun/star/frame/XUntitledNumbers.hpp>
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
#include <com/sun/star/awt/XTopWindow.hpp>
#include <com/sun/star/awt/Size.hpp>
2000-09-18 23:16:46 +00:00
#include <com/sun/star/lang/DisposedException.hpp>
2000-10-25 06:42:28 +00:00
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/frame/Desktop.hpp>
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
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XTitle.hpp>
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
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/task/XJobExecutor.hpp>
#include <com/sun/star/frame/XDispatchProviderInterception.hpp>
#include <com/sun/star/frame/XFramesSupplier.hpp>
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
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
#include <com/sun/star/report/XReportDefinition.hpp>
#include <com/sun/star/report/XReportEngine.hpp>
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
#include <com/sun/star/ucb/OpenMode.hpp>
#include <com/sun/star/embed/XEmbedObjectFactory.hpp>
#include <com/sun/star/embed/EmbeddedObjectCreator.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/OOoEmbeddedObjectFactory.hpp>
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
#include <ucbhelper/cancelcommandexecution.hxx>
#include <com/sun/star/ucb/UnsupportedDataSinkException.hpp>
#include <com/sun/star/ucb/UnsupportedOpenModeException.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XEmbedPersist.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/XComponentSupplier.hpp>
#include <com/sun/star/embed/EntryInitModes.hpp>
#include <com/sun/star/ucb/MissingPropertiesException.hpp>
#include <com/sun/star/ucb/MissingInputStreamException.hpp>
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#include <com/sun/star/frame/XModule.hpp>
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
#include <com/sun/star/datatransfer/DataFlavor.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/embed/XCommonEmbedPersist.hpp>
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
#include "intercept.hxx"
#include <com/sun/star/sdb/ErrorCondition.hpp>
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
#include <com/sun/star/sdb/XInteractionDocumentSave.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
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
#include <com/sun/star/sdb/DocumentSaveRequest.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
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
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/form/XFormsSupplier.hpp>
#include <com/sun/star/form/XForm.hpp>
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
#include <comphelper/interaction.hxx>
#include <connectivity/dbtools.hxx>
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
2010-10-09 22:17:25 -05:00
#include <sal/macros.h>
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
#include <com/sun/star/view/XViewSettingsSupplier.hpp>
#include "core_resource.hxx"
#include "core_resource.hrc"
#include "datasource.hxx"
#include <com/sun/star/embed/XStateChangeBroadcaster.hpp>
#include <com/sun/star/task/XInteractionApprove.hpp>
#include <com/sun/star/task/XInteractionDisapprove.hpp>
2005-03-16 14:49:18 +00:00
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/implbase.hxx>
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
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/mimeconfighelper.hxx>
#include <comphelper/storagehelper.hxx>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
#include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp>
#include <com/sun/star/sdb/application/DatabaseObject.hpp>
#include <com/sun/star/util/XModifiable2.hpp>
2000-09-18 23:16:46 +00:00
using namespace ::com::sun::star;
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
using namespace view;
using namespace uno;
using namespace util;
using namespace ucb;
using namespace beans;
using namespace lang;
using namespace awt;
using namespace embed;
using namespace frame;
using namespace document;
using namespace sdbc;
using namespace sdb;
using namespace io;
using namespace container;
using namespace datatransfer;
using namespace task;
using namespace form;
using namespace drawing;
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;
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
using sdb::application::XDatabaseDocumentUI;
namespace DatabaseObject = sdb::application::DatabaseObject;
#define DEFAULT_WIDTH 10000
#define DEFAULT_HEIGHT 7500
namespace dbaccess
{
typedef ::boost::optional< bool > optional_bool;
// helper
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
namespace
{
OUString lcl_determineContentType_nothrow( const Reference< XStorage >& _rxContainerStorage,
const OUString& _rEntityName )
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
{
OUString sContentType;
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
try
{
::utl::SharedUNOComponent< XPropertySet > xStorageProps(
_rxContainerStorage->openStorageElement( _rEntityName, ElementModes::READ ), UNO_QUERY_THROW );
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
OSL_VERIFY( xStorageProps->getPropertyValue( INFO_MEDIATYPE ) >>= sContentType );
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
return sContentType;
}
}
// OEmbedObjectHolder
typedef ::cppu::WeakComponentImplHelper< embed::XStateChangeListener > TEmbedObjectHolder;
class OEmbedObjectHolder : public ::comphelper::OBaseMutex
,public TEmbedObjectHolder
{
Reference< XEmbeddedObject > m_xBroadCaster;
ODocumentDefinition* m_pDefinition;
bool m_bInStateChange;
protected:
virtual void SAL_CALL disposing() override;
public:
OEmbedObjectHolder(const Reference< XEmbeddedObject >& _xBroadCaster,ODocumentDefinition* _pDefinition)
: TEmbedObjectHolder(m_aMutex)
,m_xBroadCaster(_xBroadCaster)
,m_pDefinition(_pDefinition)
,m_bInStateChange(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_atomic_increment( &m_refCount );
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_xBroadCaster.is() )
m_xBroadCaster->addStateChangeListener(this);
}
osl_atomic_decrement( &m_refCount );
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 changingState( const lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (embed::WrongStateException, uno::RuntimeException, std::exception) override;
virtual void SAL_CALL stateChanged( const lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (uno::RuntimeException, std::exception) override;
virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (uno::RuntimeException, std::exception) override;
};
void SAL_CALL OEmbedObjectHolder::disposing()
{
if ( m_xBroadCaster.is() )
m_xBroadCaster->removeStateChangeListener(this);
m_xBroadCaster = nullptr;
m_pDefinition = nullptr;
}
void SAL_CALL OEmbedObjectHolder::changingState( const lang::EventObject& /*aEvent*/, ::sal_Int32 /*nOldState*/, ::sal_Int32 /*nNewState*/ ) throw (embed::WrongStateException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL OEmbedObjectHolder::stateChanged( const lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (uno::RuntimeException, std::exception)
{
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 = true;
Reference<XInterface> xInt(static_cast< ::cppu::OWeakObject* >(m_pDefinition),UNO_QUERY);
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<XEmbeddedObject> xEmbeddedObject(aEvent.Source,UNO_QUERY);
if ( xEmbeddedObject.is() )
xEmbeddedObject->changeState(EmbedStates::LOADED);
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 = 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 lang::EventObject& /*Source*/ ) throw (uno::RuntimeException, std::exception)
{
m_xBroadCaster = nullptr;
}
// OEmbeddedClientHelper
typedef ::cppu::WeakImplHelper< XEmbeddedClient
> EmbeddedClientHelper_BASE;
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
class OEmbeddedClientHelper : public EmbeddedClientHelper_BASE
{
ODocumentDefinition* m_pClient;
public:
explicit OEmbeddedClientHelper(ODocumentDefinition* _pClient) :m_pClient(_pClient) {}
virtual void SAL_CALL saveObject( ) throw (ObjectSaveVetoException, Exception, RuntimeException, std::exception) override
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
{
}
// XComponentSupplier
virtual Reference< util::XCloseable > SAL_CALL getComponent( ) throw (RuntimeException, std::exception) override
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 Reference< css::util::XCloseable >();
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
// XEmbeddedClient
virtual void SAL_CALL visibilityChanged( sal_Bool /*bVisible*/ ) throw (WrongStateException, RuntimeException, std::exception) override
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
{
}
inline void resetClient(ODocumentDefinition* _pClient) { m_pClient = _pClient; }
};
// LockModifiable
class LockModifiable
{
public:
explicit LockModifiable( const Reference< XInterface >& i_rModifiable )
:m_xModifiable( i_rModifiable, UNO_QUERY )
{
OSL_ENSURE( m_xModifiable.is(), "LockModifiable::LockModifiable: invalid component!" );
if ( m_xModifiable.is() )
{
if ( !m_xModifiable->isSetModifiedEnabled() )
{
// somebody already locked that, no need to lock it, again, and no need to unlock it later
m_xModifiable.clear();
}
else
{
m_xModifiable->disableSetModified();
}
}
}
~LockModifiable()
{
if ( m_xModifiable.is() )
m_xModifiable->enableSetModified();
}
private:
Reference< XModifiable2 > m_xModifiable;
};
// LifetimeCoupler
typedef ::cppu::WeakImplHelper< css::lang::XEventListener
> LifetimeCoupler_Base;
2009-11-04 14:40:44 +01:00
/** helper class which couples the lifetime of a component to the lifetime
of another component
Instances of this class are constructed with two components. The first is
simply held by reference, and thus kept alive. The second one is observed
for <code>disposing</code> calls - if they occur, i.e. if the component dies,
the reference to the first component is cleared.
This way, you can ensure that a certain component is kept alive as long
as a second component is not disposed.
*/
class LifetimeCoupler : public LifetimeCoupler_Base
{
private:
Reference< XInterface > m_xClient;
public:
inline static void couple( const Reference< XInterface >& _rxClient, const Reference< XComponent >& _rxActor )
{
Reference< css::lang::XEventListener > xEnsureDelete( new LifetimeCoupler( _rxClient, _rxActor ) );
}
private:
inline LifetimeCoupler( const Reference< XInterface >& _rxClient, const Reference< XComponent >& _rxActor )
:m_xClient( _rxClient )
{
2011-02-03 00:33:36 +01:00
OSL_ENSURE( _rxActor.is(), "LifetimeCoupler::LifetimeCoupler: this will crash!" );
osl_atomic_increment( &m_refCount );
{
_rxActor->addEventListener( this );
}
osl_atomic_decrement( &m_refCount );
2011-02-03 00:33:36 +01:00
OSL_ENSURE( m_refCount, "LifetimeCoupler::LifetimeCoupler: the actor is not holding us by hard ref - this won't work!" );
}
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (RuntimeException, std::exception) override;
protected:
};
void SAL_CALL LifetimeCoupler::disposing( const css::lang::EventObject& /*Source*/ ) throw (RuntimeException, std::exception)
{
m_xClient.clear();
}
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
// ODocumentSaveContinuation
class ODocumentSaveContinuation : public OInteraction< XInteractionDocumentSave >
{
OUString m_sName;
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<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 OUString getName() const { return m_sName; }
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
// XInteractionDocumentSave
virtual void SAL_CALL setName( const OUString& _sName,const Reference<XContent>& _xParent) throw(RuntimeException, std::exception) override;
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 ODocumentSaveContinuation::setName( const OUString& _sName,const Reference<XContent>& _xParent) throw(RuntimeException, std::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
{
m_sName = _sName;
m_xParentContainer = _xParent;
}
OUString ODocumentDefinition::GetDocumentServiceFromMediaType( const Reference< XStorage >& _rxContainerStorage,
const OUString& _rEntityName, const Reference< XComponentContext >& _rContext,
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
Sequence< sal_Int8 >& _rClassId )
{
return GetDocumentServiceFromMediaType(
lcl_determineContentType_nothrow( _rxContainerStorage, _rEntityName ),
_rContext, _rClassId );
}
OUString ODocumentDefinition::GetDocumentServiceFromMediaType( const OUString& _rMediaType,
const Reference< XComponentContext >& _rContext, Sequence< sal_Int8 >& _rClassId )
{
OUString sResult;
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
{
::comphelper::MimeConfigurationHelper aConfigHelper( _rContext );
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
sResult = aConfigHelper.GetDocServiceNameFromMediaType( _rMediaType );
_rClassId = comphelper::MimeConfigurationHelper::GetSequenceClassIDRepresentation(aConfigHelper.GetExplicitlyRegisteredObjClassID( _rMediaType ));
if ( !_rClassId.getLength() && !sResult.isEmpty() )
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
{
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
Reference< XNameAccess > xObjConfig = aConfigHelper.GetObjConfiguration();
if ( xObjConfig.is() )
{
Sequence< OUString > aClassIDs = xObjConfig->getElementNames();
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
for ( sal_Int32 nInd = 0; nInd < aClassIDs.getLength(); nInd++ )
{
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
Reference< XNameAccess > xObjectProps;
OUString aEntryDocName;
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
if ( ( xObjConfig->getByName( aClassIDs[nInd] ) >>= xObjectProps ) && xObjectProps.is()
&& ( xObjectProps->getByName("ObjectDocumentServiceName") >>= aEntryDocName )
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
&& aEntryDocName.equals( sResult ) )
{
_rClassId = comphelper::MimeConfigurationHelper::GetSequenceClassIDRepresentation(aClassIDs[nInd]);
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
break;
}
}
}
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 OSL_DEBUG_LEVEL > 0
// alternative, shorter approach
const Sequence< NamedValue > aProps( aConfigHelper.GetObjectPropsByMediaType( _rMediaType ) );
const ::comphelper::NamedValueCollection aMediaTypeProps( aProps );
const OUString sAlternativeResult = aMediaTypeProps.getOrDefault( "ObjectDocumentServiceName", OUString() );
OSL_ENSURE( sAlternativeResult == sResult, "ODocumentDefinition::GetDocumentServiceFromMediaType: failed, this approach is *not* equivalent (1)!" );
const Sequence< sal_Int8 > aAlternativeClassID = aMediaTypeProps.getOrDefault( "ClassID", Sequence< sal_Int8 >() );
OSL_ENSURE( aAlternativeClassID == _rClassId, "ODocumentDefinition::GetDocumentServiceFromMediaType: failed, this approach is *not* equivalent (2)!" );
#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
}
2011-04-13 09:40:26 +01:00
catch ( const 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
{
DBG_UNHANDLED_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
}
return sResult;
}
// ODocumentDefinition
2000-09-18 23:16:46 +00:00
ODocumentDefinition::ODocumentDefinition( const Reference< XInterface >& _rxContainer, const Reference< XComponentContext >& _xORB,
const TContentPtr& _pImpl, bool _bForm )
:OContentHelper(_xORB,_rxContainer,_pImpl)
CWS-TOOLING: integrate CWS dba31e 2008-11-19 12:36:23 +0100 msc r263980 : i96104 2008-11-19 12:31:19 +0100 msc r263979 : i96104 2008-11-19 12:21:55 +0100 msc r263977 : i96104 2008-11-19 12:18:53 +0100 msc r263976 : i96104 2008-11-18 09:09:45 +0100 oj r263746 : disable color entry when area is set 2008-11-18 08:37:52 +0100 oj r263741 : #remove sub report entry 2008-11-17 11:20:25 +0100 fs r263708 : #i10000# 2008-11-17 11:06:52 +0100 fs r263706 : minimal version now is 3.1 2008-11-12 22:25:59 +0100 fs r263621 : #i96150# 2008-11-12 22:20:02 +0100 fs r263620 : rebased to m34 2008-11-12 21:39:41 +0100 fs r263618 : MANUAL REBASE: rebase CWS dba31d to DEV300_m34 2008-11-12 13:54:58 +0100 fs r263597 : #i96134# MediaDescriptor.URL is to be preferred over MediaDescriptor.FileName. Nonetheless, ensure both are handled 2008-11-12 13:53:40 +0100 fs r263596 : #i96134# re-enabled the code for #i41897#, a better fix is to come 2008-11-12 12:48:21 +0100 fs r263585 : #i96134# disable saving URLs of file-base databases relatively 2008-11-11 16:11:11 +0100 msc r263566 : #i96104# 2008-11-05 09:09:47 +0100 oj r263342 : #i88727# color noe added 2008-11-05 08:41:43 +0100 oj r263341 : #i77916# zoom added 2008-11-04 21:24:15 +0100 fs r263339 : disposing: call disposeAndClear without own mutex locked - some of our listeners insist on locking the SolarMutex, which sometimes led to deadlocks on the complex test cases 2008-11-04 21:23:15 +0100 fs r263338 : remove SolarMutex locking - this happned in CWS dba31c (in the CVS version), which this CWS was created from, but seems to got lost during resync 2008-11-04 20:49:50 +0100 fs r263335 : docu formatting 2008-11-04 20:06:39 +0100 fs r263334 : #i95826# use m_aMutex, not a DocumentGuard (wrongly resolved merge conflicts) 2008-11-04 17:36:29 +0100 fs r263332 : #i92688# properly revoke as XEventListener from m_xActiveController when disposing 2008-11-04 14:49:34 +0100 fs r263324 : #i92322# enable Input Required if EmptyIsNULL does not exist at the control 2008-10-31 11:10:04 +0100 oj r262857 : merge from cvs to svn 2008-10-31 09:46:45 +0100 oj r262853 : merge from cvs to svn 2008-10-31 08:46:37 +0100 oj r262849 : merge from cvs to svn 2008-10-31 08:44:24 +0100 oj r262848 : merge from cvs to svn 2008-10-31 08:43:33 +0100 oj r262847 : merge from cvs to svn 2008-10-31 08:42:28 +0100 oj r262846 : merge from cvs to svn 2008-10-31 08:41:58 +0100 oj r262845 : merge from cvs to svn 2008-10-31 08:41:32 +0100 oj r262844 : merge from cvs to svn 2008-10-28 12:19:50 +0100 oj r262733 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:42 +0100 oj r262732 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:36 +0100 oj r262731 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:31 +0100 oj r262730 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:22 +0100 oj r262729 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:18 +0100 oj r262728 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:10 +0100 oj r262727 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:06 +0100 oj r262726 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:05 +0100 oj r262725 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:01 +0100 oj r262724 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:50 +0100 oj r262723 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:41 +0100 oj r262722 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:40 +0100 oj r262721 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:27 +0100 oj r262720 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:10 +0100 oj r262719 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:01 +0100 oj r262718 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:17:39 +0100 oj r262717 : #iXXXXX#: migrate CWS dba31e to SVN
2008-12-01 12:31:27 +00:00
,OPropertyStateContainer(OContentHelper::rBHelper)
,m_pInterceptor(nullptr)
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_bForm(_bForm)
,m_bOpenInDesign(false)
,m_bInExecute(false)
,m_bRemoveListener(false)
,m_pClientHelper(nullptr)
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
registerProperties();
2000-09-18 23:16:46 +00:00
}
void ODocumentDefinition::initialLoad( const Sequence< sal_Int8 >& i_rClassID, const Sequence< PropertyValue >& i_rCreationArgs,
const Reference< XConnection >& i_rConnection )
{
OSL_ENSURE( i_rClassID.getLength(), "ODocumentDefinition::initialLoad: illegal class ID!" );
if ( !i_rClassID.getLength() )
return;
loadEmbeddedObject( i_rConnection, i_rClassID, i_rCreationArgs, false, false );
}
2000-09-18 23:16:46 +00:00
ODocumentDefinition::~ODocumentDefinition()
{
CWS-TOOLING: integrate CWS dba31e 2008-11-19 12:36:23 +0100 msc r263980 : i96104 2008-11-19 12:31:19 +0100 msc r263979 : i96104 2008-11-19 12:21:55 +0100 msc r263977 : i96104 2008-11-19 12:18:53 +0100 msc r263976 : i96104 2008-11-18 09:09:45 +0100 oj r263746 : disable color entry when area is set 2008-11-18 08:37:52 +0100 oj r263741 : #remove sub report entry 2008-11-17 11:20:25 +0100 fs r263708 : #i10000# 2008-11-17 11:06:52 +0100 fs r263706 : minimal version now is 3.1 2008-11-12 22:25:59 +0100 fs r263621 : #i96150# 2008-11-12 22:20:02 +0100 fs r263620 : rebased to m34 2008-11-12 21:39:41 +0100 fs r263618 : MANUAL REBASE: rebase CWS dba31d to DEV300_m34 2008-11-12 13:54:58 +0100 fs r263597 : #i96134# MediaDescriptor.URL is to be preferred over MediaDescriptor.FileName. Nonetheless, ensure both are handled 2008-11-12 13:53:40 +0100 fs r263596 : #i96134# re-enabled the code for #i41897#, a better fix is to come 2008-11-12 12:48:21 +0100 fs r263585 : #i96134# disable saving URLs of file-base databases relatively 2008-11-11 16:11:11 +0100 msc r263566 : #i96104# 2008-11-05 09:09:47 +0100 oj r263342 : #i88727# color noe added 2008-11-05 08:41:43 +0100 oj r263341 : #i77916# zoom added 2008-11-04 21:24:15 +0100 fs r263339 : disposing: call disposeAndClear without own mutex locked - some of our listeners insist on locking the SolarMutex, which sometimes led to deadlocks on the complex test cases 2008-11-04 21:23:15 +0100 fs r263338 : remove SolarMutex locking - this happned in CWS dba31c (in the CVS version), which this CWS was created from, but seems to got lost during resync 2008-11-04 20:49:50 +0100 fs r263335 : docu formatting 2008-11-04 20:06:39 +0100 fs r263334 : #i95826# use m_aMutex, not a DocumentGuard (wrongly resolved merge conflicts) 2008-11-04 17:36:29 +0100 fs r263332 : #i92688# properly revoke as XEventListener from m_xActiveController when disposing 2008-11-04 14:49:34 +0100 fs r263324 : #i92322# enable Input Required if EmptyIsNULL does not exist at the control 2008-10-31 11:10:04 +0100 oj r262857 : merge from cvs to svn 2008-10-31 09:46:45 +0100 oj r262853 : merge from cvs to svn 2008-10-31 08:46:37 +0100 oj r262849 : merge from cvs to svn 2008-10-31 08:44:24 +0100 oj r262848 : merge from cvs to svn 2008-10-31 08:43:33 +0100 oj r262847 : merge from cvs to svn 2008-10-31 08:42:28 +0100 oj r262846 : merge from cvs to svn 2008-10-31 08:41:58 +0100 oj r262845 : merge from cvs to svn 2008-10-31 08:41:32 +0100 oj r262844 : merge from cvs to svn 2008-10-28 12:19:50 +0100 oj r262733 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:42 +0100 oj r262732 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:36 +0100 oj r262731 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:31 +0100 oj r262730 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:22 +0100 oj r262729 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:18 +0100 oj r262728 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:10 +0100 oj r262727 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:06 +0100 oj r262726 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:05 +0100 oj r262725 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:19:01 +0100 oj r262724 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:50 +0100 oj r262723 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:41 +0100 oj r262722 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:40 +0100 oj r262721 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:27 +0100 oj r262720 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:10 +0100 oj r262719 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:18:01 +0100 oj r262718 : #iXXXXX#: migrate CWS dba31e to SVN 2008-10-28 12:17:39 +0100 oj r262717 : #iXXXXX#: migrate CWS dba31e to SVN
2008-12-01 12:31:27 +00:00
if ( !OContentHelper::rBHelper.bInDispose && !OContentHelper::rBHelper.bDisposed )
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
{
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->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
m_pInterceptor->release();
m_pInterceptor = nullptr;
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
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< css::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY);
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 ( xCloseable.is() )
xCloseable->close(sal_True);
}
2011-04-13 09:40:26 +01:00
catch(const 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
{
}
m_xEmbeddedObject = nullptr;
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_pClientHelper )
{
m_pClientHelper->resetClient(nullptr);
m_pClientHelper->release();
m_pClientHelper = nullptr;
}
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);
2009-11-04 14:40:44 +01:00
if ( m_bRemoveListener )
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
{
Reference<util::XCloseable> xCloseable(m_pImpl->m_pDataSource->getModel_noCreate(),UNO_QUERY);
if ( xCloseable.is() )
xCloseable->removeCloseListener(this);
}
2000-09-18 23:16:46 +00:00
}
css::uno::Sequence<sal_Int8> ODocumentDefinition::getImplementationId()
throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
IMPLEMENT_GETTYPES3(ODocumentDefinition,OContentHelper,OPropertyStateContainer,ODocumentDefinition_Base);
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_FORWARD_XINTERFACE3( ODocumentDefinition,OContentHelper,OPropertyStateContainer,ODocumentDefinition_Base)
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
{
#define REGISTER_PROPERTY( name, location ) \
registerProperty( PROPERTY_##name, PROPERTY_ID_##name, PropertyAttribute::READONLY, &location, cppu::UnoType<decltype(location)>::get() );
#define REGISTER_PROPERTY_BV( name, location ) \
registerProperty( PROPERTY_##name, PROPERTY_ID_##name, PropertyAttribute::CONSTRAINED | PropertyAttribute::BOUND | PropertyAttribute::READONLY, &location, cppu::UnoType<decltype(location)>::get() );
REGISTER_PROPERTY_BV( NAME, m_pImpl->m_aProps.aTitle );
REGISTER_PROPERTY ( AS_TEMPLATE, m_pImpl->m_aProps.bAsTemplate );
REGISTER_PROPERTY ( PERSISTENT_NAME, m_pImpl->m_aProps.sPersistentName );
REGISTER_PROPERTY ( IS_FORM, m_bForm );
2000-09-18 23:16:46 +00:00
}
void SAL_CALL ODocumentDefinition::getFastPropertyValue( Any& o_rValue, sal_Int32 i_nHandle ) const
{
if ( i_nHandle == PROPERTY_ID_PERSISTENT_PATH )
{
OUString sPersistentPath;
if ( !m_pImpl->m_aProps.sPersistentName.isEmpty() )
{
OUStringBuffer aBuffer;
aBuffer.append( ODatabaseModelImpl::getObjectContainerStorageName( m_bForm ? ODatabaseModelImpl::E_FORM : ODatabaseModelImpl::E_REPORT ) );
aBuffer.append( '/' );
aBuffer.append( m_pImpl->m_aProps.sPersistentName );
sPersistentPath = aBuffer.makeStringAndClear();
}
o_rValue <<= sPersistentPath;
return;
}
OPropertyStateContainer::getFastPropertyValue( o_rValue, i_nHandle );
}
Reference< XPropertySetInfo > SAL_CALL ODocumentDefinition::getPropertySetInfo( ) throw(RuntimeException, std::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
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
IPropertyArrayHelper* ODocumentDefinition::createArrayHelper( ) const
2000-09-18 23:16:46 +00:00
{
// properties maintained by our base class (see registerProperties)
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 );
// properties not maintained by our base class
Sequence< Property > aManualProps( 1 );
aManualProps[0].Name = PROPERTY_PERSISTENT_PATH;
aManualProps[0].Handle = PROPERTY_ID_PERSISTENT_PATH;
aManualProps[0].Type = ::cppu::UnoType<OUString>::get();
aManualProps[0].Attributes = PropertyAttribute::READONLY;
return new OPropertyArrayHelper( ::comphelper::concatSequences( aProps, aManualProps ) );
2000-09-18 23:16:46 +00:00
}
class OExecuteImpl
{
bool& m_rbSet;
public:
explicit OExecuteImpl(bool& _rbSet) : m_rbSet(_rbSet){ m_rbSet=true; }
~OExecuteImpl(){ m_rbSet = false; }
};
namespace
{
bool lcl_extractOpenMode( const Any& _rValue, sal_Int32& _out_rMode )
{
OpenCommandArgument aOpenCommand;
if ( _rValue >>= aOpenCommand )
_out_rMode = aOpenCommand.Mode;
else
{
OpenCommandArgument2 aOpenCommand2;
if ( _rValue >>= aOpenCommand2 )
_out_rMode = aOpenCommand2.Mode;
else
return false;
}
return true;
}
}
void ODocumentDefinition::impl_removeFrameFromDesktop_throw( const Reference<XComponentContext> & _rxContext, const Reference< XFrame >& _rxFrame )
{
Reference< XDesktop2 > xDesktop = Desktop::create( _rxContext );
2009-11-04 14:40:44 +01:00
Reference< XFrames > xFrames( xDesktop->getFrames(), UNO_QUERY_THROW );
xFrames->remove( _rxFrame );
}
void ODocumentDefinition::impl_onActivateEmbeddedObject_nothrow( const bool i_bReactivated )
{
try
{
Reference< XModel > xModel( getComponent(), UNO_QUERY );
Reference< XController > xController( xModel.is() ? xModel->getCurrentController() : Reference< XController >() );
if ( !xController.is() )
return;
if ( !m_xListener.is() )
// it's the first time the embedded object has been activated
// create an OEmbedObjectHolder
2009-11-04 14:40:44 +01:00
m_xListener = new OEmbedObjectHolder( m_xEmbeddedObject, this );
2009-11-04 14:40:44 +01:00
// raise the window to top (especially necessary if this is not the first activation)
Reference< XFrame > xFrame( xController->getFrame(), UNO_SET_THROW );
Reference< XTopWindow > xTopWindow( xFrame->getContainerWindow(), UNO_QUERY_THROW );
xTopWindow->toFront();
2009-11-04 14:40:44 +01:00
// remove the frame from the desktop's frame collection because we need full control of it.
impl_removeFrameFromDesktop_throw( m_aContext, xFrame );
// ensure that we ourself are kept alive as long as the embedded object's frame is
// opened
LifetimeCoupler::couple( *this, xFrame.get() );
// init the edit view
if ( m_bForm && m_bOpenInDesign && !i_bReactivated )
2009-11-04 14:40:44 +01:00
impl_initFormEditView( xController );
}
catch( const RuntimeException& )
{
DBG_UNHANDLED_EXCEPTION();
}
}
namespace
{
// PreserveVisualAreaSize
/** stack-guard for preserving the size of the VisArea of an XModel
*/
class PreserveVisualAreaSize
{
private:
Reference< XVisualObject > m_xVisObject;
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
awt::Size m_aOriginalSize;
public:
explicit PreserveVisualAreaSize( const Reference< XModel >& _rxModel )
:m_xVisObject( _rxModel, UNO_QUERY )
{
if ( m_xVisObject.is() )
{
try
{
m_aOriginalSize = m_xVisObject->getVisualAreaSize( Aspects::MSOLE_CONTENT );
}
2011-04-13 09:40:26 +01:00
catch ( const Exception& )
{
2011-02-25 17:47:41 +01:00
OSL_FAIL( "PreserveVisualAreaSize::PreserveVisualAreaSize: caught an exception!" );
}
}
}
inline ~PreserveVisualAreaSize()
{
if ( m_xVisObject.is() && m_aOriginalSize.Width && m_aOriginalSize.Height )
{
try
{
m_xVisObject->setVisualAreaSize( Aspects::MSOLE_CONTENT, m_aOriginalSize );
}
2011-04-13 09:40:26 +01:00
catch ( const Exception& )
{
2011-02-25 17:47:41 +01:00
OSL_FAIL( "PreserveVisualAreaSize::~PreserveVisualAreaSize: caught an exception!" );
}
}
}
};
// LayoutManagerLock
/** helper class for stack-usage which during its lifetime locks a layout manager
*/
class LayoutManagerLock
{
private:
Reference< XLayoutManager > m_xLayoutManager;
public:
explicit LayoutManagerLock( const Reference< XController >& _rxController )
{
2011-02-03 00:33:36 +01:00
OSL_ENSURE( _rxController.is(), "LayoutManagerLock::LayoutManagerLock: this will crash!" );
Reference< XFrame > xFrame( _rxController->getFrame() );
try
{
Reference< XPropertySet > xPropSet( xFrame, UNO_QUERY_THROW );
m_xLayoutManager.set(
xPropSet->getPropertyValue( "LayoutManager" ),
UNO_QUERY_THROW );
m_xLayoutManager->lock();
}
2011-04-13 09:40:26 +01:00
catch( const Exception& )
{
2011-02-25 17:47:41 +01:00
OSL_FAIL( "LayoutManagerLock::LayoutManagerLock: caught an exception!" );
}
}
inline ~LayoutManagerLock()
{
try
{
// unlock the layout manager
if ( m_xLayoutManager.is() )
m_xLayoutManager->unlock();
}
2011-04-13 09:40:26 +01:00
catch( const Exception& )
{
2011-03-01 17:52:28 +01:00
OSL_FAIL( "LayoutManagerLock::~LayoutManagerLock: caught an exception!" );
}
}
};
}
2009-11-04 14:40:44 +01:00
void ODocumentDefinition::impl_initFormEditView( const Reference< XController >& _rxController )
{
try
{
Reference< XViewSettingsSupplier > xSettingsSupplier( _rxController, UNO_QUERY_THROW );
Reference< XPropertySet > xViewSettings( xSettingsSupplier->getViewSettings(), UNO_QUERY_THROW );
// the below code could indirectly tamper with the "modified" flag of the model, temporarily disable this
LockModifiable aLockModify( _rxController->getModel() );
// The visual area size can be changed by the setting of the following properties
// so it should be restored later
PreserveVisualAreaSize aPreserveVisAreaSize( _rxController->getModel() );
// Layout manager should not layout while the size is still not restored
// so it will stay locked for this time
LayoutManagerLock aLockLayout( _rxController );
// setting of the visual properties
xViewSettings->setPropertyValue("ShowRulers",makeAny(sal_True));
xViewSettings->setPropertyValue("ShowVertRuler",makeAny(sal_True));
xViewSettings->setPropertyValue("ShowHoriRuler",makeAny(sal_True));
xViewSettings->setPropertyValue("IsRasterVisible",makeAny(sal_True));
xViewSettings->setPropertyValue("IsSnapToRaster",makeAny(sal_True));
xViewSettings->setPropertyValue("ShowOnlineLayout",makeAny(sal_True));
xViewSettings->setPropertyValue("RasterSubdivisionX",makeAny(sal_Int32(5)));
xViewSettings->setPropertyValue("RasterSubdivisionY",makeAny(sal_Int32(5)));
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
}
void ODocumentDefinition::impl_showOrHideComponent_throw( const bool i_bShow )
{
const sal_Int32 nCurrentState = m_xEmbeddedObject.is() ? m_xEmbeddedObject->getCurrentState() : EmbedStates::LOADED;
switch ( nCurrentState )
{
default:
case EmbedStates::LOADED:
throw embed::WrongStateException( OUString(), *this );
case EmbedStates::RUNNING:
if ( !i_bShow )
// fine, a running (and not yet active) object is never visible
return;
{
LockModifiable aLockModify( impl_getComponent_throw() );
m_xEmbeddedObject->changeState( EmbedStates::ACTIVE );
impl_onActivateEmbeddedObject_nothrow( false );
}
break;
case EmbedStates::ACTIVE:
{
Reference< XModel > xEmbeddedDoc( impl_getComponent_throw(), UNO_QUERY_THROW );
Reference< XController > xEmbeddedController( xEmbeddedDoc->getCurrentController(), UNO_SET_THROW );
Reference< XFrame > xEmbeddedFrame( xEmbeddedController->getFrame(), UNO_SET_THROW );
Reference< XWindow > xEmbeddedWindow( xEmbeddedFrame->getContainerWindow(), UNO_SET_THROW );
xEmbeddedWindow->setVisible( i_bShow );
}
break;
}
}
2009-11-04 14:40:44 +01:00
Any ODocumentDefinition::onCommandOpenSomething( const Any& _rOpenArgument, const bool _bActivate,
const Reference< XCommandEnvironment >& _rxEnvironment )
2000-09-18 23:16:46 +00:00
{
2009-11-04 14:40:44 +01:00
OExecuteImpl aExecuteGuard( m_bInExecute );
Reference< XConnection > xConnection;
sal_Int32 nOpenMode = OpenMode::DOCUMENT;
::comphelper::NamedValueCollection aDocumentArgs;
// for the document, default to the interaction handler as used for loading the DB doc
// This might be overwritten below, when examining _rOpenArgument.
const ::comphelper::NamedValueCollection& aDBDocArgs( m_pImpl->m_pDataSource->getMediaDescriptor() );
2009-11-04 14:40:44 +01:00
Reference< XInteractionHandler > xHandler( aDBDocArgs.getOrDefault( "InteractionHandler", Reference< XInteractionHandler >() ) );
if ( xHandler.is() )
aDocumentArgs.put( "InteractionHandler", xHandler );
::boost::optional< sal_Int16 > aDocumentMacroMode;
if ( !lcl_extractOpenMode( _rOpenArgument, nOpenMode ) )
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< PropertyValue > aArguments;
if ( _rOpenArgument >>= aArguments )
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
{
const PropertyValue* pIter = aArguments.getConstArray();
const PropertyValue* pEnd = pIter + aArguments.getLength();
for ( ;pIter != pEnd; ++pIter )
{
if ( pIter->Name == PROPERTY_ACTIVE_CONNECTION )
{
xConnection.set( pIter->Value, UNO_QUERY );
continue;
}
if ( lcl_extractOpenMode( pIter->Value, nOpenMode ) )
continue;
if ( pIter->Name == "MacroExecutionMode" )
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_Int16 nMacroExecMode( !aDocumentMacroMode ? MacroExecMode::USE_CONFIG : *aDocumentMacroMode );
OSL_VERIFY( pIter->Value >>= nMacroExecMode );
aDocumentMacroMode.reset( nMacroExecMode );
continue;
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
}
// unknown argument -> pass to the loaded document
aDocumentArgs.put( pIter->Name, pIter->Value );
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
}
}
}
bool bExecuteDBDocMacros = m_pImpl->m_pDataSource->checkMacrosOnLoading();
// Note that this call implies the user might be asked for the macro execution mode.
// Normally, this would happen when the database document is loaded, and subsequent calls
// will simply use the user's decision from this point in time.
// However, it is possible to programmatically load forms/reports, without actually
// loading the database document into a frame. In this case, the user will be asked
// here and now.
2011-02-27 22:55:22 +01:00
// #i87741#
// allow the command arguments to downgrade the macro execution mode, but not to upgrade
// it
if ( ( m_pImpl->m_pDataSource->getImposedMacroExecMode() == MacroExecMode::USE_CONFIG )
&& bExecuteDBDocMacros
)
{
// while loading the whole database document, USE_CONFIG, was passed.
// Additionally, *by now* executing macros from the DB doc is allowed (this is what bExecuteDBDocMacros
// indicates). This means either one of:
// 1. The DB doc or one of the sub docs contained macros and
// 1a. the user explicitly allowed executing them
// 1b. the configuration allows executing them without asking the user
// 2. Neither the DB doc nor the sub docs contained macros, thus macro
// execution was silently enabled, assuming that any macro will be a
// user-created macro
//
// The problem with this: If the to-be-opened sub document has macros embedded in
// the content.xml (which is valid ODF, but normally not produced by OOo itself),
// then this has not been detected while loading the database document - it would
// be too expensive, as it effectively would require loading all forms/reports.
//
// So, in such a case, and with 2. above, we would silently execute those macros,
// regardless of the global security settings - which would be a security issue, of
// course.
if ( m_pImpl->m_pDataSource->determineEmbeddedMacros() == ODatabaseModelImpl::eNoMacros )
{
// this is case 2. from above
// So, pass a USE_CONFIG to the to-be-loaded document. This means that
// the user will be prompted with a security message upon opening this
// sub document, in case the settings require this, *and* the document
// contains scripts in the content.xml. But this is better than the security
// issue we had before ...
aDocumentMacroMode.reset( MacroExecMode::USE_CONFIG );
}
}
if ( !aDocumentMacroMode )
{
// nobody so far felt responsible for setting it
// => use the DBDoc-wide macro exec mode for the document, too
aDocumentMacroMode.reset( bExecuteDBDocMacros ? MacroExecMode::ALWAYS_EXECUTE_NO_WARN : MacroExecMode::NEVER_EXECUTE );
}
aDocumentArgs.put( "MacroExecutionMode", *aDocumentMacroMode );
if ( ( nOpenMode == OpenMode::ALL )
|| ( nOpenMode == OpenMode::FOLDERS )
|| ( nOpenMode == OpenMode::DOCUMENTS )
|| ( nOpenMode == OpenMode::DOCUMENT_SHARE_DENY_NONE )
|| ( nOpenMode == OpenMode::DOCUMENT_SHARE_DENY_WRITE )
)
{
// not supported
ucbhelper::cancelCommandExecution(
makeAny( UnsupportedOpenModeException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
sal_Int16( nOpenMode ) ) ),
_rxEnvironment );
// Unreachable
2011-02-25 17:47:41 +01:00
OSL_FAIL( "unreachable" );
}
OSL_ENSURE( !m_pImpl->m_aProps.sPersistentName.isEmpty(),
"ODocumentDefinition::onCommandOpenSomething: no persistent name - cannot load!" );
if ( m_pImpl->m_aProps.sPersistentName.isEmpty() )
2009-11-04 14:40:44 +01:00
return Any();
// embedded objects themself do not support the hidden flag. We implement support for
// it by changing the STATE to RUNNING only, instead of ACTIVE.
bool bOpenHidden = aDocumentArgs.getOrDefault( "Hidden", false );
aDocumentArgs.remove( "Hidden" );
loadEmbeddedObject( xConnection, Sequence< sal_Int8 >(), aDocumentArgs.getPropertyValues(), false, !m_bOpenInDesign );
OSL_ENSURE( m_xEmbeddedObject.is(), "ODocumentDefinition::onCommandOpenSomething: what's this?" );
if ( !m_xEmbeddedObject.is() )
2009-11-04 14:40:44 +01:00
return Any();
Reference< XModel > xModel( getComponent(), UNO_QUERY );
Reference< report::XReportDefinition > xReportDefinition(xModel,UNO_QUERY);
Reference< XModule > xModule( xModel, UNO_QUERY );
if ( xModule.is() )
{
if ( m_bForm )
xModule->setIdentifier( "com.sun.star.sdb.FormDesign" );
else if ( !xReportDefinition.is() )
xModule->setIdentifier( "com.sun.star.text.TextDocument" );
updateDocumentTitle();
}
bool bIsAliveNewStyleReport = ( !m_bOpenInDesign && xReportDefinition.is() );
if ( bIsAliveNewStyleReport )
{
// we are in ReadOnly mode
// we would like to open the Writer or Calc with the report direct, without design it.
Reference< report::XReportEngine > xReportEngine( m_aContext->getServiceManager()->createInstanceWithContext("com.sun.star.comp.report.OReportEngineJFree", m_aContext), UNO_QUERY_THROW );
xReportEngine->setReportDefinition(xReportDefinition);
xReportEngine->setActiveConnection(m_xLastKnownConnection);
if ( bOpenHidden )
2009-11-04 14:40:44 +01:00
return makeAny( xReportEngine->createDocumentModel() );
return makeAny( xReportEngine->createDocumentAlive( nullptr ) );
}
if ( _bActivate && !bOpenHidden )
{
LockModifiable aLockModify( impl_getComponent_throw() );
m_xEmbeddedObject->changeState( EmbedStates::ACTIVE );
impl_onActivateEmbeddedObject_nothrow( false );
}
else
{
// ensure that we ourself are kept alive as long as the document is open
LifetimeCoupler::couple( *this, xModel.get() );
}
2009-11-04 14:40:44 +01:00
if ( !m_bForm && m_pImpl->m_aProps.bAsTemplate && !m_bOpenInDesign )
ODocumentDefinition::fillReportData( m_aContext, getComponent(), xConnection );
return makeAny( xModel );
}
Any SAL_CALL ODocumentDefinition::execute( const Command& aCommand, sal_Int32 CommandId, const Reference< XCommandEnvironment >& Environment ) throw (Exception, CommandAbortedException, RuntimeException, std::exception)
{
Any aRet;
bool bOpen = aCommand.Name == "open";
bool bOpenInDesign = aCommand.Name == "openDesign";
bool bOpenForMail = aCommand.Name == "openForMail";
2009-11-04 14:40:44 +01:00
if ( bOpen || bOpenInDesign || bOpenForMail )
{
// opening the document involves a lot of VCL code, which is not thread-safe, but needs the SolarMutex locked.
// Unfortunately, the DocumentDefinition, as well as the EmbeddedObject implementation, calls into VCL-dependent
// components *without* releasing the own mutex, which is a guaranteed recipe for deadlocks.
// We have control over this implementation here, and in modifying it to release the own mutex before calling into
// the VCL-dependent components is not too difficult (was there, seen it).
// However, we do /not/ have control over the EmbeddedObject implementation, and from a first look, it seems as
// making it release the own mutex before calling SolarMutex-code is ... difficult, at least.
// So, to be on the same side, we lock the SolarMutex here. Yes, it sucks.
::SolarMutexGuard aSolarGuard;
2009-11-04 14:40:44 +01:00
::osl::ClearableMutexGuard aGuard(m_aMutex);
if ( m_bInExecute )
return aRet;
bool bActivateObject = true;
if ( bOpenForMail )
{
OSL_FAIL( "ODocumentDefinition::execute: 'openForMail' should not be used anymore - use the 'Hidden' parameter instead!" );
2009-11-04 14:40:44 +01:00
bActivateObject = 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
}
2009-11-04 14:40:44 +01:00
// if the object is already opened, do nothing
if ( m_xEmbeddedObject.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
{
2009-11-04 14:40:44 +01:00
sal_Int32 nCurrentState = m_xEmbeddedObject->getCurrentState();
bool bIsActive = ( nCurrentState == EmbedStates::ACTIVE );
if ( bIsActive )
{
// exception: new-style reports always create a new document when "open" is executed
Reference< report::XReportDefinition > xReportDefinition( impl_getComponent_throw( false ), UNO_QUERY );
bool bIsAliveNewStyleReport = ( xReportDefinition.is() && ( bOpen || bOpenForMail ) );
if ( !bIsAliveNewStyleReport )
{
impl_onActivateEmbeddedObject_nothrow( true );
return makeAny( 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
}
2009-11-04 14:40:44 +01:00
m_bOpenInDesign = bOpenInDesign || bOpenForMail;
return onCommandOpenSomething( aCommand.Argument, bActivateObject, Environment );
}
2009-11-04 14:40:44 +01:00
::osl::ClearableMutexGuard aGuard(m_aMutex);
if ( m_bInExecute )
return aRet;
if ( aCommand.Name == "copyTo" )
2009-11-04 14:40:44 +01:00
{
Sequence<Any> aIni;
aCommand.Argument >>= aIni;
if ( aIni.getLength() != 2 )
{
OSL_FAIL( "Wrong argument type!" );
2009-11-04 14:40:44 +01:00
ucbhelper::cancelCommandExecution(
makeAny( IllegalArgumentException(
OUString(),
2009-11-04 14:40:44 +01:00
static_cast< cppu::OWeakObject * >( this ),
-1 ) ),
Environment );
// Unreachable
}
2009-11-04 14:40:44 +01:00
Reference< XStorage> xDest(aIni[0],UNO_QUERY);
OUString sPersistentName;
2009-11-04 14:40:44 +01:00
aIni[1] >>= sPersistentName;
Reference< XStorage> xStorage = getContainerStorage();
2009-11-04 14:40:44 +01:00
xStorage->copyElementTo(m_pImpl->m_aProps.sPersistentName,xDest,sPersistentName);
}
else if ( aCommand.Name == "preview" )
2009-11-04 14:40:44 +01:00
{
onCommandPreview(aRet);
}
else if ( aCommand.Name == "insert" )
2009-11-04 14:40:44 +01:00
{
Sequence<Any> aIni;
aCommand.Argument >>= aIni;
if ( !aIni.getLength() )
{
OSL_FAIL( "Wrong argument count!" );
2009-11-04 14:40:44 +01:00
ucbhelper::cancelCommandExecution(
makeAny( IllegalArgumentException(
OUString(),
2009-11-04 14:40:44 +01:00
static_cast< cppu::OWeakObject * >( this ),
-1 ) ),
Environment );
// Unreachable
}
OUString sURL;
2009-11-04 14:40:44 +01:00
aIni[0] >>= sURL;
onCommandInsert( sURL, Environment );
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 ( aCommand.Name == "getdocumentinfo" // compatibility
|| aCommand.Name == "getDocumentInfo" )
2009-11-04 14:40:44 +01:00
{
onCommandGetDocumentProperties( aRet );
}
else if ( aCommand.Name == "delete" )
2009-11-04 14:40:44 +01:00
{
// delete
closeObject();
Reference< XStorage> xStorage = getContainerStorage();
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 if ( aCommand.Name == "storeOwn" // compatibility
|| aCommand.Name == "store"
2009-11-04 14:40:44 +01:00
)
{
impl_store_throw();
}
else if ( aCommand.Name == "shutdown" // compatibility
|| aCommand.Name == "close"
2009-11-04 14:40:44 +01:00
)
{
aRet <<= impl_close_throw();
}
else if ( aCommand.Name == "show" )
{
impl_showOrHideComponent_throw( true );
}
else if ( aCommand.Name == "hide" )
{
impl_showOrHideComponent_throw( false );
}
2009-11-04 14:40:44 +01:00
else
{
aRet = OContentHelper::execute(aCommand,CommandId,Environment);
}
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 aRet;
2000-09-18 23:16:46 +00:00
}
namespace
{
void lcl_resetChildFormsToEmptyDataSource( const Reference< XIndexAccess>& _rxFormsContainer )
{
OSL_PRECOND( _rxFormsContainer.is(), "lcl_resetChildFormsToEmptyDataSource: illegal call!" );
sal_Int32 count = _rxFormsContainer->getCount();
for ( sal_Int32 i = 0; i < count; ++i )
{
Reference< XForm > xForm( _rxFormsContainer->getByIndex( i ), UNO_QUERY );
if ( !xForm.is() )
continue;
// if the element is a form, reset its DataSourceName property to an empty string
try
{
Reference< XPropertySet > xFormProps( xForm, UNO_QUERY_THROW );
xFormProps->setPropertyValue( PROPERTY_DATASOURCENAME, makeAny( OUString() ) );
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
// if the element is a container itself, step down the component hierarchy
Reference< XIndexAccess > xContainer( xForm, UNO_QUERY );
if ( xContainer.is() )
lcl_resetChildFormsToEmptyDataSource( xContainer );
}
}
void lcl_resetFormsToEmptyDataSource( const Reference< XEmbeddedObject>& _rxEmbeddedObject )
{
try
{
Reference< XDrawPageSupplier > xSuppPage( _rxEmbeddedObject->getComponent(), UNO_QUERY_THROW );
// if this interface does not exist, then either getComponent returned NULL,
// or the document is a multi-page document. The latter is allowed, but currently
// simply not handled by this code, as it would not normally happen.
Reference< XFormsSupplier > xSuppForms( xSuppPage->getDrawPage(), UNO_QUERY_THROW );
Reference< XIndexAccess > xForms( xSuppForms->getForms(), UNO_QUERY_THROW );
lcl_resetChildFormsToEmptyDataSource( xForms );
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
}
}
void ODocumentDefinition::onCommandInsert( const OUString& _sURL, const Reference< XCommandEnvironment >& Environment )
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
throw( Exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
// Check, if all required properties were set.
if ( _sURL.isEmpty() || m_xEmbeddedObject.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
{
OSL_FAIL( "Content::onCommandInsert - property value missing!" );
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<OUString> aProps { PROPERTY_URL };
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
ucbhelper::cancelCommandExecution(
makeAny( MissingPropertiesException(
OUString(),
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_cast< cppu::OWeakObject * >( this ),
aProps ) ),
Environment );
// Unreachable
}
if ( !m_xEmbeddedObject.is() )
{
Reference< XStorage> xStorage = getContainerStorage();
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 ( xStorage.is() )
{
Reference< XEmbeddedObjectCreator> xEmbedFactory = EmbeddedObjectCreator::create(m_aContext);
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);
lcl_resetFormsToEmptyDataSource( m_xEmbeddedObject );
// #i57669#
Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY);
if ( xPersist.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
{
xPersist->storeOwn();
}
try
{
Reference< css::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY);
if ( xCloseable.is() )
xCloseable->close(sal_True);
}
catch(const Exception&)
{
}
m_xEmbeddedObject = nullptr;
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
aGuard.clear();
}
bool ODocumentDefinition::save(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
if ( !m_bOpenInDesign )
return 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
try
{
{
::SolarMutexGuard aSolarGuard;
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
// the request
Reference<XNameAccess> xName(m_xParentContainer,UNO_QUERY);
DocumentSaveRequest aRequest;
aRequest.Name = m_pImpl->m_aProps.aTitle;
if ( aRequest.Name.isEmpty() )
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_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 = nullptr;
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.isEmpty() )
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
{
pDocuSave = new ODocumentSaveContinuation;
pRequest->addContinuation(pDocuSave);
}
if ( _bApprove )
{
OInteraction< XInteractionApprove >* pApprove = new OInteraction< XInteractionApprove >;
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
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< XInteractionHandler2 > xHandler( InteractionHandler::createWithParent(m_aContext, nullptr) );
xHandler->handle(xRequest);
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 ( pAbort->wasSelected() )
return 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
if ( pDisApprove->wasSelected() )
return 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
if ( pDocuSave && pDocuSave->wasSelected() )
{
Reference<XNameContainer> xNC( pDocuSave->getContent(), UNO_QUERY_THROW );
::osl::ResettableMutexGuard aGuard( m_aMutex );
NameChangeNotifier aNameChangeAndNotify( *this, pDocuSave->getName(), aGuard );
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
}
}
2011-04-13 09:40:26 +01:00
catch(const 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
{
OSL_FAIL("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 true;
2000-09-18 23:16:46 +00:00
}
void ODocumentDefinition::saveAs()
{
// default handling: instantiate an interaction handler and let it handle the parameter request
if ( !m_bOpenInDesign )
return;
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
if ( m_pImpl->m_aProps.aTitle.isEmpty() )
{
aGuard.clear();
save(false); // (sal_False) : we don't want an approve dialog
return;
}
}
try
{
{
::SolarMutexGuard aSolarGuard;
// the request
Reference<XNameAccess> xName(m_xParentContainer,UNO_QUERY);
DocumentSaveRequest aRequest;
aRequest.Name = m_pImpl->m_aProps.aTitle;
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 = new ODocumentSaveContinuation;
pRequest->addContinuation(pDocuSave);
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< XInteractionHandler2 > xHandler( InteractionHandler::createWithParent(m_aContext, nullptr) );
xHandler->handle(xRequest);
if ( pAbort->wasSelected() )
return;
if ( pDisApprove->wasSelected() )
return;
if ( pDocuSave->wasSelected() )
{
::osl::MutexGuard aGuard(m_aMutex);
Reference<XNameContainer> xNC(pDocuSave->getContent(),UNO_QUERY);
if ( xNC.is() )
{
if ( m_pImpl->m_aProps.aTitle != pDocuSave->getName() )
{
CWS-TOOLING: integrate CWS dba31h 2009-01-29 10:47:07 +0100 oj r267102 : decl OpCodeMap as friend 2009-01-26 09:41:21 +0100 fs r266905 : #i97137# 2009-01-26 09:10:39 +0100 fs r266903 : #i10000 2009-01-26 09:00:17 +0100 fs r266901 : re-enable user admin for MySQL native 2009-01-23 21:56:08 +0100 fs r266851 : #i97137# 2009-01-23 21:32:40 +0100 fs r266850 : #i97042# 2009-01-23 11:23:59 +0100 msc r266800 : #i98387# 2009-01-23 11:17:05 +0100 msc r266798 : #i98387# 2009-01-23 10:56:33 +0100 fs r266795 : for the moment, disable user administration for MySQL native 2009-01-21 15:08:54 +0100 fs r266672 : removed some advanced settings for MySQL native - letting the user control them does not make sense for this particular type 2009-01-21 13:55:13 +0100 oj r266668 : #i98317# wrong var set 2009-01-21 13:41:22 +0100 fs r266664 : #i98315# 2009-01-21 13:13:09 +0100 oj r266661 : #i97032# enable locking for OOo 2009-01-21 13:11:26 +0100 oj r266660 : #i97032# enable locking for OOo 2009-01-21 10:10:50 +0100 oj r266634 : #i98174# merge conflict resolved 2009-01-21 08:48:58 +0100 fs r266628 : CWS-TOOLING: rebase CWS dba31h to trunk@266428 (milestone: DEV300:m39) 2009-01-20 12:54:32 +0100 fs r266570 : #i98277# 2009-01-19 10:46:31 +0100 fs r266480 : #i97995# 2009-01-19 08:42:09 +0100 fs r266470 : #i97042# provided my mod@openoffice.org: support more SQL comment styles 2009-01-19 07:55:43 +0100 oj r266468 : #i98115# check function name as well 2009-01-16 10:21:28 +0100 oj r266404 : #i97861# remove invalid assertion 2009-01-16 10:18:31 +0100 oj r266403 : #i97861# ini var with false 2009-01-15 14:09:50 +0100 oj r266371 : #i97810# saveas fix 2009-01-15 11:54:18 +0100 oj r266360 : remove : from mysql 2009-01-15 11:07:46 +0100 oj r266355 : insert JNI fixes for method names 2009-01-15 10:54:44 +0100 oj r266351 : fix for parameter subst 2009-01-14 14:41:34 +0100 oj r266308 : parameter subst 2009-01-14 14:40:20 +0100 oj r266307 : add missing try catch 2009-01-14 14:38:34 +0100 oj r266306 : new service for parameter subst 2009-01-14 14:37:52 +0100 oj r266305 : missing types for hyper 2009-01-09 15:28:36 +0100 fs r266090 : #i97889# 2009-01-09 14:16:15 +0100 fs r266082 : #i97892# provided by npower: when reading the xlink:href attrib, use the graphic resolver only if appropriate 2009-01-08 21:31:21 +0100 fs r266041 : #i97346# 2009-01-08 14:51:56 +0100 fs r266012 : #i97871# showPreviewFor: bail out if preview is disabled
2009-02-17 15:39:54 +00:00
try
{
Reference< XStorage> xStorage = getContainerStorage();
static const char sBaseName[] = "Obj";
OUString sPersistentName = ::dbtools::createUniqueName(xStorage,sBaseName);
CWS-TOOLING: integrate CWS dba31h 2009-01-29 10:47:07 +0100 oj r267102 : decl OpCodeMap as friend 2009-01-26 09:41:21 +0100 fs r266905 : #i97137# 2009-01-26 09:10:39 +0100 fs r266903 : #i10000 2009-01-26 09:00:17 +0100 fs r266901 : re-enable user admin for MySQL native 2009-01-23 21:56:08 +0100 fs r266851 : #i97137# 2009-01-23 21:32:40 +0100 fs r266850 : #i97042# 2009-01-23 11:23:59 +0100 msc r266800 : #i98387# 2009-01-23 11:17:05 +0100 msc r266798 : #i98387# 2009-01-23 10:56:33 +0100 fs r266795 : for the moment, disable user administration for MySQL native 2009-01-21 15:08:54 +0100 fs r266672 : removed some advanced settings for MySQL native - letting the user control them does not make sense for this particular type 2009-01-21 13:55:13 +0100 oj r266668 : #i98317# wrong var set 2009-01-21 13:41:22 +0100 fs r266664 : #i98315# 2009-01-21 13:13:09 +0100 oj r266661 : #i97032# enable locking for OOo 2009-01-21 13:11:26 +0100 oj r266660 : #i97032# enable locking for OOo 2009-01-21 10:10:50 +0100 oj r266634 : #i98174# merge conflict resolved 2009-01-21 08:48:58 +0100 fs r266628 : CWS-TOOLING: rebase CWS dba31h to trunk@266428 (milestone: DEV300:m39) 2009-01-20 12:54:32 +0100 fs r266570 : #i98277# 2009-01-19 10:46:31 +0100 fs r266480 : #i97995# 2009-01-19 08:42:09 +0100 fs r266470 : #i97042# provided my mod@openoffice.org: support more SQL comment styles 2009-01-19 07:55:43 +0100 oj r266468 : #i98115# check function name as well 2009-01-16 10:21:28 +0100 oj r266404 : #i97861# remove invalid assertion 2009-01-16 10:18:31 +0100 oj r266403 : #i97861# ini var with false 2009-01-15 14:09:50 +0100 oj r266371 : #i97810# saveas fix 2009-01-15 11:54:18 +0100 oj r266360 : remove : from mysql 2009-01-15 11:07:46 +0100 oj r266355 : insert JNI fixes for method names 2009-01-15 10:54:44 +0100 oj r266351 : fix for parameter subst 2009-01-14 14:41:34 +0100 oj r266308 : parameter subst 2009-01-14 14:40:20 +0100 oj r266307 : add missing try catch 2009-01-14 14:38:34 +0100 oj r266306 : new service for parameter subst 2009-01-14 14:37:52 +0100 oj r266305 : missing types for hyper 2009-01-09 15:28:36 +0100 fs r266090 : #i97889# 2009-01-09 14:16:15 +0100 fs r266082 : #i97892# provided by npower: when reading the xlink:href attrib, use the graphic resolver only if appropriate 2009-01-08 21:31:21 +0100 fs r266041 : #i97346# 2009-01-08 14:51:56 +0100 fs r266012 : #i97871# showPreviewFor: bail out if preview is disabled
2009-02-17 15:39:54 +00:00
xStorage->copyElementTo(m_pImpl->m_aProps.sPersistentName,xStorage,sPersistentName);
OUString sOldName = m_pImpl->m_aProps.aTitle;
CWS-TOOLING: integrate CWS dba31h 2009-01-29 10:47:07 +0100 oj r267102 : decl OpCodeMap as friend 2009-01-26 09:41:21 +0100 fs r266905 : #i97137# 2009-01-26 09:10:39 +0100 fs r266903 : #i10000 2009-01-26 09:00:17 +0100 fs r266901 : re-enable user admin for MySQL native 2009-01-23 21:56:08 +0100 fs r266851 : #i97137# 2009-01-23 21:32:40 +0100 fs r266850 : #i97042# 2009-01-23 11:23:59 +0100 msc r266800 : #i98387# 2009-01-23 11:17:05 +0100 msc r266798 : #i98387# 2009-01-23 10:56:33 +0100 fs r266795 : for the moment, disable user administration for MySQL native 2009-01-21 15:08:54 +0100 fs r266672 : removed some advanced settings for MySQL native - letting the user control them does not make sense for this particular type 2009-01-21 13:55:13 +0100 oj r266668 : #i98317# wrong var set 2009-01-21 13:41:22 +0100 fs r266664 : #i98315# 2009-01-21 13:13:09 +0100 oj r266661 : #i97032# enable locking for OOo 2009-01-21 13:11:26 +0100 oj r266660 : #i97032# enable locking for OOo 2009-01-21 10:10:50 +0100 oj r266634 : #i98174# merge conflict resolved 2009-01-21 08:48:58 +0100 fs r266628 : CWS-TOOLING: rebase CWS dba31h to trunk@266428 (milestone: DEV300:m39) 2009-01-20 12:54:32 +0100 fs r266570 : #i98277# 2009-01-19 10:46:31 +0100 fs r266480 : #i97995# 2009-01-19 08:42:09 +0100 fs r266470 : #i97042# provided my mod@openoffice.org: support more SQL comment styles 2009-01-19 07:55:43 +0100 oj r266468 : #i98115# check function name as well 2009-01-16 10:21:28 +0100 oj r266404 : #i97861# remove invalid assertion 2009-01-16 10:18:31 +0100 oj r266403 : #i97861# ini var with false 2009-01-15 14:09:50 +0100 oj r266371 : #i97810# saveas fix 2009-01-15 11:54:18 +0100 oj r266360 : remove : from mysql 2009-01-15 11:07:46 +0100 oj r266355 : insert JNI fixes for method names 2009-01-15 10:54:44 +0100 oj r266351 : fix for parameter subst 2009-01-14 14:41:34 +0100 oj r266308 : parameter subst 2009-01-14 14:40:20 +0100 oj r266307 : add missing try catch 2009-01-14 14:38:34 +0100 oj r266306 : new service for parameter subst 2009-01-14 14:37:52 +0100 oj r266305 : missing types for hyper 2009-01-09 15:28:36 +0100 fs r266090 : #i97889# 2009-01-09 14:16:15 +0100 fs r266082 : #i97892# provided by npower: when reading the xlink:href attrib, use the graphic resolver only if appropriate 2009-01-08 21:31:21 +0100 fs r266041 : #i97346# 2009-01-08 14:51:56 +0100 fs r266012 : #i97871# showPreviewFor: bail out if preview is disabled
2009-02-17 15:39:54 +00:00
rename(pDocuSave->getName());
updateDocumentTitle();
Sequence< Any > aArguments(3);
PropertyValue aValue;
// set as folder
aValue.Name = PROPERTY_NAME;
aValue.Value <<= sOldName;
aArguments[0] <<= aValue;
aValue.Name = PROPERTY_PERSISTENT_NAME;
aValue.Value <<= sPersistentName;
aArguments[1] <<= aValue;
aValue.Name = PROPERTY_AS_TEMPLATE;
aValue.Value <<= m_pImpl->m_aProps.bAsTemplate;
aArguments[2] <<= aValue;
Reference< XMultiServiceFactory > xORB( m_xParentContainer, UNO_QUERY_THROW );
Reference< XInterface > xComponent( xORB->createInstanceWithArguments( SERVICE_SDB_DOCUMENTDEFINITION, aArguments ) );
Reference< XNameContainer > xNameContainer( m_xParentContainer, UNO_QUERY_THROW );
xNameContainer->insertByName( sOldName, makeAny( xComponent ) );
}
2011-04-13 09:40:26 +01:00
catch(const Exception&)
CWS-TOOLING: integrate CWS dba31h 2009-01-29 10:47:07 +0100 oj r267102 : decl OpCodeMap as friend 2009-01-26 09:41:21 +0100 fs r266905 : #i97137# 2009-01-26 09:10:39 +0100 fs r266903 : #i10000 2009-01-26 09:00:17 +0100 fs r266901 : re-enable user admin for MySQL native 2009-01-23 21:56:08 +0100 fs r266851 : #i97137# 2009-01-23 21:32:40 +0100 fs r266850 : #i97042# 2009-01-23 11:23:59 +0100 msc r266800 : #i98387# 2009-01-23 11:17:05 +0100 msc r266798 : #i98387# 2009-01-23 10:56:33 +0100 fs r266795 : for the moment, disable user administration for MySQL native 2009-01-21 15:08:54 +0100 fs r266672 : removed some advanced settings for MySQL native - letting the user control them does not make sense for this particular type 2009-01-21 13:55:13 +0100 oj r266668 : #i98317# wrong var set 2009-01-21 13:41:22 +0100 fs r266664 : #i98315# 2009-01-21 13:13:09 +0100 oj r266661 : #i97032# enable locking for OOo 2009-01-21 13:11:26 +0100 oj r266660 : #i97032# enable locking for OOo 2009-01-21 10:10:50 +0100 oj r266634 : #i98174# merge conflict resolved 2009-01-21 08:48:58 +0100 fs r266628 : CWS-TOOLING: rebase CWS dba31h to trunk@266428 (milestone: DEV300:m39) 2009-01-20 12:54:32 +0100 fs r266570 : #i98277# 2009-01-19 10:46:31 +0100 fs r266480 : #i97995# 2009-01-19 08:42:09 +0100 fs r266470 : #i97042# provided my mod@openoffice.org: support more SQL comment styles 2009-01-19 07:55:43 +0100 oj r266468 : #i98115# check function name as well 2009-01-16 10:21:28 +0100 oj r266404 : #i97861# remove invalid assertion 2009-01-16 10:18:31 +0100 oj r266403 : #i97861# ini var with false 2009-01-15 14:09:50 +0100 oj r266371 : #i97810# saveas fix 2009-01-15 11:54:18 +0100 oj r266360 : remove : from mysql 2009-01-15 11:07:46 +0100 oj r266355 : insert JNI fixes for method names 2009-01-15 10:54:44 +0100 oj r266351 : fix for parameter subst 2009-01-14 14:41:34 +0100 oj r266308 : parameter subst 2009-01-14 14:40:20 +0100 oj r266307 : add missing try catch 2009-01-14 14:38:34 +0100 oj r266306 : new service for parameter subst 2009-01-14 14:37:52 +0100 oj r266305 : missing types for hyper 2009-01-09 15:28:36 +0100 fs r266090 : #i97889# 2009-01-09 14:16:15 +0100 fs r266082 : #i97892# provided by npower: when reading the xlink:href attrib, use the graphic resolver only if appropriate 2009-01-08 21:31:21 +0100 fs r266041 : #i97346# 2009-01-08 14:51:56 +0100 fs r266012 : #i97871# showPreviewFor: bail out if preview is disabled
2009-02-17 15:39:54 +00:00
{
DBG_UNHANDLED_EXCEPTION();
}
}
Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY);
if ( xPersist.is() )
{
xPersist->storeOwn();
notifyDataSourceModified();
}
}
}
}
}
2011-04-13 09:40:26 +01:00
catch(const Exception&)
{
OSL_FAIL("ODocumentDefinition::save: caught an Exception (tried to let the InteractionHandler handle it)!");
}
}
namespace
{
void lcl_putLoadArgs( ::comphelper::NamedValueCollection& _io_rArgs, const optional_bool& _bSuppressMacros, const optional_bool& _bReadOnly )
{
if ( !!_bSuppressMacros )
{
if ( *_bSuppressMacros )
{
// if we're to suppress macros, do exactly this
_io_rArgs.put( "MacroExecutionMode", MacroExecMode::NEVER_EXECUTE );
}
else
{
// otherwise, put the setting only if not already present
if ( !_io_rArgs.has( "MacroExecutionMode" ) )
{
_io_rArgs.put( "MacroExecutionMode", MacroExecMode::USE_CONFIG );
}
}
}
if ( !!_bReadOnly )
_io_rArgs.put( "ReadOnly", *_bReadOnly );
}
}
namespace
{
Reference< XFrame > lcl_getDatabaseDocumentFrame( ODatabaseModelImpl& _rImpl )
{
Reference< XModel > xDatabaseDocumentModel( _rImpl.getModel_noCreate() );
Reference< XController > xDatabaseDocumentController;
if ( xDatabaseDocumentModel.is() )
xDatabaseDocumentController = xDatabaseDocumentModel->getCurrentController();
Reference< XFrame > xFrame;
if ( xDatabaseDocumentController.is() )
xFrame = xDatabaseDocumentController->getFrame();
return xFrame;
}
}
bool ODocumentDefinition::objectSupportsEmbeddedScripts() const
{
bool bAllowDocumentMacros = !m_pImpl->m_pDataSource
|| ( m_pImpl->m_pDataSource->determineEmbeddedMacros() == ODatabaseModelImpl::eSubDocumentMacros );
// if *any* of the objects of the database document already has macros, we
// continue to allow it to have them, until the user does a migration.
// If there are no macros, we don't allow them to be created.
return bAllowDocumentMacros;
}
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
OUString ODocumentDefinition::determineContentType() const
CWS-TOOLING: integrate CWS dba31d 2008-12-08 16:22:07 +0100 rt r265005 : Remove DOS lineends 2008-12-05 13:56:24 +0100 fs r264906 : #i10000# removed unreachable statement 2008-11-20 11:41:26 +0100 fs r264037 : merged in the fix for #i95865# (it was wrongly committed to CWS dba32a, should have been here) 2008-11-20 11:34:24 +0100 fs r264036 : line ends 2008-11-14 08:44:50 +0100 lla r263665 : #i10000# comparsion between int and uint fixed 2008-11-13 13:31:12 +0100 lla r263641 : #i10000# build problem fixed 2008-11-13 11:20:01 +0100 lla r263625 : #i96130# hard code name of extension 2008-11-12 11:13:41 +0100 fs r263582 : #i96096# when opening a SRB-report fails due to the missing SRB extension, log this as warning only, and proceed with the migration 2008-11-12 11:11:35 +0100 fs r263581 : #i96096# ContentType handling. Now all contents deliver proper results in XContent::getContentType 2008-11-12 11:10:11 +0100 fs r263580 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-11 10:10:13 +0100 lla r263546 : CWS-TOOLING: rebase CWS dba31d to trunk@263288 (milestone: DEV300:m35) 2008-11-06 15:55:39 +0100 oj r263393 : #i93452# get field from model fallbackis the name 2008-11-06 15:31:47 +0100 oj r263392 : #i93465# remeber location of floating windows 2008-11-06 13:36:24 +0100 oj r263381 : #i93450# check typemap for null 2008-11-06 13:28:49 +0100 oj r263379 : #i93020# empty column list boxes when new relation should be created 2008-11-06 12:33:53 +0100 oj r263377 : #i93012# set border to default : flat 2008-11-06 12:26:54 +0100 oj r263375 : #i74927# do some less calls for odbc 2008-11-06 09:34:01 +0100 oj r263362 : #i93383# grabFocus in suspend to get allmodified cells 2008-11-03 21:01:39 +0100 oj r263308 : #i86739# check if slash can be valid for tables 2008-11-03 14:40:21 +0100 oj r263287 : #i86739# check if slash can be valid for tables 2008-11-03 14:32:17 +0100 oj r263286 : #i95227# column width 2008-11-03 14:27:26 +0100 oj r263285 : link fwe 2008-11-03 14:24:54 +0100 oj r263284 : #i95235# changed to hold no ref only weak 2008-10-31 11:21:48 +0100 oj r262859 : #i93459# set images add menu entry 2008-10-31 09:06:37 +0100 oj r262851 : #i88629# correct fileopen filter for database odb files 2008-10-30 15:01:04 +0100 oj r262828 : #i95229# set filter at the composer 2008-10-29 15:57:41 +0100 oj r262817 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:19 +0100 oj r262816 : #i95235# changed to hold no ref only weak 2008-10-29 15:57:03 +0100 oj r262815 : #i95235# changed to hold no ref only weak 2008-10-29 15:56:15 +0100 oj r262814 : #i95235# filtermanger changed to hold no ref only weak 2008-10-29 10:32:39 +0100 oj r262773 : #i93474# use correct table name 2008-10-28 13:49:33 +0100 lla r262744 : #i95524# make an Invalidate and refresh on Tables 2008-10-28 10:45:02 +0100 fs r262707 : line ends 2008-10-28 10:34:42 +0100 fs r262706 : #i95522# don't expect the component to live in a TopWindow 2008-10-28 08:30:40 +0100 lla r262696 : #i93176# set preview mode on view 2008-10-28 07:56:57 +0100 oj r262694 : merge cvs svn 2008-10-27 14:13:51 +0100 oj r262673 : #i94129# use dummy data 2008-10-27 12:38:45 +0100 fs r262669 : #i94125# rework ScrollColumns 2008-10-23 15:53:57 +0200 oj r262624 : #i94568# do not load the embeddedobj just copy the storage 2008-10-23 14:39:14 +0200 oj r262622 : #i94129# handle chart correctly 2008-10-22 10:51:19 +0200 lla r262582 : #i94115# problem with left walk chart shape fixed 2008-10-22 07:47:48 +0200 oj r262576 : #i94455# rename now do not use remove insert 2008-10-22 07:47:27 +0200 oj r262575 : #i94455# rename now do not use remove insert 2008-10-21 12:46:26 +0200 lla r262567 : #i93845# extra check if default schema doesn't exists, fix assertion
2008-12-09 07:25:38 +00:00
{
return lcl_determineContentType_nothrow( getContainerStorage(), m_pImpl->m_aProps.sPersistentName );
}
void ODocumentDefinition::separateOpenCommandArguments( const Sequence< PropertyValue >& i_rOpenCommandArguments,
::comphelper::NamedValueCollection& o_rDocumentLoadArgs, ::comphelper::NamedValueCollection& o_rEmbeddedObjectDescriptor )
{
::comphelper::NamedValueCollection aOpenCommandArguments( i_rOpenCommandArguments );
const char* pObjectDescriptorArgs[] =
{
"RecoveryStorage"
};
for ( size_t i=0; i < SAL_N_ELEMENTS( pObjectDescriptorArgs ); ++i )
{
if ( aOpenCommandArguments.has( pObjectDescriptorArgs[i] ) )
{
o_rEmbeddedObjectDescriptor.put( pObjectDescriptorArgs[i], aOpenCommandArguments.get( pObjectDescriptorArgs[i] ) );
aOpenCommandArguments.remove( pObjectDescriptorArgs[i] );
}
}
o_rDocumentLoadArgs.merge( aOpenCommandArguments, false );
}
Sequence< PropertyValue > ODocumentDefinition::fillLoadArgs( const Reference< XConnection>& _xConnection, const bool _bSuppressMacros, const bool _bReadOnly,
const Sequence< PropertyValue >& i_rOpenCommandArguments, Sequence< PropertyValue >& _out_rEmbeddedObjectDescriptor )
{
// (re-)create interceptor, and put it into the descriptor of the embedded object
if ( m_pInterceptor )
{
m_pInterceptor->dispose();
m_pInterceptor->release();
m_pInterceptor = nullptr;
}
m_pInterceptor = new OInterceptor( this );
m_pInterceptor->acquire();
Reference<XDispatchProviderInterceptor> xInterceptor = m_pInterceptor;
::comphelper::NamedValueCollection aEmbeddedDescriptor;
aEmbeddedDescriptor.put( "OutplaceDispatchInterceptor", xInterceptor );
::comphelper::NamedValueCollection aMediaDesc;
separateOpenCommandArguments( i_rOpenCommandArguments, aMediaDesc, aEmbeddedDescriptor );
// create the OutplaceFrameProperties, and put them into the descriptor of the embedded object
::comphelper::NamedValueCollection OutplaceFrameProperties;
OutplaceFrameProperties.put( "TopWindow", true );
OutplaceFrameProperties.put( "SupportPersistentWindowState", true );
Reference< XFrame > xParentFrame;
if ( m_pImpl->m_pDataSource )
xParentFrame = lcl_getDatabaseDocumentFrame( *m_pImpl->m_pDataSource );
if ( !xParentFrame.is() )
{ // i87957 we need a parent frame
Reference< XDesktop2 > xDesktop = Desktop::create( m_aContext );
xParentFrame.set( xDesktop, UNO_QUERY_THROW );
Reference<util::XCloseable> xCloseable(m_pImpl->m_pDataSource->getModel_noCreate(),UNO_QUERY);
if ( xCloseable.is() )
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
{
xCloseable->addCloseListener(this);
m_bRemoveListener = true;
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
}
}
OSL_ENSURE( xParentFrame.is(), "ODocumentDefinition::fillLoadArgs: no parent frame!" );
if ( xParentFrame.is() )
OutplaceFrameProperties.put( "ParentFrame", xParentFrame );
aEmbeddedDescriptor.put( "OutplaceFrameProperties", OutplaceFrameProperties.getNamedValues() );
// tell the embedded object to have (or not have) script support
aEmbeddedDescriptor.put( "EmbeddedScriptSupport", objectSupportsEmbeddedScripts() );
// tell the embedded object to not participate in the document recovery game - the DB doc will handle it
aEmbeddedDescriptor.put( "DocumentRecoverySupport", false );
// pass the descriptor of the embedded object to the caller
aEmbeddedDescriptor >>= _out_rEmbeddedObjectDescriptor;
// create the ComponentData, and put it into the document's media descriptor
{
::comphelper::NamedValueCollection aComponentData;
aComponentData.put( "ActiveConnection", _xConnection );
aComponentData.put( "ApplyFormDesignMode", !_bReadOnly );
aMediaDesc.put( "ComponentData", aComponentData.getPropertyValues() );
}
if ( !m_pImpl->m_aProps.aTitle.isEmpty() )
2008-10-01 12:28:29 +00:00
aMediaDesc.put( "DocumentTitle", m_pImpl->m_aProps.aTitle );
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
aMediaDesc.put( "DocumentBaseURL", m_pImpl->m_pDataSource->getURL() );
// put the common load arguments into the document's media descriptor
lcl_putLoadArgs( aMediaDesc, optional_bool( _bSuppressMacros ), optional_bool( _bReadOnly ) );
return aMediaDesc.getPropertyValues();
}
void ODocumentDefinition::loadEmbeddedObject( const Reference< XConnection >& i_rConnection, const Sequence< sal_Int8 >& _aClassID,
const Sequence< PropertyValue >& i_rOpenCommandArguments, const bool _bSuppressMacros, const bool _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_xEmbeddedObject.is() )
{
Reference< XStorage> xStorage = getContainerStorage();
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 ( xStorage.is() )
{
Reference< XEmbeddedObjectCreator> xEmbedFactory = OOoEmbeddedObjectFactory::create(m_aContext);
OUString sDocumentService;
bool bSetSize = false;
sal_Int32 nEntryConnectionMode = EntryInitModes::DEFAULT_INIT;
Sequence< sal_Int8 > aClassID = _aClassID;
if ( aClassID.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
{
nEntryConnectionMode = EntryInitModes::TRUNCATE_INIT;
bSetSize = true;
}
else
{
sDocumentService = GetDocumentServiceFromMediaType( getContentType(), m_aContext, aClassID );
// check if we are not a form and
// the org.libreoffice.report.pentaho.SOReportJobFactory is not present.
if ( !m_bForm && !(sDocumentService == "com.sun.star.text.TextDocument"))
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
{
// we seem to be a "new style" report, check if report extension is present.
Reference< XContentEnumerationAccess > xEnumAccess( m_aContext->getServiceManager(), UNO_QUERY );
const OUString sReportEngineServiceName = ::dbtools::getDefaultReportEngineServiceName(m_aContext);
Reference< XEnumeration > xEnumDrivers = xEnumAccess->createContentEnumeration(sReportEngineServiceName);
if ( !xEnumDrivers.is() || !xEnumDrivers->hasMoreElements() )
{
css::io::WrongFormatException aWFE;
aWFE.Message = DBACORE_RESSTRING( RID_STR_MISSING_EXTENSION );
throw aWFE;
}
}
if ( !aClassID.getLength() )
{
if ( m_bForm )
aClassID = MimeConfigurationHelper::GetSequenceClassID(SO3_SW_CLASSID);
else
{
aClassID = MimeConfigurationHelper::GetSequenceClassID(SO3_RPT_CLASSID_90);
}
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
OSL_ENSURE( aClassID.getLength(),"No Class ID" );
Sequence< PropertyValue > aEmbeddedObjectDescriptor;
Sequence< PropertyValue > aLoadArgs( fillLoadArgs(
i_rConnection, _bSuppressMacros, _bReadOnly, i_rOpenCommandArguments, aEmbeddedObjectDescriptor ) );
m_xEmbeddedObject.set(xEmbedFactory->createInstanceUserInit(aClassID
,sDocumentService
,xStorage
,m_pImpl->m_aProps.sPersistentName
,nEntryConnectionMode
,aLoadArgs
,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();
}
Reference<XEmbeddedClient> xClient = m_pClientHelper;
m_xEmbeddedObject->setClientSite(xClient);
m_xEmbeddedObject->changeState(EmbedStates::RUNNING);
if ( bSetSize )
{
LockModifiable aLockModify( impl_getComponent_throw( false ) );
awt::Size aSize( DEFAULT_WIDTH, 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
}
}
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
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 nCurrentState = m_xEmbeddedObject->getCurrentState();
if ( nCurrentState == EmbedStates::LOADED )
{
if ( !m_pClientHelper )
{
m_pClientHelper = new OEmbeddedClientHelper(this);
m_pClientHelper->acquire();
}
Reference<XEmbeddedClient> xClient = m_pClientHelper;
m_xEmbeddedObject->setClientSite(xClient);
Sequence< PropertyValue > aEmbeddedObjectDescriptor;
Sequence< PropertyValue > aLoadArgs( fillLoadArgs(
i_rConnection, _bSuppressMacros, _bReadOnly, i_rOpenCommandArguments, aEmbeddedObjectDescriptor ) );
Reference<XCommonEmbedPersist> xCommon(m_xEmbeddedObject,UNO_QUERY);
OSL_ENSURE(xCommon.is(),"unsupported interface!");
if ( xCommon.is() )
xCommon->reload( aLoadArgs, aEmbeddedObjectDescriptor );
m_xEmbeddedObject->changeState(EmbedStates::RUNNING);
}
else
{
OSL_ENSURE( ( nCurrentState == EmbedStates::RUNNING ) || ( nCurrentState == EmbedStates::ACTIVE ),
"ODocumentDefinition::loadEmbeddedObject: unexpected state!" );
// if the document was already loaded (which means the embedded object is in state RUNNING or ACTIVE),
// then just re-set some model parameters
try
{
// ensure the media descriptor doesn't contain any values which are intended for the
// EmbeddedObjectDescriptor only
::comphelper::NamedValueCollection aEmbeddedObjectDescriptor;
::comphelper::NamedValueCollection aNewMediaDesc;
separateOpenCommandArguments( i_rOpenCommandArguments, aNewMediaDesc, aEmbeddedObjectDescriptor );
// merge the new media descriptor into the existing media descriptor
const Reference< XModel > xModel( getComponent(), UNO_QUERY_THROW );
const Sequence< PropertyValue > aArgs = xModel->getArgs();
::comphelper::NamedValueCollection aExistentMediaDesc( aArgs );
aExistentMediaDesc.merge( aNewMediaDesc, false );
lcl_putLoadArgs( aExistentMediaDesc, optional_bool(), optional_bool() );
// don't put _bSuppressMacros and _bReadOnly here - if the document was already
// loaded, we should not tamper with its settings.
2011-02-27 22:55:22 +01:00
// #i88977# #i86872#
xModel->attachResource( xModel->getURL(), aExistentMediaDesc.getPropertyValues() );
}
catch( const Exception& )
{
DBG_UNHANDLED_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
}
// set the OfficeDatabaseDocument instance as parent of the embedded document
2011-02-27 22:55:22 +01:00
// #i40358#
Reference< XChild > xDepdendDocAsChild( getComponent(), UNO_QUERY );
if ( xDepdendDocAsChild.is() )
{
try
{
if ( !xDepdendDocAsChild->getParent().is() )
{ // first encounter
xDepdendDocAsChild->setParent( getDataSource( m_xParentContainer ) );
}
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
}
if ( i_rConnection.is() )
m_xLastKnownConnection = i_rConnection;
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::onCommandPreview(Any& _rImage)
2000-09-18 23:16:46 +00:00
{
loadEmbeddedObjectForPreview();
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_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 = "image/png";
aFlavor.HumanPresentableName = "Portable Network Graphics";
aFlavor.DataType = cppu::UnoType<Sequence < sal_Int8 >>::get();
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
_rImage = xTransfer->getTransferData( aFlavor );
}
}
2011-04-13 09:40:26 +01:00
catch( const 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
{
}
2000-09-18 23:16:46 +00:00
}
}
void ODocumentDefinition::getPropertyDefaultByHandle( sal_Int32 /*_nHandle*/, Any& _rDefault ) const
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
{
_rDefault.clear();
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::onCommandGetDocumentProperties( Any& _rProps )
2000-09-18 23:16:46 +00:00
{
loadEmbeddedObjectForPreview();
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_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<XDocumentPropertiesSupplier> xDocSup(
getComponent(), UNO_QUERY );
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 ( xDocSup.is() )
_rProps <<= xDocSup->getDocumentProperties();
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 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
{
DBG_UNHANDLED_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
}
2000-09-18 23:16:46 +00:00
}
}
Reference< util::XCloseable > ODocumentDefinition::impl_getComponent_throw( const bool i_ForceCreate )
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_ENSURE(m_xEmbeddedObject.is(),"Illegal call for embeddedObject");
Reference< util::XCloseable > xComp;
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_xEmbeddedObject.is() )
{
int nState = m_xEmbeddedObject->getCurrentState();
if ( ( nState == EmbedStates::LOADED ) && i_ForceCreate )
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 );
nState = m_xEmbeddedObject->getCurrentState();
OSL_ENSURE( nState == EmbedStates::RUNNING, "ODocumentDefinition::impl_getComponent_throw: could not switch to 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
}
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;
}
Reference< util::XCloseable > ODocumentDefinition::getComponent() throw (RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
return impl_getComponent_throw();
}
namespace
{
Reference< XDatabaseDocumentUI > lcl_getDatabaseDocumentUI( ODatabaseModelImpl& _rModelImpl )
{
Reference< XDatabaseDocumentUI > xUI;
Reference< XModel > xModel( _rModelImpl.getModel_noCreate() );
if ( xModel.is() )
xUI.set( xModel->getCurrentController(), UNO_QUERY );
return xUI;
}
}
Reference< XComponent > ODocumentDefinition::impl_openUI_nolck_throw( bool _bForEditing )
{
::osl::ClearableMutexGuard aGuard( m_aMutex );
if ( !m_pImpl || !m_pImpl->m_pDataSource )
throw DisposedException();
Reference< XComponent > xComponent;
try
{
Reference< XDatabaseDocumentUI > xUI( lcl_getDatabaseDocumentUI( *m_pImpl->m_pDataSource ) );
if ( !xUI.is() )
{
// no XDatabaseDocumentUI -> just execute the respective command
m_bOpenInDesign = _bForEditing;
xComponent = Reference<XComponent>(onCommandOpenSomething(Any(), true, nullptr), UNO_QUERY);
OSL_ENSURE( xComponent.is(), "ODocumentDefinition::impl_openUI_nolck_throw: opening the thingie failed." );
return xComponent;
}
OUString sName( impl_getHierarchicalName( false ) );
sal_Int32 nObjectType = m_bForm ? DatabaseObject::FORM : DatabaseObject::REPORT;
aGuard.clear();
xComponent = xUI->loadComponent(
nObjectType, sName, _bForEditing
);
}
2011-04-13 09:40:26 +01:00
catch( const RuntimeException& ) { throw; }
catch( const Exception& )
{
throw WrappedTargetException(
OUString(), *this, ::cppu::getCaughtException() );
}
return xComponent;
}
void ODocumentDefinition::impl_store_throw()
{
Reference<XEmbedPersist> xPersist( m_xEmbeddedObject, UNO_QUERY );
if ( xPersist.is() )
{
xPersist->storeOwn();
notifyDataSourceModified();
}
}
bool ODocumentDefinition::impl_close_throw()
{
bool bSuccess = prepareClose();
if ( bSuccess && m_xEmbeddedObject.is() )
{
m_xEmbeddedObject->changeState( EmbedStates::LOADED );
bSuccess = m_xEmbeddedObject->getCurrentState() == EmbedStates::LOADED;
}
return bSuccess;
}
Reference< XComponent > SAL_CALL ODocumentDefinition::open( ) throw (WrappedTargetException, RuntimeException, std::exception)
{
return impl_openUI_nolck_throw( false );
}
Reference< XComponent > SAL_CALL ODocumentDefinition::openDesign( ) throw (WrappedTargetException, RuntimeException, std::exception)
{
return impl_openUI_nolck_throw( true );
}
void SAL_CALL ODocumentDefinition::store( ) throw (WrappedTargetException, RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
try
{
impl_store_throw();
}
2011-04-13 09:40:26 +01:00
catch( const RuntimeException& ) { throw; }
catch( const Exception& )
{
throw WrappedTargetException(
OUString(), *this, ::cppu::getCaughtException() );
}
}
sal_Bool SAL_CALL ODocumentDefinition::close( ) throw (WrappedTargetException, RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
bool bSuccess = false;
try
{
bSuccess = impl_close_throw();
}
2011-04-13 09:40:26 +01:00
catch( const RuntimeException& ) { throw; }
catch( const Exception& )
{
throw WrappedTargetException(
OUString(), *this, ::cppu::getCaughtException() );
}
return bSuccess;
}
OUString SAL_CALL ODocumentDefinition::getHierarchicalName() throw (RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
return impl_getHierarchicalName( false );
}
OUString SAL_CALL ODocumentDefinition::composeHierarchicalName( const OUString& i_rRelativeName ) throw (IllegalArgumentException, NoSupportException, RuntimeException, std::exception)
{
OUStringBuffer aBuffer;
aBuffer.append( getHierarchicalName() );
aBuffer.append( '/' );
aBuffer.append( i_rRelativeName );
return aBuffer.makeStringAndClear();
}
void SAL_CALL ODocumentDefinition::rename( const OUString& _rNewName ) throw (SQLException, ElementExistException, RuntimeException, std::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
try
2000-09-18 23:16:46 +00:00
{
::osl::ResettableMutexGuard aGuard(m_aMutex);
if ( _rNewName.equals( m_pImpl->m_aProps.aTitle ) )
return;
// document definitions are organized in a hierarchical way, so reject names
// which contain a /, as this is reserved for hierarchy level separation
if ( _rNewName.indexOf( '/' ) != -1 )
m_aErrorHelper.raiseException( ErrorCondition::DB_OBJECT_NAME_WITH_SLASHES, *this );
NameChangeNotifier aNameChangeAndNotify( *this, _rNewName, aGuard );
m_pImpl->m_aProps.aTitle = _rNewName;
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(_rNewName,*this);
2000-09-18 23:16:46 +00:00
}
}
Reference< XStorage> ODocumentDefinition::getContainerStorage() const
2000-09-18 23:16:46 +00:00
{
return m_pImpl->m_pDataSource
dba33a: summary migration from SVN 2009-11-06 13:10:39 +0000 msc r277387 : minor fix for automatic test 2009-11-06 13:09:33 +0000 msc r277385 : minor fix for automatic test 2009-11-06 12:30:57 +0000 fs r277383 : argh. On some virtual machines, waiting 5 seconds for the event to arrive is not enough. Increasing the timeout ... 2009-11-06 12:13:34 +0000 fs r277382 : this diagnostic code should not have slipped in 2009-11-05 13:21:06 +0000 fs r277369 : SHL2NOCHECK=TRUE (requested by hjs) 2009-11-04 14:09:46 +0000 msc r277355 : minor fix for automatic testing 2009-11-04 13:23:02 +0000 msc r277352 : minor fix for automatic testing 2009-11-04 10:53:28 +0000 msc r277341 : minor fix for automated testscript 2009-11-04 08:30:58 +0000 msc r277333 : minor fix for automatic test 2009-11-04 08:15:43 +0000 msc r277332 : minor fix for automatic test 2009-11-03 14:25:44 +0000 fs r277324 : #i10000# 2009-11-03 09:47:47 +0000 fs r277315 : found yet another help ID zombie ... moved formhelpid.hrc content to propctrlr.hrc, where it belongs 2009-11-03 08:50:24 +0000 fs r277312 : use createTempFileURL, which cares for some more specialities ... 2009-11-03 08:44:55 +0000 fs r277311 : when creating a temp file for purpose of getting a temp file URL, the delete the file immediately. On some machines/JVMs, the file exists, with write access denied, which isn't Good (TM) 2009-10-22 13:06:17 +0000 fs r277126 : removed wrong assertion 2009-10-21 08:10:35 +0000 fs r277077 : reverted the previous change, which was nonsense 2009-10-21 07:19:43 +0000 fs r277076 : export the component_foo functions, now that some of the objects are built with VISIBILITY_HIDDEN=TRUE 2009-10-21 07:08:35 +0000 fs r277075 : spare useless call 2009-10-20 21:26:31 +0000 fs r277072 : #i10000# 2009-10-20 08:06:04 +0000 fs r277039 : CWS-TOOLING: rebase CWS dba33a to trunk@277035 (milestone: DEV300:m62) 2009-10-16 09:55:25 +0000 fs r276960 : remove one of the superfluous implts_doLayout calls introduced with the previous patch 2009-10-15 13:18:52 +0000 fs r276941 : removed the basic tests. According to cn, they're not used anymore (for a long time), and according to 'du -h', they take up 6.0M on my hard disc. For too much for useless code, /me thinks. 2009-10-15 13:06:51 +0000 fs r276940 : #i10000# remove useless include (otherwise the compiler warning it provokes would need to be fixed by declaring VISIBILITY_HIDDEN=TRUE in the makefile.mk) 2009-10-15 12:52:39 +0000 fs r276939 : #i10000# 2009-10-15 12:44:26 +0000 fs r276938 : #i10000# 2009-10-15 12:00:33 +0000 fs r276936 : #i10000# 2009-10-15 10:31:37 +0000 fs r276934 : #i105259# prepare for the Hidden arg 2009-10-15 10:31:05 +0000 fs r276933 : IsMaximized -> const 2009-10-15 09:50:15 +0000 fs r276932 : during #i105259#: introduce an option to the layout manager to preserve, if possible, the size of the content window when layouting. Enable this option for embedded (SFX-based) documents opened for outplace editing. (the option is incompatible with in-place editing, anyway) This is because such embedded objects couple the (content) window size to the VisAreaSize, in that both are used interchangeably. When an embedded object is closed, it remembers the VisAreaSize, and restores it upon next open. This, however, leads to different content window sizes when the window is closed with another toolbar set than used during opening. This patch here prevents those different content window sizes. Also, now the content window size doesn't change when, explicitly or implicitly, a toolbar is shown or hidden. Instead, the content window size stays the same, and the container window size is adjusted. 2009-10-15 09:32:41 +0000 fs r276931 : during #i105259#: UNO access to more attributes of top windows 2009-10-15 09:30:28 +0000 fs r276930 : indention corrected (better readable) 2009-10-15 09:26:46 +0000 fs r276929 : during #i105259#: access to more attributes of top windows 2009-10-14 10:04:39 +0000 fs r276889 : connecting via services manager, not naming service 2009-10-12 11:31:08 +0000 fs r276831 : during #i105806# FillPropertySet: do not attempt to set *AutoStyleName if it doesn't exist 2009-10-12 11:24:44 +0000 fs r276830 : #i105806# getPropertyValue: throw an UnknownPropertyException for, well, unknown properties 2009-10-08 08:20:58 +0000 fs r276774 : implSubmit: re-throw WrappedTargetExceptions unmodified 2009-10-07 19:19:42 +0000 fs r276770 : #i105198# do not pass an CommandType if we do not have a command 2009-10-07 17:39:36 +0000 fs r276768 : export the OWeakObject::disposeWeakConnectionPoint symbol 2009-10-07 12:59:17 +0000 fs r276754 : #i87693# 2009-10-07 11:19:22 +0000 fs r276752 : #i10000# 2009-10-07 10:21:08 +0000 fs r276748 : #105482# do not require a controller, at least not in *all* circumstances (executed reports have a model, the ReportDefinition, but no Controller) 2009-10-07 10:04:08 +0000 fs r276747 : copying the changes from CWS fwk121 herein, in particular the fix for issue #i105371# 2009-10-07 09:58:30 +0000 fs r276746 : copying the changes from CWS fwk121 herein, in particular the fix for issue #i105371# 2009-10-07 09:48:14 +0000 fs r276744 : removed (now) pointless assertion 2009-10-07 06:59:19 +0000 fs r276740 : export the OWeakObject::disposeWeakConnectionPoint symbol 2009-10-07 06:44:43 +0000 fs r276739 : OComponentHelper::release & WeakAggComponentImplHelperBase::release: when our ref count drops to 0, call OWeakObject's disposeWeakConnectionPoint before (temporarily) incrementing the ref count, again. This ensures that our adapter cannot create references to the dying object anymore. (A complex test case in dbaccess (#i105505#) triggered such a situation, but in another class using an analogous release/dispose/destroy pattern, namely WeakComponentImplHelperBase) 2009-10-07 06:37:20 +0000 fs r276738 : found during some new complex test cases: call disposeWeakConnectionPoint before actually starting to destroy the object, this ensures no other threads will resurrect it while it is dying 2009-10-06 21:58:24 +0000 fs r276734 : oops, two small corrections to the previous fix (hey, complex test cases are cool) 2009-10-06 21:51:16 +0000 fs r276733 : log the name of the data source which cannot be revoked 2009-10-06 21:50:41 +0000 fs r276732 : more detailed error message when cleanup fails 2009-10-06 21:50:01 +0000 fs r276731 : reworked the ModelImpl caching. The new and improved UNO API test for css.sdb.RowSet revealed some inconsistencies, in whether the objects are cached by their URL, or by their registration name. This has been changed to caching by registration name. 2009-10-06 13:50:34 +0000 fs r276714 : print diagnostics when we cannot clean up the test case 2009-10-06 13:45:02 +0000 fs r276713 : this test failed all the time, since the core (rightfully) threw an exception. Disabled it for the moment, until issue 84253 is fixed 2009-10-06 12:52:46 +0000 fs r276711 : rewrote this test. Now we do not re-use the same .odb across different test cases, as this leads to unreliable (timing-dependent) results/failures. Instead, every test sets up a new odb file. Also, did some re-factoring, improved the cleanup code, and caught a few more errors. 2009-10-06 12:51:07 +0000 fs r276710 : DBTools taking a logger now 2009-10-06 12:50:42 +0000 fs r276709 : taking a PrintWriter for logging purpose 2009-10-06 12:50:03 +0000 fs r276708 : DBTools taking a logger now 2009-10-06 12:49:22 +0000 fs r276707 : typo 2009-10-06 12:49:03 +0000 fs r276706 : typo 2009-10-06 12:48:52 +0000 fs r276705 : wrappers around some database-related services - initial versions only, to evolve over time, and intended to finally replace the DBTools class 2009-10-06 12:48:02 +0000 fs r276704 : typo 2009-10-06 12:38:42 +0000 fs r276702 : some better diagnostics, done during getting the API tests to work more reliably 2009-10-06 10:35:51 +0000 fs r276698 : when living in, e.g., the DataSourceBrowser, we can't expect to find an XModifiable2, so don't assert its existence 2009-10-05 12:47:52 +0000 oj r276677 : #i105607# check for read moved into if scope 2009-10-05 11:37:06 +0000 fs r276676 : when saving a file fails, retrieve the error message from the InteractionRequestStringResolver - this is better than any generic message we can create 2009-10-05 10:04:23 +0000 oj r276673 : #i105607# check for read moved into if scope 2009-10-05 09:46:17 +0000 fs r276671 : #i10000# 2009-10-05 08:43:58 +0000 fs r276664 : #i105505# release: dispose the (base classes) weak connection point before disposing ourself, and in particular before temporarily incrementing our ref count, again. This way, we prevent that a separate thread re-surrects us (using the weak connection point's queryAdapted) while we're in the process of destruction 2009-10-05 08:41:49 +0000 fs r276663 : #i105505# +disposeWeakConnectionPoint (outsourced into dedicated method from ::release) 2009-10-05 08:40:26 +0000 fs r276662 : no need to derived from OSubComponent, its features are not used, directly derive from WeakComponentImplFoo instead 2009-10-05 08:39:38 +0000 fs r276661 : #i105505# diagnostics 2009-10-05 08:39:16 +0000 fs r276660 : #i105505# +testDocumentRevenants 2009-10-05 08:36:01 +0000 fs r276659 : #i105560# reverted the removal of GenericController::openHelpAgent - this is needed in module reportdesign 2009-10-04 19:53:30 +0000 fs r276657 : #105560# remove unused code thanks to cmc@openoffice.org for submitting the patch 2009-10-04 19:50:28 +0000 fs r276656 : #i105550# remove unused 'fire' method (thanks to cmc) 2009-10-03 16:13:15 +0000 fs r276655 : CWS-TOOLING: rebase CWS dba33a to trunk@276429 (milestone: DEV300:m60) 2009-10-02 19:20:48 +0000 fs r276651 : #i104117# lotta changed IDs ... 2009-10-02 10:52:24 +0000 fs r276634 : #i105505# If a model is created, and is a revenant of a previous incarnation, then ensure it is properly initialized. In particular, in its ctor, set the state to "Initializing", not "Initialized", and then let the ModelImpl call attachResource. This ensures that the model is initialized completely, including firing the necessary events. 2009-10-02 10:51:08 +0000 fs r276633 : #i105505# always do an attachResource at the newly loaded model, even if it (internally) was not really loaded, but only a revenant of a previous incarnation of this document 2009-10-01 11:10:13 +0000 fs r276597 : do not rely on the name 'Standard' for the one and only form in a document 2009-10-01 10:36:29 +0000 fs r276590 : #i105509# don't rely on default form component names, use indexes 2009-10-01 09:12:20 +0000 fs r276582 : #i105505# 2009-09-30 07:55:21 +0000 fs r276542 : removed some unsed methods / spared some unnecessary pixel<->logic conversion 2009-09-30 07:53:22 +0000 fs r276541 : removed unneeded methods 2009-09-30 06:35:59 +0000 fs r276538 : #i10000# 2009-09-29 13:45:02 +0000 fs r276531 : refactored the Roadmap* classes, to be able to fix above-mentioned #i105113# 2009-09-29 10:27:10 +0000 fs r276520 : #i105367# 2009-09-29 08:46:45 +0000 fs r276510 : #i104956# cleaned up the makefiles 2009-09-28 21:00:07 +0000 fs r276505 : #i104117# sourced those IDs out from extension.hrc 2009-09-28 20:59:05 +0000 fs r276504 : no need to let one FREE... 2009-09-28 20:53:36 +0000 fs r276503 : #i104117# cleaned up the mess with help IDs in module extensions. Formerly, extensions used to use help IDs which were declared in module svx, and vice versa. Also, help ID ranges were not respected. 2009-09-28 11:25:36 +0000 fs r276489 : typo 2009-09-28 11:25:10 +0000 fs r276488 : #i105235# 2009-09-24 11:53:16 +0000 fs r276423 : #i105234# do not zoom the control when they view information is still uninitialized (happens at least in Writer when opening a form document) 2009-09-24 09:42:28 +0000 fs r276415 : #i105234# proper zoom handling for the nav bar 2009-09-24 09:42:19 +0000 fs r276414 : #i105234# setZoom: care for precision errors caused by implicit conversion float->double 2009-09-16 11:11:43 +0000 fs r276195 : #i105082# consolidated the sub storage handling, by delegating more functionality into the DocumentStorageAccess class. As a result, there won't be that many unnecessary commits anymore. Also, the two different storage caches (in ModelImpl::m_aStorages and DocumentStorageAccess::m_aExposedStorages) have been consolidated. This is not really part of the fix of issue 105082, but it helped reducing the calls to the storage/package implementation. 2009-09-15 21:42:27 +0000 fs r276190 : don't calculate space for BOLD if the text is not really bold (speeds up rendering for large tree structures) 2009-09-15 20:20:23 +0000 fs r276188 : getTypeInfo: fill m_aTypeInfoRows only if really all type infos could be retrieved 2009-09-15 20:19:29 +0000 fs r276187 : do not continue loading when the controller initialization throws an error 2009-09-14 12:25:57 +0000 fs r276119 : oops, this patch was not intended for this CWS 2009-09-14 12:13:57 +0000 fs r276114 : #cr6875455# introduce a ReferenceDevice property for various control models 2009-09-14 10:33:02 +0000 fs r276106 : removed dead file 2009-09-09 08:37:31 +0000 fs r275972 : remove OSL_TRACE in VCLXButton dtor 2009-09-08 11:19:17 +0000 oj r275926 : i76534# remove mnemonic from fixed text 2009-09-07 08:39:37 +0000 fs r275874 : create CWS dba33a from cws/dba32g@275857 (CWS: dba32g)
2009-11-27 12:39:32 +00:00
? m_pImpl->m_pDataSource->getStorage( m_bForm ? ODatabaseModelImpl::E_FORM : ODatabaseModelImpl::E_REPORT )
: Reference< XStorage>();
2000-09-18 23:16:46 +00:00
}
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);
bool bRet = 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
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
}
bool ODocumentDefinition::prepareClose()
{
if ( !m_xEmbeddedObject.is() )
return true;
try
{
// suspend the controller. Embedded objects are not allowed to raise
// own UI at their own discretion, instead, this has always to be triggered
// by the embedding component. Thus, we do the suspend call here.
2011-02-27 22:55:22 +01:00
// #i49370#
Reference< util::XCloseable > xComponent( impl_getComponent_throw( false ) );
if ( !xComponent.is() )
return true;
Reference< XModel > xModel( xComponent, UNO_QUERY );
Reference< XController > xController;
if ( xModel.is() )
xController = xModel->getCurrentController();
OSL_ENSURE( xController.is() || ( m_xEmbeddedObject->getCurrentState() < EmbedStates::ACTIVE ),
"ODocumentDefinition::prepareClose: no controller!" );
if ( !xController.is() )
// document has not yet been activated, i.e. has no UI, yet
return true;
bool bCouldSuspend = xController->suspend( sal_True );
if ( !bCouldSuspend )
// controller vetoed the closing
return false;
if ( isModified() )
{
Reference< XFrame > xFrame( xController->getFrame() );
if ( xFrame.is() )
{
Reference< XTopWindow > xTopWindow( xFrame->getContainerWindow(), UNO_QUERY_THROW );
xTopWindow->toFront();
}
if ( !save( true ) )
{
if ( bCouldSuspend )
// revert suspension
xController->suspend( sal_False );
// saving failed or was cancelled
return false;
}
}
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
return true;
}
void ODocumentDefinition::fillReportData( const Reference< XComponentContext >& _rContext,
2009-11-04 14:40:44 +01:00
const Reference< util::XCloseable >& _rxComponent,
const Reference< XConnection >& _rxActiveConnection )
2000-09-18 23:16:46 +00:00
{
2009-11-04 14:40:44 +01:00
Sequence< Any > aArgs(2);
PropertyValue aValue;
aValue.Name = "TextDocument";
2009-11-04 14:40:44 +01:00
aValue.Value <<= _rxComponent;
aArgs[0] <<= aValue;
aValue.Name = "ActiveConnection";
aValue.Value <<= _rxActiveConnection;
aArgs[1] <<= aValue;
2009-11-04 14:40:44 +01:00
try
{
Reference< XJobExecutor > xExecuteable(
_rContext->getServiceManager()->createInstanceWithArgumentsAndContext("com.sun.star.wizards.report.CallReportWizard", aArgs, _rContext), UNO_QUERY_THROW );
xExecuteable->trigger( "fill" );
2009-11-04 14:40:44 +01:00
}
catch( const Exception& )
{
DBG_UNHANDLED_EXCEPTION();
2000-09-18 23:16:46 +00:00
}
}
void ODocumentDefinition::updateDocumentTitle()
{
OUString sName = m_pImpl->m_aProps.aTitle;
if ( m_pImpl->m_pDataSource )
{
if ( sName.isEmpty() )
{
if ( m_bForm )
sName = DBACORE_RESSTRING( RID_STR_FORM );
else
sName = DBACORE_RESSTRING( RID_STR_REPORT );
Reference< XUntitledNumbers > xUntitledProvider(m_pImpl->m_pDataSource->getModel_noCreate(), UNO_QUERY );
if ( xUntitledProvider.is() )
sName += OUString::number( xUntitledProvider->leaseNumber(getComponent()) );
}
Reference< XTitle > xDatabaseDocumentModel(m_pImpl->m_pDataSource->getModel_noCreate(),uno::UNO_QUERY);
if ( xDatabaseDocumentModel.is() )
sName = xDatabaseDocumentModel->getTitle() + " : " + sName;
}
Reference< XTitle> xTitle(getComponent(),UNO_QUERY);
if ( xTitle.is() )
xTitle->setTitle(sName);
}
void SAL_CALL ODocumentDefinition::queryClosing( const lang::EventObject& Source, sal_Bool GetsOwnership ) throw (util::CloseVetoException, uno::RuntimeException, std::exception)
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
{
(void) Source;
(void) GetsOwnership;
try
{
if ( !close() )
throw util::CloseVetoException();
}
catch(const lang::WrappedTargetException&)
{
throw util::CloseVetoException();
}
}
void SAL_CALL ODocumentDefinition::notifyClosing( const lang::EventObject& /*Source*/ ) throw (uno::RuntimeException, std::exception)
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
{
}
void SAL_CALL ODocumentDefinition::disposing( const lang::EventObject& /*Source*/ ) throw (uno::RuntimeException, std::exception)
CWS-TOOLING: integrate CWS dba32a 2009-04-16 13:08:19 +0200 oj r270882 : #i14538# set property at control 2009-04-16 13:04:28 +0200 oj r270881 : #i98557# remove binary string for SRB 2009-04-15 13:19:10 +0200 oj r270838 : #i96782# use type set at view 2009-04-14 14:53:20 +0200 oj r270778 : #i96782# set initialize size for custom shape 2009-04-06 14:19:14 +0200 oj r270546 : #i88432# correct pos when < 0 while resizing 2009-04-06 13:36:13 +0200 oj r270541 : #i96782# handle toolbar and menubar differently 2009-04-06 13:33:54 +0200 oj r270540 : #i96782# handle toolbar and menubar differently 2009-04-06 12:28:23 +0200 oj r270534 : #i96782# handle toolbar and menubar differently 2009-04-06 12:27:44 +0200 oj r270533 : #i96782# handle toolbar and menubar differently 2009-04-06 12:24:32 +0200 oj r270532 : #i96782# handle toolbar and menubar differently 2009-04-06 12:15:15 +0200 oj r270531 : do not initialze when field is empty 2009-04-06 10:06:08 +0200 oj r270528 : #i96782# clean up of menubar and remove duplicates 2009-04-06 09:47:49 +0200 oj r270527 : #i96519# adjust help text dynamic 2009-04-03 13:43:20 +0200 oj r270482 : do not need to remove section from observer they are already disposed 2009-04-03 13:27:28 +0200 fs r270479 : #i97356# 2009-04-02 11:30:39 +0200 fs r270386 : UNX line ends 2009-04-02 10:54:51 +0200 fs r270379 : UNX line ends 2009-04-02 10:39:57 +0200 fs r270378 : UNX line ends 2009-04-02 10:37:24 +0200 fs r270377 : why did this survive the rebase? was removed on trunk ... 2009-03-31 13:31:12 +0200 fs r270277 : component_foo should be public 2009-03-28 00:21:01 +0100 fs r270176 : manuallly merged the changes which happened in CWS before resync to m45, where the directory had been moved from reportdesign/registry to reportbuilder/registry 2009-03-27 23:01:20 +0100 fs r270174 : CWS-TOOLING: rebase CWS dba32a to trunk@270033 (milestone: DEV300:m45) 2009-03-11 12:23:35 +0100 fs r269310 : #i99958# ensure the ControlModelLock doesn't release twice 2009-03-06 09:07:32 +0100 fs r268970 : ignore output paths in SVN's status 2009-03-06 09:07:08 +0100 fs r268969 : ignore output paths in SVN's status 2009-03-04 11:28:02 +0100 oj r268800 : copy and paste error, check correct end now 2009-03-03 15:49:11 +0100 fs r268736 : #i10000# those merges were lost during the rebase (m38->m42) 2009-03-03 13:25:27 +0100 lla r268720 : #i99652# fix wrong refactoring 2009-02-27 11:12:56 +0100 fs r268566 : beautified 2009-02-27 10:53:47 +0100 fs r268561 : doFormListening(false) only when actually isFormListening() (found during complex test case XMLFormSettings with assertions) 2009-02-26 20:55:31 +0100 fs r268546 : #i96530# set the Label property of the bound control, if we didn't create a dedicated label control 2009-02-26 11:53:09 +0100 fs r268494 : #i10000# 2009-02-26 11:27:50 +0100 fs r268493 : #i10000# 2009-02-26 11:17:08 +0100 fs r268490 : reportdesign depends on REPORTBUILDER, not REPORTDESIGN 2009-02-25 11:39:48 +0100 fs r268422 : #i10000# post-resync: INFO_ESCAPE_DATETIME got lost during rebase 2009-02-24 23:24:10 +0100 fs r268411 : CWS-TOOLING: rebase CWS dba32a to trunk@268395 (milestone: DEV300:m42) 2009-02-20 15:09:48 +0100 fs r268324 : respect ImplicitCatalog/SchemaRestriction in all necessary places 2009-02-20 13:48:10 +0100 oj r268318 : order of initialize corrected 2009-02-14 15:07:52 +0100 fs r267759 : #i98975# when an image does not have a bitmap, but a text, draw this (as placeholder) 2009-02-14 15:02:40 +0100 fs r267758 : consolidated and removed some duplicate code 2009-02-14 13:52:23 +0100 fs r267756 : #i10000# 2009-02-13 22:08:34 +0100 fs r267750 : #i100000# 2009-02-13 22:07:25 +0100 fs r267749 : #i10000# 2009-02-13 21:55:36 +0100 fs r267747 : #i10000# 2009-02-13 21:54:27 +0100 fs r267746 : use const_cast 2009-02-13 21:29:10 +0100 fs r267745 : #i10000# 2009-02-13 21:27:39 +0100 fs r267744 : #i10000# 2009-02-13 20:59:13 +0100 fs r267742 : #i10000# 2009-02-13 13:21:30 +0100 fs r267717 : better diagnostics 2009-02-13 13:17:24 +0100 fs r267715 : #i58313# support Catalog/SchemaRestriction settings, which are applied in getTables when 'all catalogs/schemas' are to be retrieved 2009-02-13 13:16:14 +0100 fs r267714 : filter out some more known global settings 2009-02-13 12:39:43 +0100 fs r267713 : #i58313# ImplicitCatalog/SchemaRestriction 2009-02-13 12:36:50 +0100 fs r267712 : when exporting data source settings, allow for properties which have a VOID default value, but are currently not VOID 2009-02-13 12:35:57 +0100 fs r267711 : implement XSet, to allow inserting properties which have a default value of VOID 2009-02-13 12:35:03 +0100 fs r267710 : +addVoidProperty 2009-02-13 10:20:08 +0100 fs r267697 : removed unused variable 2009-02-13 09:46:46 +0100 fs r267695 : refactored the table filtering code, to have a better base for introducing additional low level filters 2009-02-10 09:23:07 +0100 lla r267537 : #i10000# wrong line feed, double named variable 2009-02-09 12:13:08 +0100 oj r267508 : #i98605# notify hanlder 2009-02-09 11:50:34 +0100 oj r267507 : #i98926# solve refcount problem 2009-02-09 11:50:05 +0100 oj r267506 : #i98971# fix for simple html 2009-02-09 11:49:24 +0100 oj r267505 : #i98971# fix for simple html 2009-02-09 11:47:27 +0100 oj r267504 : invoke on copy 2009-02-09 09:51:00 +0100 fs r267500 : #i98316# 2009-02-09 09:46:10 +0100 fs r267499 : setCurrentSelection: don't reset the current form when we de-select everything 2009-02-09 09:43:45 +0100 fs r267498 : #i98316# 2009-02-08 21:25:18 +0100 fs r267496 : #i98272# introduce late ctor for cloning 2009-02-07 21:08:39 +0100 fs r267485 : #i98272# when copy-constructing a FmFormPageImpl, use the XCloneable of the forms collection, instead of XPersistObject (which is incompletely implemented) 2009-02-07 21:07:26 +0100 fs r267484 : removed obsolete include guards 2009-02-07 21:05:22 +0100 fs r267483 : #i98272# implement XCloneable 2009-02-06 15:02:48 +0100 lla r267467 : #i96523# add XImageControl 2009-02-06 14:41:38 +0100 oj r267463 : #i98926# late init when connection disposed but only when asked for 2009-02-06 13:49:57 +0100 lla r267457 : #i92860# bigint in forms doesn't allow input of values > 1, fixed 2009-02-06 13:03:55 +0100 oj r267455 : ImageScaleMode 2009-02-05 14:48:19 +0100 lla r267424 : #i89335# dropdown listboxes are 14 instead of 7 lines high 2009-02-05 13:40:00 +0100 oj r267423 : #i96945# insert new prop Opaque 2009-02-05 13:39:19 +0100 oj r267422 : #i96945# insert layer handling for hell and heaven 2009-02-05 13:29:32 +0100 lla r267420 : #i89335# add is null, is not null, is not like filter condition 2009-02-04 12:23:02 +0100 oj r267364 : #i98821# load table font settings 2009-02-04 10:05:27 +0100 oj r267351 : #i98821# load table font settings 2009-02-04 09:23:22 +0100 fs r267350 : checking persistency of UI settings in database documents - for the moment, capture table formattings (which is issue 98821) 2009-02-04 09:22:15 +0100 fs r267349 : moved some methods which are of wider interest from DatabaseDocument to FileHelper resp. TestCase 2009-02-04 08:56:27 +0100 oj r267347 : #i97586# UcbStreamHelper::CreateStream doesn't check all streamModes use different method 2009-02-04 08:23:26 +0100 oj r267346 : #i98701# check key size is >= 3 and some redesign 2009-02-03 23:29:24 +0100 fs r267345 : return the component (controller), not the frame 2009-02-03 23:28:53 +0100 fs r267344 : openExisting returns a controller now, not the frame (this was a bug) 2009-02-03 23:28:25 +0100 fs r267343 : openElement: properly return the component in the table/query case 2009-02-02 12:48:17 +0100 oj r267261 : #i96013# fix for relative path 2009-02-02 10:33:28 +0100 lla r267253 : #i98557# cleanups and consolidation 2009-02-02 09:37:23 +0100 lla r267250 : #i88432# resize will no longer move components to other sections 2009-02-02 09:08:24 +0100 oj r267245 : #i97475# write 0x1A at the end of the file 2009-01-30 19:39:20 +0100 lla r267230 : #i10000# unused parameters 2009-01-30 09:51:09 +0100 fs r267181 : onsolete 2009-01-30 09:49:27 +0100 fs r267180 : onsolete 2009-01-29 14:28:22 +0100 oj r267139 : #i96825# import cell style 2009-01-29 14:23:12 +0100 oj r267137 : #i98601# export imagescalehandler 2009-01-29 14:19:57 +0100 lla r267135 : #i98601# add ImageScaleMode 2009-01-29 13:21:08 +0100 oj r267124 : #i98601# impl ScaleMode 2009-01-29 13:20:56 +0100 oj r267123 : #i98601# impl ScaleMode 2009-01-29 08:46:40 +0100 oj r267095 : new property: ScaleMode 2009-01-29 08:45:23 +0100 oj r267094 : new ScaleMode from UnControlImageModel 2009-01-29 08:28:12 +0100 oj r267093 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 19:54:34 +0100 lla r267082 : #i98557# pictures in report wizard 2009-01-28 15:06:25 +0100 oj r267060 : #i87930# close all sub forms/reports when the desktop is going to be terminated and no db frame exists 2009-01-28 11:38:41 +0100 lla r267046 : #i76783# handle binary fields in forms 2009-01-28 09:24:43 +0100 lla r267025 : #i10000# 2009-01-28 08:40:04 +0100 fs r267024 : #i10000# 2009-01-28 08:04:43 +0100 oj r267023 : #i93456# use resource strings for function names 2009-01-27 13:26:05 +0100 oj r266988 : check data field is type field or expression 2009-01-27 13:07:17 +0100 oj r266985 : check data field length 2009-01-27 11:48:19 +0100 oj r266974 : #i96823# return dll string as column name when no alias exists 2009-01-27 09:53:11 +0100 fs r266958 : display the message of a caught exception 2009-01-27 09:44:13 +0100 fs r266957 : #i58313# when retrieving all tables, just set an empty table type filter - the connection will care for translating this, by respecting the TableTypeFilterMode setting 2009-01-27 09:36:09 +0100 fs r266956 : #i58313# getTables: per JDBC spec, is not a valid table type filter. Translate it to 'null'. 2009-01-26 11:24:49 +0100 lla r266912 : #i97865# cleanups (AddField viewable in remote mode) 2009-01-26 07:49:27 +0100 lla r266897 : #i97865# AddField opens in remote case 2009-01-26 07:48:58 +0100 lla r266896 : #i97865# AddField opens in remote case 2009-01-26 07:48:42 +0100 lla r266895 : #i97865# AddField opens in remote case 2009-01-23 15:04:40 +0100 fs r266825 : consolidate the usage of OSQLMessageBox with MessageType==Warning into OSQLWarningBox 2009-01-23 10:47:33 +0100 fs r266787 : +supportsUserAdministration 2009-01-23 10:47:11 +0100 fs r266784 : use DatabaseMetaData.supportsUserAdministration 2009-01-23 07:55:59 +0100 lla r266767 : #i10000# fix gcc compiler failures 2009-01-21 15:08:55 +0100 lla r266673 : #i97265# Labels in HC (IsDark) with other color (viewable) 2009-01-19 14:58:54 +0100 lla r266504 : #i96523# last problems with FormatKey and '0' values fixed 2009-01-19 14:58:00 +0100 lla r266503 : #i96519# AddField help text 2009-01-19 11:59:02 +0100 fs r266485 : #i96523# for formatted field models, init them with TreatAsNumber = false 2009-01-16 10:31:49 +0100 lla r266405 : #i96793# add shrink to popup menu 2009-01-16 09:21:44 +0100 lla r266401 : #i96519# AddField contains a help text 2009-01-15 11:21:49 +0100 lla r266357 : #i96523# problem with XVclWindowPeer not fixed now 2009-01-15 09:19:20 +0100 lla r266335 : #i96523# more crashes fixed. 2009-01-14 13:08:34 +0100 lla r266291 : #i96523# problems with crashes fixed 2009-01-13 10:54:24 +0100 lla r266199 : #i96523# show datasource in formattedfields new files 2009-01-13 10:52:39 +0100 lla r266198 : #i96523# show datasource in formattedfields 2009-01-13 09:41:50 +0100 lla r266197 : #i96526# handling none existance default.otr 2009-01-12 12:55:49 +0100 fs r266151 : don't expect the control model to be a BoundComponent before adding as modify listener 2009-01-12 12:51:33 +0100 fs r266149 : #i88458# let the ImageControl be an XModifyBroadcaster, so the forms runtime can notice when the user changes the control content while it does not have the focus 2009-01-09 13:41:22 +0100 fs r266080 : doc 2009-01-09 13:14:14 +0100 fs r266077 : #i97377# SetModified when order is changed via DnD 2009-01-07 09:55:40 +0100 oj r265951 : merge from master 2009-01-07 09:55:24 +0100 oj r265950 : removed observer 2009-01-07 09:55:06 +0100 oj r265949 : merge from master 2009-01-07 07:29:11 +0100 oj r265945 : shadow var changed 2009-01-06 07:25:57 +0100 oj r265893 : CWS-TOOLING: rebase CWS dba32a to trunk@265758 (milestone: DEV300:m38) 2009-01-05 13:18:22 +0100 oj r265865 : convert to unix le 2009-01-05 09:13:52 +0100 lla r265857 : #i79423# lc_ sc_ permutation fix 2009-01-02 19:40:59 +0100 lla r265847 : #i79423# section shrink icons 2008-12-22 11:37:57 +0100 lla r265749 : #i97484# move component to negative Y-position 2008-12-22 11:37:05 +0100 lla r265748 : #i97484# move component to negative Y-position 2008-12-22 11:35:33 +0100 lla r265747 : #i97484# move component to negative Y-position 2008-12-22 11:25:07 +0100 lla r265745 : #i96757# changes via property browser was not undoable 2008-12-18 15:10:38 +0100 fs r265694 : corrected an condition in doFormListening, which otherwise leads to uncommitable grid columns in documents which are loaded from disc (not in documents which are newly created) 2008-12-18 14:54:39 +0100 fs r265692 : Hide Columns text slightly changed 2008-12-18 13:44:15 +0100 fs r265683 : #i94068# properly display erros happening during a form operation - at least once, and at most once 2008-12-18 11:28:29 +0100 fs r265677 : document the new InputRequired property 2008-12-18 11:04:15 +0100 fs r265676 : #i96530# createControlLabelPair: don't actually create a label for a checkbox 2008-12-18 10:35:53 +0100 fs r265674 : #i95226# when a column is replaced, and it's the selected column, update the selection 2008-12-18 10:34:42 +0100 fs r265673 : #i95226# refactoring of the implReplaced method 2008-12-18 10:34:28 +0100 fs r265672 : #i95226# when replacing a grid column, update the property browser 2008-12-18 10:33:17 +0100 fs r265671 : when an element is removed, remove it from m_aCurrentSelection, too (if necessary) 2008-12-18 10:31:57 +0100 fs r265670 : Hide Columns text slightly changed 2008-12-18 10:15:56 +0100 lla r265669 : #i14538# do not allow to press finish button twice 2008-12-18 08:56:33 +0100 lla r265665 : #i10000# build depend=t problem hacked. 2008-12-17 20:59:10 +0100 fs r265656 : #i89821# don't let a MultiLineEdit select all text when it receives the focus 2008-12-17 12:10:54 +0100 fs r265594 : #i97356# 2008-12-17 12:06:29 +0100 fs r265593 : #i97355# Print -> Printable 2008-12-17 11:59:31 +0100 fs r265591 : #i97350# combo boxes comment on list selection (as list boxes already do) 2008-12-16 09:53:57 +0100 lla r265527 : #i96526# handling none existance default.otr 2008-12-15 14:48:39 +0100 lla r265500 : #i79423# reparing, was wrong implemented 2008-12-12 15:08:33 +0100 lla r265424 : #i10000# remove wrong carridge returns 2008-12-12 15:07:55 +0100 lla r265423 : #i10000# remove wrong carridge returns 2008-12-12 15:06:41 +0100 lla r265422 : #i10000# remove wrong carridge returns 2008-12-12 10:23:13 +0100 lla r265395 : #i95234# reset DragDelta 2008-12-12 10:11:02 +0100 lla r265393 : #i79423# pre versions of shrink buttons 2008-12-11 15:32:13 +0100 fs r265318 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:30:06 +0100 fs r265316 : prevent a deadlock during complex.dbaccess.DatabaseDocument test 2008-12-11 15:07:05 +0100 fs r265307 : removed superfluous text 2008-12-11 12:29:54 +0100 lla r265282 : #i96757# cleanup second try 2008-12-11 12:09:15 +0100 lla r265278 : #i96757# cleanup 2008-12-11 12:07:56 +0100 lla r265277 : #i95234# 2008-12-10 14:04:39 +0100 lla r265183 : #i93472# D&D fixes 2008-12-10 12:29:33 +0100 lla r265168 : #i94067# add (APP|SYS)FONT to XUnitConversion 2008-12-10 12:15:02 +0100 lla r265166 : #i94067# add APPFONT, SYSFONT to MeasureUnit 2008-12-10 11:52:10 +0100 lla r265163 : #i94067# add comments 2008-12-06 20:33:05 +0100 fs r264935 : #i10000# precompiled header 2008-12-05 09:29:26 +0100 fs r264889 : #i10000# 2008-12-05 09:07:31 +0100 fs r264888 : #i10000# 2008-12-04 13:25:46 +0100 fs r264838 : CWS-TOOLING: rebase CWS dba32a to trunk@264807 (milestone: DEV300:m37) 2008-12-03 23:49:13 +0100 fs r264808 : merge changes from trunk, to be able to do a rebase 2008-12-03 17:13:09 +0100 lla r264801 : #i91041# update documentation 2008-12-03 16:57:04 +0100 lla r264799 : #i94067# allow convert(Point|Size)ToLogic as pixel also 2008-12-02 12:36:32 +0100 lla r264687 : #i96782# bring toolbar objects to menu structure 2008-12-02 10:32:44 +0100 lla r264667 : #i86255# make property work 2008-12-02 09:22:47 +0100 lla r264659 : #i79423# add section shrink toolbar 2008-12-02 07:41:22 +0100 lla r264657 : #i86255# add check box for Escape DateTime property 2008-12-02 07:37:17 +0100 lla r264656 : #i79423# new shrink buttons 2008-11-26 11:55:28 +0100 fs r264362 : #i96541# FillPropertySet: do not only catch UnknownPropertyException when setting the Char/ParaAutoStyleName, but also care for the other exceptions which can be thrown by XPropertySet::setPropertyValue. This is actually not the real fix for #i96541#, but only a follow-up. The root cause of the issue was fixed in CWS dba301b, but this here was another (potential) bug which popped up during investigations. 2008-11-25 09:04:40 +0100 lla r264273 : #i82083# new toolbox in GroupsSorting dialog 2008-11-25 08:56:08 +0100 lla r264272 : #i94729# change token strings into string list, move class out of function 2008-11-24 15:52:22 +0100 fs r264251 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:51:45 +0100 fs r264249 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:45:21 +0100 fs r264244 : #i96532# the API default for ParamNameSubst is false 2008-11-24 15:45:04 +0100 fs r264243 : #i96532# do not set AppendTableAlias, NameLengthLimit, etc., if the OXMLDataSourceInstance is used for elements at which those attributes never appear 2008-11-24 15:44:14 +0100 fs r264241 : #i96532# slight refactoring of exporting properties which have a XML default different from the API default 2008-11-24 10:50:01 +0100 lla r264216 : #i82083# icons for new toolbox 2008-11-24 09:38:45 +0100 lla r264205 : #i82083# new toolbox in GroupsSorting dialog 2008-11-24 09:32:20 +0100 lla r264201 : #i96501# cleanup assertions 2008-11-24 09:12:55 +0100 lla r264198 : #i83082# enhancement for toolboxes, better HC comfort 2008-11-24 08:46:43 +0100 lla r264197 : #i96501# fix problem with negative positions 2008-11-21 11:44:47 +0100 fs r264118 : #i57042# introduce a counter for suspending change notifications of a given property, so recursive calls are possible 2008-11-21 11:02:17 +0100 fs r264116 : #i96388# don't call ExecuteContextMenuAction when no action was chosen by the user 2008-11-21 10:36:53 +0100 fs r264114 : #i47384# assertion was wrong 2008-11-14 12:33:15 +0100 fs r263673 : #i47318# XRowSetChangeBroadcaster/Listener, to be able to listen for changes in an XRowSetSupplier's RowSet 2008-11-14 12:30:29 +0100 fs r263672 : #i47318# more refactoring - BoundControlModels now listen at the XRowSetSupplier for changes in the supplied RowSet, to properly revoke/register old/new listeners at the RowSet - replaced ::osl::Mutex in various places with a ControlModelLock 2008-11-14 12:20:55 +0100 fs r263671 : when BUILD_TYPE includes QADEVOOO, the BUILD_QADEVOOO needs to bet set, too 2008-11-14 12:19:21 +0100 fs r263670 : oops, this was not intended to be committed 2008-11-12 11:08:10 +0100 fs r263579 : #i96096# new ctors taking UNO_QUERY_THROW 2008-11-12 09:15:54 +0100 fs r263576 : no need to load the complete dialog just to get a string which the dialog itself loads from resource 2008-11-10 17:55:45 +0100 fs r263535 : spelling in comment 2008-11-10 15:51:14 +0100 fs r263523 : #i47318# various refactorings 1. don't forward syntetic XLoadListener events from the grid control to the grid columns. Instead, forward GridColumn::XChild::setParent to the base class, which then can add itself as load listener 2. removed various occurances of XMultiServiceFactory, instead use the ::comphelper::ComponentContext 3. in O(Bound)ControlModel, have a mechanism to lock the instance (using ControlModelLock) and fire property changes when the last lock dies. 2008-11-10 12:49:24 +0100 oj r263513 : #i94729# change token strings into string list 2008-11-10 12:13:15 +0100 oj r263512 : #i95222# export chart:title style as well 2008-11-10 08:55:25 +0100 oj r263507 : #i93471# show the correct tabpage when selecting a different object 2008-11-07 23:38:29 +0100 fs r263490 : #i95977# for the event input controls, add a component extending their functionality so they're reset when the users presses DEL 2008-11-07 23:35:39 +0100 fs r263489 : during #i95977#: When a VCL Window is deleted from within VCL code, the respective WindowPeer was never disposed. Corrected this. 2008-11-07 14:57:07 +0100 fs r263420 : #i95963# human-readable display names for event bindings 2008-11-06 10:34:52 +0100 fs r263366 : #i95865# don't use library names containing InvalidZipEntryFileNames - workaround until i95409 is fixed 2008-11-06 10:33:28 +0100 fs r263365 : #i95865# copied the following change from CWS odfmetadata2 (not yet integrated) into CWS dba31d - comphelper/inc/comphelper/storagehelper.hxx, comphelper/source/misc/storagehelper.cxx: + add function IsValidZipEntryFileName (moved from module package)
2009-04-22 11:01:27 +00:00
{
}
void ODocumentDefinition::firePropertyChange( sal_Int32 i_nHandle, const Any& i_rNewValue, const Any& i_rOldValue,
bool i_bVetoable, const NotifierAccess& )
{
fire( &i_nHandle, &i_rNewValue, &i_rOldValue, 1, i_bVetoable );
}
// NameChangeNotifier
NameChangeNotifier::NameChangeNotifier( ODocumentDefinition& i_rDocumentDefinition, const OUString& i_rNewName,
::osl::ResettableMutexGuard& i_rClearForNotify )
:m_rDocumentDefinition( i_rDocumentDefinition )
,m_aOldValue( makeAny( i_rDocumentDefinition.getCurrentName() ) )
,m_aNewValue( makeAny( i_rNewName ) )
,m_rClearForNotify( i_rClearForNotify )
{
impl_fireEvent_throw( true );
}
NameChangeNotifier::~NameChangeNotifier()
{
impl_fireEvent_throw( false );
}
void NameChangeNotifier::impl_fireEvent_throw( const bool i_bVetoable )
{
m_rClearForNotify.clear();
m_rDocumentDefinition.firePropertyChange(
PROPERTY_ID_NAME, m_aNewValue, m_aOldValue, i_bVetoable, ODocumentDefinition::NotifierAccess() );
m_rClearForNotify.reset();
}
} // namespace dbaccess
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */