2010-10-14 08:27:31 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2003-03-27 16:05:12 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 08:24:40 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
2008-04-11 08:24:40 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
2008-04-11 08:24:40 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
2008-04-11 08:24:40 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
2008-04-11 08:24:40 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
2008-04-11 08:24:40 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2003-03-27 16:05:12 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2006-09-16 11:16:52 +00:00
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_toolkit.hxx"
|
|
|
|
|
2007-06-27 11:21:36 +00:00
|
|
|
#include <vcl/svapp.hxx>
|
2007-11-26 15:27:22 +00:00
|
|
|
#include <vcl/window.hxx>
|
|
|
|
#include <vcl/wall.hxx>
|
2010-10-16 03:20:00 -05:00
|
|
|
#include <osl/mutex.hxx>
|
2003-03-27 16:05:12 +00:00
|
|
|
#include <toolkit/controls/dialogcontrol.hxx>
|
|
|
|
#include <toolkit/helper/property.hxx>
|
|
|
|
#include <toolkit/helper/unopropertyarrayhelper.hxx>
|
|
|
|
#include <toolkit/controls/stdtabcontroller.hxx>
|
|
|
|
#include <com/sun/star/awt/PosSize.hpp>
|
2007-06-20 09:25:44 +00:00
|
|
|
#include <com/sun/star/awt/WindowAttribute.hpp>
|
2007-01-02 14:34:44 +00:00
|
|
|
#include <com/sun/star/resource/XStringResourceResolver.hpp>
|
2007-11-26 15:27:22 +00:00
|
|
|
#include <com/sun/star/graphic/XGraphicProvider.hpp>
|
2003-03-27 16:05:12 +00:00
|
|
|
#include <cppuhelper/typeprovider.hxx>
|
|
|
|
#include <tools/debug.hxx>
|
2007-03-15 14:36:05 +00:00
|
|
|
#include <tools/diagnose_ex.h>
|
2010-08-12 17:36:53 +02:00
|
|
|
#include <comphelper/sequence.hxx>
|
2003-03-27 16:05:12 +00:00
|
|
|
#include <vcl/svapp.hxx>
|
|
|
|
#include <vcl/outdev.hxx>
|
|
|
|
|
2007-11-26 15:27:22 +00:00
|
|
|
#include <toolkit/helper/vclunohelper.hxx>
|
|
|
|
#include <unotools/ucbstreamhelper.hxx>
|
|
|
|
#include <vcl/graph.hxx>
|
|
|
|
#include <vcl/image.hxx>
|
2003-03-27 16:05:12 +00:00
|
|
|
#include <map>
|
2011-02-03 16:55:17 -07:00
|
|
|
#include <boost/unordered_map.hpp>
|
2003-03-27 16:05:12 +00:00
|
|
|
#include <algorithm>
|
2011-02-08 17:39:31 +01:00
|
|
|
#include <o3tl/compat_functional.hxx>
|
2007-11-26 15:27:22 +00:00
|
|
|
#include "tools/urlobj.hxx"
|
|
|
|
#include "osl/file.hxx"
|
2010-11-02 16:55:17 +00:00
|
|
|
#include <com/sun/star/awt/XSimpleTabController.hpp>
|
|
|
|
#include <vcl/tabctrl.hxx>
|
|
|
|
#include <vcl/tabpage.hxx>
|
|
|
|
#include <vcl/button.hxx>
|
|
|
|
#include <toolkit/awt/vclxwindows.hxx>
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2007-01-02 14:34:44 +00:00
|
|
|
using namespace ::com::sun::star;
|
2003-03-27 16:05:12 +00:00
|
|
|
using namespace ::com::sun::star::uno;
|
|
|
|
using namespace ::com::sun::star::awt;
|
|
|
|
using namespace ::com::sun::star::lang;
|
|
|
|
using namespace ::com::sun::star::container;
|
|
|
|
using namespace ::com::sun::star::beans;
|
|
|
|
using namespace ::com::sun::star::util;
|
2010-10-06 10:16:39 +01:00
|
|
|
using namespace ::com::sun::star::script;
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2007-11-26 15:27:22 +00:00
|
|
|
#define PROPERTY_DIALOGSOURCEURL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DialogSourceURL" ))
|
|
|
|
#define PROPERTY_IMAGEURL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ImageURL" ))
|
|
|
|
#define PROPERTY_GRAPHIC ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Graphic" ))
|
2010-08-12 17:36:53 +02:00
|
|
|
//
|
|
|
|
////HELPER
|
2007-11-26 15:27:22 +00:00
|
|
|
::rtl::OUString getPhysicalLocation( const ::com::sun::star::uno::Any& rbase, const ::com::sun::star::uno::Any& rUrl );
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-10-06 10:16:39 +01:00
|
|
|
uno::Reference< graphic::XGraphic > getGraphicFromURL_nothrow( uno::Reference< graphic::XGraphicObject >& rxGrfObj, const ::rtl::OUString& _rURL );
|
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
// we probably will need both a hash of control models and hash of controls
|
|
|
|
// => use some template magic
|
|
|
|
|
|
|
|
typedef ::cppu::WeakImplHelper1< container::XNameContainer > SimpleNameContainer_BASE;
|
|
|
|
|
|
|
|
template< typename T >
|
|
|
|
class SimpleNamedThingContainer : public SimpleNameContainer_BASE
|
|
|
|
{
|
2011-02-03 16:55:17 -07:00
|
|
|
typedef boost::unordered_map< rtl::OUString, Reference< T >, ::rtl::OUStringHash,
|
2010-11-02 16:55:17 +00:00
|
|
|
::std::equal_to< ::rtl::OUString > > NamedThingsHash;
|
|
|
|
NamedThingsHash things;
|
|
|
|
::osl::Mutex m_aMutex;
|
|
|
|
public:
|
|
|
|
// ::com::sun::star::container::XNameContainer, XNameReplace, XNameAccess
|
|
|
|
virtual void SAL_CALL replaceByName( const ::rtl::OUString& aName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
if ( !hasByName( aName ) )
|
|
|
|
throw NoSuchElementException();
|
|
|
|
Reference< T > xElement;
|
|
|
|
if ( ! ( aElement >>= xElement ) )
|
|
|
|
throw IllegalArgumentException();
|
|
|
|
things[ aName ] = xElement;
|
|
|
|
}
|
|
|
|
virtual Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
if ( !hasByName( aName ) )
|
|
|
|
throw NoSuchElementException();
|
|
|
|
return uno::makeAny( things[ aName ] );
|
|
|
|
}
|
|
|
|
virtual Sequence< ::rtl::OUString > SAL_CALL getElementNames( ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
Sequence< ::rtl::OUString > aResult( things.size() );
|
|
|
|
typename NamedThingsHash::iterator it = things.begin();
|
|
|
|
typename NamedThingsHash::iterator it_end = things.end();
|
|
|
|
rtl::OUString* pName = aResult.getArray();
|
|
|
|
for (; it != it_end; ++it, ++pName )
|
|
|
|
*pName = it->first;
|
|
|
|
return aResult;
|
|
|
|
}
|
|
|
|
virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
return ( things.find( aName ) != things.end() );
|
|
|
|
}
|
|
|
|
virtual void SAL_CALL insertByName( const ::rtl::OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
if ( hasByName( aName ) )
|
|
|
|
throw ElementExistException();
|
|
|
|
Reference< T > xElement;
|
|
|
|
if ( ! ( aElement >>= xElement ) )
|
|
|
|
throw IllegalArgumentException();
|
|
|
|
things[ aName ] = xElement;
|
|
|
|
}
|
|
|
|
virtual void SAL_CALL removeByName( const ::rtl::OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
if ( !hasByName( aName ) )
|
|
|
|
throw NoSuchElementException();
|
|
|
|
things.erase( things.find( aName ) );
|
|
|
|
}
|
|
|
|
virtual Type SAL_CALL getElementType( ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
return T::static_type( NULL );
|
|
|
|
}
|
|
|
|
virtual ::sal_Bool SAL_CALL hasElements( ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
::osl::MutexGuard aGuard( m_aMutex );
|
|
|
|
return ( things.size() > 0 );
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
// ----------------------------------------------------
|
|
|
|
// class UnoControlDialogModel
|
|
|
|
// ----------------------------------------------------
|
2010-11-02 16:55:17 +00:00
|
|
|
UnoControlDialogModel::UnoControlDialogModel( bool regProps )
|
2003-03-27 16:05:12 +00:00
|
|
|
:maContainerListeners( *this )
|
|
|
|
,maChangeListeners ( GetMutex() )
|
2010-10-06 10:16:39 +01:00
|
|
|
,mbGroupsUpToDate( sal_False ), mbAdjustingGraphic( false )
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
if ( !regProps ) // Register properties elsewhere ( probably in class derived from this )
|
|
|
|
return;
|
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_BACKGROUNDCOLOR );
|
|
|
|
// ImplRegisterProperty( BASEPROPERTY_BORDER );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_DEFAULTCONTROL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLED );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_FONTDESCRIPTOR );
|
|
|
|
// ImplRegisterProperty( BASEPROPERTY_PRINTABLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPTEXT );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPURL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_TITLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_SIZEABLE );
|
2007-07-06 13:27:12 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_DESKTOP_AS_PARENT );
|
2007-06-20 09:25:44 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_DECORATION );
|
2007-11-26 15:27:22 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_DIALOGSOURCEURL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_GRAPHIC );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_IMAGEURL );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
|
|
|
Any aBool;
|
|
|
|
aBool <<= (sal_Bool) sal_True;
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_MOVEABLE, aBool );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_CLOSEABLE, aBool );
|
2010-11-03 23:10:43 +00:00
|
|
|
// #TODO separate class for 'UserForm' ( instead of re-using Dialog ? )
|
|
|
|
uno::Reference< XNameContainer > xNameCont = new SimpleNamedThingContainer< XControlModel >();
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_USERFORMCONTAINEES, uno::makeAny( xNameCont ) );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
UnoControlDialogModel::UnoControlDialogModel( const UnoControlDialogModel& rModel )
|
2006-06-19 22:03:16 +00:00
|
|
|
: UnoControlDialogModel_IBase( rModel )
|
|
|
|
, UnoControlDialogModel_Base( rModel )
|
|
|
|
, maContainerListeners( *this )
|
|
|
|
, maChangeListeners ( GetMutex() )
|
2010-10-06 10:16:39 +01:00
|
|
|
, mbGroupsUpToDate( sal_False ), mbAdjustingGraphic( false )
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
UnoControlDialogModel::~UnoControlDialogModel()
|
|
|
|
{
|
|
|
|
maModels.clear();
|
|
|
|
mbGroupsUpToDate = sal_False;
|
|
|
|
}
|
|
|
|
|
2011-02-11 18:06:45 +01:00
|
|
|
UnoControlModel* UnoControlDialogModel::Clone() const
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2011-02-11 18:06:45 +01:00
|
|
|
// clone the container itself
|
|
|
|
UnoControlDialogModel* pClone = new UnoControlDialogModel( *this );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2011-02-11 18:06:45 +01:00
|
|
|
Clone_Impl(*pClone);
|
|
|
|
|
|
|
|
return pClone;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::rtl::OUString UnoControlDialogModel::getServiceName( ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
return ::rtl::OUString::createFromAscii( szServiceName_UnoControlDialogModel );
|
|
|
|
}
|
|
|
|
|
2010-10-06 10:16:39 +01:00
|
|
|
void SAL_CALL UnoControlDialogModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception)
|
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoControlModel::setFastPropertyValue_NoBroadcast( nHandle, rValue );
|
2010-10-06 10:16:39 +01:00
|
|
|
try
|
|
|
|
{
|
|
|
|
switch ( nHandle )
|
|
|
|
{
|
|
|
|
case BASEPROPERTY_IMAGEURL:
|
|
|
|
if ( !mbAdjustingGraphic && ImplHasProperty( BASEPROPERTY_GRAPHIC ) )
|
|
|
|
{
|
|
|
|
mbAdjustingGraphic = true;
|
|
|
|
::rtl::OUString sImageURL;
|
|
|
|
OSL_VERIFY( rValue >>= sImageURL );
|
2010-11-02 16:55:17 +00:00
|
|
|
setPropertyValue( GetPropertyName( BASEPROPERTY_GRAPHIC ), uno::makeAny( ImageHelper::getGraphicAndGraphicObjectFromURL_nothrow( mxGrfObj, sImageURL ) ) );
|
2010-10-06 10:16:39 +01:00
|
|
|
mbAdjustingGraphic = false;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
case BASEPROPERTY_GRAPHIC:
|
2010-10-06 10:16:39 +01:00
|
|
|
if ( !mbAdjustingGraphic && ImplHasProperty( BASEPROPERTY_IMAGEURL ) )
|
|
|
|
{
|
|
|
|
mbAdjustingGraphic = true;
|
|
|
|
setPropertyValue( GetPropertyName( BASEPROPERTY_IMAGEURL ), uno::makeAny( ::rtl::OUString() ) );
|
|
|
|
mbAdjustingGraphic = false;
|
|
|
|
}
|
|
|
|
break;
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2010-10-06 10:16:39 +01:00
|
|
|
}
|
|
|
|
catch( const ::com::sun::star::uno::Exception& )
|
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
OSL_ENSURE( sal_False, "UnoControlDialogModel::setFastPropertyValue_NoBroadcast: caught an exception while setting Graphic/ImageURL properties!" );
|
2010-10-06 10:16:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
Any UnoControlDialogModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
|
|
|
|
{
|
2007-01-02 14:34:44 +00:00
|
|
|
Any aAny;
|
|
|
|
|
|
|
|
switch ( nPropId )
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2007-01-02 14:34:44 +00:00
|
|
|
case BASEPROPERTY_DEFAULTCONTROL:
|
|
|
|
aAny <<= ::rtl::OUString::createFromAscii( szServiceName_UnoControlDialog );
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
aAny = UnoControlModel::ImplGetDefaultValue( nPropId );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2007-01-02 14:34:44 +00:00
|
|
|
return aAny;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::cppu::IPropertyArrayHelper& UnoControlDialogModel::getInfoHelper()
|
|
|
|
{
|
|
|
|
static UnoPropertyArrayHelper* pHelper = NULL;
|
|
|
|
if ( !pHelper )
|
|
|
|
{
|
|
|
|
Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
|
|
|
|
pHelper = new UnoPropertyArrayHelper( aIDs );
|
|
|
|
}
|
|
|
|
return *pHelper;
|
|
|
|
}
|
|
|
|
|
|
|
|
// XMultiPropertySet
|
|
|
|
Reference< XPropertySetInfo > UnoControlDialogModel::getPropertySetInfo( ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
|
|
|
|
return xInfo;
|
|
|
|
}
|
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
void UnoControlDialogModel::updateUserFormChildren( const Reference< XNameContainer >& xAllChildren, const rtl::OUString& aName, ChildOperation Operation, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xTarget ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
|
|
|
if ( Operation < Insert || Operation > Remove )
|
|
|
|
throw IllegalArgumentException();
|
|
|
|
|
|
|
|
if ( xAllChildren.is() )
|
|
|
|
{
|
|
|
|
if ( Operation == Remove )
|
|
|
|
{
|
|
|
|
Reference< XControlModel > xOldModel( xAllChildren->getByName( aName ), UNO_QUERY );
|
|
|
|
xAllChildren->removeByName( aName );
|
|
|
|
|
|
|
|
Reference< XNameContainer > xChildContainer( xOldModel, UNO_QUERY );
|
|
|
|
if ( xChildContainer.is() )
|
|
|
|
{
|
|
|
|
Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY );
|
|
|
|
// container control is being removed from this container, reset the
|
|
|
|
// global list of containees
|
|
|
|
if ( xProps.is() )
|
|
|
|
xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( uno::Reference< XNameContainer >() ) );
|
|
|
|
Sequence< rtl::OUString > aChildNames = xChildContainer->getElementNames();
|
|
|
|
for ( sal_Int32 index=0; index< aChildNames.getLength(); ++index )
|
|
|
|
updateUserFormChildren( xAllChildren, aChildNames[ index ], Operation, Reference< XControlModel > () );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( Operation == Insert )
|
|
|
|
{
|
|
|
|
xAllChildren->insertByName( aName, uno::makeAny( xTarget ) );
|
|
|
|
Reference< XNameContainer > xChildContainer( xTarget, UNO_QUERY );
|
|
|
|
if ( xChildContainer.is() )
|
|
|
|
{
|
|
|
|
// container control is being added from this container, reset the
|
|
|
|
// global list of containees to point to the correct global list
|
|
|
|
Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY );
|
|
|
|
if ( xProps.is() )
|
|
|
|
xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( xAllChildren ) );
|
|
|
|
Sequence< rtl::OUString > aChildNames = xChildContainer->getElementNames();
|
|
|
|
for ( sal_Int32 index=0; index< aChildNames.getLength(); ++index )
|
|
|
|
{
|
|
|
|
Reference< XControlModel > xChildTarget( xChildContainer->getByName( aChildNames[ index ] ), UNO_QUERY );
|
|
|
|
updateUserFormChildren( xAllChildren, aChildNames[ index ], Operation, xChildTarget );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
throw IllegalArgumentException();
|
|
|
|
}
|
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
sal_Bool UnoControlDialogModel::hasElements() throw(RuntimeException)
|
|
|
|
{
|
|
|
|
return !maModels.empty();
|
|
|
|
}
|
|
|
|
|
|
|
|
// XNameContainer, XNameReplace, XNameAccess
|
|
|
|
void UnoControlDialogModel::replaceByName( const ::rtl::OUString& aName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
Reference< XControlModel > xNewModel;
|
|
|
|
aElement >>= xNewModel;
|
|
|
|
if ( !xNewModel.is() )
|
|
|
|
lcl_throwIllegalArgumentException();
|
|
|
|
|
|
|
|
UnoControlModelHolderList::iterator aElementPos = ImplFindElement( aName );
|
|
|
|
if ( maModels.end() == aElementPos )
|
|
|
|
lcl_throwNoSuchElementException();
|
2010-11-02 16:55:17 +00:00
|
|
|
// Dialog behaviour is to have all containee names unique ( MSO Userform is the same )
|
|
|
|
// With container controls you could have constructed an existing hierachy and are now
|
|
|
|
// add this to an existing container, in this case a name nested in the containment
|
|
|
|
// hierachy of the added control could contain a name clash, if we have access to the
|
|
|
|
// list of global names then recursively check for previously existing names ( we need
|
|
|
|
// to do this obviously before the 'this' objects container is updated
|
|
|
|
Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY );
|
|
|
|
if ( xAllChildren.is() )
|
|
|
|
{
|
|
|
|
// remove old control ( and children ) from global list of containees
|
|
|
|
updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() );
|
|
|
|
// Add new control ( and containees if they exist )
|
|
|
|
updateUserFormChildren( xAllChildren, aName, Insert, xNewModel );
|
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
// stop listening at the old model
|
|
|
|
stopControlListening( aElementPos->first );
|
|
|
|
Reference< XControlModel > xReplaced( aElementPos->first );
|
|
|
|
// remember the new model, and start listening
|
|
|
|
aElementPos->first = xNewModel;
|
|
|
|
startControlListening( xNewModel );
|
|
|
|
|
|
|
|
ContainerEvent aEvent;
|
|
|
|
aEvent.Source = *this;
|
|
|
|
aEvent.Element = aElement;
|
|
|
|
aEvent.ReplacedElement <<= xReplaced;
|
|
|
|
aEvent.Accessor <<= aName;
|
|
|
|
|
|
|
|
// notify the container listener
|
|
|
|
maContainerListeners.elementReplaced( aEvent );
|
|
|
|
|
|
|
|
// our "tab controller model" has potentially changed -> notify this
|
|
|
|
implNotifyTabModelChange( aName );
|
|
|
|
}
|
|
|
|
|
|
|
|
Any UnoControlDialogModel::getByName( const ::rtl::OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
|
|
|
UnoControlModelHolderList::iterator aElementPos = ImplFindElement( aName );
|
2006-08-15 09:30:39 +00:00
|
|
|
if ( maModels.end() == aElementPos )
|
|
|
|
lcl_throwNoSuchElementException();
|
|
|
|
|
|
|
|
return makeAny( aElementPos->first );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Sequence< ::rtl::OUString > UnoControlDialogModel::getElementNames() throw(RuntimeException)
|
|
|
|
{
|
|
|
|
Sequence< ::rtl::OUString > aNames( maModels.size() );
|
|
|
|
|
|
|
|
::std::transform(
|
|
|
|
maModels.begin(), maModels.end(), // source range
|
|
|
|
aNames.getArray(), // target range
|
2011-02-08 17:39:31 +01:00
|
|
|
::o3tl::select2nd< UnoControlModelHolder >() // operator to apply: select the second element (the name)
|
2003-03-27 16:05:12 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
return aNames;
|
|
|
|
}
|
|
|
|
|
|
|
|
sal_Bool UnoControlDialogModel::hasByName( const ::rtl::OUString& aName ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
return maModels.end() != ImplFindElement( aName );
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnoControlDialogModel::insertByName( const ::rtl::OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
Reference< XControlModel > xM;
|
|
|
|
aElement >>= xM;
|
|
|
|
|
2007-11-26 15:27:22 +00:00
|
|
|
if ( xM.is() )
|
|
|
|
{
|
|
|
|
Reference< beans::XPropertySet > xProps( xM, UNO_QUERY );
|
|
|
|
if ( xProps.is() )
|
|
|
|
{
|
|
|
|
|
|
|
|
Reference< beans::XPropertySetInfo > xPropInfo = xProps.get()->getPropertySetInfo();
|
|
|
|
|
|
|
|
::rtl::OUString sImageSourceProperty = GetPropertyName( BASEPROPERTY_IMAGEURL );
|
2010-11-03 23:10:43 +00:00
|
|
|
if ( xPropInfo.get()->hasPropertyByName( sImageSourceProperty ))
|
2007-11-26 15:27:22 +00:00
|
|
|
{
|
|
|
|
Any aUrl = xProps.get()->getPropertyValue( sImageSourceProperty );
|
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
::rtl::OUString absoluteUrl;
|
|
|
|
aUrl >>= absoluteUrl;
|
|
|
|
if ( absoluteUrl.compareToAscii( UNO_NAME_GRAPHOBJ_URLPREFIX, RTL_CONSTASCII_LENGTH( UNO_NAME_GRAPHOBJ_URLPREFIX ) ) == 0 )
|
|
|
|
xProps.get()->setPropertyValue( sImageSourceProperty , aUrl );
|
|
|
|
// Now we inherit from this class, no all containers have
|
|
|
|
// DialogSourceURL
|
|
|
|
else if ( getPropertySetInfo()->hasPropertyByName( GetPropertyName( BASEPROPERTY_DIALOGSOURCEURL ) ) )
|
2007-11-26 15:27:22 +00:00
|
|
|
getPhysicalLocation( getPropertyValue( GetPropertyName( BASEPROPERTY_DIALOGSOURCEURL ) ), aUrl );
|
|
|
|
|
|
|
|
aUrl <<= absoluteUrl;
|
|
|
|
|
|
|
|
xProps.get()->setPropertyValue( sImageSourceProperty , aUrl );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
if ( !aName.getLength() || !xM.is() )
|
|
|
|
lcl_throwIllegalArgumentException();
|
|
|
|
|
2006-08-15 09:30:39 +00:00
|
|
|
UnoControlModelHolderList::iterator aElementPos = ImplFindElement( aName );
|
|
|
|
if ( maModels.end() != aElementPos )
|
|
|
|
lcl_throwElementExistException();
|
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
// Dialog behaviour is to have all containee names unique ( MSO Userform is the same )
|
|
|
|
// With container controls you could have constructed an existing hierachy and are now
|
|
|
|
// add this to an existing container, in this case a name nested in the containment
|
|
|
|
// hierachy of the added control could contain a name clash, if we have access to the
|
|
|
|
// list of global names then we need to recursively check for previously existing
|
|
|
|
// names ( we need to do this obviously before the 'this' objects container is updated
|
|
|
|
// remove old control ( and children ) from global list of containees
|
|
|
|
Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY );
|
|
|
|
|
|
|
|
if ( xAllChildren.is() )
|
|
|
|
updateUserFormChildren( xAllChildren, aName, Insert, xM );
|
2003-03-27 16:05:12 +00:00
|
|
|
maModels.push_back( UnoControlModelHolder( xM, aName ) );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
mbGroupsUpToDate = sal_False;
|
|
|
|
startControlListening( xM );
|
|
|
|
|
|
|
|
ContainerEvent aEvent;
|
|
|
|
aEvent.Source = *this;
|
|
|
|
aEvent.Element <<= aElement;
|
|
|
|
aEvent.Accessor <<= aName;
|
|
|
|
maContainerListeners.elementInserted( aEvent );
|
|
|
|
|
|
|
|
// our "tab controller model" has potentially changed -> notify this
|
|
|
|
implNotifyTabModelChange( aName );
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnoControlDialogModel::removeByName( const ::rtl::OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
UnoControlModelHolderList::iterator aElementPos = ImplFindElement( aName );
|
2006-08-15 09:30:39 +00:00
|
|
|
if ( maModels.end() == aElementPos )
|
|
|
|
lcl_throwNoSuchElementException();
|
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
// Dialog behaviour is to have all containee names unique ( MSO Userform is the same )
|
|
|
|
// With container controls you could have constructed an existing hierachy and are now
|
|
|
|
// removing this control from an existing container, in this case all nested names in
|
|
|
|
// the containment hierachy of the control to be removed need to be removed from the global
|
|
|
|
// names cache ( we need to do this obviously before the 'this' objects container is updated )
|
|
|
|
Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY );
|
|
|
|
if ( xAllChildren.is() )
|
|
|
|
updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() );
|
|
|
|
|
2006-08-15 09:30:39 +00:00
|
|
|
ContainerEvent aEvent;
|
|
|
|
aEvent.Source = *this;
|
|
|
|
aEvent.Element <<= aElementPos->first;
|
|
|
|
aEvent.Accessor <<= aName;
|
|
|
|
maContainerListeners.elementRemoved( aEvent );
|
|
|
|
|
|
|
|
stopControlListening( aElementPos->first );
|
2007-03-15 14:36:05 +00:00
|
|
|
Reference< XPropertySet > xPS( aElementPos->first, UNO_QUERY );
|
2006-08-15 09:30:39 +00:00
|
|
|
maModels.erase( aElementPos );
|
|
|
|
mbGroupsUpToDate = sal_False;
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2007-01-02 14:34:44 +00:00
|
|
|
if ( xPS.is() )
|
2007-03-15 14:36:05 +00:00
|
|
|
try
|
|
|
|
{
|
|
|
|
xPS->setPropertyValue( PROPERTY_RESOURCERESOLVER, makeAny( Reference< resource::XStringResourceResolver >() ) );
|
|
|
|
}
|
|
|
|
catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); }
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
// our "tab controller model" has potentially changed -> notify this
|
|
|
|
implNotifyTabModelChange( aName );
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
sal_Bool SAL_CALL UnoControlDialogModel::getGroupControl( ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
return sal_True;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2006-06-19 22:03:16 +00:00
|
|
|
void SAL_CALL UnoControlDialogModel::setGroupControl( sal_Bool ) throw (RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2011-03-01 19:08:19 +01:00
|
|
|
OSL_FAIL( "UnoControlDialogModel::setGroupControl: explicit grouping not supported" );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void SAL_CALL UnoControlDialogModel::setControlModels( const Sequence< Reference< XControlModel > >& _rControls ) throw (RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
// set the tab indexes according to the order of models in the sequence
|
|
|
|
const Reference< XControlModel >* pControls = _rControls.getConstArray( );
|
|
|
|
const Reference< XControlModel >* pControlsEnd = _rControls.getConstArray( ) + _rControls.getLength();
|
|
|
|
|
|
|
|
sal_Int16 nTabIndex = 1;
|
|
|
|
|
|
|
|
for ( ; pControls != pControlsEnd; ++pControls )
|
|
|
|
{
|
|
|
|
// look up the control in our own structure. This is to prevent invalid arguments
|
|
|
|
UnoControlModelHolderList::const_iterator aPos =
|
|
|
|
::std::find_if(
|
|
|
|
maModels.begin(), maModels.end(),
|
|
|
|
CompareControlModel( *pControls )
|
|
|
|
);
|
|
|
|
if ( maModels.end() != aPos )
|
|
|
|
{
|
|
|
|
// okay, this is an existent model
|
|
|
|
// now set the TabIndex property (if applicable)
|
|
|
|
Reference< XPropertySet > xProps( aPos->first, UNO_QUERY );
|
|
|
|
Reference< XPropertySetInfo > xPSI;
|
|
|
|
if ( xProps.is() )
|
|
|
|
xPSI = xProps->getPropertySetInfo();
|
|
|
|
if ( xPSI.is() && xPSI->hasPropertyByName( getTabIndexPropertyName() ) )
|
|
|
|
xProps->setPropertyValue( getTabIndexPropertyName(), makeAny( nTabIndex++ ) );
|
|
|
|
}
|
|
|
|
mbGroupsUpToDate = sal_False;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
typedef ::std::multimap< sal_Int32, Reference< XControlModel >, ::std::less< sal_Int32 > > MapIndexToModel;
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
Sequence< Reference< XControlModel > > SAL_CALL UnoControlDialogModel::getControlModels( ) throw (RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
MapIndexToModel aSortedModels;
|
|
|
|
// will be the sorted container of all models which have a tab index property
|
|
|
|
::std::vector< Reference< XControlModel > > aUnindexedModels;
|
|
|
|
// will be the container of all models which do not have a tab index property
|
|
|
|
|
|
|
|
UnoControlModelHolderList::const_iterator aLoop = maModels.begin();
|
|
|
|
for ( ; aLoop != maModels.end(); ++aLoop )
|
|
|
|
{
|
|
|
|
Reference< XControlModel > xModel( aLoop->first );
|
|
|
|
|
|
|
|
// see if the model has a TabIndex property
|
|
|
|
Reference< XPropertySet > xControlProps( xModel, UNO_QUERY );
|
|
|
|
Reference< XPropertySetInfo > xPSI;
|
|
|
|
if ( xControlProps.is() )
|
|
|
|
xPSI = xControlProps->getPropertySetInfo( );
|
|
|
|
DBG_ASSERT( xPSI.is(), "UnoControlDialogModel::getControlModels: invalid child model!" );
|
|
|
|
|
|
|
|
// has it?
|
|
|
|
if ( xPSI.is() && xPSI->hasPropertyByName( getTabIndexPropertyName() ) )
|
|
|
|
{ // yes
|
|
|
|
sal_Int32 nTabIndex = -1;
|
|
|
|
xControlProps->getPropertyValue( getTabIndexPropertyName() ) >>= nTabIndex;
|
|
|
|
|
|
|
|
aSortedModels.insert( MapIndexToModel::value_type( nTabIndex, xModel ) );
|
|
|
|
}
|
|
|
|
else if ( xModel.is() )
|
|
|
|
// no, it hasn't, but we have to include it, anyway
|
|
|
|
aUnindexedModels.push_back( xModel );
|
|
|
|
}
|
|
|
|
|
|
|
|
// okay, here we have a container of all our models, sorted by tab index,
|
|
|
|
// plus a container of "unindexed" models
|
|
|
|
// -> merge them
|
|
|
|
Sequence< Reference< XControlModel > > aReturn( aUnindexedModels.size() + aSortedModels.size() );
|
|
|
|
::std::transform(
|
|
|
|
aSortedModels.begin(), aSortedModels.end(),
|
|
|
|
::std::copy( aUnindexedModels.begin(), aUnindexedModels.end(), aReturn.getArray() ),
|
2011-02-08 17:39:31 +01:00
|
|
|
::o3tl::select2nd< MapIndexToModel::value_type >( )
|
2003-03-27 16:05:12 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
return aReturn;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2006-06-19 22:03:16 +00:00
|
|
|
void SAL_CALL UnoControlDialogModel::setGroup( const Sequence< Reference< XControlModel > >&, const ::rtl::OUString& ) throw (RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
|
|
|
// not supported. We have only implicit grouping:
|
|
|
|
// We only have a sequence of control models, and we _know_ (yes, that's a HACK relying on
|
|
|
|
// implementation details) that VCL does grouping according to the order of controls automatically
|
|
|
|
// At least VCL does this for all we're interested in: Radio buttons.
|
2011-03-01 19:08:19 +01:00
|
|
|
OSL_FAIL( "UnoControlDialogModel::setGroup: grouping not supported" );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
namespace
|
|
|
|
{
|
|
|
|
enum GroupingMachineState
|
|
|
|
{
|
|
|
|
eLookingForGroup,
|
|
|
|
eExpandingGroup
|
|
|
|
};
|
|
|
|
|
|
|
|
// ........................................................................
|
|
|
|
static sal_Int32 lcl_getDialogStep( const Reference< XControlModel >& _rxModel )
|
|
|
|
{
|
|
|
|
sal_Int32 nStep = 0;
|
|
|
|
try
|
|
|
|
{
|
|
|
|
Reference< XPropertySet > xModelProps( _rxModel, UNO_QUERY );
|
|
|
|
xModelProps->getPropertyValue( getStepPropertyName() ) >>= nStep;
|
|
|
|
}
|
|
|
|
catch( const Exception& )
|
|
|
|
{
|
2011-03-01 19:08:19 +01:00
|
|
|
OSL_FAIL( "lcl_getDialogStep: caught an exception while determining the dialog page!" );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
return nStep;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
sal_Int32 SAL_CALL UnoControlDialogModel::getGroupCount( ) throw (RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
implUpdateGroupStructure();
|
|
|
|
|
|
|
|
return maGroups.size();
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void SAL_CALL UnoControlDialogModel::getGroup( sal_Int32 _nGroup, Sequence< Reference< XControlModel > >& _rGroup, ::rtl::OUString& _rName ) throw (RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
implUpdateGroupStructure();
|
|
|
|
|
|
|
|
if ( ( _nGroup < 0 ) || ( _nGroup >= (sal_Int32)maGroups.size() ) )
|
|
|
|
{
|
2011-03-01 19:08:19 +01:00
|
|
|
OSL_FAIL( "UnoControlDialogModel::getGroup: invalid argument and I am not allowed to throw an exception!" );
|
2003-03-27 16:05:12 +00:00
|
|
|
_rGroup.realloc( 0 );
|
|
|
|
_rName = ::rtl::OUString();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
AllGroups::const_iterator aGroupPos = maGroups.begin() + _nGroup;
|
|
|
|
_rGroup.realloc( aGroupPos->size() );
|
|
|
|
// copy the models
|
|
|
|
::std::copy( aGroupPos->begin(), aGroupPos->end(), _rGroup.getArray() );
|
|
|
|
// give the group a name
|
|
|
|
_rName = ::rtl::OUString::valueOf( _nGroup );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void SAL_CALL UnoControlDialogModel::getGroupByName( const ::rtl::OUString& _rName, Sequence< Reference< XControlModel > >& _rGroup ) throw (RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
::rtl::OUString sDummyName;
|
|
|
|
getGroup( _rName.toInt32( ), _rGroup, sDummyName );
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void SAL_CALL UnoControlDialogModel::addChangesListener( const Reference< XChangesListener >& _rxListener ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
maChangeListeners.addInterface( _rxListener );
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void SAL_CALL UnoControlDialogModel::removeChangesListener( const Reference< XChangesListener >& _rxListener ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
maChangeListeners.removeInterface( _rxListener );
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void UnoControlDialogModel::implNotifyTabModelChange( const ::rtl::OUString& _rAccessor )
|
|
|
|
{
|
|
|
|
// multiplex to our change listeners:
|
|
|
|
// the changes event
|
|
|
|
ChangesEvent aEvent;
|
|
|
|
aEvent.Source = *this;
|
|
|
|
aEvent.Base <<= aEvent.Source; // the "base of the changes root" is also ourself
|
|
|
|
aEvent.Changes.realloc( 1 ); // exactly one change
|
|
|
|
aEvent.Changes[ 0 ].Accessor <<= _rAccessor;
|
|
|
|
|
|
|
|
|
|
|
|
Sequence< Reference< XInterface > > aChangeListeners( maChangeListeners.getElements() );
|
|
|
|
const Reference< XInterface >* pListener = aChangeListeners.getConstArray();
|
|
|
|
const Reference< XInterface >* pListenerEnd = aChangeListeners.getConstArray() + aChangeListeners.getLength();
|
|
|
|
for ( ; pListener != pListenerEnd; ++pListener )
|
|
|
|
{
|
|
|
|
if ( pListener->is() )
|
|
|
|
static_cast< XChangesListener* >( pListener->get() )->changesOccurred( aEvent );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-10-06 10:16:39 +01:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void UnoControlDialogModel::AddRadioButtonGroup (
|
|
|
|
::std::map< ::rtl::OUString, ModelGroup >& rNamedGroups )
|
|
|
|
{
|
|
|
|
if ( rNamedGroups.size() == 0 )
|
|
|
|
return;
|
|
|
|
|
|
|
|
size_t nGroups = maGroups.size();
|
|
|
|
maGroups.reserve( nGroups + rNamedGroups.size() );
|
|
|
|
::std::map< ::rtl::OUString, ModelGroup >::const_iterator i = rNamedGroups.begin(), e = rNamedGroups.end();
|
|
|
|
for( ; i != e; ++i)
|
|
|
|
{
|
|
|
|
maGroups.push_back( i->second );
|
|
|
|
}
|
|
|
|
|
|
|
|
rNamedGroups.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnoControlDialogModel::AddRadioButtonToGroup (
|
|
|
|
const Reference< XControlModel >& rControlModel,
|
|
|
|
const ::rtl::OUString& rPropertyName,
|
|
|
|
::std::map< ::rtl::OUString, ModelGroup >& rNamedGroups,
|
|
|
|
ModelGroup*& rpCurrentGroup )
|
|
|
|
{
|
|
|
|
Reference< XPropertySet > xCurProps( rControlModel, UNO_QUERY );
|
|
|
|
::rtl::OUString sGroup = lcl_GetStringProperty( rPropertyName, xCurProps );
|
|
|
|
const sal_Int32 nControlModelStep = lcl_getDialogStep( rControlModel );
|
|
|
|
|
|
|
|
if ( sGroup.getLength() == 0 )
|
|
|
|
{
|
|
|
|
// Create a new group if:
|
|
|
|
if ( maGroups.size() == 0 || // no groups
|
|
|
|
rpCurrentGroup == NULL || // previous group was closed
|
|
|
|
(nControlModelStep != 0 && // control step matches current group
|
|
|
|
maGroups.back().size() > 0 && // (group 0 == display everywhere)
|
|
|
|
nControlModelStep != lcl_getDialogStep( maGroups.back().back() ) ) )
|
|
|
|
{
|
|
|
|
size_t nGroups = maGroups.size();
|
|
|
|
maGroups.resize( nGroups + 1 );
|
|
|
|
}
|
|
|
|
rpCurrentGroup = &maGroups.back();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// Different steps get different sets of named groups
|
|
|
|
if ( rNamedGroups.size() > 0 &&
|
|
|
|
rNamedGroups.begin()->second.size() > 0 )
|
|
|
|
{
|
|
|
|
const sal_Int32 nPrevStep = lcl_getDialogStep( rNamedGroups.begin()->second.front() );
|
|
|
|
if ( nControlModelStep != nPrevStep )
|
|
|
|
AddRadioButtonGroup( rNamedGroups );
|
|
|
|
}
|
|
|
|
|
|
|
|
rpCurrentGroup = &rNamedGroups[ sGroup ];
|
|
|
|
}
|
|
|
|
rpCurrentGroup->push_back( rControlModel );
|
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void UnoControlDialogModel::implUpdateGroupStructure()
|
|
|
|
{
|
|
|
|
if ( mbGroupsUpToDate )
|
|
|
|
// nothing to do
|
|
|
|
return;
|
|
|
|
|
|
|
|
// conditions for a group:
|
|
|
|
// * all elements of the group are radio buttons
|
|
|
|
// * all elements of the group are on the same dialog page
|
|
|
|
// * in the overall control order (determined by the tab index), all elements are subsequent
|
|
|
|
|
|
|
|
maGroups.clear();
|
|
|
|
|
|
|
|
Sequence< Reference< XControlModel > > aControlModels = getControlModels();
|
|
|
|
const Reference< XControlModel >* pControlModels = aControlModels.getConstArray();
|
|
|
|
const Reference< XControlModel >* pControlModelsEnd = pControlModels + aControlModels.getLength();
|
|
|
|
|
|
|
|
// in extreme we have as much groups as controls
|
|
|
|
maGroups.reserve( aControlModels.getLength() );
|
|
|
|
|
|
|
|
GroupingMachineState eState = eLookingForGroup; // the current state of our machine
|
|
|
|
Reference< XServiceInfo > xModelSI; // for checking for a radion button
|
2010-10-06 10:16:39 +01:00
|
|
|
ModelGroup* aCurrentGroup = NULL; // the group which we're currently building
|
2003-03-27 16:05:12 +00:00
|
|
|
sal_Bool bIsRadioButton; // is it a radio button?
|
|
|
|
|
2010-10-06 10:16:39 +01:00
|
|
|
const ::rtl::OUString GROUP_NAME( RTL_CONSTASCII_USTRINGPARAM( "GroupName" ) );
|
|
|
|
|
|
|
|
::std::map< ::rtl::OUString, ModelGroup > aNamedGroups;
|
|
|
|
|
2003-04-15 14:51:56 +00:00
|
|
|
#if OSL_DEBUG_LEVEL > 1
|
2003-03-27 16:05:12 +00:00
|
|
|
::std::vector< ::rtl::OUString > aCurrentGroupLabels;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
for ( ; pControlModels != pControlModelsEnd; ++pControlModels )
|
|
|
|
{
|
|
|
|
// we'll need this in every state
|
|
|
|
xModelSI = xModelSI.query( *pControlModels );
|
|
|
|
bIsRadioButton = xModelSI.is() && xModelSI->supportsService( ::rtl::OUString::createFromAscii( szServiceName2_UnoControlRadioButtonModel ) );
|
|
|
|
|
|
|
|
switch ( eState )
|
|
|
|
{
|
|
|
|
case eLookingForGroup:
|
|
|
|
{
|
|
|
|
if ( !bIsRadioButton )
|
|
|
|
// this is no radio button -> still looking for the beginning of a group
|
|
|
|
continue;
|
|
|
|
// the current model is a radio button
|
|
|
|
// -> we found the beginning of a new group
|
|
|
|
// create the place for this group
|
2010-10-06 10:16:39 +01:00
|
|
|
AddRadioButtonToGroup( *pControlModels, GROUP_NAME, aNamedGroups, aCurrentGroup );
|
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
// new state: looking for further members
|
|
|
|
eState = eExpandingGroup;
|
|
|
|
|
2003-04-15 14:51:56 +00:00
|
|
|
#if OSL_DEBUG_LEVEL > 1
|
2003-03-27 16:05:12 +00:00
|
|
|
Reference< XPropertySet > xModelProps( *pControlModels, UNO_QUERY );
|
|
|
|
::rtl::OUString sLabel;
|
2010-11-22 22:47:26 +01:00
|
|
|
if ( xModelProps.is() && xModelProps->getPropertySetInfo().is() && xModelProps->getPropertySetInfo()->hasPropertyByName( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Label")) ) )
|
|
|
|
xModelProps->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Label")) ) >>= sLabel;
|
2003-03-27 16:05:12 +00:00
|
|
|
aCurrentGroupLabels.push_back( sLabel );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case eExpandingGroup:
|
|
|
|
{
|
|
|
|
if ( !bIsRadioButton )
|
|
|
|
{ // no radio button -> the group is done
|
2010-10-06 10:16:39 +01:00
|
|
|
aCurrentGroup = NULL;
|
2003-03-27 16:05:12 +00:00
|
|
|
eState = eLookingForGroup;
|
2003-04-15 14:51:56 +00:00
|
|
|
#if OSL_DEBUG_LEVEL > 1
|
2003-03-27 16:05:12 +00:00
|
|
|
aCurrentGroupLabels.clear();
|
|
|
|
#endif
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
2010-10-06 10:16:39 +01:00
|
|
|
AddRadioButtonToGroup( *pControlModels, GROUP_NAME, aNamedGroups, aCurrentGroup );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2003-04-15 14:51:56 +00:00
|
|
|
#if OSL_DEBUG_LEVEL > 1
|
2003-03-27 16:05:12 +00:00
|
|
|
Reference< XPropertySet > xModelProps( *pControlModels, UNO_QUERY );
|
|
|
|
::rtl::OUString sLabel;
|
2010-11-22 22:47:26 +01:00
|
|
|
if ( xModelProps.is() && xModelProps->getPropertySetInfo().is() && xModelProps->getPropertySetInfo()->hasPropertyByName( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Label")) ) )
|
|
|
|
xModelProps->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Label")) ) >>= sLabel;
|
2003-03-27 16:05:12 +00:00
|
|
|
aCurrentGroupLabels.push_back( sLabel );
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-10-06 10:16:39 +01:00
|
|
|
AddRadioButtonGroup( aNamedGroups );
|
2003-03-27 16:05:12 +00:00
|
|
|
mbGroupsUpToDate = sal_True;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void SAL_CALL UnoControlDialogModel::propertyChange( const PropertyChangeEvent& _rEvent ) throw (RuntimeException)
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
DBG_ASSERT( 0 == _rEvent.PropertyName.compareToAscii( "TabIndex" ),
|
|
|
|
"UnoControlDialogModel::propertyChange: not listening for this property!" );
|
|
|
|
|
|
|
|
// the accessor for the changed element
|
|
|
|
::rtl::OUString sAccessor;
|
|
|
|
UnoControlModelHolderList::const_iterator aPos =
|
|
|
|
::std::find_if(
|
|
|
|
maModels.begin(), maModels.end(),
|
|
|
|
CompareControlModel( Reference< XControlModel >( _rEvent.Source, UNO_QUERY ) )
|
|
|
|
);
|
2007-02-12 13:48:33 +00:00
|
|
|
OSL_ENSURE( maModels.end() != aPos, "UnoControlDialogModel::propertyChange: don't know this model!" );
|
2003-03-27 16:05:12 +00:00
|
|
|
if ( maModels.end() != aPos )
|
|
|
|
sAccessor = aPos->second;
|
|
|
|
|
|
|
|
// our groups are not up-to-date
|
|
|
|
mbGroupsUpToDate = sal_False;
|
|
|
|
|
|
|
|
// notify
|
|
|
|
implNotifyTabModelChange( sAccessor );
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2007-01-02 14:34:44 +00:00
|
|
|
void SAL_CALL UnoControlDialogModel::disposing( const EventObject& /*rEvent*/ ) throw (RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void UnoControlDialogModel::startControlListening( const Reference< XControlModel >& _rxChildModel )
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
Reference< XPropertySet > xModelProps( _rxChildModel, UNO_QUERY );
|
|
|
|
Reference< XPropertySetInfo > xPSI;
|
|
|
|
if ( xModelProps.is() )
|
|
|
|
xPSI = xModelProps->getPropertySetInfo();
|
|
|
|
|
|
|
|
if ( xPSI.is() && xPSI->hasPropertyByName( getTabIndexPropertyName() ) )
|
|
|
|
xModelProps->addPropertyChangeListener( getTabIndexPropertyName(), this );
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void UnoControlDialogModel::stopControlListening( const Reference< XControlModel >& _rxChildModel )
|
|
|
|
{
|
2010-10-13 01:47:23 -05:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2007-06-27 11:21:36 +00:00
|
|
|
|
2003-03-27 16:05:12 +00:00
|
|
|
Reference< XPropertySet > xModelProps( _rxChildModel, UNO_QUERY );
|
|
|
|
Reference< XPropertySetInfo > xPSI;
|
|
|
|
if ( xModelProps.is() )
|
|
|
|
xPSI = xModelProps->getPropertySetInfo();
|
|
|
|
|
|
|
|
if ( xPSI.is() && xPSI->hasPropertyByName( getTabIndexPropertyName() ) )
|
|
|
|
xModelProps->removePropertyChangeListener( getTabIndexPropertyName(), this );
|
|
|
|
}
|
|
|
|
|
2007-01-02 14:34:44 +00:00
|
|
|
// ============================================================================
|
|
|
|
// = class ResourceListener
|
|
|
|
// ============================================================================
|
|
|
|
|
|
|
|
ResourceListener::ResourceListener(
|
|
|
|
const Reference< util::XModifyListener >& rListener ) :
|
|
|
|
OWeakObject(),
|
|
|
|
m_xListener( rListener ),
|
|
|
|
m_bListening( false )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ResourceListener::~ResourceListener()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// XInterface
|
|
|
|
Any SAL_CALL ResourceListener::queryInterface( const Type& rType )
|
|
|
|
throw ( RuntimeException )
|
|
|
|
{
|
|
|
|
Any a = ::cppu::queryInterface(
|
|
|
|
rType ,
|
|
|
|
static_cast< XModifyListener* >( this ),
|
|
|
|
static_cast< XEventListener* >( this ));
|
|
|
|
|
|
|
|
if ( a.hasValue() )
|
|
|
|
return a;
|
|
|
|
|
|
|
|
return OWeakObject::queryInterface( rType );
|
|
|
|
}
|
|
|
|
|
|
|
|
void SAL_CALL ResourceListener::acquire() throw ()
|
|
|
|
{
|
|
|
|
OWeakObject::acquire();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SAL_CALL ResourceListener::release() throw ()
|
|
|
|
{
|
|
|
|
OWeakObject::release();
|
|
|
|
}
|
|
|
|
|
|
|
|
void ResourceListener::startListening(
|
|
|
|
const Reference< resource::XStringResourceResolver >& rResource )
|
|
|
|
{
|
|
|
|
Reference< util::XModifyBroadcaster > xModifyBroadcaster( rResource, UNO_QUERY );
|
|
|
|
|
|
|
|
{
|
|
|
|
// --- SAFE ---
|
|
|
|
::osl::ResettableGuard < ::osl::Mutex > aGuard( m_aMutex );
|
|
|
|
bool bListening( m_bListening );
|
|
|
|
bool bResourceSet( m_xResource.is() );
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
if ( bListening && bResourceSet )
|
|
|
|
stopListening();
|
|
|
|
|
|
|
|
// --- SAFE ---
|
|
|
|
aGuard.reset();
|
|
|
|
m_xResource = rResource;
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
}
|
|
|
|
|
|
|
|
Reference< util::XModifyListener > xThis( static_cast<OWeakObject*>( this ), UNO_QUERY );
|
|
|
|
if ( xModifyBroadcaster.is() )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xModifyBroadcaster->addModifyListener( xThis );
|
|
|
|
|
|
|
|
// --- SAFE ---
|
|
|
|
::osl::ResettableGuard < ::osl::Mutex > aGuard( m_aMutex );
|
|
|
|
m_bListening = true;
|
|
|
|
// --- SAFE ---
|
|
|
|
}
|
|
|
|
catch ( RuntimeException& )
|
|
|
|
{
|
|
|
|
throw;
|
|
|
|
}
|
|
|
|
catch ( Exception& )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void ResourceListener::stopListening()
|
|
|
|
{
|
|
|
|
Reference< util::XModifyBroadcaster > xModifyBroadcaster;
|
|
|
|
|
|
|
|
// --- SAFE ---
|
|
|
|
::osl::ResettableGuard < ::osl::Mutex > aGuard( m_aMutex );
|
|
|
|
if ( m_bListening && m_xResource.is() )
|
|
|
|
xModifyBroadcaster = Reference< util::XModifyBroadcaster >( m_xResource, UNO_QUERY );
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
Reference< util::XModifyListener > xThis( static_cast< OWeakObject* >( this ), UNO_QUERY );
|
|
|
|
if ( xModifyBroadcaster.is() )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
// --- SAFE ---
|
|
|
|
aGuard.reset();
|
|
|
|
m_bListening = false;
|
|
|
|
m_xResource.clear();
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
xModifyBroadcaster->removeModifyListener( xThis );
|
|
|
|
}
|
|
|
|
catch ( RuntimeException& )
|
|
|
|
{
|
|
|
|
throw;
|
|
|
|
}
|
|
|
|
catch ( Exception& )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// XModifyListener
|
|
|
|
void SAL_CALL ResourceListener::modified(
|
|
|
|
const lang::EventObject& aEvent )
|
|
|
|
throw ( RuntimeException )
|
|
|
|
{
|
|
|
|
Reference< util::XModifyListener > xListener;
|
|
|
|
|
|
|
|
// --- SAFE ---
|
|
|
|
::osl::ResettableGuard < ::osl::Mutex > aGuard( m_aMutex );
|
|
|
|
xListener = m_xListener;
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
if ( xListener.is() )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xListener->modified( aEvent );
|
|
|
|
}
|
|
|
|
catch ( RuntimeException& )
|
|
|
|
{
|
|
|
|
throw;
|
|
|
|
}
|
|
|
|
catch ( Exception& )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// XEventListener
|
|
|
|
void SAL_CALL ResourceListener::disposing(
|
|
|
|
const EventObject& Source )
|
|
|
|
throw ( RuntimeException )
|
|
|
|
{
|
|
|
|
Reference< lang::XEventListener > xListener;
|
|
|
|
Reference< resource::XStringResourceResolver > xResource;
|
|
|
|
|
|
|
|
// --- SAFE ---
|
|
|
|
::osl::ResettableGuard < ::osl::Mutex > aGuard( m_aMutex );
|
|
|
|
Reference< XInterface > xIfacRes( m_xResource, UNO_QUERY );
|
|
|
|
Reference< XInterface > xIfacList( m_xListener, UNO_QUERY );
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
if ( Source.Source == xIfacRes )
|
|
|
|
{
|
|
|
|
// --- SAFE ---
|
|
|
|
aGuard.reset();
|
|
|
|
m_bListening = false;
|
|
|
|
xResource = m_xResource;
|
|
|
|
xListener = Reference< lang::XEventListener >( m_xListener, UNO_QUERY );
|
|
|
|
m_xResource.clear();
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
if ( xListener.is() )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xListener->disposing( Source );
|
|
|
|
}
|
|
|
|
catch ( RuntimeException& )
|
|
|
|
{
|
|
|
|
throw;
|
|
|
|
}
|
|
|
|
catch ( Exception& )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( Source.Source == xIfacList )
|
|
|
|
{
|
|
|
|
// --- SAFE ---
|
|
|
|
aGuard.reset();
|
|
|
|
m_bListening = false;
|
|
|
|
xListener = Reference< lang::XEventListener >( m_xListener, UNO_QUERY );
|
|
|
|
xResource = m_xResource;
|
|
|
|
m_xResource.clear();
|
|
|
|
m_xListener.clear();
|
|
|
|
aGuard.clear();
|
|
|
|
// --- SAFE ---
|
|
|
|
|
|
|
|
// Remove ourself as listener from resource resolver
|
|
|
|
Reference< util::XModifyBroadcaster > xModifyBroadcaster( xResource, UNO_QUERY );
|
|
|
|
Reference< util::XModifyListener > xThis( static_cast< OWeakObject* >( this ), UNO_QUERY );
|
|
|
|
if ( xModifyBroadcaster.is() )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
xModifyBroadcaster->removeModifyListener( xThis );
|
|
|
|
}
|
|
|
|
catch ( RuntimeException& )
|
|
|
|
{
|
|
|
|
throw;
|
|
|
|
}
|
|
|
|
catch ( Exception& )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ============================================================================
|
|
|
|
// = class UnoDialogControl
|
|
|
|
// ============================================================================
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoDialogControl::UnoDialogControl() :
|
|
|
|
maTopWindowListeners( *this ),
|
|
|
|
mbWindowListener(false),
|
|
|
|
mbSizeModified(false),
|
|
|
|
mbPosModified(false)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
maComponentInfos.nWidth = 300;
|
|
|
|
maComponentInfos.nHeight = 450;
|
|
|
|
mxListener = new ResourceListener( Reference< util::XModifyListener >(
|
|
|
|
static_cast< OWeakObject* >( this ), UNO_QUERY ));
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoDialogControl::GetComponentServiceName()
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Bool bDecoration( sal_True );
|
|
|
|
ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_DECORATION )) >>= bDecoration;
|
|
|
|
if ( bDecoration )
|
2010-11-22 22:47:26 +01:00
|
|
|
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Dialog"));
|
2010-11-03 23:10:43 +00:00
|
|
|
else
|
2010-11-22 22:47:26 +01:00
|
|
|
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TabPage"));
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// XInterface
|
|
|
|
Any UnoDialogControl::queryAggregation( const Type & rType ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
uno::Any aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XTopWindow*, this ) );
|
|
|
|
if ( !aRet.hasValue() )
|
|
|
|
aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XDialog*, this ) );
|
|
|
|
if ( !aRet.hasValue() )
|
|
|
|
aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XWindowListener*, this ) );
|
|
|
|
return (aRet.hasValue() ? aRet : ControlContainerBase::queryAggregation( rType ));
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2007-01-02 14:34:44 +00:00
|
|
|
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
//lang::XTypeProvider
|
|
|
|
IMPL_XTYPEPROVIDER_START( UnoDialogControl)
|
|
|
|
getCppuType( ( uno::Reference< awt::XTopWindow>* ) NULL ),
|
|
|
|
getCppuType( ( uno::Reference< awt::XDialog>* ) NULL ),
|
|
|
|
getCppuType( ( uno::Reference< awt::XWindowListener>* ) NULL ),
|
|
|
|
ControlContainerBase::getTypes()
|
|
|
|
IMPL_XTYPEPROVIDER_END
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::dispose() throw(RuntimeException)
|
2007-01-02 14:34:44 +00:00
|
|
|
{
|
2010-11-03 12:48:44 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
EventObject aEvt;
|
|
|
|
aEvt.Source = static_cast< ::cppu::OWeakObject* >( this );
|
|
|
|
maTopWindowListeners.disposeAndClear( aEvt );
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
ControlContainerBase::dispose();
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void SAL_CALL UnoDialogControl::disposing(
|
|
|
|
const EventObject& Source )
|
|
|
|
throw(RuntimeException)
|
|
|
|
{
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
ControlContainerBase::disposing( Source );
|
2007-01-02 14:34:44 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Bool UnoDialogControl::setModel( const Reference< XControlModel >& rxModel ) throw(RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
sal_Bool bRet = ControlContainerBase::setModel( rxModel );
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplStartListingForResourceEvents();
|
|
|
|
return bRet;
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::setDesignMode( sal_Bool bOn ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoControl::setDesignMode( bOn );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Sequence< Reference< XControl > > xCtrls = getControls();
|
|
|
|
sal_Int32 nControls = xCtrls.getLength();
|
|
|
|
Reference< XControl >* pControls = xCtrls.getArray();
|
|
|
|
for ( sal_Int32 n = 0; n < nControls; n++ )
|
|
|
|
pControls[n]->setDesignMode( bOn );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// #109067# in design mode the tab controller is not notified about
|
|
|
|
// tab index changes, therefore the tab order must be activated
|
|
|
|
// when switching from design mode to live mode
|
|
|
|
if ( mxTabController.is() && !bOn )
|
|
|
|
mxTabController->activateTabOrder();
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
|
|
|
|
UnoControlContainer::createPeer( rxToolkit, rParentPeer );
|
|
|
|
|
|
|
|
Reference < XTopWindow > xTW( getPeer(), UNO_QUERY );
|
|
|
|
if ( xTW.is() )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
xTW->setMenuBar( mxMenuBar );
|
|
|
|
|
|
|
|
if ( !mbWindowListener )
|
|
|
|
{
|
|
|
|
Reference< XWindowListener > xWL( static_cast< cppu::OWeakObject*>( this ), UNO_QUERY );
|
|
|
|
addWindowListener( xWL );
|
|
|
|
mbWindowListener = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( maTopWindowListeners.getLength() )
|
|
|
|
xTW->addTopWindowListener( &maTopWindowListeners );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::PrepareWindowDescriptor( ::com::sun::star::awt::WindowDescriptor& rDesc )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Bool bDecoration( sal_True );
|
|
|
|
ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_DECORATION )) >>= bDecoration;
|
|
|
|
if ( !bDecoration )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
// Now we have to manipulate the WindowDescriptor
|
|
|
|
rDesc.WindowAttributes = rDesc.WindowAttributes | ::com::sun::star::awt::WindowAttribute::NODECORATION;
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// We have to set the graphic property before the peer
|
|
|
|
// will be created. Otherwise the properties will be copied
|
|
|
|
// into the peer via propertiesChangeEvents. As the order of
|
|
|
|
// can lead to overwrites we have to set the graphic property
|
|
|
|
// before the propertiesChangeEvents are sent!
|
|
|
|
::rtl::OUString aImageURL;
|
|
|
|
if (( ImplGetPropertyValue( PROPERTY_IMAGEURL ) >>= aImageURL ) &&
|
|
|
|
( aImageURL.getLength() > 0 ))
|
|
|
|
{
|
2010-11-05 11:32:11 +00:00
|
|
|
rtl::OUString absoluteUrl( aImageURL );
|
|
|
|
if ( aImageURL.compareToAscii( UNO_NAME_GRAPHOBJ_URLPREFIX, RTL_CONSTASCII_LENGTH( UNO_NAME_GRAPHOBJ_URLPREFIX ) ) != 0 )
|
|
|
|
absoluteUrl =
|
|
|
|
getPhysicalLocation( ImplGetPropertyValue( PROPERTY_DIALOGSOURCEURL ),
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplGetPropertyValue( PROPERTY_IMAGEURL ));
|
2010-11-05 11:32:11 +00:00
|
|
|
ImplSetPropertyValue( PROPERTY_IMAGEURL, uno::makeAny( absoluteUrl ), sal_True );
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::elementInserted( const ContainerEvent& Event ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XControlModel > xModel;
|
|
|
|
::rtl::OUString aName;
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Event.Accessor >>= aName;
|
|
|
|
Event.Element >>= xModel;
|
|
|
|
ImplInsertControl( xModel, aName );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::elementRemoved( const ContainerEvent& Event ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XControlModel > xModel;
|
|
|
|
Event.Element >>= xModel;
|
|
|
|
if ( xModel.is() )
|
|
|
|
ImplRemoveControl( xModel );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::elementReplaced( const ContainerEvent& Event ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XControlModel > xModel;
|
|
|
|
Event.ReplacedElement >>= xModel;
|
|
|
|
if ( xModel.is() )
|
|
|
|
ImplRemoveControl( xModel );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString aName;
|
|
|
|
Event.Accessor >>= aName;
|
|
|
|
Event.Element >>= xModel;
|
|
|
|
ImplInsertControl( xModel, aName );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::addTopWindowListener( const Reference< XTopWindowListener >& rxListener ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
maTopWindowListeners.addInterface( rxListener );
|
|
|
|
if( getPeer().is() && maTopWindowListeners.getLength() == 1 )
|
|
|
|
{
|
|
|
|
Reference < XTopWindow > xTW( getPeer(), UNO_QUERY );
|
|
|
|
xTW->addTopWindowListener( &maTopWindowListeners );
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::removeTopWindowListener( const Reference< XTopWindowListener >& rxListener ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
if( getPeer().is() && maTopWindowListeners.getLength() == 1 )
|
|
|
|
{
|
|
|
|
Reference < XTopWindow > xTW( getPeer(), UNO_QUERY );
|
|
|
|
xTW->removeTopWindowListener( &maTopWindowListeners );
|
|
|
|
}
|
|
|
|
maTopWindowListeners.removeInterface( rxListener );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::toFront( ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
if ( getPeer().is() )
|
|
|
|
{
|
|
|
|
Reference< XTopWindow > xTW( getPeer(), UNO_QUERY );
|
|
|
|
if( xTW.is() )
|
|
|
|
xTW->toFront();
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::toBack( ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
if ( getPeer().is() )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XTopWindow > xTW( getPeer(), UNO_QUERY );
|
|
|
|
if( xTW.is() )
|
|
|
|
xTW->toBack();
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::setMenuBar( const Reference< XMenuBar >& rxMenuBar ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
mxMenuBar = rxMenuBar;
|
|
|
|
if ( getPeer().is() )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XTopWindow > xTW( getPeer(), UNO_QUERY );
|
|
|
|
if( xTW.is() )
|
|
|
|
xTW->setMenuBar( mxMenuBar );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
static ::Size ImplMapPixelToAppFont( OutputDevice* pOutDev, const ::Size& aSize )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
::Size aTmp = pOutDev->PixelToLogic( aSize, MAP_APPFONT );
|
|
|
|
return aTmp;
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
// ::com::sun::star::awt::XWindowListener
|
|
|
|
void SAL_CALL UnoDialogControl::windowResized( const ::com::sun::star::awt::WindowEvent& e )
|
|
|
|
throw (::com::sun::star::uno::RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
OutputDevice*pOutDev = Application::GetDefaultDevice();
|
|
|
|
DBG_ASSERT( pOutDev, "Missing Default Device!" );
|
|
|
|
if ( pOutDev && !mbSizeModified )
|
|
|
|
{
|
|
|
|
// Currentley we are simply using MAP_APPFONT
|
|
|
|
::Size aAppFontSize( e.Width, e.Height );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XControl > xDialogControl( *this, UNO_QUERY_THROW );
|
|
|
|
Reference< XDevice > xDialogDevice( xDialogControl->getPeer(), UNO_QUERY );
|
|
|
|
OSL_ENSURE( xDialogDevice.is(), "UnoDialogControl::windowResized: no peer, but a windowResized event?" );
|
|
|
|
if ( xDialogDevice.is() )
|
|
|
|
{
|
|
|
|
DeviceInfo aDeviceInfo( xDialogDevice->getInfo() );
|
|
|
|
aAppFontSize.Width() -= aDeviceInfo.LeftInset + aDeviceInfo.RightInset;
|
|
|
|
aAppFontSize.Height() -= aDeviceInfo.TopInset + aDeviceInfo.BottomInset;
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
aAppFontSize = ImplMapPixelToAppFont( pOutDev, aAppFontSize );
|
|
|
|
|
|
|
|
// Remember that changes have been done by listener. No need to
|
|
|
|
// update the position because of property change event.
|
|
|
|
mbSizeModified = true;
|
|
|
|
Sequence< rtl::OUString > aProps( 2 );
|
|
|
|
Sequence< Any > aValues( 2 );
|
|
|
|
// Properties in a sequence must be sorted!
|
|
|
|
aProps[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Height" ));
|
|
|
|
aProps[1] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Width" ));
|
|
|
|
aValues[0] <<= aAppFontSize.Height();
|
|
|
|
aValues[1] <<= aAppFontSize.Width();
|
|
|
|
|
|
|
|
ImplSetPropertyValues( aProps, aValues, true );
|
|
|
|
mbSizeModified = false;
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoDialogControl::windowMoved( const ::com::sun::star::awt::WindowEvent& e )
|
|
|
|
throw (::com::sun::star::uno::RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
OutputDevice*pOutDev = Application::GetDefaultDevice();
|
|
|
|
DBG_ASSERT( pOutDev, "Missing Default Device!" );
|
|
|
|
if ( pOutDev && !mbPosModified )
|
|
|
|
{
|
|
|
|
// Currentley we are simply using MAP_APPFONT
|
|
|
|
Any aAny;
|
|
|
|
::Size aTmp( e.X, e.Y );
|
|
|
|
aTmp = ImplMapPixelToAppFont( pOutDev, aTmp );
|
|
|
|
|
|
|
|
// Remember that changes have been done by listener. No need to
|
|
|
|
// update the position because of property change event.
|
|
|
|
mbPosModified = true;
|
|
|
|
Sequence< rtl::OUString > aProps( 2 );
|
|
|
|
Sequence< Any > aValues( 2 );
|
|
|
|
aProps[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionX" ));
|
|
|
|
aProps[1] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionY" ));
|
|
|
|
aValues[0] <<= aTmp.Width();
|
|
|
|
aValues[1] <<= aTmp.Height();
|
|
|
|
|
|
|
|
ImplSetPropertyValues( aProps, aValues, true );
|
|
|
|
mbPosModified = false;
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoDialogControl::windowShown( const ::com::sun::star::lang::EventObject& e )
|
|
|
|
throw (::com::sun::star::uno::RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
(void)e;
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoDialogControl::windowHidden( const ::com::sun::star::lang::EventObject& e )
|
|
|
|
throw (::com::sun::star::uno::RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
(void)e;
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// XPropertiesChangeListener
|
|
|
|
void UnoDialogControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
if( !isDesignMode() && !mbCreatingCompatiblePeer )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString s1( RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) );
|
|
|
|
::rtl::OUString s2( RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) );
|
|
|
|
::rtl::OUString s3( RTL_CONSTASCII_USTRINGPARAM( "Width" ) );
|
|
|
|
::rtl::OUString s4( RTL_CONSTASCII_USTRINGPARAM( "Height" ) );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Int32 nLen = rEvents.getLength();
|
|
|
|
for( sal_Int32 i = 0; i < nLen; i++ )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
const PropertyChangeEvent& rEvt = rEvents.getConstArray()[i];
|
|
|
|
Reference< XControlModel > xModel( rEvt.Source, UNO_QUERY );
|
|
|
|
sal_Bool bOwnModel = (XControlModel*)xModel.get() == (XControlModel*)getModel().get();
|
|
|
|
if ( ( rEvt.PropertyName == s1 ) ||
|
|
|
|
( rEvt.PropertyName == s2 ) ||
|
|
|
|
( rEvt.PropertyName == s3 ) ||
|
|
|
|
( rEvt.PropertyName == s4 ) )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
if ( bOwnModel )
|
|
|
|
{
|
|
|
|
if ( !mbPosModified && !mbSizeModified )
|
|
|
|
{
|
|
|
|
// Don't set new pos/size if we get new values from window listener
|
|
|
|
Reference< XControl > xThis( (XAggregation*)(::cppu::OWeakAggObject*)this, UNO_QUERY );
|
|
|
|
ImplSetPosSize( xThis );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Sequence<Reference<XControl> > aControlSequence(getControls());
|
|
|
|
Reference<XControl> aControlRef( StdTabController::FindControl( aControlSequence, xModel ) );
|
|
|
|
ImplSetPosSize( aControlRef );
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else if ( bOwnModel && rEvt.PropertyName.equalsAsciiL( "ResourceResolver", 16 ))
|
|
|
|
{
|
|
|
|
ImplStartListingForResourceEvents();
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Int32 nLen = rEvents.getLength();
|
|
|
|
for( sal_Int32 i = 0; i < nLen; i++ )
|
|
|
|
{
|
|
|
|
const PropertyChangeEvent& rEvt = rEvents.getConstArray()[i];
|
|
|
|
Reference< XControlModel > xModel( rEvt.Source, UNO_QUERY );
|
|
|
|
sal_Bool bOwnModel = (XControlModel*)xModel.get() == (XControlModel*)getModel().get();
|
|
|
|
if ( bOwnModel && rEvt.PropertyName.equalsAsciiL( "ImageURL", 8 ))
|
|
|
|
{
|
|
|
|
::rtl::OUString aImageURL;
|
2010-11-05 11:32:11 +00:00
|
|
|
::rtl::OUString absoluteUrl( aImageURL );
|
|
|
|
// Ignore GraphicObject urls
|
2010-11-03 23:10:43 +00:00
|
|
|
if (( ImplGetPropertyValue( PROPERTY_IMAGEURL ) >>= aImageURL ) &&
|
|
|
|
( aImageURL.getLength() > 0 ))
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-05 11:32:11 +00:00
|
|
|
absoluteUrl = aImageURL;
|
|
|
|
if ( aImageURL.compareToAscii( UNO_NAME_GRAPHOBJ_URLPREFIX, RTL_CONSTASCII_LENGTH( UNO_NAME_GRAPHOBJ_URLPREFIX ) ) != 0 )
|
|
|
|
absoluteUrl =
|
|
|
|
getPhysicalLocation( ImplGetPropertyValue( PROPERTY_DIALOGSOURCEURL ),
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplGetPropertyValue( PROPERTY_IMAGEURL ));
|
|
|
|
|
2010-11-05 11:32:11 +00:00
|
|
|
ImplSetPropertyValue( PROPERTY_IMAGEURL, uno::makeAny( absoluteUrl ), sal_True );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
UnoControlContainer::ImplModelPropertiesChanged( rEvents );
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnoDialogControl::ImplStartListingForResourceEvents()
|
|
|
|
{
|
|
|
|
Reference< resource::XStringResourceResolver > xStringResourceResolver;
|
|
|
|
|
|
|
|
ImplGetPropertyValue( PROPERTY_RESOURCERESOLVER ) >>= xStringResourceResolver;
|
|
|
|
|
|
|
|
// Add our helper as listener to retrieve notifications about changes
|
|
|
|
Reference< util::XModifyListener > rListener( mxListener );
|
|
|
|
ResourceListener* pResourceListener = static_cast< ResourceListener* >( rListener.get() );
|
|
|
|
|
|
|
|
// resource listener will stop listening if resolver reference is empty
|
|
|
|
if ( pResourceListener )
|
|
|
|
pResourceListener->startListening( xStringResourceResolver );
|
|
|
|
ImplUpdateResourceResolver();
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnoDialogControl::ImplUpdateResourceResolver()
|
|
|
|
{
|
|
|
|
rtl::OUString aPropName( PROPERTY_RESOURCERESOLVER );
|
|
|
|
Reference< resource::XStringResourceResolver > xStringResourceResolver;
|
|
|
|
|
|
|
|
ImplGetPropertyValue( aPropName ) >>= xStringResourceResolver;
|
|
|
|
if ( !xStringResourceResolver.is() )
|
|
|
|
return;
|
|
|
|
|
|
|
|
Any xNewStringResourceResolver; xNewStringResourceResolver <<= xStringResourceResolver;
|
|
|
|
|
|
|
|
Sequence< rtl::OUString > aPropNames(1);
|
|
|
|
aPropNames[0] = aPropName;
|
|
|
|
|
|
|
|
const Sequence< Reference< awt::XControl > > aSeq = getControls();
|
|
|
|
for ( sal_Int32 i = 0; i < aSeq.getLength(); i++ )
|
|
|
|
{
|
|
|
|
Reference< XControl > xControl( aSeq[i] );
|
|
|
|
Reference< XPropertySet > xPropertySet;
|
|
|
|
|
|
|
|
if ( xControl.is() )
|
|
|
|
xPropertySet = Reference< XPropertySet >( xControl->getModel(), UNO_QUERY );
|
|
|
|
|
|
|
|
if ( !xPropertySet.is() )
|
|
|
|
continue;
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
Reference< resource::XStringResourceResolver > xCurrStringResourceResolver;
|
|
|
|
Any aOldValue = xPropertySet->getPropertyValue( aPropName );
|
|
|
|
if ( ( aOldValue >>= xCurrStringResourceResolver )
|
|
|
|
&& ( xStringResourceResolver == xCurrStringResourceResolver )
|
|
|
|
)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XMultiPropertySet > xMultiPropSet( xPropertySet, UNO_QUERY );
|
|
|
|
Reference< XPropertiesChangeListener > xListener( xPropertySet, UNO_QUERY );
|
|
|
|
xMultiPropSet->firePropertiesChangeEvent( aPropNames, xListener );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
else
|
|
|
|
xPropertySet->setPropertyValue( aPropName, xNewStringResourceResolver );
|
|
|
|
}
|
|
|
|
/*catch ( NoSuchElementException& )*/ // that's nonsense, this is never thrown above ...
|
|
|
|
catch ( const Exception& )
|
|
|
|
{
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// propagate resource resolver changes to language dependent props of the dialog
|
|
|
|
Reference< XPropertySet > xPropertySet( getModel(), UNO_QUERY );
|
|
|
|
if ( xPropertySet.is() )
|
|
|
|
{
|
|
|
|
Reference< XMultiPropertySet > xMultiPropSet( xPropertySet, UNO_QUERY );
|
|
|
|
Reference< XPropertiesChangeListener > xListener( xPropertySet, UNO_QUERY );
|
|
|
|
xMultiPropSet->firePropertiesChangeEvent( lcl_getLanguageDependentProperties(), xListener );
|
|
|
|
}
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoDialogControl::endDialog( ::sal_Int32 i_result ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
|
|
|
|
if ( xPeerDialog.is() )
|
|
|
|
xPeerDialog->endDialog( i_result );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoDialogControl::setHelpId( ::sal_Int32 i_id ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
|
|
|
|
if ( xPeerDialog.is() )
|
|
|
|
xPeerDialog->setHelpId( i_id );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::setTitle( const ::rtl::OUString& Title ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
Any aAny;
|
|
|
|
aAny <<= Title;
|
|
|
|
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TITLE ), aAny, sal_True );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoDialogControl::getTitle() throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
return ImplGetPropertyValue_UString( BASEPROPERTY_TITLE );
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Int16 UnoDialogControl::execute() throw(RuntimeException)
|
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
sal_Int16 nDone = -1;
|
|
|
|
if ( getPeer().is() )
|
|
|
|
{
|
|
|
|
Reference< XDialog > xDlg( getPeer(), UNO_QUERY );
|
|
|
|
if( xDlg.is() )
|
|
|
|
{
|
|
|
|
GetComponentInfos().bVisible = sal_True;
|
|
|
|
nDone = xDlg->execute();
|
|
|
|
GetComponentInfos().bVisible = sal_False;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nDone;
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::endExecute() throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
if ( getPeer().is() )
|
|
|
|
{
|
|
|
|
Reference< XDialog > xDlg( getPeer(), UNO_QUERY );
|
|
|
|
if( xDlg.is() )
|
|
|
|
{
|
|
|
|
xDlg->endExecute();
|
|
|
|
GetComponentInfos().bVisible = sal_False;
|
|
|
|
}
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::addingControl( const Reference< XControl >& _rxControl )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
UnoControlContainer::addingControl( _rxControl );
|
|
|
|
|
|
|
|
if ( _rxControl.is() )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XMultiPropertySet > xProps( _rxControl->getModel(), UNO_QUERY );
|
|
|
|
if ( xProps.is() )
|
|
|
|
{
|
|
|
|
Sequence< ::rtl::OUString > aNames( 4 );
|
|
|
|
::rtl::OUString* pNames = aNames.getArray();
|
2010-11-22 22:47:26 +01:00
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PositionX"));
|
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PositionY"));
|
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Width"));
|
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Height"));
|
2010-11-03 23:10:43 +00:00
|
|
|
|
|
|
|
xProps->addPropertiesChangeListener( aNames, this );
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoDialogControl::removingControl( const Reference< XControl >& _rxControl )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
UnoControlContainer::removingControl( _rxControl );
|
|
|
|
|
|
|
|
if ( _rxControl.is() )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XMultiPropertySet > xProps( _rxControl->getModel(), UNO_QUERY );
|
|
|
|
if ( xProps.is() )
|
|
|
|
xProps->removePropertiesChangeListener( this );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoDialogControl::changesOccurred( const ChangesEvent& ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
// a tab controller model may have changed
|
|
|
|
|
|
|
|
// #109067# in design mode don't notify the tab controller
|
|
|
|
// about tab index changes
|
|
|
|
if ( mxTabController.is() && !mbDesignMode )
|
|
|
|
mxTabController->activateTabOrder();
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// XModifyListener
|
|
|
|
void SAL_CALL UnoDialogControl::modified(
|
|
|
|
const lang::EventObject& /*rEvent*/ )
|
|
|
|
throw (RuntimeException)
|
|
|
|
{
|
|
|
|
ImplUpdateResourceResolver();
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
void UnoDialogControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
// ----------------------------------------------------
|
2010-11-03 23:10:43 +00:00
|
|
|
// Helper Method to convert relative url to physical location
|
2010-11-02 16:55:17 +00:00
|
|
|
// ----------------------------------------------------
|
2010-11-03 23:10:43 +00:00
|
|
|
|
|
|
|
::rtl::OUString getPhysicalLocation( const ::com::sun::star::uno::Any& rbase, const ::com::sun::star::uno::Any& rUrl )
|
|
|
|
{
|
|
|
|
|
|
|
|
::rtl::OUString ret;
|
|
|
|
|
|
|
|
::rtl::OUString baseLocation;
|
|
|
|
::rtl::OUString url;
|
|
|
|
|
|
|
|
rbase >>= baseLocation;
|
|
|
|
rUrl >>= url;
|
|
|
|
|
|
|
|
::rtl::OUString absoluteURL( url );
|
|
|
|
if ( url.getLength() > 0 )
|
|
|
|
{
|
|
|
|
// Don't adjust GraphicObject url(s)
|
|
|
|
if ( url.compareToAscii( UNO_NAME_GRAPHOBJ_URLPREFIX, RTL_CONSTASCII_LENGTH( UNO_NAME_GRAPHOBJ_URLPREFIX ) ) != 0 )
|
|
|
|
{
|
|
|
|
INetURLObject urlObj(baseLocation);
|
|
|
|
urlObj.removeSegment();
|
|
|
|
baseLocation = urlObj.GetMainURL( INetURLObject::NO_DECODE );
|
|
|
|
::osl::FileBase::getAbsoluteFileURL( baseLocation, url, ret );
|
|
|
|
}
|
|
|
|
else
|
|
|
|
ret = url;
|
|
|
|
|
|
|
|
const INetURLObject protocolCheck( url );
|
|
|
|
const INetProtocol protocol = protocolCheck.GetProtocol();
|
|
|
|
if ( protocol == INET_PROT_NOT_VALID )
|
|
|
|
{
|
|
|
|
::rtl::OUString testAbsoluteURL;
|
|
|
|
if ( ::osl::FileBase::E_None == ::osl::FileBase::getAbsoluteFileURL( baseLocation, url, testAbsoluteURL ) )
|
|
|
|
absoluteURL = testAbsoluteURL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return absoluteURL;
|
|
|
|
}
|
|
|
|
|
|
|
|
UnoParentControl::UnoParentControl() :
|
2010-11-02 16:55:17 +00:00
|
|
|
mbSizeModified(false),
|
|
|
|
mbPosModified(false)
|
|
|
|
{
|
|
|
|
maComponentInfos.nWidth = 280;
|
|
|
|
maComponentInfos.nHeight = 400;
|
2010-11-03 23:10:43 +00:00
|
|
|
// #TODO Do we need the ResourceListener foo ?
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoParentControl::~UnoParentControl()
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// XInterface
|
2010-11-03 23:10:43 +00:00
|
|
|
Any UnoParentControl::queryAggregation( const Type & rType ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Any aRet( UnoParentControl_IBase::queryInterface( rType ) );
|
2010-11-02 16:55:17 +00:00
|
|
|
return (aRet.hasValue() ? aRet : UnoControlContainer::queryAggregation( rType ));
|
|
|
|
}
|
|
|
|
|
|
|
|
// XTypeProvider
|
2010-11-03 23:10:43 +00:00
|
|
|
IMPL_IMPLEMENTATION_ID( UnoParentControl )
|
2010-11-02 16:55:17 +00:00
|
|
|
Sequence< Type >
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoParentControl::getTypes() throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
return ::comphelper::concatSequences(
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoParentControl_IBase::getTypes(),
|
2010-11-02 16:55:17 +00:00
|
|
|
UnoControlContainer::getTypes()
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 12:48:44 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2010-11-02 16:55:17 +00:00
|
|
|
UnoControlContainer::createPeer( rxToolkit, rParentPeer );
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::ImplInsertControl( Reference< XControlModel >& rxModel, const ::rtl::OUString& rName )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
Reference< XPropertySet > xP( rxModel, UNO_QUERY );
|
|
|
|
|
|
|
|
::rtl::OUString aDefCtrl;
|
|
|
|
xP->getPropertyValue( GetPropertyName( BASEPROPERTY_DEFAULTCONTROL ) ) >>= aDefCtrl;
|
|
|
|
Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory();
|
|
|
|
Reference < XControl > xCtrl( xMSF->createInstance( aDefCtrl ), UNO_QUERY );
|
|
|
|
|
|
|
|
DBG_ASSERT( xCtrl.is(), "UnoDialogControl::ImplInsertControl: could not create the control!" );
|
|
|
|
if ( xCtrl.is() )
|
|
|
|
{
|
|
|
|
xCtrl->setModel( rxModel );
|
|
|
|
addControl( rName, xCtrl );
|
|
|
|
// will implicitly call addingControl, where we can add the PropertiesChangeListener to the model
|
|
|
|
// (which we formerly did herein)
|
|
|
|
|
|
|
|
ImplSetPosSize( xCtrl );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::ImplRemoveControl( Reference< XControlModel >& rxModel )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
Sequence< Reference< XControl > > aControls = getControls();
|
|
|
|
Reference< XControl > xCtrl = StdTabController::FindControl( aControls, rxModel );
|
|
|
|
if ( xCtrl.is() )
|
|
|
|
removeControl( xCtrl );
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::ImplSetPosSize( Reference< XControl >& rxCtrl )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
Reference< XPropertySet > xP( rxCtrl->getModel(), UNO_QUERY );
|
|
|
|
|
|
|
|
sal_Int32 nX = 0, nY = 0, nWidth = 0, nHeight = 0;
|
|
|
|
xP->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) ) ) >>= nX;
|
|
|
|
xP->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) ) ) >>= nY;
|
|
|
|
xP->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Width" ) ) ) >>= nWidth;
|
|
|
|
xP->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Height" ) ) ) >>= nHeight;
|
|
|
|
MapMode aMode( MAP_APPFONT );
|
|
|
|
OutputDevice*pOutDev = Application::GetDefaultDevice();
|
|
|
|
if ( pOutDev )
|
|
|
|
{
|
|
|
|
::Size aTmp( nX, nY );
|
|
|
|
aTmp = pOutDev->LogicToPixel( aTmp, aMode );
|
|
|
|
nX = aTmp.Width();
|
|
|
|
nY = aTmp.Height();
|
|
|
|
aTmp = ::Size( nWidth, nHeight );
|
|
|
|
aTmp = pOutDev->LogicToPixel( aTmp, aMode );
|
|
|
|
nWidth = aTmp.Width();
|
|
|
|
nHeight = aTmp.Height();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Reference< XWindowPeer > xPeer = ImplGetCompatiblePeer( sal_True );
|
|
|
|
Reference< XDevice > xD( xPeer, UNO_QUERY );
|
|
|
|
|
|
|
|
SimpleFontMetric aFM;
|
|
|
|
FontDescriptor aFD;
|
|
|
|
Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_FONTDESCRIPTOR ) );
|
|
|
|
aVal >>= aFD;
|
|
|
|
if ( aFD.StyleName.getLength() )
|
|
|
|
{
|
|
|
|
Reference< XFont > xFont = xD->getFont( aFD );
|
|
|
|
aFM = xFont->getFontMetric();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Reference< XGraphics > xG = xD->createGraphics();
|
|
|
|
aFM = xG->getFontMetric();
|
|
|
|
}
|
|
|
|
|
|
|
|
sal_Int16 nH = aFM.Ascent + aFM.Descent;
|
|
|
|
sal_Int16 nW = nH/2; // calculate avarage width?!
|
|
|
|
|
|
|
|
nX *= nW;
|
|
|
|
nX /= 4;
|
|
|
|
nWidth *= nW;
|
|
|
|
nWidth /= 4;
|
|
|
|
nY *= nH;
|
|
|
|
nY /= 8;
|
|
|
|
nHeight *= nH;
|
|
|
|
nHeight /= 8;
|
|
|
|
}
|
|
|
|
Reference < XWindow > xW( rxCtrl, UNO_QUERY );
|
|
|
|
xW->setPosSize( nX, nY, nWidth, nHeight, PosSize::POSSIZE );
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::dispose() throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
UnoControlContainer::dispose();
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoParentControl::disposing(
|
2010-11-02 16:55:17 +00:00
|
|
|
const EventObject& Source )
|
|
|
|
throw(RuntimeException)
|
|
|
|
{
|
|
|
|
UnoControlContainer::disposing( Source );
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Bool UnoParentControl::setModel( const Reference< XControlModel >& rxModel ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 12:48:44 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2010-11-02 16:55:17 +00:00
|
|
|
|
|
|
|
// destroy the old tab controller, if existent
|
|
|
|
if ( mxTabController.is() )
|
|
|
|
{
|
|
|
|
mxTabController->setModel( NULL ); // just to be sure, should not be necessary
|
|
|
|
removeTabController( mxTabController );
|
|
|
|
::comphelper::disposeComponent( mxTabController ); // just to be sure, should not be necessary
|
|
|
|
mxTabController.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( getModel().is() )
|
|
|
|
{
|
|
|
|
Sequence< Reference< XControl > > aControls = getControls();
|
|
|
|
const Reference< XControl >* pCtrls = aControls.getConstArray();
|
|
|
|
const Reference< XControl >* pCtrlsEnd = pCtrls + aControls.getLength();
|
|
|
|
|
|
|
|
for ( ; pCtrls < pCtrlsEnd; ++pCtrls )
|
|
|
|
removeControl( *pCtrls );
|
|
|
|
// will implicitly call removingControl, which will remove the PropertyChangeListener
|
|
|
|
// (which we formerly did herein)
|
|
|
|
|
|
|
|
Reference< XContainer > xC( getModel(), UNO_QUERY );
|
|
|
|
if ( xC.is() )
|
|
|
|
xC->removeContainerListener( this );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
|
|
|
Reference< XChangesNotifier > xChangeNotifier( getModel(), UNO_QUERY );
|
|
|
|
if ( xChangeNotifier.is() )
|
|
|
|
xChangeNotifier->removeChangesListener( this );
|
|
|
|
}
|
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
sal_Bool bRet = UnoControl::setModel( rxModel );
|
|
|
|
|
|
|
|
if ( getModel().is() )
|
|
|
|
{
|
|
|
|
Reference< XNameAccess > xNA( getModel(), UNO_QUERY );
|
|
|
|
if ( xNA.is() )
|
|
|
|
{
|
|
|
|
Sequence< ::rtl::OUString > aNames = xNA->getElementNames();
|
|
|
|
const ::rtl::OUString* pNames = aNames.getConstArray();
|
|
|
|
sal_uInt32 nCtrls = aNames.getLength();
|
|
|
|
|
|
|
|
Reference< XControlModel > xCtrlModel;
|
|
|
|
for( sal_uInt32 n = 0; n < nCtrls; ++n, ++pNames )
|
|
|
|
{
|
|
|
|
xNA->getByName( *pNames ) >>= xCtrlModel;
|
|
|
|
ImplInsertControl( xCtrlModel, *pNames );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Reference< XContainer > xC( getModel(), UNO_QUERY );
|
|
|
|
if ( xC.is() )
|
|
|
|
xC->addContainerListener( this );
|
|
|
|
|
|
|
|
Reference< XChangesNotifier > xChangeNotifier( getModel(), UNO_QUERY );
|
|
|
|
if ( xChangeNotifier.is() )
|
|
|
|
xChangeNotifier->addChangesListener( this );
|
|
|
|
}
|
|
|
|
|
|
|
|
Reference< XTabControllerModel > xTabbing( getModel(), UNO_QUERY );
|
|
|
|
if ( xTabbing.is() )
|
|
|
|
{
|
|
|
|
mxTabController = new StdTabController;
|
|
|
|
mxTabController->setModel( xTabbing );
|
|
|
|
addTabController( mxTabController );
|
|
|
|
}
|
|
|
|
// ImplStartListingForResourceEvents();
|
|
|
|
|
|
|
|
return bRet;
|
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::setDesignMode( sal_Bool bOn ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 12:48:44 +00:00
|
|
|
SolarMutexGuard aSolarGuard;
|
2010-11-02 16:55:17 +00:00
|
|
|
|
|
|
|
UnoControl::setDesignMode( bOn );
|
|
|
|
|
|
|
|
Sequence< Reference< XControl > > xCtrls = getControls();
|
|
|
|
sal_Int32 nControls = xCtrls.getLength();
|
|
|
|
Reference< XControl >* pControls = xCtrls.getArray();
|
|
|
|
for ( sal_Int32 n = 0; n < nControls; n++ )
|
|
|
|
pControls[n]->setDesignMode( bOn );
|
|
|
|
|
|
|
|
// #109067# in design mode the tab controller is not notified about
|
|
|
|
// tab index changes, therefore the tab order must be activated
|
|
|
|
// when switching from design mode to live mode
|
|
|
|
if ( mxTabController.is() && !bOn )
|
|
|
|
mxTabController->activateTabOrder();
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::elementInserted( const ContainerEvent& Event ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
Reference< XControlModel > xModel;
|
|
|
|
::rtl::OUString aName;
|
|
|
|
|
|
|
|
Event.Accessor >>= aName;
|
|
|
|
Event.Element >>= xModel;
|
|
|
|
ImplInsertControl( xModel, aName );
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::elementRemoved( const ContainerEvent& Event ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
|
|
|
|
Reference< XControlModel > xModel;
|
|
|
|
Event.Element >>= xModel;
|
|
|
|
if ( xModel.is() )
|
|
|
|
ImplRemoveControl( xModel );
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::elementReplaced( const ContainerEvent& Event ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
|
|
|
|
Reference< XControlModel > xModel;
|
|
|
|
Event.ReplacedElement >>= xModel;
|
|
|
|
if ( xModel.is() )
|
|
|
|
ImplRemoveControl( xModel );
|
|
|
|
|
|
|
|
::rtl::OUString aName;
|
|
|
|
Event.Accessor >>= aName;
|
|
|
|
Event.Element >>= xModel;
|
|
|
|
ImplInsertControl( xModel, aName );
|
|
|
|
}
|
|
|
|
|
|
|
|
// XPropertiesChangeListener
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoParentControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents ) throw(RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
|
|
|
if( !isDesignMode() && !mbCreatingCompatiblePeer )
|
|
|
|
{
|
|
|
|
::rtl::OUString s1( RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) );
|
|
|
|
::rtl::OUString s2( RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) );
|
|
|
|
::rtl::OUString s3( RTL_CONSTASCII_USTRINGPARAM( "Width" ) );
|
|
|
|
::rtl::OUString s4( RTL_CONSTASCII_USTRINGPARAM( "Height" ) );
|
|
|
|
|
|
|
|
sal_Int32 nLen = rEvents.getLength();
|
|
|
|
for( sal_Int32 i = 0; i < nLen; i++ )
|
|
|
|
{
|
|
|
|
const PropertyChangeEvent& rEvt = rEvents.getConstArray()[i];
|
|
|
|
Reference< XControlModel > xModel( rEvt.Source, UNO_QUERY );
|
|
|
|
sal_Bool bOwnModel = (XControlModel*)xModel.get() == (XControlModel*)getModel().get();
|
|
|
|
if ( ( rEvt.PropertyName == s1 ) ||
|
|
|
|
( rEvt.PropertyName == s2 ) ||
|
|
|
|
( rEvt.PropertyName == s3 ) ||
|
|
|
|
( rEvt.PropertyName == s4 ) )
|
|
|
|
{
|
|
|
|
if ( bOwnModel )
|
|
|
|
{
|
|
|
|
if ( !mbPosModified && !mbSizeModified )
|
|
|
|
{
|
|
|
|
// Don't set new pos/size if we get new values from window listener
|
|
|
|
Reference< XControl > xThis( (XAggregation*)(::cppu::OWeakAggObject*)this, UNO_QUERY );
|
|
|
|
ImplSetPosSize( xThis );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Sequence<Reference<XControl> > aControlSequence(getControls());
|
|
|
|
Reference<XControl> aControlRef( StdTabController::FindControl( aControlSequence, xModel ) );
|
|
|
|
ImplSetPosSize( aControlRef );
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
UnoControlContainer::ImplModelPropertiesChanged( rEvents );
|
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
|
|
|
|
void UnoParentControl::addingControl( const Reference< XControl >& _rxControl )
|
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
UnoControlContainer::addingControl( _rxControl );
|
|
|
|
|
|
|
|
if ( _rxControl.is() )
|
|
|
|
{
|
|
|
|
Reference< XMultiPropertySet > xProps( _rxControl->getModel(), UNO_QUERY );
|
|
|
|
if ( xProps.is() )
|
|
|
|
{
|
|
|
|
Sequence< ::rtl::OUString > aNames( 4 );
|
|
|
|
::rtl::OUString* pNames = aNames.getArray();
|
2010-11-22 22:47:26 +01:00
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PositionX"));
|
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PositionY"));
|
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Width"));
|
|
|
|
*pNames++ = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Height"));
|
2010-11-03 23:10:43 +00:00
|
|
|
|
|
|
|
xProps->addPropertiesChangeListener( aNames, this );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnoParentControl::removingControl( const Reference< XControl >& _rxControl )
|
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
UnoControlContainer::removingControl( _rxControl );
|
|
|
|
|
|
|
|
if ( _rxControl.is() )
|
|
|
|
{
|
|
|
|
Reference< XMultiPropertySet > xProps( _rxControl->getModel(), UNO_QUERY );
|
|
|
|
if ( xProps.is() )
|
|
|
|
xProps->removePropertiesChangeListener( this );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void SAL_CALL UnoParentControl::changesOccurred( const ChangesEvent& ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
|
|
|
// a tab controller model may have changed
|
|
|
|
|
|
|
|
// #109067# in design mode don't notify the tab controller
|
|
|
|
// about tab index changes
|
|
|
|
if ( mxTabController.is() && !mbDesignMode )
|
|
|
|
mxTabController->activateTabOrder();
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----------------------------------------------------
|
|
|
|
// class MultiPageControl
|
|
|
|
// ----------------------------------------------------
|
|
|
|
UnoMultiPageControl::UnoMultiPageControl() : maTabListeners( *this )
|
|
|
|
{
|
|
|
|
maComponentInfos.nWidth = 280;
|
|
|
|
maComponentInfos.nHeight = 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
UnoMultiPageControl::~UnoMultiPageControl()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
// XTabListener
|
|
|
|
|
|
|
|
void SAL_CALL UnoMultiPageControl::inserted( ::sal_Int32 /*ID*/ ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void SAL_CALL UnoMultiPageControl::removed( ::sal_Int32 /*ID*/ ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void SAL_CALL UnoMultiPageControl::changed( ::sal_Int32 /*ID*/, const Sequence< NamedValue >& /*Properties*/ ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void SAL_CALL UnoMultiPageControl::activated( ::sal_Int32 ID ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_MULTIPAGEVALUE ), uno::makeAny( ID ), sal_False );
|
|
|
|
|
|
|
|
}
|
|
|
|
void SAL_CALL UnoMultiPageControl::deactivated( ::sal_Int32 /*ID*/ ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void SAL_CALL UnoMultiPageControl::disposing(const EventObject&) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoMultiPageControl::dispose() throw (RuntimeException)
|
|
|
|
{
|
|
|
|
lang::EventObject aEvt;
|
|
|
|
aEvt.Source = (::cppu::OWeakObject*)this;
|
|
|
|
maTabListeners.disposeAndClear( aEvt );
|
|
|
|
UnoParentControl::dispose();
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// com::sun::star::awt::XSimpleTabController
|
|
|
|
::sal_Int32 SAL_CALL UnoMultiPageControl::insertTab() throw (RuntimeException)
|
|
|
|
{
|
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( !xMultiPage.is() )
|
|
|
|
throw RuntimeException();
|
|
|
|
return xMultiPage->insertTab();
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoMultiPageControl::removeTab( ::sal_Int32 ID ) throw (IndexOutOfBoundsException, RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( !xMultiPage.is() )
|
|
|
|
throw RuntimeException();
|
|
|
|
xMultiPage->removeTab( ID );
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoMultiPageControl::setTabProps( ::sal_Int32 ID, const Sequence< NamedValue >& Properties ) throw (IndexOutOfBoundsException, RuntimeException)
|
|
|
|
{
|
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( !xMultiPage.is() )
|
|
|
|
throw RuntimeException();
|
|
|
|
xMultiPage->setTabProps( ID, Properties );
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Sequence< NamedValue > SAL_CALL UnoMultiPageControl::getTabProps( ::sal_Int32 ID ) throw (IndexOutOfBoundsException, RuntimeException)
|
|
|
|
{
|
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( !xMultiPage.is() )
|
|
|
|
throw RuntimeException();
|
|
|
|
return xMultiPage->getTabProps( ID );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoMultiPageControl::activateTab( ::sal_Int32 ID ) throw (IndexOutOfBoundsException, RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( !xMultiPage.is() )
|
|
|
|
throw RuntimeException();
|
|
|
|
xMultiPage->activateTab( ID );
|
|
|
|
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_MULTIPAGEVALUE ), uno::makeAny( ID ), sal_True );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::sal_Int32 SAL_CALL UnoMultiPageControl::getActiveTabID() throw (RuntimeException)
|
|
|
|
{
|
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( !xMultiPage.is() )
|
|
|
|
throw RuntimeException();
|
|
|
|
return xMultiPage->getActiveTabID();
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoMultiPageControl::addTabListener( const Reference< XTabListener >& Listener ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
maTabListeners.addInterface( Listener );
|
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( xMultiPage.is() && maTabListeners.getLength() == 1 )
|
|
|
|
xMultiPage->addTabListener( &maTabListeners );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void SAL_CALL UnoMultiPageControl::removeTabListener( const Reference< XTabListener >& Listener ) throw (RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
|
|
|
|
if ( xMultiPage.is() && maTabListeners.getLength() == 1 )
|
|
|
|
xMultiPage->removeTabListener( &maTabListeners );
|
|
|
|
maTabListeners.removeInterface( Listener );
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
|
|
|
|
// lang::XTypeProvider
|
|
|
|
IMPL_XTYPEPROVIDER_START( UnoMultiPageControl )
|
|
|
|
getCppuType( ( uno::Reference< awt::XSimpleTabController>* ) NULL ),
|
|
|
|
getCppuType( ( uno::Reference< awt::XTabListener>* ) NULL ),
|
|
|
|
UnoParentControl::getTypes()
|
|
|
|
IMPL_XTYPEPROVIDER_END
|
|
|
|
|
|
|
|
// uno::XInterface
|
|
|
|
uno::Any UnoMultiPageControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException)
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Any aRet = ::cppu::queryInterface( rType,
|
|
|
|
SAL_STATIC_CAST( awt::XTabListener*, this ), SAL_STATIC_CAST( awt::XSimpleTabController*, this ) );
|
|
|
|
return (aRet.hasValue() ? aRet : UnoParentControl::queryAggregation( rType ));
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoMultiPageControl::GetComponentServiceName()
|
|
|
|
{
|
2010-11-02 16:55:17 +00:00
|
|
|
sal_Bool bDecoration( sal_True );
|
|
|
|
ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_DECORATION )) >>= bDecoration;
|
|
|
|
if ( bDecoration )
|
2010-11-22 22:47:26 +01:00
|
|
|
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("tabcontrol"));
|
2010-11-03 23:10:43 +00:00
|
|
|
// Hopefully we can tweak the tabcontrol to display without tabs
|
2010-11-22 22:47:26 +01:00
|
|
|
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("tabcontrolnotabs"));
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoMultiPageControl::bindPage( const uno::Reference< awt::XControl >& _rxControl )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Reference< awt::XWindowPeer > xPage( _rxControl->getPeer() );
|
|
|
|
uno::Reference< awt::XSimpleTabController > xTabCntrl( getPeer(), uno::UNO_QUERY );
|
|
|
|
uno::Reference< beans::XPropertySet > xProps( _rxControl->getModel(), uno::UNO_QUERY );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
VCLXTabPage* pXPage = dynamic_cast< VCLXTabPage* >( xPage.get() );
|
|
|
|
TabPage* pPage = pXPage ? pXPage->getTabPage() : NULL;
|
|
|
|
if ( xTabCntrl.is() && pPage )
|
|
|
|
{
|
|
|
|
VCLXMultiPage* pXTab = dynamic_cast< VCLXMultiPage* >( xTabCntrl.get() );
|
|
|
|
if ( pXTab )
|
|
|
|
{
|
|
|
|
rtl::OUString sTitle;
|
|
|
|
xProps->getPropertyValue( GetPropertyName( BASEPROPERTY_TITLE ) ) >>= sTitle;
|
|
|
|
pXTab->insertTab( pPage, sTitle);
|
|
|
|
}
|
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoMultiPageControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException)
|
|
|
|
{
|
|
|
|
SolarMutexGuard aSolarGuard;
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoControlContainer::createPeer( rxToolkit, rParentPeer );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Sequence< uno::Reference< awt::XControl > > aCtrls = getControls();
|
|
|
|
sal_uInt32 nCtrls = aCtrls.getLength();
|
|
|
|
for( sal_uInt32 n = 0; n < nCtrls; n++ )
|
|
|
|
bindPage( aCtrls[ n ] );
|
|
|
|
sal_Int32 nActiveTab(0);
|
|
|
|
Reference< XPropertySet > xMultiProps( getModel(), UNO_QUERY );
|
|
|
|
xMultiProps->getPropertyValue( GetPropertyName( BASEPROPERTY_MULTIPAGEVALUE ) ) >>= nActiveTab;
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Reference< awt::XSimpleTabController > xTabCntrl( getPeer(), uno::UNO_QUERY );
|
|
|
|
if ( xTabCntrl.is() )
|
|
|
|
{
|
|
|
|
xTabCntrl->addTabListener( this );
|
|
|
|
if ( nActiveTab && nCtrls ) // Ensure peer is initialise with correct activated tab
|
|
|
|
{
|
|
|
|
xTabCntrl->activateTab( nActiveTab );
|
|
|
|
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_MULTIPAGEVALUE ), uno::makeAny( nActiveTab ), sal_True );
|
|
|
|
}
|
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoMultiPageControl::impl_createControlPeerIfNecessary( const uno::Reference< awt::XControl >& _rxControl)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
OSL_PRECOND( _rxControl.is(), "UnoMultiPageControl::impl_createControlPeerIfNecessary: invalid control, this will crash!" );
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// if the container already has a peer, then also create a peer for the control
|
|
|
|
uno::Reference< awt::XWindowPeer > xMyPeer( getPeer() );
|
|
|
|
|
|
|
|
if( xMyPeer.is() )
|
|
|
|
{
|
|
|
|
_rxControl->createPeer( NULL, xMyPeer );
|
|
|
|
bindPage( _rxControl );
|
|
|
|
ImplActivateTabControllers();
|
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
2003-05-22 07:51:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ------------- UnoMultiPageModel -----------------
|
|
|
|
|
|
|
|
UnoMultiPageModel::UnoMultiPageModel() : UnoControlDialogModel( false )
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_DEFAULTCONTROL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_BACKGROUNDCOLOR );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLEVISIBLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLED );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_FONTDESCRIPTOR );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPTEXT );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPURL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_SIZEABLE );
|
|
|
|
//ImplRegisterProperty( BASEPROPERTY_DIALOGSOURCEURL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_MULTIPAGEVALUE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_PRINTABLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_USERFORMCONTAINEES );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Any aBool;
|
|
|
|
aBool <<= (sal_Bool) sal_True;
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_MOVEABLE, aBool );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_CLOSEABLE, aBool );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_DECORATION, aBool );
|
|
|
|
// MultiPage Control has the tab stop property. And the default value is True.
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_TABSTOP, aBool );
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoMultiPageModel::UnoMultiPageModel( const UnoMultiPageModel& rModel )
|
|
|
|
: UnoControlDialogModel( rModel )
|
|
|
|
{
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoMultiPageModel::~UnoMultiPageModel()
|
2010-11-02 16:55:17 +00:00
|
|
|
{
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoControlModel*
|
|
|
|
UnoMultiPageModel::Clone() const
|
|
|
|
{
|
|
|
|
// clone the container itself
|
|
|
|
UnoMultiPageModel* pClone = new UnoMultiPageModel( *this );
|
|
|
|
|
|
|
|
// clone all children
|
|
|
|
::std::for_each(
|
|
|
|
maModels.begin(), maModels.end(),
|
|
|
|
CloneControlModel( pClone->maModels )
|
|
|
|
);
|
|
|
|
|
|
|
|
return pClone;
|
|
|
|
}
|
|
|
|
|
|
|
|
::rtl::OUString UnoMultiPageModel::getServiceName() throw(::com::sun::star::uno::RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
return ::rtl::OUString::createFromAscii( szServiceName_UnoMultiPageModel );
|
|
|
|
}
|
2003-03-27 16:05:12 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Any UnoMultiPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
|
|
|
|
{
|
|
|
|
if ( nPropId == BASEPROPERTY_DEFAULTCONTROL )
|
2007-06-20 09:25:44 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= ::rtl::OUString::createFromAscii( szServiceName_UnoMultiPageControl );
|
|
|
|
return aAny;
|
2007-06-20 09:25:44 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
return UnoControlDialogModel::ImplGetDefaultValue( nPropId );
|
2007-06-20 09:25:44 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::cppu::IPropertyArrayHelper& UnoMultiPageModel::getInfoHelper()
|
2007-06-20 09:25:44 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
static UnoPropertyArrayHelper* pHelper = NULL;
|
|
|
|
if ( !pHelper )
|
2007-06-20 09:25:44 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
|
|
|
|
pHelper = new UnoPropertyArrayHelper( aIDs );
|
2007-06-20 09:25:44 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
return *pHelper;
|
|
|
|
}
|
2007-11-26 15:27:22 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// beans::XMultiPropertySet
|
|
|
|
uno::Reference< beans::XPropertySetInfo > UnoMultiPageModel::getPropertySetInfo( ) throw(uno::RuntimeException)
|
|
|
|
{
|
|
|
|
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
|
|
|
|
return xInfo;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoMultiPageModel::insertByName( const ::rtl::OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XServiceInfo > xInfo;
|
|
|
|
aElement >>= xInfo;
|
|
|
|
|
|
|
|
if ( !xInfo.is() )
|
|
|
|
throw IllegalArgumentException();
|
|
|
|
|
|
|
|
// Only a Page model can be inserted into the multipage
|
|
|
|
if ( !xInfo->supportsService( rtl::OUString::createFromAscii( szServiceName_UnoPageModel ) ) )
|
|
|
|
throw IllegalArgumentException();
|
|
|
|
|
|
|
|
return UnoControlDialogModel::insertByName( aName, aElement );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
sal_Bool SAL_CALL UnoMultiPageModel::getGroupControl( ) throw (RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
return sal_True;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ----------------------------------------------------
|
|
|
|
// class UnoPageControl
|
|
|
|
// ----------------------------------------------------
|
|
|
|
UnoPageControl::UnoPageControl()
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
maComponentInfos.nWidth = 280;
|
|
|
|
maComponentInfos.nHeight = 400;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoPageControl::~UnoPageControl()
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoPageControl::GetComponentServiceName()
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-22 22:47:26 +01:00
|
|
|
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("tabpage"));
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
|
|
|
|
// ------------- UnoPageModel -----------------
|
|
|
|
|
|
|
|
UnoPageModel::UnoPageModel() : UnoControlDialogModel( false )
|
2007-07-18 07:43:40 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_DEFAULTCONTROL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_BACKGROUNDCOLOR );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLED );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLEVISIBLE );
|
2008-03-05 15:32:45 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
ImplRegisterProperty( BASEPROPERTY_FONTDESCRIPTOR );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPTEXT );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPURL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_TITLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_SIZEABLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_PRINTABLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_USERFORMCONTAINEES );
|
|
|
|
// ImplRegisterProperty( BASEPROPERTY_DIALOGSOURCEURL );
|
2008-03-05 15:32:45 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
Any aBool;
|
|
|
|
aBool <<= (sal_Bool) sal_True;
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_MOVEABLE, aBool );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_CLOSEABLE, aBool );
|
|
|
|
//ImplRegisterProperty( BASEPROPERTY_TABSTOP, aBool );
|
|
|
|
}
|
2007-07-18 07:43:40 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoPageModel::UnoPageModel( const UnoPageModel& rModel )
|
|
|
|
: UnoControlDialogModel( rModel )
|
|
|
|
{
|
|
|
|
}
|
2007-07-18 07:43:40 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoPageModel::~UnoPageModel()
|
|
|
|
{
|
2007-07-18 07:43:40 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoControlModel*
|
|
|
|
UnoPageModel::Clone() const
|
2007-07-18 07:43:40 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
// clone the container itself
|
|
|
|
UnoPageModel* pClone = new UnoPageModel( *this );
|
2007-07-18 07:43:40 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// clone all children
|
|
|
|
::std::for_each(
|
|
|
|
maModels.begin(), maModels.end(),
|
|
|
|
CloneControlModel( pClone->maModels )
|
|
|
|
);
|
2007-07-18 07:43:40 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
return pClone;
|
2007-07-18 07:43:40 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoPageModel::getServiceName() throw(::com::sun::star::uno::RuntimeException)
|
2007-07-18 07:43:40 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
return ::rtl::OUString::createFromAscii( szServiceName_UnoPageModel );
|
2007-07-18 07:43:40 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Any UnoPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
|
2007-07-18 07:43:40 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
if ( nPropId == BASEPROPERTY_DEFAULTCONTROL )
|
|
|
|
{
|
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= ::rtl::OUString::createFromAscii( szServiceName_UnoPageControl );
|
|
|
|
return aAny;
|
|
|
|
}
|
|
|
|
return UnoControlDialogModel::ImplGetDefaultValue( nPropId );
|
2007-07-18 07:43:40 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::cppu::IPropertyArrayHelper& UnoPageModel::getInfoHelper()
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
static UnoPropertyArrayHelper* pHelper = NULL;
|
|
|
|
if ( !pHelper )
|
2007-11-26 15:27:22 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
|
|
|
|
pHelper = new UnoPropertyArrayHelper( aIDs );
|
2007-11-26 15:27:22 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
return *pHelper;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// beans::XMultiPropertySet
|
|
|
|
uno::Reference< beans::XPropertySetInfo > UnoPageModel::getPropertySetInfo( ) throw(uno::RuntimeException)
|
2007-01-02 14:34:44 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
|
|
|
|
return xInfo;
|
|
|
|
}
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
sal_Bool SAL_CALL UnoPageModel::getGroupControl( ) throw (RuntimeException)
|
|
|
|
{
|
|
|
|
return sal_False;
|
|
|
|
}
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// Frame control
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ----------------------------------------------------
|
|
|
|
// class UnoFrameControl
|
|
|
|
// ----------------------------------------------------
|
|
|
|
UnoFrameControl::UnoFrameControl()
|
|
|
|
{
|
|
|
|
maComponentInfos.nWidth = 280;
|
|
|
|
maComponentInfos.nHeight = 400;
|
2007-01-02 14:34:44 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoFrameControl::~UnoFrameControl()
|
2007-01-02 14:34:44 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoFrameControl::GetComponentServiceName()
|
|
|
|
{
|
2010-11-22 22:47:26 +01:00
|
|
|
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("frame"));
|
2010-11-03 23:10:43 +00:00
|
|
|
}
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
void UnoFrameControl::ImplSetPosSize( Reference< XControl >& rxCtrl )
|
|
|
|
{
|
|
|
|
bool bOwnCtrl = false;
|
|
|
|
rtl::OUString sTitle;
|
|
|
|
if ( rxCtrl.get() == Reference<XControl>( this ).get() )
|
|
|
|
bOwnCtrl = true;
|
|
|
|
Reference< XPropertySet > xProps( getModel(), UNO_QUERY );
|
|
|
|
//xProps->getPropertyValue( GetPropertyName( BASEPROPERTY_TITLE ) ) >>= sTitle;
|
|
|
|
xProps->getPropertyValue( GetPropertyName( BASEPROPERTY_LABEL ) ) >>= sTitle;
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoParentControl::ImplSetPosSize( rxCtrl );
|
|
|
|
Reference < XWindow > xW( rxCtrl, UNO_QUERY );
|
|
|
|
if ( !bOwnCtrl && xW.is() && sTitle.getLength() )
|
2007-02-12 13:48:33 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
awt::Rectangle aSizePos = xW->getPosSize();
|
2007-01-02 14:34:44 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Int32 nX = aSizePos.X, nY = aSizePos.Y, nWidth = aSizePos.Width, nHeight = aSizePos.Height;
|
|
|
|
// Retrieve the values set by the base class
|
|
|
|
OutputDevice*pOutDev = Application::GetDefaultDevice();
|
|
|
|
if ( pOutDev )
|
2007-01-29 15:25:48 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
if ( !bOwnCtrl && sTitle.getLength() )
|
2007-01-29 15:25:48 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
// Adjust Y based on height of Title
|
|
|
|
::Rectangle aRect = pOutDev->GetTextRect( aRect, sTitle );
|
|
|
|
nY = nY + ( aRect.GetHeight() / 2 );
|
2007-01-29 15:25:48 +00:00
|
|
|
}
|
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
else
|
2007-02-12 13:48:33 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
Reference< XWindowPeer > xPeer = ImplGetCompatiblePeer( sal_True );
|
|
|
|
Reference< XDevice > xD( xPeer, UNO_QUERY );
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
SimpleFontMetric aFM;
|
|
|
|
FontDescriptor aFD;
|
|
|
|
Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_FONTDESCRIPTOR ) );
|
|
|
|
aVal >>= aFD;
|
|
|
|
if ( aFD.StyleName.getLength() )
|
|
|
|
{
|
|
|
|
Reference< XFont > xFont = xD->getFont( aFD );
|
|
|
|
aFM = xFont->getFontMetric();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Reference< XGraphics > xG = xD->createGraphics();
|
|
|
|
aFM = xG->getFontMetric();
|
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
sal_Int16 nH = aFM.Ascent + aFM.Descent;
|
|
|
|
if ( !bOwnCtrl && sTitle.getLength() )
|
|
|
|
// offset y based on height of font ( not sure if my guess at the correct calculation is correct here )
|
|
|
|
nY = nY + ( nH / 8); // how do I test this
|
|
|
|
}
|
|
|
|
xW->setPosSize( nX, nY, nWidth, nHeight, PosSize::POSSIZE );
|
2007-02-12 13:48:33 +00:00
|
|
|
}
|
2010-11-02 16:55:17 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// ------------- UnoFrameModel -----------------
|
2010-11-02 16:55:17 +00:00
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoFrameModel::UnoFrameModel() : UnoControlDialogModel( false )
|
|
|
|
{
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_DEFAULTCONTROL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_BACKGROUNDCOLOR );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLED );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_ENABLEVISIBLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_FONTDESCRIPTOR );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPTEXT );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_HELPURL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_PRINTABLE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_LABEL );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_WRITING_MODE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_CONTEXT_WRITING_MODE );
|
|
|
|
ImplRegisterProperty( BASEPROPERTY_USERFORMCONTAINEES );
|
2007-01-02 14:34:44 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoFrameModel::UnoFrameModel( const UnoFrameModel& rModel )
|
|
|
|
: UnoControlDialogModel( rModel )
|
2010-06-11 13:01:41 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoFrameModel::~UnoFrameModel()
|
2010-06-11 13:01:41 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
UnoControlModel*
|
|
|
|
UnoFrameModel::Clone() const
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
// clone the container itself
|
|
|
|
UnoFrameModel* pClone = new UnoFrameModel( *this );
|
|
|
|
|
|
|
|
// clone all children
|
|
|
|
::std::for_each(
|
|
|
|
maModels.begin(), maModels.end(),
|
|
|
|
CloneControlModel( pClone->maModels )
|
|
|
|
);
|
|
|
|
|
|
|
|
return pClone;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::rtl::OUString UnoFrameModel::getServiceName() throw(::com::sun::star::uno::RuntimeException)
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
return ::rtl::OUString::createFromAscii( szServiceName_UnoFrameModel );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Any UnoFrameModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
if ( nPropId == BASEPROPERTY_DEFAULTCONTROL )
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Any aAny;
|
|
|
|
aAny <<= ::rtl::OUString::createFromAscii( szServiceName_UnoFrameControl );
|
|
|
|
return aAny;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
return UnoControlDialogModel::ImplGetDefaultValue( nPropId );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
::cppu::IPropertyArrayHelper& UnoFrameModel::getInfoHelper()
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
static UnoPropertyArrayHelper* pHelper = NULL;
|
|
|
|
if ( !pHelper )
|
2003-03-27 16:05:12 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
uno::Sequence<sal_Int32> aIDs = ImplGetPropertyIds();
|
|
|
|
pHelper = new UnoPropertyArrayHelper( aIDs );
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
2010-11-03 23:10:43 +00:00
|
|
|
return *pHelper;
|
2003-03-27 16:05:12 +00:00
|
|
|
}
|
|
|
|
|
2010-11-03 23:10:43 +00:00
|
|
|
// beans::XMultiPropertySet
|
|
|
|
uno::Reference< beans::XPropertySetInfo > UnoFrameModel::getPropertySetInfo( ) throw(uno::RuntimeException)
|
2007-11-26 15:27:22 +00:00
|
|
|
{
|
2010-11-03 23:10:43 +00:00
|
|
|
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
|
|
|
|
return xInfo;
|
2007-11-26 15:27:22 +00:00
|
|
|
}
|
|
|
|
|
2010-10-14 08:27:31 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|