summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-26 17:51:23 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-27 13:34:23 +0200
commit6fcac7dfc4f2ad85e08aea781cfab28443e3781e (patch)
treefbbf82cb46dde6f13b6f5f11664c2c908b5709e1
parente5c28b86bed03c70bbe3054ccfcc6cb96291c580 (diff)
Remove unused include files
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
-rw-r--r--autodoc/inc/ary/info/docstore.hxx110
-rw-r--r--autodoc/source/ary/inc/loc_internalgate.hxx57
-rw-r--r--autodoc/source/ary/inc/sortedids.hxx231
-rw-r--r--bridges/inc/bridges/cpp_uno/type_misc.hxx123
-rw-r--r--canvas/source/cairo/cairo_spritesurface.hxx64
-rw-r--r--canvas/source/tools/imagecachedprimitive.hxx60
-rw-r--r--chart2/source/inc/servicenames_dlwrapper.hxx35
-rw-r--r--chart2/source/model/inc/DataSeriesTree.hxx85
-rw-r--r--connectivity/source/drivers/hsqldb/HStorage.hxx111
-rw-r--r--connectivity/source/inc/UStringDescription_Impl.hxx99
-rw-r--r--connectivity/source/inc/ado/ACollection.hxx224
-rw-r--r--connectivity/source/inc/ado/AIndexColumn.hxx51
-rw-r--r--connectivity/source/inc/ado/AKeyColumn.hxx51
-rw-r--r--connectivity/source/inc/ado/AKeyColumns.hxx48
-rw-r--r--connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx186
-rw-r--r--connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx101
-rw-r--r--cosv/inc/cosv/tpl/funcall.hxx301
-rw-r--r--desktop/source/app/appinit.hxx44
-rw-r--r--extensions/source/propctrlr/stlops.hxx63
-rw-r--r--forms/source/xforms/xforms_services.hxx46
-rw-r--r--formula/inc/AddressConvention.hxx32
-rw-r--r--fpicker/source/win32/filepicker/propmap.hxx104
-rw-r--r--framework/inc/classes/servicemanager.hxx282
-rw-r--r--framework/inc/dispatch/blankdispatcher.hxx123
-rw-r--r--framework/inc/dispatch/createdispatcher.hxx121
-rw-r--r--framework/inc/dispatch/selfdispatcher.hxx106
-rw-r--r--framework/inc/helper/fixeddocumentproperties.hxx60
-rw-r--r--framework/inc/helper/otasksaccess.hxx248
-rw-r--r--framework/inc/helper/otasksenumeration.hxx264
-rw-r--r--framework/inc/helper/timerhelper.hxx46
-rw-r--r--framework/inc/macros/debug/memorymeasure.hxx224
-rw-r--r--framework/inc/services/detectorfactory.hxx460
-rw-r--r--framework/inc/services/pluginframe.hxx367
-rw-r--r--framework/source/inc/pattern/storages.hxx96
-rw-r--r--i18npool/inc/cclass_cjk.hxx89
-rw-r--r--lotuswordpro/source/filter/xfilter/xfconditionformat.hxx72
-rw-r--r--lotuswordpro/source/filter/xfilter/xfframetable.hxx89
-rw-r--r--lotuswordpro/source/filter/xfilter/xfpvector.hxx98
-rw-r--r--lotuswordpro/source/filter/xfilter/xfstylefamily.hxx74
-rw-r--r--lotuswordpro/source/filter/xfilter/xfsubject.hxx83
-rw-r--r--lotuswordpro/source/filter/xfilter/xftitle.hxx87
-rw-r--r--reportdesign/source/filter/xml/xmlRow.hxx57
-rw-r--r--sax/inc/sax/parser/saxparser.hxx141
-rw-r--r--sc/source/ui/inc/fuedipo.hxx53
-rw-r--r--sd/inc/movedef.hxx35
-rw-r--r--sd/inc/sd_primitivetypes2d.hxx41
-rw-r--r--sd/source/ui/inc/3dchld.hxx43
-rw-r--r--sd/source/ui/inc/CustomAnimation.hxx34
-rw-r--r--sd/source/ui/inc/ViewTabControl.hxx113
-rw-r--r--sd/source/ui/inc/fugrid.hxx52
-rw-r--r--sd/source/ui/inc/unslsel.hxx44
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx313
-rw-r--r--sd/source/ui/toolpanel/ControlList.hxx53
-rw-r--r--sd/source/ui/toolpanel/ToolPanelDescriptor.hxx83
-rw-r--r--sfx2/inc/progind.hxx76
-rw-r--r--sfx2/source/inc/hexplwnd.hxx94
-rw-r--r--sfx2/source/inc/mailmodel.hxx107
-rw-r--r--sfx2/source/inc/tplcomp.hxx208
-rw-r--r--soltools/inc/st_types.hxx33
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.hxx56
-rw-r--r--svtools/inc/svtools/ttprops.hxx101
-rw-r--r--svtools/source/inc/msgrd.hxx31
-rw-r--r--svtools/source/inc/msgwr.hxx31
-rw-r--r--svx/inc/dgdefs_.hxx335
-rw-r--r--svx/inc/drawuiks.hxx67
-rw-r--r--svx/inc/lightdlg.hxx75
-rw-r--r--svx/inc/sjctrl.hxx588
-rw-r--r--svx/inc/svx/hyprlink.hxx36
-rw-r--r--svx/source/dialog/hyprdlg.hxx136
-rw-r--r--svx/source/inc/fmgroup.hxx120
-rw-r--r--sw/inc/fldinit.hxx39
-rw-r--r--sw/inc/inetfld.hxx108
-rw-r--r--sw/inc/newhdl.hxx64
-rw-r--r--sw/inc/pageiter.hxx46
-rw-r--r--sw/inc/redlnaut.hxx48
-rw-r--r--sw/inc/swgstr.hxx152
-rw-r--r--sw/source/core/inc/drawdev.hxx115
-rw-r--r--sw/source/core/inc/toxhlp.hxx78
-rw-r--r--sw/source/filter/inc/fltbase.hxx118
-rw-r--r--sw/source/ui/inc/cfgdesc.hxx62
-rw-r--r--ucb/source/ucp/ftp/test_interactionhandler.hxx69
-rw-r--r--unotools/inc/unotools/useroptions_const.hxx37
-rw-r--r--uui/source/mphndl.hxx89
-rw-r--r--vcl/inc/aqua/aquavclevents.hxx90
-rw-r--r--vcl/inc/aqua/salfontutils.hxx59
-rw-r--r--vcl/inc/unx/tde/tdedata.hxx114
-rw-r--r--vcl/unx/generic/gdi/dtsetenum.hxx140
-rw-r--r--xmlhelp/source/cxxhelp/inc/db/EntryProcessor.hxx44
-rw-r--r--xmlhelp/source/cxxhelp/inc/util/ConceptList.hxx64
-rw-r--r--xmloff/inc/xmloff/PropertySetInfoKey.hxx61
90 files changed, 0 insertions, 9968 deletions
diff --git a/autodoc/inc/ary/info/docstore.hxx b/autodoc/inc/ary/info/docstore.hxx
deleted file mode 100644
index 95c96784c9b7..000000000000
--- a/autodoc/inc/ary/info/docstore.hxx
+++ /dev/null
@@ -1,110 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef ARY_INFO_DOCSTORE_HXX
-#define ARY_INFO_DOCSTORE_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
- // PARAMETERS
-#include <ary/info/inftypes.hxx>
-
-namespace ary
-{
-namespace doc
-{
- class Node;
-}
-
-
-
-namespace info
-{
-
-class DocuStore
-{
- public:
- virtual ~DocuStore() {}
-
- void Store2CurFile(
- DYN doc::Node & let_drDocu );
- void Store2CurNamespace(
- DYN doc::Node & let_drDocu );
-
- void Store2ConnectedDeclaration(
- DYN doc::Node & let_drDocu );
-
- void Store2Glossary(
- DYN doc::Node & let_drDocu,
- const String & i_sExplainedTerm );
- void Store2GlobalTexts(
- DYN doc::Node & let_drDocu,
- ary::info::GlobalTextId
- i_nId );
- private:
- virtual void do_Store2CurFile(
- DYN doc::Node & let_drDocu ) = 0;
- virtual void do_Store2CurNamespace(
- DYN doc::Node & let_drDocu ) = 0;
-
- virtual void do_Store2ConnectedDeclaration(
- DYN doc::Node & let_drDocu ) = 0;
-
- virtual void do_Store2Glossary(
- DYN doc::Node & let_drDocu,
- const String & i_sExplainedTerm ) = 0;
- virtual void do_Store2GlobalTexts(
- DYN doc::Node & let_drDocu,
- ary::info::GlobalTextId
- i_nId ) = 0;
-};
-
-
-
-
-// IMPLEMENTATION
-inline void
-DocuStore::Store2CurFile( DYN doc::Node & let_drDocu )
- { do_Store2CurFile(let_drDocu); }
-inline void
-DocuStore::Store2CurNamespace( DYN doc::Node & let_drDocu )
- { do_Store2CurNamespace(let_drDocu); }
-inline void
-DocuStore::Store2ConnectedDeclaration( DYN doc::Node & let_drDocu )
- { do_Store2ConnectedDeclaration(let_drDocu); }
-inline void
-DocuStore::Store2Glossary( DYN doc::Node & let_drDocu,
- const String & i_sExplainedTerm )
- { do_Store2Glossary(let_drDocu, i_sExplainedTerm); }
-inline void
-DocuStore::Store2GlobalTexts( DYN doc::Node & let_drDocu,
- ary::info::GlobalTextId i_nId )
- { do_Store2GlobalTexts(let_drDocu, i_nId); }
-
-
-
-
-} // namespace info
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/source/ary/inc/loc_internalgate.hxx b/autodoc/source/ary/inc/loc_internalgate.hxx
deleted file mode 100644
index 22a5d0289ef4..000000000000
--- a/autodoc/source/ary/inc/loc_internalgate.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef ARY_LOC_INTERNALGATE_HXX
-#define ARY_LOC_INTERNALGATE_HXX
-
-// USED SERVICES
-
-namespace ary
-{
-namespace loc
-{
- class LocationPilot;
-}
-}
-
-
-
-
-namespace ary
-{
-namespace loc
-{
-
-
-/** Additional access to locations for the repository implementation.
-*/
-class InternalGate
-{
- public:
-
- static DYN LocationPilot &
- Create_Locations_();
-};
-
-
-} // namespace loc
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/source/ary/inc/sortedids.hxx b/autodoc/source/ary/inc/sortedids.hxx
deleted file mode 100644
index 7d6c6e43e0fa..000000000000
--- a/autodoc/source/ary/inc/sortedids.hxx
+++ /dev/null
@@ -1,231 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef ARY_SORTEDIDS_HXX
-#define ARY_SORTEDIDS_HXX
-
-
-// USED SERVICES
-#include <algorithm>
-#include <cosv/tpl/range.hxx>
-
-
-
-
-namespace ary
-{
-
-
-/** Implementation of a set of children to an entity in the Autodoc
- repository. The children are sorted.
-
- @tpl COMPARE
- Needs to provide types:
- entity_base_type
- id_type
- key_type
-
- and functions:
- static entity_base_type &
- EntityOf_(
- id_type i_id );
- static const key_type &
- KeyOf_(
- const entity_type & i_entity );
- static bool Lesser_(
- const key_type & i_1,
- const key_type & i_2 );
-*/
-template<class COMPARE>
-class SortedIds
-{
- public:
- typedef typename COMPARE::id_type element_t;
- typedef typename COMPARE::key_type key_t;
- typedef std::vector<element_t> data_t;
- typedef typename data_t::const_iterator const_iterator;
- typedef typename data_t::iterator iterator;
- typedef csv::range<const_iterator> search_result_t;
-
- // LIFECYCLE
- explicit SortedIds(
- std::size_t i_reserve = 0 );
- ~SortedIds();
-
- // OPERATIONS
- void Add(
- element_t i_elem );
- // INQUIRY
- const_iterator Begin() const;
- const_iterator End() const;
-
- element_t Search(
- const key_t & i_key ) const;
- search_result_t SearchAll(
- const key_t & i_key ) const;
- const_iterator LowerBound(
- const key_t & i_key ) const;
-
- private:
- typedef typename COMPARE::entity_base_type entity_t;
-
- // Locals
- iterator LowerBound(
- const key_t & i_key );
-
- static const key_t &
- KeyOf_(
- element_t i_child );
- template <class ITER>
- static ITER impl_LowerBound_(
- ITER i_begin,
- ITER i_end,
- const key_t & i_key );
-
- // DATA
- data_t aData;
-};
-
-
-
-
-// IMPLEMENTATION
-template<class COMPARE>
-inline const typename SortedIds<COMPARE>::key_t &
-SortedIds<COMPARE>::KeyOf_(element_t i_child)
-{
- return COMPARE::KeyOf_(COMPARE::EntityOf_(i_child));
-}
-
-template<class COMPARE>
-SortedIds<COMPARE>::SortedIds(std::size_t i_reserve)
- : aData()
-{
- if (i_reserve > 0)
- aData.reserve(i_reserve);
-}
-
-template<class COMPARE>
-SortedIds<COMPARE>::~SortedIds()
-{
-}
-
-template<class COMPARE>
-void
-SortedIds<COMPARE>::Add(element_t i_elem)
-{
- aData.insert( LowerBound( KeyOf_(i_elem) ),
- i_elem );
-}
-
-template<class COMPARE>
-inline typename SortedIds<COMPARE>::const_iterator
-SortedIds<COMPARE>::Begin() const
-{
- return aData.begin();
-}
-
-template<class COMPARE>
-inline typename SortedIds<COMPARE>::const_iterator
-SortedIds<COMPARE>::End() const
-{
- return aData.end();
-}
-
-template<class COMPARE>
-typename SortedIds<COMPARE>::element_t
-SortedIds<COMPARE>::Search(const key_t & i_key) const
-{
- const_iterator
- ret = LowerBound(i_key);
- return ret != aData.end() AND NOT COMPARE::Lesser_(i_key, KeyOf_(*ret))
- ? *ret
- : element_t(0);
-}
-
-template<class COMPARE>
-typename SortedIds<COMPARE>::search_result_t
-SortedIds<COMPARE>::SearchAll(const key_t & i_key) const
-{
- const_iterator
- r1 = LowerBound(i_key);
- const_iterator
- r2 = r1;
- while ( r2 != aData.end()
- AND NOT COMPARE::Lesser_(i_key, KeyOf_(*r2)) )
- {
- ++r2;
- }
-
- return csv::make_range(r1,r2);
-}
-
-template<class COMPARE>
-inline typename SortedIds<COMPARE>::const_iterator
-SortedIds<COMPARE>::LowerBound(const key_t & i_key) const
-{
- return impl_LowerBound_( aData.begin(),
- aData.end(),
- i_key );
-}
-
-template<class COMPARE>
-inline typename SortedIds<COMPARE>::iterator
-SortedIds<COMPARE>::LowerBound(const key_t & i_key)
-{
- return impl_LowerBound_( aData.begin(),
- aData.end(),
- i_key );
-}
-
-template<class COMPARE>
-template <class ITER>
-ITER
-SortedIds<COMPARE>::impl_LowerBound_( ITER i_begin,
- ITER i_end,
- const key_t & i_key )
-{
- ITER i1 = i_begin;
- ITER i2 = i_end;
-
- for ( ITER it = i1 + (i2-i1)/2;
- i1 != i2;
- it = i1 + (i2-i1)/2 )
- {
- if ( COMPARE::Lesser_(KeyOf_(*it), i_key) )
- {
- i1 = it;
- ++i1;
- }
- else
- {
- i2 = it;
- }
- } // end for
-
- return i1;
-}
-
-
-
-
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bridges/inc/bridges/cpp_uno/type_misc.hxx b/bridges/inc/bridges/cpp_uno/type_misc.hxx
deleted file mode 100644
index d2353d06eba5..000000000000
--- a/bridges/inc/bridges/cpp_uno/type_misc.hxx
+++ /dev/null
@@ -1,123 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _BRIDGES_CPP_UNO_TYPE_MISC_HXX_
-#define _BRIDGES_CPP_UNO_TYPE_MISC_HXX_
-
-#include <sal/types.h>
-#include <typelib/typedescription.h>
-
-
-/** Determines whether given type might relate or relates to an interface,
- i.e. values of this type are interface or may contain interface(s).<br>
- @param pTypeDescr type description of type
- @return true if type might relate to an interface, false otherwise
-*/
-inline bool cppu_relatesToInterface( typelib_TypeDescription * pTypeDescr ) SAL_THROW(())
-{
- switch (pTypeDescr->eTypeClass)
- {
-// case typelib_TypeClass_TYPEDEF:
- case typelib_TypeClass_SEQUENCE:
- {
- switch (((typelib_IndirectTypeDescription *)pTypeDescr)->pType->eTypeClass)
- {
- case typelib_TypeClass_INTERFACE:
- case typelib_TypeClass_UNION: // might relate to interface
- case typelib_TypeClass_ANY: // might relate to interface
- return true;
- case typelib_TypeClass_SEQUENCE:
- case typelib_TypeClass_STRUCT:
- case typelib_TypeClass_EXCEPTION:
- {
- typelib_TypeDescription * pTD = 0;
- TYPELIB_DANGER_GET( &pTD, ((typelib_IndirectTypeDescription *)pTypeDescr)->pType );
- bool bRel = cppu_relatesToInterface( pTD );
- TYPELIB_DANGER_RELEASE( pTD );
- return bRel;
- }
- default:
- return false;
- }
- }
- case typelib_TypeClass_STRUCT:
- case typelib_TypeClass_EXCEPTION:
- {
- // ...optimized... to avoid getDescription() calls!
- typelib_CompoundTypeDescription * pComp = (typelib_CompoundTypeDescription *)pTypeDescr;
- typelib_TypeDescriptionReference ** pTypes = pComp->ppTypeRefs;
- for ( sal_Int32 nPos = pComp->nMembers; nPos--; )
- {
- switch (pTypes[nPos]->eTypeClass)
- {
- case typelib_TypeClass_INTERFACE:
- case typelib_TypeClass_UNION: // might relate to interface
- case typelib_TypeClass_ANY: // might relate to interface
- return true;
-// case typelib_TypeClass_TYPEDEF:
- case typelib_TypeClass_SEQUENCE:
- case typelib_TypeClass_STRUCT:
- case typelib_TypeClass_EXCEPTION:
- {
- typelib_TypeDescription * pTD = 0;
- TYPELIB_DANGER_GET( &pTD, pTypes[nPos] );
- bool bRel = cppu_relatesToInterface( pTD );
- TYPELIB_DANGER_RELEASE( pTD );
- if (bRel)
- return true;
- }
- default:
- break;
- }
- }
- if (pComp->pBaseTypeDescription)
- return cppu_relatesToInterface( (typelib_TypeDescription *)pComp->pBaseTypeDescription );
- return false;
- }
- case typelib_TypeClass_UNION: // might relate to interface
- case typelib_TypeClass_ANY: // might relate to interface
- case typelib_TypeClass_INTERFACE:
- return true;
- default:
- return false;
- }
-}
-
-/** Determines whether given type is a cpp simple type, e.g. int, enum.<br>
- @param eTypeClass type class of type
- @return true if type is a cpp simple type, false otherwise
-*/
-inline bool cppu_isSimpleType( typelib_TypeClass eTypeClass ) SAL_THROW(())
-{
- return (eTypeClass <= typelib_TypeClass_ENUM &&
- eTypeClass != typelib_TypeClass_STRING &&
- eTypeClass != typelib_TypeClass_ANY &&
- eTypeClass != typelib_TypeClass_TYPE);
-}
-/** Determines whether given type is a cpp simple type, e.g. int, enum.<br>
- @param pTypeDescr type description of type
- @return true if type is a cpp simple type, false otherwise
-*/
-inline bool cppu_isSimpleType( typelib_TypeDescription * pTypeDescr ) SAL_THROW(())
-{
- return cppu_isSimpleType( pTypeDescr->eTypeClass );
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_spritesurface.hxx b/canvas/source/cairo/cairo_spritesurface.hxx
deleted file mode 100644
index bf938697514f..000000000000
--- a/canvas/source/cairo/cairo_spritesurface.hxx
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _VCLCANVAS_SPRITESURFACE_HXX
-#define _VCLCANVAS_SPRITESURFACE_HXX
-
-#include <sal/config.h>
-
-#include "cairo_sprite.hxx"
-
-class Point;
-class Size;
-class Rectangle;
-
-namespace cairocanvas
-{
- /* Definition of SpriteSurface interface */
-
- class SpriteSurface
- {
- public:
- virtual ~SpriteSurface() {}
-
- // call this when XSprite::show() is called
- virtual void showSprite( const Sprite::ImplRef& sprite ) = 0;
-
- // call this when XSprite::hide() is called
- virtual void hideSprite( const Sprite::ImplRef& sprite ) = 0;
-
- // call this when XSprite::move() is called
- virtual void moveSprite( const Sprite::ImplRef& sprite,
- const Point& rOldPos,
- const Point& rNewPos,
- const Size& rSpriteSize ) = 0;
-
- // call this when some part of your sprite has changed. That
- // includes show/hide´, i.e. for show, both showSprite and
- // updateSprite must be called.
- virtual void updateSprite( const Sprite::ImplRef& sprite,
- const Point& rPos,
- const Rectangle& rUpdateArea ) = 0;
-
- };
-}
-
-#endif /* _VCLCANVAS_SPRITESURFACE_HXX */
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/tools/imagecachedprimitive.hxx b/canvas/source/tools/imagecachedprimitive.hxx
deleted file mode 100644
index 59cf43ac4ee5..000000000000
--- a/canvas/source/tools/imagecachedprimitive.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef INCLUDED_CANVAS_IMAGECACHEDPRIMITIVE_HXX
-#define INCLUDED_CANVAS_IMAGECACHEDPRIMITIVE_HXX
-
-#include <canvas/rendering/icachedprimitive.hxx>
-
-#include <boost/shared_ptr.hpp>
-
-
-namespace canvas
-{
- /** Objects with this interface are returned from every Image
- render operation.
-
- These objects can be used to implement the
- rendering::XCachedPrimitive interface, which in turn caches
- render state and objects to facilitate quick redraws.
-
- Derived from ICachedPrimitive, to add the setImage() method
- (which, strictly speaking, is a technicality, because Image
- cannot create objects with a shared_ptr to itself).
- */
- struct ImageCachedPrimitive : public ICachedPrimitive
- {
- virtual void setImage( const ::boost::shared_ptr< class Image >& rTargetImage ) = 0;
- };
-
- typedef ::boost::shared_ptr< ImageCachedPrimitive > ImageCachedPrimitiveSharedPtr;
-}
-
-#endif /* INCLUDED_CANVAS_IMAGECACHEDPRIMITIVE_HXX */
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/inc/servicenames_dlwrapper.hxx b/chart2/source/inc/servicenames_dlwrapper.hxx
deleted file mode 100644
index 7dff22df208b..000000000000
--- a/chart2/source/inc/servicenames_dlwrapper.hxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _CHART2_SERVICENAMES_DLWRAPPER_HXX
-#define _CHART2_SERVICENAMES_DLWRAPPER_HXX
-
-//.............................................................................
-namespace chart
-{
-//.............................................................................
-
-#define CHART2_VIEW_DLWRAPPER_SERVICE_IMPLEMENTATION_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.DrawModelWrapper" ))
-#define CHART2_VIEW_DLWRAPPER_SERVICE_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.DrawModelWrapper" ))
-
-//.............................................................................
-} //namespace chart
-//.............................................................................
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/inc/DataSeriesTree.hxx b/chart2/source/model/inc/DataSeriesTree.hxx
deleted file mode 100644
index b47910b87269..000000000000
--- a/chart2/source/model/inc/DataSeriesTree.hxx
+++ /dev/null
@@ -1,85 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef CHART_DATASERIESTREE_HXX
-#define CHART_DATASERIESTREE_HXX
-
-#include <cppuhelper/implbase2.hxx>
-
-#include "ServiceMacros.hxx"
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/chart2/XDataSeriesTreeParent.hpp>
-
-#include <vector>
-
-namespace chart
-{
-
-class DataSeriesTree : public
- ::cppu::WeakImplHelper2<
- ::com::sun::star::lang::XServiceInfo,
- ::com::sun::star::chart2::XDataSeriesTreeParent >
-{
-public:
- DataSeriesTree( const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext > & xContext );
- virtual ~DataSeriesTree();
-
- /// declare XServiceInfo methods
- APPHELPER_XSERVICEINFO_DECL()
- /// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( DataSeriesTree )
-
-protected:
-
- // ____ XDataSeriesTreeParent ____
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeriesTreeNode > >
- SAL_CALL getChildren()
- throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setChildren(
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeriesTreeNode > >& aNewChildren )
- throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL addChild(
- const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeriesTreeNode >& aNode )
- throw (::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removeChild(
- const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeriesTreeNode >& aNode )
- throw (::com::sun::star::container::NoSuchElementException,
- ::com::sun::star::uno::RuntimeException);
-
- // ____ XDataSeriesTreeNode ____
-
-private:
- typedef ::std::vector< ::com::sun::star::uno::Reference<
- ::com::sun::star::chart2::XDataSeriesTreeNode > >
- m_tChildType;
-
- m_tChildType m_aChildren;
-
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
- m_xContext;
-};
-
-} // namespace chart
-
-// CHART_DATASERIESTREE_HXX
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/hsqldb/HStorage.hxx b/connectivity/source/drivers/hsqldb/HStorage.hxx
deleted file mode 100644
index 4c216f9ad5fc..000000000000
--- a/connectivity/source/drivers/hsqldb/HStorage.hxx
+++ /dev/null
@@ -1,111 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef CONNECTIVITY_HSQLDB_STORAGE_HXX
-#define CONNECTIVITY_HSQLDB_STORAGE_HXX
-
-#include <cppuhelper/compbase6.hxx>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/io/XStream.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/io/XOutputStream.hpp>
-#include <com/sun/star/io/XSeekable.hpp>
-#include <com/sun/star/embed/XStorage.hpp>
-#include <com/sun/star/document/XDocumentSubStorageSupplier.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
-#include "connectivity/CommonTools.hxx"
-#include <comphelper/broadcasthelper.hxx>
-
-
-#define DECLARE_SERVICE_INFO_STATIC() \
- DECLARE_SERVICE_INFO(); \
- static ::rtl::OUString SAL_CALL getImplementationName_Static( ) throw (::com::sun::star::uno::RuntimeException); \
- static ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames_Static( ) throw(::com::sun::star::uno::RuntimeException); \
- static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > \
- SAL_CALL Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&) \
-
-
-namespace connectivity
-{
- namespace hsqldb
- {
- typedef ::cppu::WeakComponentImplHelper6< ::com::sun::star::io::XStream
- , ::com::sun::star::io::XInputStream
- , ::com::sun::star::io::XOutputStream
- , ::com::sun::star::io::XSeekable
- , ::com::sun::star::lang::XInitialization
- , ::com::sun::star::lang::XServiceInfo> OStorage_Base;
- class OStorage : public ::comphelper::OBaseMutex
- ,public OStorage_Base
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceFactory;
- ::com::sun::star::uno::Reference< ::com::sun::star::document::XDocumentSubStorageSupplier> m_xDS;
-
-
- ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage> m_xStorge;
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xStream;
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > m_xIn;
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > m_xOut;
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XSeekable > m_xSeek;
-
- OStorage(); // never implemented
- OStorage(const OStorage&); // never implemented
- int operator= (const OStorage&); // never implemented
-
- OStorage(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
- protected:
- /** this function is called upon disposing the component
- */
- virtual void SAL_CALL disposing();
- public:
- // ::com::sun::star::lang::XServiceInfo
- DECLARE_SERVICE_INFO_STATIC();
-
- // XInitialization
- virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
-
- // XStream
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getInputStream( ) throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > SAL_CALL getOutputStream( ) throw (::com::sun::star::uno::RuntimeException);
-
- // XInputStream
- virtual ::sal_Int32 SAL_CALL readBytes( ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nBytesToRead ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual ::sal_Int32 SAL_CALL readSomeBytes( ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nMaxBytesToRead ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL skipBytes( ::sal_Int32 nBytesToSkip ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual ::sal_Int32 SAL_CALL available( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL closeInput( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
-
- // XOutputStream
- virtual void SAL_CALL writeBytes( const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL flush( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL closeOutput( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
-
- // XSeekable
- virtual void SAL_CALL seek( ::sal_Int64 location ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual ::sal_Int64 SAL_CALL getPosition( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- virtual ::sal_Int64 SAL_CALL getLength( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
- };
- }
-// .......................................................................
-} // connectivity
-// .......................................................................
-#endif // CONNECTIVITY_HSQLDB_STORAGE_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/UStringDescription_Impl.hxx b/connectivity/source/inc/UStringDescription_Impl.hxx
deleted file mode 100644
index 8dc4ca60b8ef..000000000000
--- a/connectivity/source/inc/UStringDescription_Impl.hxx
+++ /dev/null
@@ -1,99 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef CONNECTIVITY_USTRINGDESCRIPTION_IMPL_HXX
-#define CONNECTIVITY_USTRINGDESCRIPTION_IMPL_HXX
-
-#define IMPLEMENT_CONSTASCII_USTRING(name) \
-UStringDescription name(connectivity::dbtools::get##name)
-
-UStringDescription::UStringDescription(PVFN _fCharFkt)
-{
- pZeroTerminatedName = (*_fCharFkt)();
- nLength = 0;
- const sal_Char* pIter = pZeroTerminatedName;
- while((*pIter++) != '\0')
- ++nLength;
-}
-// -------------------------------------------------------------------------
-UStringDescription::~UStringDescription()
-{
-}
-
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_QUERYTIMEOUT );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_MAXFIELDSIZE );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_MAXROWS );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CURSORNAME );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_RESULTSETCONCURRENCY );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_RESULTSETTYPE );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_FETCHDIRECTION );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_FETCHSIZE );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ESCAPEPROCESSING );
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_USEBOOKMARKS );
-
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_NAME);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_TYPE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_TYPENAME);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_PRECISION);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_SCALE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISNULLABLE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISAUTOINCREMENT);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISROWVERSION);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DESCRIPTION);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DEFAULTVALUE);
-
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_REFERENCEDTABLE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_UPDATERULE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DELETERULE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CATALOG);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISUNIQUE);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISPRIMARYKEYINDEX);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISCLUSTERED);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISASCENDING);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_SCHEMANAME);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CATALOGNAME);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_COMMAND);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CHECKOPTION);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_PASSWORD);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_RELATEDCOLUMN);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISSEARCHABLE);
-
-IMPLEMENT_CONSTASCII_USTRING(STAT_INVALID_INDEX);
-
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_FUNCTION);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_TABLENAME);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_REALNAME);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DBASEPRECISIONCHANGED);
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISCURRENCY);
-
-IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISBOOKMARKABLE);
-//============================================================
-//= error messages
-//============================================================
-IMPLEMENT_CONSTASCII_USTRING(ERRORMSG_SEQUENCE);
-IMPLEMENT_CONSTASCII_USTRING(SQLSTATE_SEQUENCE);
-IMPLEMENT_CONSTASCII_USTRING(SQLSTATE_GENERAL);
-//============================================================
-//= different
-//============================================================
-IMPLEMENT_CONSTASCII_USTRING(STR_DELIMITER);
-
-#endif // CONNECTIVITY_USTRINGDESCRIPTION_IMPL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ACollection.hxx b/connectivity/source/inc/ado/ACollection.hxx
deleted file mode 100644
index 937896e1e565..000000000000
--- a/connectivity/source/inc/ado/ACollection.hxx
+++ /dev/null
@@ -1,224 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_ADO_COLLECTION_HXX_
-#define _CONNECTIVITY_ADO_COLLECTION_HXX_
-
-#include <cppuhelper/implbase3.hxx>
-#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/container/XIndexAccess.hpp>
-#include "ado/Awrapadox.hxx"
-#include "ado/Aolevariant.hxx"
-#include <com/sun/star/lang/XServiceInfo.hpp>
-
-namespace connectivity
-{
- namespace ado
- {
- namespace starcontainer = ::com::sun::star::container;
- namespace starlang = ::com::sun::star::lang;
- namespace staruno = ::com::sun::star::uno;
- namespace starbeans = ::com::sun::star::beans;
-
- typedef ::cppu::WeakImplHelper3< starcontainer::XNameAccess,
- starcontainer::XIndexAccess,
- starlang::XServiceInfo> OCollectionBase;
-
- //************************************************************
- // OCollection
- //************************************************************
- template <class T,class SimT,class OCl> class OCollection : public OCollectionBase
- {
- private:
- OCollection( const OCollection& ); // never implemented
- OCollection& operator=( const OCollection& ); // never implemented
-
- protected:
- vector<OCl*> m_aElements;
- ::cppu::OWeakObject& m_rParent;
- ::osl::Mutex& m_rMutex; // mutex of the parent
- T* m_pCollection;
-
-
- public:
- OCollection(::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,T* _pCollection)
- : m_rParent(_rParent)
- ,m_rMutex(_rMutex)
- ,m_pCollection(_pCollection)
- {
- m_pCollection->AddRef();
- }
-
- ~OCollection()
- {
- m_pCollection->Release();
- }
-
- virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (staruno::RuntimeException)
- {
- return ::rtl::OUString("com.sun.star.sdbcx.ACollection");
- }
- virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& _rServiceName ) throw(staruno::RuntimeException)
- {
- staruno::Sequence< ::rtl::OUString > aSupported(getSupportedServiceNames());
- const ::rtl::OUString* pSupported = aSupported.getConstArray();
- for (sal_Int32 i=0; i<aSupported.getLength(); ++i, ++pSupported)
- if (pSupported->equals(_rServiceName))
- return sal_True;
-
- return sal_False;
- }
- virtual staruno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(staruno::RuntimeException)
- {
- staruno::Sequence< ::rtl::OUString > aSupported(1);
- aSupported[0] = ::rtl::OUString("com.sun.star.sdbcx.Container");
- return aSupported;
- }
-
- // dispatch the refcounting to the parent
- virtual void SAL_CALL acquire() throw()
- {
- m_rParent.acquire();
- }
- virtual void SAL_CALL release() throw()
- {
- m_rParent.release();
- }
-
- // ::com::sun::star::container::XElementAccess
- virtual staruno::Type SAL_CALL getElementType( ) throw(staruno::RuntimeException)
- {
- return::getCppuType(static_cast< staruno::Reference< starbeans::XPropertySet>*>(NULL));
- }
-
- virtual sal_Bool SAL_CALL hasElements( ) throw(staruno::RuntimeException)
- {
- ::osl::MutexGuard aGuard(m_rMutex);
- return getCount() > 0;
- }
-
- // starcontainer::XIndexAccess
- virtual sal_Int32 SAL_CALL getCount( ) throw(staruno::RuntimeException)
- {
- ::osl::MutexGuard aGuard(m_rMutex);
- sal_Int32 nCnt = 0;
- m_pCollection->get_Count(&nCnt);
- return nCnt;
- }
-
- virtual staruno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw(starlang::IndexOutOfBoundsException, starlang::WrappedTargetException, staruno::RuntimeException)
- {
- ::osl::MutexGuard aGuard(m_rMutex);
- if (Index < 0 || Index >= getCount())
- throw starlang::IndexOutOfBoundsException();
- SimT* pCol = NULL;
- m_pCollection->get_Item(OLEVariant(Index),&pCol);
- if(!pCol)
- throw starlang::IndexOutOfBoundsException();
-
- OCl* pIndex = new OCl(pCol);
-
- m_aElements.push_back(pIndex);
-
- return staruno::makeAny( staruno::Reference< starbeans::XPropertySet >(pIndex));
- }
-
-
- // starcontainer::XNameAccess
- virtual staruno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException)
- {
- ::osl::MutexGuard aGuard(m_rMutex);
-
- SimT* pCol = NULL;
- m_pCollection->get_Item(OLEVariant(aName),&pCol);
- if(!pCol)
- throw starlang::IndexOutOfBoundsException();
-
- OCl* pIndex = new OCl(pCol);
-
- m_aElements.push_back(pIndex);
-
- return staruno::makeAny( staruno::Reference< starbeans::XPropertySet >(pIndex));
- }
- virtual staruno::Sequence< ::rtl::OUString > SAL_CALL getElementNames( ) throw(staruno::RuntimeException)
- {
- ::osl::MutexGuard aGuard(m_rMutex);
- sal_Int32 nLen = getCount();
- staruno::Sequence< ::rtl::OUString > aNameList(nLen);
-
- ::rtl::OUString* pStringArray = aNameList.getArray();
- OLEVariant aVar;
- for (sal_Int32 i=0;i<nLen;++i)
- {
- aVar.setInt32(i);
- SimT* pIdx = NULL;
- m_pCollection->get_Item(aVar,&pIdx);
- pIdx->AddRef();
- _bstr_t sBSTR;
- pIdx->get_Name(&sBSTR);
- (*pStringArray) = (sal_Unicode*)sBSTR;
- pIdx->Release();
- ++pStringArray;
- }
- return aNameList;
- }
- virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw(staruno::RuntimeException)
- {
- ::osl::MutexGuard aGuard(m_rMutex);
- SimT* pCol = NULL;
- m_pCollection->get_Item(OLEVariant(aName),&pCol);
- return pCol != NULL;
- }
-
- void SAL_CALL disposing()
- {
- ::osl::MutexGuard aGuard(m_rMutex);
- for (::std::vector<OCl*>::const_iterator i = m_aElements.begin(); i != m_aElements.end(); ++i)
- {
- (*i)->disposing();
- (*i)->release();
- }
- m_aElements.clear();
- }
-
- };
-
- class OIndex;
- class OKey;
- class OColumn;
- class OTable;
- class OView;
- class OGroup;
- class OUser;
-
- typedef OCollection< ADOIndexes,ADOIndex,OIndex> OIndexes;
- typedef OCollection< ADOKeys,ADOKey,OKey> OKeys;
- typedef OCollection< ADOColumns,ADOColumn,OColumn> OColumns;
- typedef OCollection< ADOTables,ADOTable,OTable> OTables;
- typedef OCollection< ADOViews,ADOView,OView> OViews;
- typedef OCollection< ADOGroups,ADOGroup,OGroup> OGroups;
- typedef OCollection< ADOUsers,ADOUser,OUser> OUsers;
-
- }
-}
-#endif // _CONNECTIVITY_ADO_COLLECTION_HXX_
-
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AIndexColumn.hxx b/connectivity/source/inc/ado/AIndexColumn.hxx
deleted file mode 100644
index c19cac11acb3..000000000000
--- a/connectivity/source/inc/ado/AIndexColumn.hxx
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_
-#define _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_
-
-#include "ado/AColumn.hxx"
-
-namespace connectivity
-{
- namespace ado
- {
- class OIndexColumn : public OAdoColumn
- {
- protected:
- sal_Bool m_IsAscending;
- public:
- OIndexColumn();
- OIndexColumn( sal_Bool _IsAscending,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _TypeName,
- const ::rtl::OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement);
-
- virtual void construct();
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AKeyColumn.hxx b/connectivity/source/inc/ado/AKeyColumn.hxx
deleted file mode 100644
index c353da825146..000000000000
--- a/connectivity/source/inc/ado/AKeyColumn.hxx
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_ADABAS_KEYCOLUMN_HXX_
-#define _CONNECTIVITY_ADABAS_KEYCOLUMN_HXX_
-
-#include "ado/AColumn.hxx"
-
-namespace connectivity
-{
- namespace ado
- {
- class OKeyColumn : public OAdoColumn
- {
- protected:
- ::rtl::OUString m_ReferencedColumn;
- public:
- OKeyColumn();
- OKeyColumn( const ::rtl::OUString& _ReferencedColumn,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _TypeName,
- const ::rtl::OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement);
-
- virtual void construct();
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_KEYCOLUMN_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AKeyColumns.hxx b/connectivity/source/inc/ado/AKeyColumns.hxx
deleted file mode 100644
index 50903579d54d..000000000000
--- a/connectivity/source/inc/ado/AKeyColumns.hxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_ADO_KEYCOLUMNS_HXX_
-#define _CONNECTIVITY_ADO_KEYCOLUMNS_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-
-namespace connectivity
-{
- namespace ado
- {
- class OKeyColumns : public OColumns
- {
- protected:
- virtual ::com::sun::star::uno::Reference< starcontainer::XNamed > createObject(const ::rtl::OUString& _rName);
- virtual ::com::sun::star::uno::Reference< starbeans::XPropertySet > createDescriptor();
- public:
- OKeyColumns( ::cppu::OWeakObject& _rParent,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector,
- OTable* _pTable,
- connectivity::sdbcx::IRefreshableColumns* _pParent)
- : OColumns(_rParent,_rMutex,_rVector,_pTable,_pParent)
- {
- }
- };
- }
-}
-#endif // _CONNECTIVITY_ADO_KEYCOLUMNS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx
deleted file mode 100644
index 84dab9f88137..000000000000
--- a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx
+++ /dev/null
@@ -1,186 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSET_HXX_
-#define _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSET_HXX_
-
-#include <com/sun/star/sdbc/XResultSet.hpp>
-#include <com/sun/star/sdbc/XRow.hpp>
-#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
-#include <com/sun/star/sdbc/XCloseable.hpp>
-#include <com/sun/star/sdbc/XColumnLocate.hpp>
-#include <com/sun/star/util/XCancellable.hpp>
-#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
-#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
-#include <com/sun/star/sdbc/XRowUpdate.hpp>
-#include <cppuhelper/compbase7.hxx>
-#include <comphelper/proparrhlp.hxx>
-#include "file/FStatement.hxx"
-#include "connectivity/CommonTools.hxx"
-#include <comphelper/propertycontainer.hxx>
-
-namespace connectivity
-{
- namespace file
- {
- namespace ::com::sun::star::sdbc = ::com::sun::star::sdbc;
- namespace ::com::sun::star::beans = ::com::sun::star::beans;
- namespace ::com::sun::star::util = ::com::sun::star::util;
-
- typedef ::cppu::WeakComponentImplHelper7< ::com::sun::star::sdbc::XResultSet,
- ::com::sun::star::sdbc::XRow,
- ::com::sun::star::sdbc::XResultSetMetaDataSupplier,
- ::com::sun::star::util::XCancellable,
- ::com::sun::star::sdbc::XWarningsSupplier,
- ::com::sun::star::sdbc::XCloseable,
- ::com::sun::star::sdbc::XColumnLocate> ODatabaseMetaDataResultSet_BASE;
-
- DECLARE_STL_VECTOR(::com::sun::star::uno::Any,ORow);
- DECLARE_STL_VECTOR(ORow, ORows);
-
- class ODatabaseMetaDataResultSet : public comphelper::OBaseMutex,
- public ODatabaseMetaDataResultSet_BASE,
- public ::comphelper::OPropertyContainer,
- public ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet>
- {
-
-
- ORows m_aRows;
- ORowsIterator m_aRowsIter;
- ::com::sun::star::uno::WeakReferenceHelper
- m_aStatement;
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData>
- m_xMetaData;
- sal_Int32 m_nRowPos;
- sal_Int32 m_nColPos;
-
- sal_Int32 m_nFetchSize;
- sal_Int32 m_nResultSetType;
- sal_Int32 m_nFetchDirection;
- sal_Int32 m_nResultSetConcurrency;
-
- sal_Bool m_bWasNull;
- sal_Bool m_bBOF;
-
- void construct();
-
- protected:
-
- // OPropertyArrayUsageHelper
- virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
- // OPropertySetHelper
- virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper();
-
- virtual ~ODatabaseMetaDataResultSet();
- public:
- DECLARE_CTY_DEFAULTS(ODatabaseMetaDataResultSet_BASE);
- // a Constructor, that is needed for when Returning the Object is needed:
- ODatabaseMetaDataResultSet( );
-
-
- void setRows(const ORows& _rRows) { m_aRows = _rRows; }
-
- void setCatalogsMap();
- void setSchemasMap();
- void setColumnPrivilegesMap();
- void setColumnsMap();
- void setTablesMap();
- void setTableTypes();
- void setProcedureColumnsMap();
- void setProceduresMap();
- void setExportedKeysMap();
- void setImportedKeysMap();
- void setPrimaryKeysMap();
- void setIndexInfoMap();
- void setTablePrivilegesMap();
- void setCrossReferenceMap();
- void setTypeInfoMap();
-
- private:
- // ::cppu::OComponentHelper
- virtual void SAL_CALL disposing(void);
- // XInterface
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL acquire() throw();
- virtual void SAL_CALL release() throw();
- //XTypeProvider
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
- // XPropertySet
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException)
- {
- return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper());
- }
- // XResultSet
- virtual sal_Bool SAL_CALL next( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isBeforeFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isAfterLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL beforeFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL afterLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL first( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL last( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL previous( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL refreshRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL rowUpdated( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL rowInserted( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL rowDeleted( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- // XRow
- virtual sal_Bool SAL_CALL wasNull( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual float SAL_CALL getFloat( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual double SAL_CALL getDouble( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- // XResultSetMetaDataSupplier
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- // XCancellable
- virtual void SAL_CALL cancel( ) throw(::com::sun::star::uno::RuntimeException);
- // XCloseable
- virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- // XWarningsSupplier
- virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- // XColumnLocate
- virtual sal_Int32 SAL_CALL findColumn( const ::rtl::OUString& columnName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
- }
-
-}
-#endif // _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSET_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx
deleted file mode 100644
index 3eccb92b2849..000000000000
--- a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx
+++ /dev/null
@@ -1,101 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSETMETADATA_HXX_
-#define _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSETMETADATA_HXX_
-
-#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
-#include <cppuhelper/implbase1.hxx>
-#ifndef _VECTOR_
-#include <vector>
-#endif
-#include "FDatabaseMetaDataResultSet.hxx"
-#include "OColumn.hxx"
-
-namespace connectivity
-{
- namespace file
- {
- //**************************************************************
- //************ Class: ResultSetMetaData
- //**************************************************************
- typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XResultSetMetaData> ODatabaseMetaResultSetMetaData_BASE;
-
- class ODatabaseMetaDataResultSetMetaData : public ODatabaseMetaResultSetMetaData_BASE
- {
- friend class ODatabaseMetaDataResultSet;
-
- ::std::vector<sal_Int32> m_vMapping; // when not every column is needed
- ::std::map<sal_Int32,connectivity::OColumn> m_mColumns;
- ::std::map<sal_Int32,connectivity::OColumn>::const_iterator m_mColumnsIter;
-
- sal_Int32 m_nColCount;
-
- protected:
- void setColumnPrivilegesMap();
- void setColumnsMap();
- void setTablesMap();
- void setProcedureColumnsMap();
- void setPrimaryKeysMap();
- void setIndexInfoMap();
- void setTablePrivilegesMap();
- void setCrossReferenceMap();
- void setTypeInfoMap();
- void setProceduresMap();
- void setTableTypes();
- public:
- // a Constructor, that is needed for when Returning the Object is needed:
- ODatabaseMetaDataResultSetMetaData( ODatabaseMetaDataResultSet* _pRes)
- : m_nColCount(0)
- {
- }
- ~ODatabaseMetaDataResultSetMetaData();
-
- /// Avoid ambigous cast error from the compiler.
- inline operator ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > () throw()
- { return this; }
-
- virtual sal_Int32 SAL_CALL getColumnCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isAutoIncrement( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isCaseSensitive( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isSearchable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isCurrency( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL isNullable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isSigned( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getColumnDisplaySize( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getColumnLabel( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getColumnName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getSchemaName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getPrecision( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getScale( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getTableName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getCatalogName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getColumnType( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getColumnTypeName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isReadOnly( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isWritable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isDefinitelyWritable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getColumnServiceName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
- }
-}
-#endif // _CONNECTIVITY_FILE_ADATABASEMETARESULTSETMETADATA_HXX_
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cosv/inc/cosv/tpl/funcall.hxx b/cosv/inc/cosv/tpl/funcall.hxx
deleted file mode 100644
index d5e1e4a63f9c..000000000000
--- a/cosv/inc/cosv/tpl/funcall.hxx
+++ /dev/null
@@ -1,301 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef CSV_TPL_FUNCALL_HXX
-#define CSV_TPL_FUNCALL_HXX
-
-// BASE CLASSES
-#include <algorithm>
-
-
-
-
-namespace csv
-{
-namespace func
-{
-
-
-/** @concept "csv:: Function Objects"
-
- A set of function objects that can be generated from any kind of
- function or member function with none or one parameter by the
- helper function ->make_func().
-
- Naming Scheme
- =============
-
- The naming scheme consists of three variables
- f - the kind of function
- p - the parameter of the function
- c - call operator() of the function object with these arguments
-
- Each of those may have the following values:
- f:
- f - free, no owning class
- c - const member function of a class
- m - modifying member function of a class
- p:
- n - no parameter
- c - const parameter by reference
- m - modifyable parameter by reference,
- v - parameter by value
- c:
- n - none
- o - the owning object on which the function shall be called
- a - the argument of the function
- b - both, the object on which the function shall be called
- and the argument of the function
-
- Which gives the following 35 possible combinations:
- ff_pn_cn
- ff_pc_cn
- ff_pc_ca
- ff_pm_cn
- ff_pm_ca
- ff_pv_cn
- ff_pv_ca
-
- fc_pn_cn
- fc_pn_co
- fc_pc_cn
- fc_pc_co
- fc_pc_ca
- fc_pc_cb
- fc_pm_cn
- fc_pm_co
- fc_pm_ca
- fc_pm_cb
- fc_pv_cn
- fc_pv_co
- fc_pv_ca
- fc_pv_cb
-
- fm_pn_cn
- fm_pn_co
- fm_pc_cn
- fm_pc_co
- fm_pc_ca
- fm_pc_cb
- fm_pm_cn
- fm_pm_co
- fm_pm_ca
- fm_pm_cb
- fm_pv_cn
- fm_pv_co
- fm_pv_ca
- fm_pv_cb
-
- These function objects are complicate to handle, so they can be created
- with the overloaded function
- <function_object> csv::make_func(<function_type>, <argument_types>);
-
- For the rare, but possible case that the owning class and the function
- argument have the same type, these clarifying variations to make_func()
- can be used:
- make_func_callwith_obj(), make_func_callwith_arg().
-*/
-
-
-/** Function object.
-
- @concept ->"csv::func Function Objects"
- @see csv::make_func()
-*/
-template <class R>
-struct ff_pn_cn
-{
- typedef R result_type;
- typedef R (* function_type )();
-
- R operator()() const
- { return (*f)(); }
-
- ff_pn_cn(
- function_type i_f)
- : f(i_f) {}
- private:
- function_type f;
-};
-
-
-/** Function object.
-
- @concept ->"csv::func Function Objects"
- @see csv::make_func()
-*/
-template <class R, class C>
-struct fc_pn_co
-{
- typedef R result_type;
- typedef R (C::* function_type )() const;
-
- R operator()(
- const C & i_c ) const
- { return (i_c.*f)(); }
-
- fc_pn_co(
- function_type i_f)
- : f(i_f) {}
- private:
- function_type f;
-};
-
-
-
-/** Function object.
-
- @concept ->"csv::func Function Objects"
- @see csv::make_func()
-*/
-template <class R, class C, class P>
-struct fc_pm_co
-{
- typedef R result_type;
- typedef R (C::* function_type )(P&) const;
-
- R operator()(
- const C & i_c ) const
- { return (i_c.*f)(p); }
-
- fc_pm_co(
- function_type i_f,
- P & i_p)
- : f(i_f), p(i_p) {}
- private:
- function_type f;
- P & p;
-};
-
-
-
-
-
-
-
-} // namespace func
-
-
-/** Creates a function object of type ff_pn_cn.
- @concept ->"csv::func Function Objects"
-*/
-template <class R>
-inline func::ff_pn_cn<R>
-make_func( R(*i_f)() )
-{
- return func::ff_pn_cn<R>(i_f);
-}
-
-///** Creates a function object of type ff_py_cn.
-// @concept ->"csv::func Function Objects"
-//*/
-//template <class R, class P>
-//inline func::ff_py_cn<R,P>
-//make_func( R(*i_f)(P), P i_p )
-//{
-// return func::ff_py_cn<R,A>(i_f, i_p);
-//}
-//
-///** Creates a function object of type ff_py_ca.
-// @concept ->"csv::func Function Objects"
-//*/
-//template <class R, class P>
-//inline func::ff_py_ca<R,P>
-//make_func( R(*i_f)(P) )
-//{
-// return func::ff_py_ca<R,P>(i_f);
-//}
-
-
-/** Creates a function object of type fc_pn_co.
- @concept ->"csv::func Function Objects"
-*/
-template <class R, class C>
-inline func::fc_pn_co<R,C>
-make_func( R(C::*i_f)() const )
-{
- return func::fc_pn_co<R,C>(i_f);
-}
-
-
-
-/** Creates a function object of type fc_pm_co.
- @concept ->"csv::func Function Objects"
-*/
-template <class R, class C, class P>
-inline func::fc_pm_co<R,C,P>
-make_func( R(C::*i_f)(P &) const, P & i_p)
-{
- return func::fc_pm_co<R,C,P>(i_f, i_p);
-}
-
-
-
-/* Because std::for_each is defined as a non-modifying algorithm
- it is redefined here. It is also provided for containers.
-*/
-
-template <class I, class F>
-F
-for_each(I i_itBegin, I i_itEnd, F io_functionToBeCalled)
-{
- for (I it = i_itBegin; it != i_itEnd; ++it)
- {
- io_functionToBeCalled(*it);
- }
- return io_functionToBeCalled;
-}
-
-template <class C, class F>
-F
-for_each_in(const C & i_container, F io_functionToBeCalled)
-{
- typename C::const_iterator const
- itEnd = i_container.end();
- for ( typename C::const_iterator it = i_container.begin();
- it != itEnd;
- ++it )
- {
- io_functionToBeCalled(*it);
- }
- return io_functionToBeCalled;
-}
-
-template <class C, class F>
-F
-for_each_in(C & i_container, F io_functionToBeCalled)
-{
- typename C::iterator const
- itEnd = i_container.end();
- for ( typename C::iterator it = i_container.begin();
- it != itEnd;
- ++it )
- {
- io_functionToBeCalled(*it);
- }
- return io_functionToBeCalled;
-}
-
-
-
-
-} // namespace csv
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/desktop/source/app/appinit.hxx b/desktop/source/app/appinit.hxx
deleted file mode 100644
index 82801b698228..000000000000
--- a/desktop/source/app/appinit.hxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _DESKTOP_APPINIT_HXX_
-#define _DESKTOP_APPINIT_HXX_
-
-#include <com/sun/star/uno/Reference.h>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-
-namespace desktop
-{
-
-::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > createApplicationServiceManager();
-
-sal_Bool InitializeInstallation( const rtl::OUString& rAppFilename );
-void registerServices( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xSMgr );
-void deregisterServices();
-
-void destroyApplicationServiceManager( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xSMgr );
-
-void createTemporaryDirectory();
-void removeTemporaryDirectory();
-
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/propctrlr/stlops.hxx b/extensions/source/propctrlr/stlops.hxx
deleted file mode 100644
index b486a4cd7e06..000000000000
--- a/extensions/source/propctrlr/stlops.hxx
+++ /dev/null
@@ -1,63 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _EXTENSIONS_PROPCTRLR_STLOPS_HXX_
-#define _EXTENSIONS_PROPCTRLR_STLOPS_HXX_
-
-#include <comphelper/stl_types.hxx>
-#include <com/sun/star/beans/Property.hpp>
-
-//............................................................................
-namespace pcr
-{
-//............................................................................
-
- //========================================================================
- struct PropertyLessByName
- :public ::std::binary_function < ::com::sun::star::beans::Property,
- ::com::sun::star::beans::Property,
- bool
- >
- {
- bool operator() (::com::sun::star::beans::Property _rLhs, ::com::sun::star::beans::Property _rRhs) const
- {
- return _rLhs.Name < _rRhs.Name ? true : false;
- }
- };
-
- //========================================================================
- struct TypeLessByName
- :public ::std::binary_function < ::com::sun::star::uno::Type,
- ::com::sun::star::uno::Type,
- bool
- >
- {
- bool operator() (::com::sun::star::uno::Type _rLhs, ::com::sun::star::uno::Type _rRhs) const
- {
- return _rLhs.getTypeName() < _rRhs.getTypeName() ? true : false;
- }
- };
-
-//............................................................................
-} // namespace pcr
-//............................................................................
-
-#endif // _EXTENSIONS_PROPCTRLR_STLOPS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/xforms/xforms_services.hxx b/forms/source/xforms/xforms_services.hxx
deleted file mode 100644
index 31686153b9c9..000000000000
--- a/forms/source/xforms/xforms_services.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-namespace com { namespace sun { namespace star {
- namespace uno { class XInterface; }
- namespace uno { template<class T> class Reference<T>; }
- namespace uno { class RuntimeException; }
- namespace lang { class XMultiServiceFactory; }
-} } }
-
-
-namespace frm
-{
- com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
- SAL_CALL Binding_CreateInstance(
- const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& _rxFactory)
- throw( com::sun::star::uno::RuntimeException );
-
- com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
- SAL_CALL Model_CreateInstance(
- const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& _rxFactory)
- throw( com::sun::star::uno::RuntimeException );
-
- com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
- SAL_CALL XForms_CreateInstance(
- const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& _rxFactory)
- throw( com::sun::star::uno::RuntimeException );
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/formula/inc/AddressConvention.hxx b/formula/inc/AddressConvention.hxx
deleted file mode 100644
index 2f82840a2cf8..000000000000
--- a/formula/inc/AddressConvention.hxx
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef FORMULA_ADDRESSCONVENTION_HXX_INCLUDED
-#define FORMULA_ADDRESSCONVENTION_HXX_INCLUDED
-
-#include "formula/formuladllapi.h"
-namespace formula
-{
-// =============================================================================
-} // formula
-// =============================================================================
-
-#endif // FORMULA_ADDRESSCONVENTION_HXX_INCLUDED
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/fpicker/source/win32/filepicker/propmap.hxx b/fpicker/source/win32/filepicker/propmap.hxx
deleted file mode 100644
index 0e8ffd78425a..000000000000
--- a/fpicker/source/win32/filepicker/propmap.hxx
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _PROPMAP_HXX_
-#define _PROPMAP_HXX_
-
-#include <boost/unordered_map.hpp>
-#include <rtl/ustring.hxx>
-#include <sal/types.h>
-
-typedef ::boost::unordered_map< ::rtl::OUString ,
- void* ,
- ::rtl::OUStringHash ,
- ::std::equal_to< ::rtl::OUString > > TPropMapBase;
-
-class TPropMap
-{
- private:
-
- TPropMapBase m_aMap;
-
- public:
-
- template< class TValueType >
- void put(const ::rtl::OUString& sKey ,
- const TValueType& rValue)
- {
- void* pValue = (void*)&rValue;
- m_aMap[sKey] = pValue;
- }
-
- template< class TValueType >
- void put_copy(const ::rtl::OUString& sKey ,
- const TValueType& rValue)
- {
- TValueType* pCopy = new TValueType(rValue);
- m_aMap[sKey] = (void*)pCopy;
- }
-
- template< class TValueType >
- sal_Bool get(const ::rtl::OUString& sKey ,
- TValueType** pValue)
- {
- TPropMapBase::iterator pIt = m_aMap.find(sKey);
- if (pIt == m_aMap.end())
- return sal_False;
-
- void* pItem = pIt->second;
- *pValue = (TValueType*)pItem;
- return (pItem != 0);
- }
-
- template< class TValueType >
- sal_Bool get_copy(const ::rtl::OUString& sKey ,
- TValueType& rValue)
- {
- TPropMapBase::iterator pIt = m_aMap.find(sKey);
- if (pIt == m_aMap.end())
- return sal_False;
-
- void* pValue = pIt->second;
- if ( ! pValue)
- return sal_False;
-
- rValue = *((TValueType*)pValue);
- //delete pValue;
- m_aMap.erase(pIt);
- return sal_True;
- }
-
- void clear()
- {
- m_aMap.clear();
- }
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/classes/servicemanager.hxx b/framework/inc/classes/servicemanager.hxx
deleted file mode 100644
index e8692a934be4..000000000000
--- a/framework/inc/classes/servicemanager.hxx
+++ /dev/null
@@ -1,282 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef __FRAMEWORK_CLASSES_SERVICEMANAGER_HXX_
-#define __FRAMEWORK_CLASSES_SERVICEMANAGER_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <macros/debug.hxx>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-#include <com/sun/star/uno/Reference.hxx>
-#include <rtl/ustring.hxx>
-#include <osl/mutex.hxx>
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-#define REFERENCE ::com::sun::star::uno::Reference
-#define XMULTISERVICEFACTORY ::com::sun::star::lang::XMultiServiceFactory
-#define MUTEX ::osl::Mutex
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short create a new global servicemanager
- @descr A global servicemanager is neccessary to instanciate UNO-services. To do this, you need
- a factory to create new objects with special type. That's the reason for a servicemanager.
-
- @implements -
- @base -
-
- @devstatus ready to use
-*//*-*************************************************************************************************************/
-
-class ServiceManager
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
-
- public:
-
- //---------------------------------------------------------------------------------------------------------
- // constructor / destructor
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short standard constructor
- @descr This method don't initialize the new global servicemanager!
- But we increase an internal ref count. These is needed in dtor to release
- all created static references to created service mamanger!
-
- @seealso dtor
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- ServiceManager();
-
- /*-****************************************************************************************************//**
- @short standard destructor to delete instance
- @descr Here is a good place to destroy the global manager instances!
-
- @seealso ctor
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual ~ServiceManager();
-
- /*-****************************************************************************************************//**
- @short initialize global uno service manager and return it
- @descr This method create a new manager only at first call. We confiscate this with a static
- pointer, which will be initialized only, if it NULL!
- Then you can call this method everytime to get a reference to the manager.
- If you will initialize an uno application you must set returned reference in ::comphelper::setProcessServiceFactory()!
- The created manager use "applicat.rdb" and "userXX.rdb" automaticly.
-
- @seealso -
-
- @param -
- @return A reference to the global servicemanager. It can be NULL!
-
- @onerror We return a null-reference.
- *//*-*****************************************************************************************************/
-
- REFERENCE< XMULTISERVICEFACTORY > getGlobalUNOServiceManager();
-
- /*-****************************************************************************************************//**
- @short initialize global uno service manager and return it
- @descr Do the same like getGlobalUNOServiceManager() before, but use "applicat.rdb" only!
-
- @seealso -
-
- @param -
- @return A reference to the global servicemanager. It can be NULL!
-
- @onerror We return a null-reference.
- *//*-*****************************************************************************************************/
-
- REFERENCE< XMULTISERVICEFACTORY > getSimpleGlobalUNOServiceManager();
-
- /*-****************************************************************************************************//**
- @short return a reference to a uno servicemanager instance which use your specified user registry file
- @descr This do the same like method before - but instead of "userXX.rdb" we use your file.
- These is neccessary, if you will run more then one uno application at the same time in same environment!
- All created servicemanager use the same "applicat.rdb" but different user registries.
-
- @ATTENTION Given file name must be a full qualified system file name. If file not already exist we create a new one!
- "applicat.rdb", "userXX.rdb" are not valid values!
-
- @seealso method generateGlobalUNOServiceManager()
- @seealso method generatePrivateUNOServiceManager()
-
- @param "sUserRegistryFile", full qualified system file name of user registry
- @return A reference to the created servicemanager. It can be NULL!
-
- @onerror We return a null-reference.
- *//*-*****************************************************************************************************/
-
- REFERENCE< XMULTISERVICEFACTORY > getSharedUNOServiceManager( const ::rtl::OUString& sUserRegistryFile );
-
- /*-****************************************************************************************************//**
- @short return a reference to a uno servicemanager instance which use your specified user registry file only
- @descr This do the same like methods before - but use your file as the only one registry.
- "applicat.rdb" is used here!
-
- @ATTENTION Given file name must be a full qualified system file name. If file not already exist we create a new one!
- "applicat.rdb", "userXX.rdb" are not valid values!
- If file was new created - you must register services at runtime himself.
- Otherwise no service could be created by these manager ...
-
- @seealso method generateGlobalUNOServiceManager()
- @seealso method generateSharedUNOServiceManager()
-
- @param "sUserRegistryFile", full qualified system file name of user registry
- @return A reference to the created servicemanager. It can be NULL!
-
- @onerror We return a null-reference.
- *//*-*****************************************************************************************************/
-
- REFERENCE< XMULTISERVICEFACTORY > getPrivateUNOServiceManager( const ::rtl::OUString& sUserRegistryFile );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
-
- protected:
-
- //-------------------------------------------------------------------------------------------------------------
- // private methods
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- /*-****************************************************************************************************//**
- @short create our own global mutex to prevent us against multithreaded problems
- @descr We use some static member. For correct access to it we must use the global osl mutex ...
- but its not fine to do so! These block ALL other operations, which need these mutex too.
- That's the reason to create our own static mutex. Only first creation is protected
- by the global mutex, using isn't it!
-
- @seealso using
-
- @param -
- @return reference to created static own global mutex
-
- @onerror No error should occure.
- *//*-*****************************************************************************************************/
-
- MUTEX& impl_getOwnGlobalMutex();
-
- /*-****************************************************************************************************//**
- @short create a new global servicemanager instance
- @descr Is a helper-method for getManager().
-
- @seealso method getManager()
-
- @param "sRegistryFile", file name of user registry.
- @return A reference to a new initialized servicemanager with a valid registry.
- It can be NULL, if an error occurred.
-
- @onerror Return a NULL-reference.
- *//*-*****************************************************************************************************/
-
- REFERENCE< XMULTISERVICEFACTORY > impl_createManager( const ::rtl::OUString& sRegistryFile );
-
- //-------------------------------------------------------------------------------------------------------------
- // debug methods
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short debug-method to check incoming parameter of some other mehods of this class
- @descr The following methods are used to check parameters for other methods
- of this class. The return value is used directly for an ASSERT(...).
-
- @seealso ASSERTs in implementation!
-
- @param references to checking variables
- @return sal_False on invalid parameter<BR>
- sal_True otherway
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- #ifdef ENABLE_ASSERTIONS
-
- private:
-
- #endif // #ifdef ENABLE_ASSERTIONS
-
- //-------------------------------------------------------------------------------------------------------------
- // private variables
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- static REFERENCE< XMULTISERVICEFACTORY >* m_pGlobalServiceManager ;
- static REFERENCE< XMULTISERVICEFACTORY >* m_pSimpleGlobalServiceManager ;
- static REFERENCE< XMULTISERVICEFACTORY >* m_pSharedServiceManager ;
- static REFERENCE< XMULTISERVICEFACTORY >* m_pPrivateServiceManager ;
- static sal_Int32 m_nRefCount ;
-
-}; // class ServiceManager
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_CLASSES_SERVICEMANAGER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/dispatch/blankdispatcher.hxx b/framework/inc/dispatch/blankdispatcher.hxx
deleted file mode 100644
index 439e43aaa343..000000000000
--- a/framework/inc/dispatch/blankdispatcher.hxx
+++ /dev/null
@@ -1,123 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_DISPATCH_BLANKDISPATCHER_HXX_
-#define __FRAMEWORK_DISPATCH_BLANKDISPATCHER_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <dispatch/basedispatcher.hxx>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short helper for desktop only(!) to create new tasks on demand for dispatches
- @descr Use this class as member only! Never use it as baseclass.
- XInterface will be ambigous and we hold a weakreference to ouer OWNER - not to ouer SUPERCLASS!
-
- @implements XInterface
- XDispatch
- XStatusListener
- XLoadEventListener
- XEventListener
-
- @base BaseDispatcher
- OWeakObject
-
- @devstatus ready to use
- @threadsafe yes
-*//*-*************************************************************************************************************/
-class BlankDispatcher : // -interfaces ... are supported by our BaseDispatcher!
- // -baseclasses ... order is neccessary for right initialization!
- public BaseDispatcher
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
- public:
- // ctor
- BlankDispatcher ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ,
- const css::uno::Reference< css::frame::XFrame >& xDesktop,
- sal_Bool bIsDefaultDispatcher );
- // XDispatch
- virtual void SAL_CALL dispatch ( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
- protected:
- virtual void SAL_CALL reactForLoadingState ( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ,
- const css::uno::Reference< css::frame::XFrame >& xTarget ,
- sal_Bool bState ,
- const css::uno::Any& aAsyncInfo );
-
- virtual void SAL_CALL reactForHandlingState( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ,
- sal_Bool bState ,
- const css::uno::Any& aAsyncInfo );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
- private:
- sal_Bool implts_findAndActivateAlreadyLoadedTask( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lArguments ,
- const css::uno::Reference< css::frame::XFrame > xDesktop );
-
- css::uno::Reference< css::frame::XFrame > implts_findAndLockRecycleTask( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lArguments ,
- const css::uno::Reference< css::frame::XFrame > xDesktop );
-
- //-------------------------------------------------------------------------------------------------------------
- // variables
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
- private:
- sal_Bool m_bIsDefaultDispatcher;
-}; // class BlankDispatcher
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_DISPATCH_BLANKDISPATCHER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/dispatch/createdispatcher.hxx b/framework/inc/dispatch/createdispatcher.hxx
deleted file mode 100644
index a6d411e6b971..000000000000
--- a/framework/inc/dispatch/createdispatcher.hxx
+++ /dev/null
@@ -1,121 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_DISPATCH_CREATEDISPATCHER_HXX_
-#define __FRAMEWORK_DISPATCH_CREATEDISPATCHER_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <dispatch/basedispatcher.hxx>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short helper to create new frames by using non special target name and CREATE flag
- @descr If user whish to find any frame by name or will create it, if it not already exist ...
- these dispatch helper should be used. Because - a frame must be created at dispatch call ...
- not on queryDispatch()! So we hold weakreferences to the possible parent frame, safe the name
- of new frame. If user call dispatch at us - we check a weakreference to our last created frame
- (he should have same name!) ... if he exist - we do nothing ... if not - we create it again.
- But if possible parent for new created task doesn't exist - we couldn't do anything!
- Then we wait for our own dispose and do nothing.
-
- @attention Use this class as member only! Never use it as baseclass.
- XInterface will be ambigous and we hold a weakreference to ouer OWNER - not to ouer SUPERCLASS!
-
- @implements XInterface
- XDispatch
- XStatusListener
- XLoadEventListener
- XEventListener
-
- @base BaseDispatcher
-
- @devstatus ready to use
- @threadsafe yes
-*//*-*************************************************************************************************************/
-class CreateDispatcher : // -interfaces ... are supported by our BaseDispatcher!
- // -baseclasses ... order is neccessary for right initialization!
- public BaseDispatcher
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
- public:
- // ctor
- CreateDispatcher ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ,
- const css::uno::Reference< css::frame::XFrame >& xParent ,
- const rtl::OUString& sName );
- // XDispatch
- virtual void SAL_CALL dispatch ( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
- protected:
- virtual void SAL_CALL reactForLoadingState ( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ,
- const css::uno::Reference< css::frame::XFrame >& xTarget ,
- sal_Bool bState ,
- const css::uno::Any& aAsyncInfo = css::uno::Any() );
-
- virtual void SAL_CALL reactForHandlingState( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ,
- sal_Bool bState ,
- const css::uno::Any& aAsyncInfo = css::uno::Any() )
- { LOG_WARNING( "CreateDispatcher::reactForHandlingState()", "Who call this function! It's a non used pure virtual function overload ..." ) }
-
- //-------------------------------------------------------------------------------------------------------------
- // variables
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
- private:
- css::uno::WeakReference< css::frame::XFrame > m_xTarget ; /// new created frame (Don't hold hard reference ... target frame couldn't die then!)
- ::rtl::OUString m_sTargetName ; /// name of new created frame
-
-}; // class CreateDispatcher
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_DISPATCH_CREATEDISPATCHER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/dispatch/selfdispatcher.hxx b/framework/inc/dispatch/selfdispatcher.hxx
deleted file mode 100644
index ffbaae7d0742..000000000000
--- a/framework/inc/dispatch/selfdispatcher.hxx
+++ /dev/null
@@ -1,106 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_DISPATCH_SELFDISPATCHER_HXX_
-#define __FRAMEWORK_DISPATCH_SELFDISPATCHER_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <dispatch/basedispatcher.hxx>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short helper to dispatch into an existing owner frame
- @descr You should use it as dispatcher for "_self", flag::SELF ... cases, to load a document into an
- owner frame without creation of a new one.
- Use this class as member only! Never use it as baseclass.
- XInterface will be ambigous and we hold a weakreference to ouer OWNER - not to ouer SUPERCLASS!
-
- @implements XInterface
- XDispatch
- XStatusListener
- XLoadEventListener
- XEventListener
-
- @base BaseDispatcher
- OWeakObject
-
- @devstatus ready to use
- @threadsafe yes
-*//*-*************************************************************************************************************/
-class SelfDispatcher : // -interfaces ... are supported by our BaseDispatcher!
- // -baseclasses ... order is neccessary for right initialization!
- public BaseDispatcher
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
- public:
- // ctor
- SelfDispatcher ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ,
- const css::uno::Reference< css::frame::XFrame >& xTarget );
- // XDispatch
- virtual void SAL_CALL dispatch ( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
- protected:
- virtual void SAL_CALL reactForLoadingState ( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ,
- const css::uno::Reference< css::frame::XFrame >& xTarget ,
- sal_Bool bState ,
- const css::uno::Any& aAsyncInfo );
-
- virtual void SAL_CALL reactForHandlingState( const css::util::URL& aURL ,
- const css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ,
- sal_Bool bState ,
- const css::uno::Any& aAsyncInfo );
-
-}; // class SelfDispatcher
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_DISPATCH_SELFDISPATCHER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/fixeddocumentproperties.hxx b/framework/inc/helper/fixeddocumentproperties.hxx
deleted file mode 100644
index 1e99305eee26..000000000000
--- a/framework/inc/helper/fixeddocumentproperties.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-#ifndef __FRAMEWORK_HELPER_FIXEDDOCUMENTPROPERTIES_HXX_
-#define __FRAMEWORK_HELPER_FIXEDDOCUMENTPROPERTIES_HXX_
-
-#include <sal/types.h>
-#include <rtl/ustring.hxx>
-#include <com/sun/star/uno/Sequence.h>
-#include <com/sun/star/util/DateTime.hpp>
-
-namespace framework
-{
-
-struct FixedDocumentProperties
-{
- // fixed Properties (sort by name and used by OPropertySetHelper)
- ::rtl::OUString m_sAuthor ; /// Creator of this document
- sal_Bool m_bAutoloadEnabled ; /// Automatic reload enabled/disabled ?
- sal_Int32 m_nAutoloadSecs ; /// Time cycle for automatic reload
- ::rtl::OUString m_sAutoloadURL ; /// URL for automatic reload
- ::rtl::OUString m_sBlindCopiesTo ; /// Address for BCC
- ::rtl::OUString m_sCopiesTo ; /// Address CC
- com::sun::star::util::DateTime m_aCreationDate ; /// Time and date of document creation
- ::rtl::OUString m_sDefaultTarget ; /// Name of default target
- ::rtl::OUString m_sDescription ; /// Short description and comments
- sal_Int16 m_nEditingCycles ; /// Document number
- sal_Int32 m_nEditingDuration ; /// Duration since last edit
- com::sun::star::uno::Sequence< sal_Int8 > m_seqExtraData ; /// Buffer of bytes for some extra data
- ::rtl::OUString m_sInReplyTo ; /// Address for reply to ...
- sal_Bool m_bIsEncrypted ; /// Document is en/decrypted
- ::rtl::OUString m_sKeywords ; /// Some keywords
- ::rtl::OUString m_sMIMEType ; /// MIME-type of document
- ::rtl::OUString m_sModifiedBy ; /// Name of user who has modified as last one
- com::sun::star::util::DateTime m_aModifyDate ; /// Date and time of last modification
- ::rtl::OUString m_sNewsgroups ; /// Document is a message of newsgroup
- ::rtl::OUString m_sOriginal ; /// Message ID
- sal_Bool m_bPortableGraphics ; /// Use of portable graphics
- com::sun::star::util::DateTime m_aPrintDate ; /// Date and time of last print
- ::rtl::OUString m_sPrintedBy ; /// Name of user who has printed as last one
- sal_uInt16 m_nPriority ; /// Priority of message, if document a message!
- sal_Bool m_bQueryTemplate ; /// Search for template ?
- ::rtl::OUString m_sRecipient ; /// Name of recipient
- ::rtl::OUString m_sReferences ; /// Some references to other things
- ::rtl::OUString m_sReplyTo ; /// Address to reply
- sal_Bool m_bSaveGraphicsCompressed ; /// Compressed/non compressed graphics
- sal_Bool m_bSaveOriginalGraphics ; /// Include graphics
- sal_Bool m_bSaveVersionOnClose ; /// Save version on close of document ?
- ::rtl::OUString m_sTemplate ; /// Name of template
- sal_Bool m_bTemplateConfig ; /// Exist template config ?
- com::sun::star::util::DateTime m_aTemplateDate ; /// Date and time of template
- ::rtl::OUString m_sTemplateFileName ; /// File name of template
- ::rtl::OUString m_sTheme ; /// Name of theme
- ::rtl::OUString m_sTitle ; /// Title of document
- sal_Bool m_bUserData ; /// Exist user data ?
-};
-
-}
-
-#endif // __FRAMEWORK_SERVICES_FIXEDDOCUMENTPROPERTIES_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/otasksaccess.hxx b/framework/inc/helper/otasksaccess.hxx
deleted file mode 100644
index fdf29f24b84e..000000000000
--- a/framework/inc/helper/otasksaccess.hxx
+++ /dev/null
@@ -1,248 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_HELPER_OTASKSACCESS_HXX_
-#define __FRAMEWORK_HELPER_OTASKSACCESS_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <classes/framecontainer.hxx>
-#include <threadhelp/threadhelpbase.hxx>
-#include <macros/generic.hxx>
-#include <macros/xinterface.hxx>
-#include <macros/xtypeprovider.hxx>
-#include <macros/debug.hxx>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-#include <com/sun/star/container/XEnumerationAccess.hpp>
-#include <com/sun/star/container/XElementAccess.hpp>
-#include <com/sun/star/container/XEnumeration.hpp>
-#include <com/sun/star/frame/XDesktop.hpp>
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-#include <cppuhelper/weak.hxx>
-#include <cppuhelper/weakref.hxx>
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short implement XEnumerationAccess interface as helper to create many oneway enumeration of tasks
- @descr We share mutex and framecontainer with ouer owner and have full access to his child tasks.
- (Ouer owner can be the Desktop only!) We create oneway enumerations on demand. These "lists"
- can be used for one time only. Step during the list from first to last element.
- (The type of created enumerations is OTasksEnumeration.)
-
- @implements XInterface
- XEnumerationAccess
- XElementAccess
-
- @base OWeakObject
-
- @devstatus deprecated
-*//*-*************************************************************************************************************/
-
-class OTasksAccess : public css::lang::XTypeProvider ,
- public css::container::XEnumerationAccess , // => XElementAccess
- private ThreadHelpBase ,
- public ::cppu::OWeakObject
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
-
- public:
-
- //---------------------------------------------------------------------------------------------------------
- // constructor / destructor
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short constructor to initialize this instance
- @descr A desktop will create an enumeration-access-object. An enumeration is a oneway-list and a
- snapshot of the tasklist of current tasks of desktop.
- But we need a instance to create more then one enumerations to the same tasklist!
-
- @seealso class Desktop
- @seealso class OTasksEnumeration
-
- @param "xOwner" is a reference to ouer owner and must be the desktop!
- @param "pTasks" is a pointer to the taskcontainer of the desktop. We need it to create a new enumeration.
- @return -
-
- @onerror Do nothing and reset this object to default with an empty list.
- *//*-*****************************************************************************************************/
-
- OTasksAccess( const css::uno::Reference< css::frame::XDesktop >& xOwner ,
- FrameContainer* pTasks );
-
- //---------------------------------------------------------------------------------------------------------
- // XInterface
- //---------------------------------------------------------------------------------------------------------
-
- DECLARE_XINTERFACE
- DECLARE_XTYPEPROVIDER
-
- //---------------------------------------------------------------------------------------------------------
- // XEnumerationAccess
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short create a new enumeration of tasks
- @descr You can call this method to get a new snapshot to all tasks of the desktop as an enumeration.
-
- @seealso interface XEnumerationAccess
- @seealso interface XEnumeration
- @seealso class Desktop
-
- @param -
- @return If the desktop and some tasks exist => a valid reference to an enumeration<BR>
- An NULL-reference, other way.
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw( css::uno::RuntimeException );
-
- //---------------------------------------------------------------------------------------------------------
- // XElementAccess
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short get the type of elements in enumeration
- @descr -
-
- @seealso interface XElementAccess
- @seealso class TasksEnumeration
-
- @param -
- @return The uno-type XTask.
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual css::uno::Type SAL_CALL getElementType() throw( css::uno::RuntimeException );
-
- /*-****************************************************************************************************//**
- @short get state of tasklist of enumeration.
- @descr -
-
- @seealso interface XElementAccess
-
- @param -
- @return sal_True ,if more then 0 elements exist.
- @return sal_False ,otherwise.
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual sal_Bool SAL_CALL hasElements() throw( css::uno::RuntimeException );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
-
- protected:
-
- /*-****************************************************************************************************//**
- @short standard destructor
- @descr This method destruct an instance of this class and clear some member.
- Don't use an instance of this class as normal member. Use it dynamicly with a pointer.
- We hold a weakreference to ouer owner and not to ouer superclass!
- Thats the reason for a protected dtor.
-
- @seealso class Desktop
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual ~OTasksAccess();
-
- //-------------------------------------------------------------------------------------------------------------
- // private methods
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- //-------------------------------------------------------------------------------------------------------------
- // debug methods
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short debug-method to check incoming parameter of some other mehods of this class
- @descr The following methods are used to check parameters for other methods
- of this class. The return value is used directly for an ASSERT(...).
-
- @seealso ASSERTs in implementation!
-
- @param references to checking variables
- @return sal_False ,on invalid parameter.
- @return sal_True ,otherwise
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- #ifdef ENABLE_ASSERTIONS
-
- private:
-
- static sal_Bool impldbg_checkParameter_OTasksAccessCtor( const css::uno::Reference< css::frame::XDesktop >& xOwner ,
- FrameContainer* pTasks );
-
- #endif // #ifdef ENABLE_ASSERTIONS
-
- //-------------------------------------------------------------------------------------------------------------
- // variables
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- css::uno::WeakReference< css::frame::XDesktop > m_xOwner ; /// weak reference to the desktop object!
- FrameContainer* m_pTasks ; /// pointer to list of current tasks on desktop (is a member of class Desktop!)
- /// This pointer is valid only, if weakreference can be locked.
-
-}; // class OTasksAccess
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_HELPER_OTASKSACCESS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/otasksenumeration.hxx b/framework/inc/helper/otasksenumeration.hxx
deleted file mode 100644
index b8f747a7e7c7..000000000000
--- a/framework/inc/helper/otasksenumeration.hxx
+++ /dev/null
@@ -1,264 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_HELPER_OTASKSENUMERATION_HXX_
-#define __FRAMEWORK_HELPER_OTASKSENUMERATION_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <threadhelp/threadhelpbase.hxx>
-#include <macros/generic.hxx>
-#include <macros/xinterface.hxx>
-#include <macros/xtypeprovider.hxx>
-#include <macros/debug.hxx>
-#include <general.h>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-#include <com/sun/star/lang/XEventListener.hpp>
-#include <com/sun/star/container/XEnumeration.hpp>
-#include <com/sun/star/frame/XTask.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-#include <cppuhelper/weak.hxx>
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short implement a helper for a oneway enumeration of tasks
- @descr You can step during this list only for one time! Its a snapshot.
- Don't forget to release the reference. You are the owner of an instance of this implementation.
- You cant use this as a baseclass. Please use it as a dynamical object for return.
-
- @implements XInterface
- XTypeProvider
- XEventListener
- XEnumeration
-
- @base ThreadHelpBase
- OWeakObject
-
- @devstatus ready to use
-*//*-*************************************************************************************************************/
-
-class OTasksEnumeration : public css::lang::XTypeProvider ,
- public css::lang::XEventListener ,
- public css::container::XEnumeration ,
- public ThreadHelpBase ,
- public ::cppu::OWeakObject
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
-
- public:
-
- //---------------------------------------------------------------------------------------------------------
- // constructor / destructor
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short constructor to initialize this enumeration
- @descr An enumeration is a list with oneway-access! You can get every member only for one time.
- This method allow to initialize this oneway list with values.
-
- @seealso -
-
- @param "seqTasks" is a sequence of interfaces, which are tasks.
- @return -
-
- @onerror Do nothing and reset this object to default with an empty list.
- *//*-*****************************************************************************************************/
-
- OTasksEnumeration( const css::uno::Sequence< css::uno::Reference< css::frame::XFrame > >& seqTasks );
-
- //---------------------------------------------------------------------------------------------------------
- // XInterface
- //---------------------------------------------------------------------------------------------------------
-
- DECLARE_XINTERFACE
- DECLARE_XTYPEPROVIDER
-
- //---------------------------------------------------------------------------------------------------------
- // XEventListener
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short last chance to release all references and free memory
- @descr This method is called, if the enumeration is used completly and has no more elements.
- Then we must destroy ouer list and release all references to other objects.
-
- @seealso interface XEventListener
-
- @param "aEvent" describe the source of this event.
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException );
-
- //---------------------------------------------------------------------------------------------------------
- // XEnumeration
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short check count of accessible elements of enumeration
- @descr You can call this method to get information about accessible elements in future.
- Elements you have already getted are not accessible!
-
- @seealso interface XEnumeration
-
- @param -
- @return sal_True = if more elements accessible<BR>
- sal_False = other way
-
- @onerror sal_False<BR>
- (List is emtpy and there no accessible elements ...)
- *//*-*****************************************************************************************************/
-
- virtual sal_Bool SAL_CALL hasMoreElements() throw( css::uno::RuntimeException );
-
- /*-****************************************************************************************************//**
- @short give the next element, if some exist
- @descr If a call "hasMoreElements()" return true, you can get the next element of list.
-
- @seealso interface XEnumeration
-
- @param -
- @return A Reference to a task, safed in an Any-structure.
-
- @onerror If end of enumeration is arrived or there are no elements in list => a NoSuchElementException is thrown.
- *//*-*****************************************************************************************************/
-
- virtual css::uno::Any SAL_CALL nextElement() throw( css::container::NoSuchElementException ,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
-
- protected:
-
- /*-****************************************************************************************************//**
- @short standard destructor
- @descr This method destruct an instance of this class and clear some member.
- We make it protected, because its not supported to use this class as normal instance!
- You must create it dynamical in memory and use a pointer.
-
- @seealso -
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual ~OTasksEnumeration();
-
- /*-****************************************************************************************************//**
- @short reset instance to default values
-
- @descr There are two ways to delete an instance of this class.<BR>
- 1) delete with destructor<BR>
- 2) dispose from parent or factory ore ...<BR>
- This method do the same for both ways! It free used memory and release references ...
-
- @seealso method dispose()
- @seealso destructor ~TaskEnumeration()
-
- @param -
-
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual void impl_resetObject();
-
- //-------------------------------------------------------------------------------------------------------------
- // private methods
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- //-------------------------------------------------------------------------------------------------------------
- // debug methods
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short debug-method to check incoming parameter of some other mehods of this class
- @descr The following methods are used to check parameters for other methods
- of this class. The return value is used directly for an ASSERT(...).
-
- @seealso ASSERT in implementation!
-
- @param references to checking variables
- @return sal_False on invalid parameter<BR>
- sal_True otherway
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- #ifdef ENABLE_ASSERTIONS
-
- private:
-
- static sal_Bool impldbg_checkParameter_OTasksEnumerationCtor ( const css::uno::Sequence< css::uno::Reference< css::frame::XFrame > >& seqTasks );
- static sal_Bool impldbg_checkParameter_disposing ( const css::lang::EventObject& aEvent );
-
- #endif // #ifdef ENABLE_ASSERTIONS
-
- //-------------------------------------------------------------------------------------------------------------
- // variables
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- sal_uInt32 m_nPosition ; /// current position in enumeration
- css::uno::Sequence< css::uno::Reference< css::frame::XTask > > m_seqTasks ; /// list of current tasks
-
-}; // class OTasksEnumeration
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_HELPER_OTASKSENUMERATION_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/timerhelper.hxx b/framework/inc/helper/timerhelper.hxx
deleted file mode 100644
index 50108cffd73b..000000000000
--- a/framework/inc/helper/timerhelper.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_HELPER_TIMERHELPER_HXX_
-#define __FRAMEWORK_HELPER_TIMERHELPER_HXX_
-
-#include <threadhelp/threadhelpbase.hxx>
-#include <salhelper/timer.hxx>
-#include <osl/mutex.hxx>
-
-//........................................................................
-namespace framework
-{
-//........................................................................
-
- //====================================================================
- //= ITimerListener
- //====================================================================
- class ITimerListener
- {
- public:
- virtual void timerExpired() = 0;
- };
-//........................................................................
-} // namespace framework
-//........................................................................
-
-#endif // _FRAMEWORK_HELPER_TIMERHELPER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/macros/debug/memorymeasure.hxx b/framework/inc/macros/debug/memorymeasure.hxx
deleted file mode 100644
index 6655146733db..000000000000
--- a/framework/inc/macros/debug/memorymeasure.hxx
+++ /dev/null
@@ -1,224 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef __FRAMEWORK_MACROS_DEBUG_MEMORYMEASURE_HXX_
-#define __FRAMEWORK_MACROS_DEBUG_MEMORYMEASURE_HXX_
-
-//*************************************************************************************************************
-// special macros for time measures
-// 1) LOGFILE_MEMORYMEASURE used it to define log file for this operations (default will be set automaticly)
-// 2) MAKE_MEMORY_SNAPSHOT make snapshot of currently set memory informations of OS
-// 3) LOG_MEMORYMEASURE write measured time to logfile
-//*************************************************************************************************************
-
-#ifdef ENABLE_MEMORYMEASURE
-
- #if !defined( WNT )
- #error "Macros to measure memory access not available under platforms different from windows!"
- #endif
-
- //_________________________________________________________________________________________________________________
- // includes
- //_________________________________________________________________________________________________________________
-
- #ifndef _RTL_STRBUF_HXX_
- #include <rtl/strbuf.hxx>
- #endif
-
- #include <vector>
-
- /*_____________________________________________________________________________________________________________
- LOGFILE_MEMORYMEASURE
-
- For follow macros we need a special log file. If user forget to specify anyone, we must do it for him!
- _____________________________________________________________________________________________________________*/
-
- #ifndef LOGFILE_MEMORYMEASURE
- #define LOGFILE_MEMORYMEASURE "memorymeasure.log"
- #endif
-
- /*_____________________________________________________________________________________________________________
- class MemoryMeasure
-
- We use this baseclass to collect all snapshots in one object and analyze this information at one point.
- Macros of this file are used to enable using of this class by special compile-parameter only!
- _____________________________________________________________________________________________________________*/
-
- class _DBGMemoryMeasure
- {
- //---------------------------------------------------------------------------------------------------------
- private:
- struct _MemoryInfo
- {
- MEMORYSTATUS aStatus ;
- ::rtl::OString sComment ;
- };
-
- //---------------------------------------------------------------------------------------------------------
- public:
- //_____________________________________________________________________________________________________
- inline _DBGMemoryMeasure()
- {
- }
-
- //_____________________________________________________________________________________________________
- // clear used container!
- inline ~_DBGMemoryMeasure()
- {
- ::std::vector< _MemoryInfo >().swap( m_lSnapshots );
- }
-
- //_____________________________________________________________________________________________________
- inline void makeSnapshot( const ::rtl::OString& sComment )
- {
- _MemoryInfo aInfo;
- aInfo.sComment = sComment;
- GlobalMemoryStatus ( &(aInfo.aStatus) );
- m_lSnapshots.push_back( aInfo );
- }
-
- //_____________________________________________________________________________________________________
- inline ::rtl::OString getLog()
- {
- ::rtl::OStringBuffer sBuffer( 10000 );
-
- if( !m_lSnapshots.empty() )
- {
- // Write informations to return buffer
- ::std::vector< _MemoryInfo >::const_iterator pItem1;
- ::std::vector< _MemoryInfo >::const_iterator pItem2;
-
- pItem1 = m_lSnapshots.begin();
- pItem2 = pItem1;
- ++pItem2;
-
- while( pItem1!=m_lSnapshots.end() )
- {
- sBuffer.append( "snap [ " );
- sBuffer.append( pItem1->sComment );
- sBuffer.append( " ]\n\tavail phys\t=\t" );
- sBuffer.append( (sal_Int32)pItem1->aStatus.dwAvailPhys );
- sBuffer.append( "\n\tavail page\t=\t" );
- sBuffer.append( (sal_Int32)pItem1->aStatus.dwAvailPageFile );
- sBuffer.append( "\n\tavail virt\t=\t" );
- sBuffer.append( (sal_Int32)pItem1->aStatus.dwAvailVirtual );
- sBuffer.append( "\n\tdifference\t=\t[ " );
-
- if( pItem1 == m_lSnapshots.begin() )
- {
- sBuffer.append( (sal_Int32)pItem1->aStatus.dwAvailPhys );
- sBuffer.append( ", " );
- sBuffer.append( (sal_Int32)pItem1->aStatus.dwAvailPageFile );
- sBuffer.append( ", " );
- sBuffer.append( (sal_Int32)pItem1->aStatus.dwAvailVirtual );
- sBuffer.append( " ]\n\n" );
- }
- else if( pItem2 != m_lSnapshots.end() )
- {
- sBuffer.append( (sal_Int32)(pItem2->aStatus.dwAvailPhys - pItem1->aStatus.dwAvailPhys ) );
- sBuffer.append( ", " );
- sBuffer.append( (sal_Int32)(pItem2->aStatus.dwAvailPageFile - pItem1->aStatus.dwAvailPageFile ) );
- sBuffer.append( ", " );
- sBuffer.append( (sal_Int32)(pItem2->aStatus.dwAvailVirtual - pItem1->aStatus.dwAvailVirtual ) );
- sBuffer.append( " ]\n\n" );
- }
- else
- {
- sBuffer.append( "0, 0, 0 ]\n\n" );
- }
- if( pItem1!=m_lSnapshots.end() ) ++pItem1;
- if( pItem2!=m_lSnapshots.end() ) ++pItem2;
- }
- // clear current list ... make it empty for further snapshots!
- ::std::vector< _MemoryInfo >().swap( m_lSnapshots );
- }
-
- return sBuffer.makeStringAndClear();
- }
-
- //---------------------------------------------------------------------------------------------------------
- private:
- ::std::vector< _MemoryInfo > m_lSnapshots;
- };
-
- /*_____________________________________________________________________________________________________________
- START_MEMORY_MEASURE
-
- Create new object to measure memory access.
- _____________________________________________________________________________________________________________*/
-
- #define START_MEMORYMEASURE( AOBJECT ) \
- _DBGMemoryMeasure AOBJECT;
-
- /*_____________________________________________________________________________________________________________
- MAKE_MEMORY_SNAPSHOT
-
- Make snapshot of currently set memory informations of OS.
- see _DBGMemoryMeasure for further informations
- _____________________________________________________________________________________________________________*/
-
- #define MAKE_MEMORY_SNAPSHOT( AOBJECT, SCOMMENT ) \
- AOBJECT.makeSnapshot( SCOMMENT );
-
- /*_____________________________________________________________________________________________________________
- LOG_MEMORYMEASURE( SOPERATION, SCOMMENT, AOBJECT )
-
- Write measured values to logfile.
- _____________________________________________________________________________________________________________*/
-
- #define LOG_MEMORYMEASURE( SOPERATION, SCOMMENT, AOBJECT ) \
- { \
- ::rtl::OStringBuffer _sBuffer( 256 ); \
- _sBuffer.append( SOPERATION ); \
- _sBuffer.append( "\n" ); \
- _sBuffer.append( SCOMMENT ); \
- _sBuffer.append( "\n\n" ); \
- _sBuffer.append( AOBJECT.getLog() ); \
- WRITE_LOGFILE( LOGFILE_MEMORYMEASURE, _sBuffer.makeStringAndClear() ) \
- }
-
-#else // #ifdef ENABLE_MEMORYMEASURE
-
- /*_____________________________________________________________________________________________________________
- If right testmode is'nt set - implements these macros empty!
- _____________________________________________________________________________________________________________*/
-
- #undef LOGFILE_MEMORYMEASURE
- #define START_MEMORYMEASURE( AOBJECT )
- #define MAKE_MEMORY_SNAPSHOT( AOBJECT, SCOMMENT )
- #define LOG_MEMORYMEASURE( SOPERATION, SCOMMENT, AOBJECT )
-
-#endif // #ifdef ENABLE_MEMORYMEASURE
-
-//*****************************************************************************************************************
-// end of file
-//*****************************************************************************************************************
-
-#endif // #ifndef __FRAMEWORK_MACROS_DEBUG_MEMORYMEASURE_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/services/detectorfactory.hxx b/framework/inc/services/detectorfactory.hxx
deleted file mode 100644
index b269fc62e8b0..000000000000
--- a/framework/inc/services/detectorfactory.hxx
+++ /dev/null
@@ -1,460 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef __FRAMEWORK_SERVICES_DETECTORFACTORY_HXX_
-#define __FRAMEWORK_SERVICES_DETECTORFACTORY_HXX_
-
-//_______________________________________________
-// includes of own project
-
-#include <classes/filtercache.hxx>
-#include <threadhelp/threadhelpbase.hxx>
-#include <macros/xinterface.hxx>
-#include <macros/xtypeprovider.hxx>
-#include <macros/xserviceinfo.hxx>
-#include <macros/generic.hxx>
-#include <macros/debug.hxx>
-#include <general.h>
-
-//_______________________________________________
-// includes of interfaces
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
-#include <com/sun/star/lang/WrappedTargetException.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
-#include <com/sun/star/container/ElementExistException.hpp>
-#include <com/sun/star/container/NoSuchElementException.hpp>
-#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/container/NoSuchElementException.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/util/XFlushable.hpp>
-
-//_______________________________________________
-// includes of other projects
-#include <cppuhelper/interfacecontainer.hxx>
-#include <cppuhelper/weak.hxx>
-
-//_______________________________________________
-// namespace
-
-namespace framework{
-
-//_______________________________________________
-// exported const
-
-//_______________________________________________
-// exported definitions
-
-/// @HTML
-/** @short factory to create detect service objects and initialize it in the right way.
-
- @descr This class can be used to create new detect services for specified contents.
- It uses cached values of the configuration to lay down, which detector match
- a given name. Further this class provides full access to the configuration data
- of such detect services and following implementations will support some special
- query modes.
-
- @author as96863
-
- @docdate 07.03.2003 by as96863
-
- @todo <ul>
- <li>implementation of query mode</li>
- <li>simple restore mechanism of last consistent cache state,
- if flush failed</li>
- </ul>
- */
-/// @NOHTML
-
-class DetectorFactory : // interfaces
- public css::lang::XTypeProvider ,
- public css::lang::XServiceInfo ,
- public css::lang::XMultiServiceFactory ,
- public css::container::XNameContainer , // => XNameReplace => XNameAccess => XElementAccess
- public css::util::XFlushable ,
- // base classes
- // Order is neccessary for right initialization of it!
- private ThreadHelpBase ,
- public ::cppu::OWeakObject
-{
- //-------------------------------------------
- // member
-
- private:
-
- /** reference to the global uno service manager.
- It will be used to create own needed services on demand. */
- css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
-
- /** singleton, which contains all needed configuration data and provides
- read/write access on it. */
- FilterCache m_aCache;
-
- /** contains all registered listener. */
- ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer;
-
- //-------------------------------------------
- // interface
-
- public:
-
- //---------------------------------------
- // XInterface, XTypeProvider, XServiceInfo
-
- DECLARE_XINTERFACE
- DECLARE_XTYPEPROVIDER
- DECLARE_XSERVICEINFO
-
- //---------------------------------------
-
- /** @short initialize new instance of this class.
-
- @param xSMGR
- reference to the global uno service manager, which created this new factory instance.
- It must be used during runtime to create own needed services.
- */
-
- DetectorFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR );
-
- //---------------------------------------
-
- /** @short release internal structures.
- */
-
- virtual ~DetectorFactory();
-
- //---------------------------------------
- // XMultiServiceFactory
-
- /** @short create a new detect service and initialize it with it's own configuration data.
-
- @param sName
- means the uno implementation name of a detect service.
-
- @exception com::sun::star::uno::Exception
- if the requested service could not be created or initialized.
- */
-
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const ::rtl::OUString& sName )
- throw(css::uno::Exception ,
- css::uno::RuntimeException);
-
- //---------------------------------------
- // XMultiServiceFactory
-
- /** @short does the same as createInstance() method, but initialize created detect service with some
- additional data.
-
- @param sName
- means the uno implementation name of a detect service.
-
- @param lArguments
- the optional arguments, which are passed to the created detect service against
- it's own configuration data.
-
- @exception com::sun::star::uno::Exception
- if the requested service could not be created or initialized.
- */
-
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( const ::rtl::OUString& sName ,
- const css::uno::Sequence< css::uno::Any >& lArguments )
- throw(css::uno::Exception ,
- css::uno::RuntimeException);
-
- //---------------------------------------
- // XMultiServiceFactory
-
- /** @short return list of all well know detect services, which can be created by this factory.
-
- @attention Because this service implements read/write access to the configuration too,
- this list is dynamic. Means: in multithreaded environments some items of this
- return list could be invalid next time!
-
- @return A list of all registered detect services.
- */
-
- virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableServiceNames()
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XNameContainer
-
- /** @short add new detect service entry to this container.
-
- @descr This will change all internal structures only!
- Updating of the configuration layer and notify of all registered
- listener will be done inside API call XFlushable::flush() on this
- container.
-
- @param sName
- means the uno implementation name of this new detect service entry.
-
- @param aPropertySet [sequence< com::sun::star::beans::PropertyValue >!]
- describe this new entry. For a list of all supported properties
- have a look on method >>getByName()<<.
- Note: Missing values will be created with defaults!
-
- @exception com::sun::star::lang::IllegalArgumentException
- if one of the incoming parameters seams to be invalid.
- That doesn't include the check, if this item already exist!
-
- @exception com::sun::star::container::ElementExistException
- if this item already exist inside this container.
-
- @exception com::sun::star::lang::WrappedTargetException
- f creation of the internal structures failed.
- */
-
- virtual void SAL_CALL insertByName( const ::rtl::OUString& sName ,
- const css::uno::Any& aPropertySet )
- throw(css::lang::IllegalArgumentException ,
- css::container::ElementExistException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException );
-
- //---------------------------------------
- // XNameContainer
-
- /** @short remove a detect service entry from this container.
-
- @descr This will change all internal structures only!
- Updating of the configuration layer and notify of all registered
- listener will be done inside API call XFlushable::flush() on this
- container.
-
- @param sName
- means the uno implementation name of a detect service entry.
-
- @exception com::sun::star::container::NoSuchElementException
- if the requested item does not exist inside this container.
-
- @exception com::sun::star::lang::WrappedTargetException
- if creation of the internal structures failed.
- */
-
- virtual void SAL_CALL removeByName( const ::rtl::OUString& sName )
- throw(css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException );
-
- //---------------------------------------
- // XNameReplace
-
- /** @short change a detect service entry inside this container.
-
- @descr This will change all internal structures only!
- Updating of the configuration layer and notify of all registered
- listener will be done inside API call XFlushable::flush() on this
- container.
-
- @param sName
- means the uno implementation name of a detect service entry.
-
- @param aPropertySet [sequence< com::sun::star::beans::PropertyValue >!]
- describe the changes on this entry. For a list of all supported properties
- have a look on method getByName().
- Note: Missing properties will be untouched.
-
- @exception com::sun::star::lang::IllegalArgumentException
- if one of the incoming parameters seams to be invalid.
- That doesn't include the check, if this item exist!
-
- @exception com::sun::star::container::NoSuchElementException
- if the requested item does not exist inside this container.
-
- @exception com::sun::star::lang::WrappedTargetException
- if updating of the internal structures failed.
- */
-
- virtual void SAL_CALL replaceByName( const ::rtl::OUString& sName ,
- const css::uno::Any& aPropertySet )
- throw(css::lang::IllegalArgumentException ,
- css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException );
-
- //---------------------------------------
- // XNameAccess
-
- /// @HTML
- /** @short return properties of queried detector item.
-
- @descr Use this method to get all informations about a detector item of this cache.
- A sequence< com::sun::star::beans::PropertyValue > packed inside an Any will be returned.
- Following properties are defined:
- <table border=1>
- <tr>
- <td><b>Property</b></td>
- <td><b>Value<b></td>
- <td><b>Description<b></td>
- </tr>
- <tr>
- <td>Name</td>
- <td>[string]</td>
- <td>the uno implementation name for this detect service</td>
- </tr>
- <tr>
- <td>Types</td>
- <td>[sequence< string >]</td>
- <td>a list of all internbal type names, which this detect service is registered for</td>
- </tr>
- </table>
-
- @param sName
- the uno implementation name the requested detector.
-
- @return A property set, which describe this detect service.
- It uses a sequence< com::sun::star::beans::PropertyValue > internaly.
-
- @exception com::sun::star::container::NoSuchElementException
- if the requested entry does not exist inside this container.
- */
- /// @NOHTML
-
- virtual css::uno::Any SAL_CALL getByName( const ::rtl::OUString& sName )
- throw(css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException );
-
- //---------------------------------------
- // XNameAccess
-
- /** @short return list of all well know container entries available on this container.
-
- @attention Because this service implements read/write access to the configuration too,
- this list is dynamic. Means: in multithreaded environments some items of this
- return list could be invalid next time!
-
- @return A list of all well known container items.
- */
-
- virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XNameAccess
-
- /** @short check if searched entry exist inside this container.
-
- @attention In multithreaded environments it's not guaranteed, that a
- queried item exist next time realy! It can be deleted by
- another thread ...
-
- @param sName
- the name of the queried container entry.
-
- @return sal_True if the requested item exist; sal_False otherwise.
- */
-
- virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& sName )
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XElementAccess
-
- /** @short return the uno type, which is used for all container items.
-
- @return Type of sequence< com::sun::star::beans::PropertyValue > everytime - because it's fix.
- */
-
- virtual css::uno::Type SAL_CALL getElementType()
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XElementAccess
-
- /** @short return fill state of this cache.
-
- @return sal_True if any item exist inside this conatiner; sal_False otherwhise.
- */
-
- virtual sal_Bool SAL_CALL hasElements()
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XFlushable
-
- /** @short update the configuration layer and notify all registered listener.
-
- @descr All container interface methods update the internal structures of
- this container only. But the underlying configuration layer and
- may some possible other caches was not updated.
- Calling of flush() will do that.
- At the same time all currently registered flush listener will be informed,
- so they can update her structures too.
- Note: Before all these operations are started realy, all changes will be
- verified and if neccessary some corrections will be done.
- In case the cache will be invalid and could not be repaired an exception is thrown!
- Normaly this container will not work correctly afterwards ...
-
- @exception com::sun::star::uno::RuntimeException
- if the changes on this container was invald and could not be repaired.
- */
-
- virtual void SAL_CALL flush()
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XFlushable
-
- /** @short register listener for container updates.
-
- @param xListener
- reference to listener, which wish to be registered.
-
- @exception com::sun::star::uno::RuntimeException
- if the given listener is an invalid reference.
- Note: multiple calls of this method for the same listener won't be checked!
- */
-
- virtual void SAL_CALL addFlushListener( const css::uno::Reference< css::util::XFlushListener >& xListener )
- throw(css::uno::RuntimeException);
-
- //---------------------------------------
- // XFlushable
-
- /** @short deregister listener for container updates.
-
- @param xListener
- reference to listener, which wish to be deregistered.
-
- @exception com::sun::star::uno::RuntimeException
- if the given listener is an invalid reference.
- Note: multiple calls of this method for the same listener won't be checked!
- */
-
- virtual void SAL_CALL removeFlushListener( const css::uno::Reference< css::util::XFlushListener >& xListener )
- throw(css::uno::RuntimeException);
-
-}; // class DetectorFactory
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_SERVICES_DETECTORFACTORY_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/services/pluginframe.hxx b/framework/inc/services/pluginframe.hxx
deleted file mode 100644
index 1cb98cbe38fc..000000000000
--- a/framework/inc/services/pluginframe.hxx
+++ /dev/null
@@ -1,367 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_SERVICES_PLUGINFRAME_HXX_
-#define __FRAMEWORK_SERVICES_PLUGINFRAME_HXX_
-
-//_________________________________________________________________________________________________________________
-// my own includes
-//_________________________________________________________________________________________________________________
-
-#include <services/frame.hxx>
-
-//_________________________________________________________________________________________________________________
-// interface includes
-//_________________________________________________________________________________________________________________
-#include <com/sun/star/mozilla/XPluginInstance.hpp>
-#include <com/sun/star/mozilla/XPluginInstancePeer.hpp>
-#include <com/sun/star/mozilla/XPluginWindowPeer.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
-#include <com/sun/star/awt/XWindow.hpp>
-#include <com/sun/star/frame/XDispatchResultListener.hpp>
-#include <com/sun/star/frame/FeatureStateEvent.hpp>
-#include <com/sun/star/lang/EventObject.hpp>
-
-//_________________________________________________________________________________________________________________
-// other includes
-//_________________________________________________________________________________________________________________
-
-#include <vcl/threadex.hxx>
-#include <unotools/cmdoptions.hxx>
-
-
-//_________________________________________________________________________________________________________________
-// namespace
-//_________________________________________________________________________________________________________________
-
-namespace framework{
-
-//_________________________________________________________________________________________________________________
-// exported const
-//_________________________________________________________________________________________________________________
-
-//_________________________________________________________________________________________________________________
-// exported definitions
-//_________________________________________________________________________________________________________________
-
-/*-************************************************************************************************************//**
- @short implements an special frame - a plugin frame
- @descr -
-
- @implements XInitialization
- XPluginInstance
- XDispatchResultListener
- @base Frame
-*//*-*************************************************************************************************************/
-
-class PlugInFrame : public css::lang::XInitialization ,
- public css::mozilla::XPluginInstance ,
- public css::frame::XDispatchResultListener , // => XEVENTLISTENER
- public Frame // Order of baseclasses is neccessary for right initialization!
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
-
- public:
-
- //---------------------------------------------------------------------------------------------------------
- // constructor / destructor
- //---------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short standard constructor to create instance
- @descr This constructor initialize a new instance of this class,
- and will be set valid values on his member and baseclasses.
-
- @seealso -
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- PlugInFrame( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory );
-
- /*-****************************************************************************************************//**
- @short standard destructor
- @descr This method destruct an instance of this class and clear some member.
-
- @seealso -
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual ~PlugInFrame();
-
- //---------------------------------------------------------------------------------------------------------
- // XInterface, XTypeProvider, XServiceInfo
- //---------------------------------------------------------------------------------------------------------
-
- DECLARE_XINTERFACE
- DECLARE_XTYPEPROVIDER
- DECLARE_XSERVICEINFO
-
- //---------------------------------------------------------------------------------------------------------
- // XInitialization
- //---------------------------------------------------------------------------------------------------------
-
- void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& seqArguments ) throw( css::uno::Exception ,
- css::uno::RuntimeException );
-
- //---------------------------------------------------------------------------------------------------------
- // XPluginInstance
- //---------------------------------------------------------------------------------------------------------
-
- void SAL_CALL start () throw( css::uno::RuntimeException );
- void SAL_CALL implcb_start () throw( css::uno::RuntimeException );
- void SAL_CALL stop () throw( css::uno::RuntimeException );
- void SAL_CALL implcb_stop () throw( css::uno::RuntimeException );
- void SAL_CALL destroy () throw( css::uno::RuntimeException );
- void SAL_CALL implcb_destroy() throw( css::uno::RuntimeException );
- void SAL_CALL createWindow ( const css::uno::Any& aPlatformWindowHandle ,
- sal_Bool bEmbedded ) throw( css::uno::RuntimeException );
- void SAL_CALL implcb_createWindow ( const css::uno::Any& aPlatformWindowHandle ,
- sal_Bool bEmbedded ) throw( css::uno::RuntimeException );
- void SAL_CALL newStream ( const ::rtl::OUString& sMIMEDescription,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter ,
- const css::uno::Reference< css::io::XInputStream >& xStream ,
- const css::uno::Any& aSessionId ) throw( css::uno::RuntimeException );
- void SAL_CALL implcb_newStream
- ( const ::rtl::OUString& sMIMEDescription,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter ,
- const css::uno::Reference< css::io::XInputStream >& xStream ,
- const css::uno::Any& aSessionId ) throw( css::uno::RuntimeException );
- void SAL_CALL newURL ( const ::rtl::OUString& sMIMEDescription,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter ,
- const css::uno::Any& aSessionId ) throw( css::uno::RuntimeException );
- void SAL_CALL implcb_newURL ( const ::rtl::OUString& sMIMEDescription,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter ,
- const css::uno::Any& aSessionId ) throw( css::uno::RuntimeException );
- virtual void SAL_CALL getHttpServerURL( ::rtl::OUString& sHost ,
- sal_uInt16& nPort ,
- ::rtl::OUString& sPrefix ) throw( css::uno::RuntimeException );
-
- //---------------------------------------------------------------------------------------------------------
- // XDispatchProvider
- //---------------------------------------------------------------------------------------------------------
-
- virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL& aURL ,
- const ::rtl::OUString& sTargetFrameName,
- sal_Int32 nSearchFlags ) throw( css::uno::RuntimeException );
- virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescripts ) throw( css::uno::RuntimeException );
-
- //---------------------------------------------------------------------------------------------------------
- // XDispatchResultListener
- //---------------------------------------------------------------------------------------------------------
-
- virtual void SAL_CALL dispatchFinished ( const css::frame::DispatchResultEvent& aEvent ) throw( css::uno::RuntimeException );
-
- //---------------------------------------------------------------------------------------------------------
- // XEventListener
- //---------------------------------------------------------------------------------------------------------
-
- void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException );
-
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
-
- protected:
-
- //-------------------------------------------------------------------------------------------------------------
- // private methods
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- void impl_tryToLoadDocument();
- sal_Bool impl_registerRemoteFactories( const css::uno::Reference< css::lang::XMultiServiceFactory >& xRemoteServiceManager );
-
- //-------------------------------------------------------------------------------------------------------------
- // debug methods
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- /*-****************************************************************************************************//**
- @short debug-method to check incoming parameter of some other mehods of this class
- @descr The following methods are used to check parameters for other methods
- of this class. The return value is used directly for an ASSERT(...).
-
- @seealso ASSERTs in implementation!
-
- @param references to checking variables
- @return sal_False on invalid parameter<BR>
- sal_True otherway
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- #ifdef ENABLE_ASSERTIONS
-
- private:
-
- static sal_Bool impldbg_checkParameter_initialize ( const css::uno::Sequence< css::uno::Any >& seqArguments );
- static sal_Bool impldbg_checkParameter_createWindow ( const css::uno::Any& aPlatformWindowHandle ,
- sal_Bool bEmbedded );
- static sal_Bool impldbg_checkParameter_newStream ( const ::rtl::OUString& sMIMEDescription ,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter ,
- const css::uno::Reference< css::io::XInputStream >& xStream );
- static sal_Bool impldbg_checkParameter_newURL ( const ::rtl::OUString& sMIMEDescription ,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter );
- static sal_Bool impldbg_checkParameter_getHttpServerURL ( ::rtl::OUString& sHost ,
- sal_uInt16& nPort ,
- ::rtl::OUString& sPrefix );
- static sal_Bool impldbg_checkParameter_queryDispatch ( const css::util::URL& aURL ,
- const ::rtl::OUString& sTargetFrameName ,
- sal_Int32 nSearchFlags );
- static sal_Bool impldbg_checkParameter_queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescripts );
- static sal_Bool impldbg_checkParameter_statusChanged ( const css::frame::FeatureStateEvent& aEvent );
- static sal_Bool impldbg_checkParameter_disposing ( const css::lang::EventObject& aEvent );
-
- #endif // #ifdef ENABLE_ASSERTIONS
-
- //-------------------------------------------------------------------------------------------------------------
- // variables
- // (should be private everyway!)
- //-------------------------------------------------------------------------------------------------------------
-
- private:
-
- css::uno::Reference< css::mozilla::XPluginInstancePeer > m_xPlugInInstancePeer ; /// Reference to UNO interface of PlugIn dll for communication with browser
- css::uno::Reference< css::mozilla::XPluginWindowPeer > m_xPlugInWindowPeer ; /// Reference to set child window at plugin window
- css::uno::Sequence< css::beans::PropertyValue > m_seqProperties ; /// Sequence of properties as arguments for load document
- css::util::URL m_aURL ; /// URL for document to load
- sal_Bool m_bILoad ; /// PlugInFrame has a valid loader which load the document and wait for finished/cancelled
- sal_Bool m_bIHaveDocument ; /// We have a document loaded successful.
- css::uno::Reference< css::frame::XDispatchProvider > m_xPlugInDispatcher ; /// Dispatcher to forward dispatches to browser
- static sal_Bool m_bRemoteFactoriesExist ; /// indicates, if remote factories was already registered (neccessary one times only!)
- SvtCommandOptions m_aCommandOptions ; /// ref counted class to support disabling commands defined by configuration file
-
-}; // class PlugInFrame
-
-/*-************************************************************************************************************//**
- @short used to forward all asynchronous calls which use VCL internal to the main thread
- @descr We need this asynchronous mechanism to prevent us against dead locks. Sometimes our main thread
- can call us for event handling like FOCUS, ACTIVATE and something else. But at the same time we will call
- the main thread to CREATE A WINDOW, SET IT VISIBLE ... Then we have a problem. We must send us himself a event
- to run our code synchronized with our main thread!
-
- @implements
- @base -
-*//*-*************************************************************************************************************/
-
-enum eIMPL_PluginCommand
-{
- START ,
- STOP ,
- CREATEWINDOW ,
- DESTROY ,
- NEWSTREAM ,
- NEWURL
-};
-
-class cIMPL_MainThreadExecutorRequest
-{
- public:
- cIMPL_MainThreadExecutorRequest( eIMPL_PluginCommand eCommand ,
- PlugInFrame* pPluginInstance );
-
- cIMPL_MainThreadExecutorRequest( eIMPL_PluginCommand eCommand ,
- PlugInFrame* pPluginInstance ,
- const css::uno::Any& aPlatformWindowHandle ,
- sal_Bool bEmbedded );
-
- cIMPL_MainThreadExecutorRequest( eIMPL_PluginCommand eCommand ,
- PlugInFrame* pPluginInstance ,
- const ::rtl::OUString& sMIMEDescription ,
- const ::rtl::OUString& sURL ,
- const ::rtl::OUString& sFilter ,
- const css::uno::Reference< css::io::XInputStream >& xStream ,
- const css::uno::Any& aSessionId );
-
- /*-****************************************************************************************************//**
- @short -
- @descr -
-
- @seealso -
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
-
- virtual long doIt();
-
- //-------------------------------------------------------------------------------------------------------------
- // private variables
- //-------------------------------------------------------------------------------------------------------------
- private:
-
- eIMPL_PluginCommand m_eCommand ; /// switch to specify forward function
- PlugInFrame* m_pPluginInstance ; /// instance wich has started this swicth mechanism and wish to called back from us
- css::uno::Reference< css::uno::XInterface > m_xPluginInstance ; /// reference to our plugin frame to prevent that plugin frame dies before we call back
- css::uno::Any m_aPlatformWindowHandle ; /// parameter for XPluginInstance->createWindow()
- sal_Bool m_bEmbedded ; /// parameter for XPluginInstance->createWindow()
- ::rtl::OUString m_sMIMEDescription ; /// parameter for XPluginInstance->newStream()/newURL()
- ::rtl::OUString m_sURL ; /// parameter for XPluginInstance->newStream()/newURL()
- ::rtl::OUString m_sFilter ; /// parameter for XPluginInstance->newStream()/newURL()
- css::uno::Reference< css::io::XInputStream > m_xStream ; /// parameter for XPluginInstance->newStream()/newURL()
- css::uno::Any m_aSessionId ; /// parameter for XPluginInstance->newStream()/newURL()
-};
-
-class cIMPL_MainThreadExecutor
-{
- //-------------------------------------------------------------------------------------------------------------
- // public methods
- //-------------------------------------------------------------------------------------------------------------
- public:
- static void execute( cIMPL_MainThreadExecutorRequest* pRequest );
-
- /*-****************************************************************************************************//**
- @short -
- @descr -
-
- @seealso -
-
- @param -
- @return -
-
- @onerror -
- *//*-*****************************************************************************************************/
- DECL_STATIC_LINK( cIMPL_MainThreadExecutor, worker, cIMPL_MainThreadExecutorRequest* );
-};
-
-} // namespace framework
-
-#endif // #ifndef __FRAMEWORK_SERVICES_PLUGINFRAME_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/source/inc/pattern/storages.hxx b/framework/source/inc/pattern/storages.hxx
deleted file mode 100644
index 0b5fa07184be..000000000000
--- a/framework/source/inc/pattern/storages.hxx
+++ /dev/null
@@ -1,96 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __FRAMEWORK_PATTERN_STORAGES_HXX_
-#define __FRAMEWORK_PATTERN_STORAGES_HXX_
-
-//_______________________________________________
-// own includes
-
-#include <services.h>
-#include <general.h>
-
-//_______________________________________________
-// interface includes
-#include <com/sun/star/io/XOutputStream.hpp>
-#include <com/sun/star/io/XSeekable.hpp>
-#include <com/sun/star/embed/ElementModes.hpp>
-#include <com/sun/star/embed/XStorage.hpp>
-#include <com/sun/star/embed/XPackageStructureCreator.hpp>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-
-//_______________________________________________
-// other includes
-
-//_______________________________________________
-// namespaces
-
-#ifndef css
-namespace css = ::com::sun::star;
-#endif
-
-namespace framework{
- namespace pattern{
- namespace storages{
-
-//_______________________________________________
-// definitions
-
-//-----------------------------------------------
-css::uno::Reference< css::embed::XStorage > createTempStorageBasedOnFolder(const ::rtl::OUString& sFolder ,
- const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR ,
- sal_Bool bReadOnly)
-{
- // error during opening the temp file isnt realy a runtime error -> handle it gracefully
- css::uno::Reference< css::io::XOutputStream > xTempFile(xSMGR->createInstance(SERVICENAME_TEMPFILE), css::uno::UNO_QUERY);
- if (!xTempFile.is())
- return css::uno::Reference< css::embed::XStorage >();
-
- // creation of needed resources is mandatory -> error = runtime error
- css::uno::Reference< css::embed::XPackageStructureCreator > xPackageCreator(xSMGR->createInstance(SERVICENAME_PACKAGESTRUCTURECREATOR), css::uno::UNO_QUERY_THROW);
- css::uno::Reference< css::lang::XSingleServiceFactory > xStorageFactory(xSMGR->createInstance(SERVICENAME_STORAGEFACTORY) , css::uno::UNO_QUERY_THROW);
-
- // create zip package
- xPackageCreator->convertToPackage(sFolder, xTempFile);
-
- // seek it back - so it can be used in a defined way.
- css::uno::Reference< css::io::XSeekable > xSeekable(xTempFile, css::uno::UNO_QUERY_THROW);
- xSeekable->seek(0);
-
- // open the temp. zip package - using the right open mode
- sal_Int32 nOpenMode = css::embed::ElementModes::ELEMENT_READWRITE;
- if (bReadOnly)
- nOpenMode = css::embed::ElementModes::ELEMENT_READ;
-
- css::uno::Sequence< css::uno::Any > lArgs(2);
- lArgs[0] <<= xTempFile;
- lArgs[1] <<= nOpenMode;
-
- css::uno::Reference< css::embed::XStorage > xStorage(xStorageFactory->createInstanceWithArguments(lArgs), css::uno::UNO_QUERY_THROW);
- return xStorage;
-}
-
- } // namespace storages
- } // namespace pattern
-} // namespace framework
-
-#endif // __FRAMEWORK_PATTERN_STORAGES_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/cclass_cjk.hxx b/i18npool/inc/cclass_cjk.hxx
deleted file mode 100644
index a18381a59dc0..000000000000
--- a/i18npool/inc/cclass_cjk.hxx
+++ /dev/null
@@ -1,89 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _CCLASS_CJK_H_
-#define _CCLASS_CJK_H_
-
-#include <cclass_unicode.hxx>
-
-namespace com { namespace sun { namespace star { namespace i18n {
-
-#define MAXLEN 31 // Define max length for CJK number
-
-#define ZERO 0x0030 // Define unicode zero
-#define ONE 0x0031 // Define unicode one
-
-class cclass_CJK : public cclass_Unicode {
-public:
- cclass_CJK( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF );
- ~cclass_CJK();
- i18n::ParseResult SAL_CALL parsePredefinedToken(
- sal_Int32 nTokenType,
- const rtl::OUString& Text,
- sal_Int32 nPos,
- const com::sun::star::lang::Locale& rLocale,
- sal_Int32 nStartCharFlags,
- const rtl::OUString& userDefinedCharactersStart,
- sal_Int32 nContCharFlags,
- const rtl::OUString& userDefinedCharactersCont )
- throw(com::sun::star::uno::RuntimeException);
-
-protected:
- sal_Int32 size;
- rtl::OUString number;
- sal_Unicode *text;
- sal_Int32 textPos;
-
- sal_Unicode *Upper;
- sal_Unicode *Base;
- sal_Unicode *Plus;
-
- static sal_Int32 cclass_CJK::upperVal[];
- static sal_Int32 cclass_CJK::baseVal[];
- static sal_Int32 cclass_CJK::plusVal[];
-
-private:
- sal_Int32 ToNum();
- sal_Int32 ToNum(sal_Unicode *n, sal_Int32 s);
- void Init(sal_Unicode *n, sal_Int32 s);
- void NumberCopy(sal_Unicode *s, sal_Unicode *t, sal_Int32 n);
- void NumberReverse(sal_Unicode *s, sal_Int32 n);
- sal_Int32 oneDigit(sal_Unicode s);
- sal_Int32 baseDigit(sal_Unicode s);
- sal_Int32 plusDigit(sal_Unicode s);
-};
-
-#define CCLASS_CJK( name ) \
-class name : public cclass_CJK \
-{ \
-public: \
- name ( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF ); \
-};
-
-#ifdef CCLASS_ALL
-CCLASS_CJK(cclass_zh)
-CCLASS_CJK(cclass_zh_TW)
-CCLASS_CJK(cclass_ko)
-#endif
-#undef CCLASS_CJK
-
-} } } }
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xfconditionformat.hxx b/lotuswordpro/source/filter/xfilter/xfconditionformat.hxx
deleted file mode 100644
index 3379f398d4ea..000000000000
--- a/lotuswordpro/source/filter/xfilter/xfconditionformat.hxx
+++ /dev/null
@@ -1,72 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * The Contents of this file are made available subject to the terms of
- * either of the following licenses
- *
- * - GNU Lesser General Public License Version 2.1
- * - Sun Industry Standards Source License Version 1.1
- *
- * Sun Microsystems Inc., October, 2000
- *
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2000 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- *
- * Sun Industry Standards Source License Version 1.1
- * =================================================
- * The contents of this file are subject to the Sun Industry Standards
- * Source License Version 1.1 (the "License"); You may not use this file
- * except in compliance with the License. You may obtain a copy of the
- * License at http://www.openoffice.org/license.html.
- *
- * Software provided under this License is provided on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
- * See the License for the specific provisions governing your rights and
- * obligations concerning the Software.
- *
- * The Initial Developer of the Original Code is: IBM Corporation
- *
- * Copyright: 2008 by IBM Corporation
- *
- * All Rights Reserved.
- *
- * Contributor(s): _______________________________________
- *
- *
- ************************************************************************/
-#ifndef _XFCONDITIONFORMAT_HXX
-#define _XFCONDITIONFORMAT_HXX
-
-class XFConditionFormat
-{
-public:
- XFConditionFormat();
-
-public:
- void SetCondition();
-
-private:
-
-};
-
-#endif
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xfframetable.hxx b/lotuswordpro/source/filter/xfilter/xfframetable.hxx
deleted file mode 100644
index d33ed78dde64..000000000000
--- a/lotuswordpro/source/filter/xfilter/xfframetable.hxx
+++ /dev/null
@@ -1,89 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * The Contents of this file are made available subject to the terms of
- * either of the following licenses
- *
- * - GNU Lesser General Public License Version 2.1
- * - Sun Industry Standards Source License Version 1.1
- *
- * Sun Microsystems Inc., October, 2000
- *
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2000 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- *
- * Sun Industry Standards Source License Version 1.1
- * =================================================
- * The contents of this file are subject to the Sun Industry Standards
- * Source License Version 1.1 (the "License"); You may not use this file
- * except in compliance with the License. You may obtain a copy of the
- * License at http://www.openoffice.org/license.html.
- *
- * Software provided under this License is provided on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
- * See the License for the specific provisions governing your rights and
- * obligations concerning the Software.
- *
- * The Initial Developer of the Original Code is: IBM Corporation
- *
- * Copyright: 2008 by IBM Corporation
- *
- * All Rights Reserved.
- *
- * Contributor(s): _______________________________________
- *
- *
- ************************************************************************/
-/*************************************************************************
- * @file
- * Table object exist in a frame.
- ************************************************************************/
-#ifndef _XFFRAMETABLE_HXX
-#define _XFFRAMETABLE_HXX
-
-#include "xftable.hxx"
-#include "xfframe.hxx"
-
-class XFFrameTable : public XFTable
-{
-public:
- void SetFrameStyle(rtl::OUString style);
-
- virtual void ToXml(IXFStream *pStrm);
-
-private:
- rtl::OUString m_strFrameStyle;
-};
-
-inline void XFFrameTable::ToXml(IXFStream *pStrm)
-{
- XFFrame *pFrame = new XFFrame();
- pFrame->SetStyleName(m_strFrameStyle);
- pFrame->Add(this);
- pFrame->ToXml(pStrm);
-
- delete pFrame;
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xfpvector.hxx b/lotuswordpro/source/filter/xfilter/xfpvector.hxx
deleted file mode 100644
index f4b14be18983..000000000000
--- a/lotuswordpro/source/filter/xfilter/xfpvector.hxx
+++ /dev/null
@@ -1,98 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * The Contents of this file are made available subject to the terms of
- * either of the following licenses
- *
- * - GNU Lesser General Public License Version 2.1
- * - Sun Industry Standards Source License Version 1.1
- *
- * Sun Microsystems Inc., October, 2000
- *
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2000 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- *
- * Sun Industry Standards Source License Version 1.1
- * =================================================
- * The contents of this file are subject to the Sun Industry Standards
- * Source License Version 1.1 (the "License"); You may not use this file
- * except in compliance with the License. You may obtain a copy of the
- * License at http://www.openoffice.org/license.html.
- *
- * Software provided under this License is provided on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
- * See the License for the specific provisions governing your rights and
- * obligations concerning the Software.
- *
- * The Initial Developer of the Original Code is: IBM Corporation
- *
- * Copyright: 2008 by IBM Corporation
- *
- * All Rights Reserved.
- *
- * Contributor(s): _______________________________________
- *
- *
- ************************************************************************/
-/*************************************************************************
- * @file
- * Pointer vector.
- ************************************************************************/
-#ifndef _XFPVECTOR_HXX
-#define _XFPVECTOR_HXX
-
-#include <vector>
-
-template<class T>
-class XFPVector : public std::vector<T>
-{
-public:
- ~XFPVector()
- {
- std::vector<T>::iterator it;
- for( it=begin(); it != end(); it++ )
- {
- T pT = *it;
- if( pT )
- {
- delete pT;
- }
- }
- }
-
- void Reset()
- {
- std::vector<T>::iterator it;
- for( it=begin(); it != end(); it++ )
- {
- T *pT = *it;
- if( pT )
- {
- delete pT;
- }
- }
- clear();
- }
-};
-
-#endif
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xfstylefamily.hxx b/lotuswordpro/source/filter/xfilter/xfstylefamily.hxx
deleted file mode 100644
index db762d13eaff..000000000000
--- a/lotuswordpro/source/filter/xfilter/xfstylefamily.hxx
+++ /dev/null
@@ -1,74 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * The Contents of this file are made available subject to the terms of
- * either of the following licenses
- *
- * - GNU Lesser General Public License Version 2.1
- * - Sun Industry Standards Source License Version 1.1
- *
- * Sun Microsystems Inc., October, 2000
- *
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2000 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- *
- * Sun Industry Standards Source License Version 1.1
- * =================================================
- * The contents of this file are subject to the Sun Industry Standards
- * Source License Version 1.1 (the "License"); You may not use this file
- * except in compliance with the License. You may obtain a copy of the
- * License at http://www.openoffice.org/license.html.
- *
- * Software provided under this License is provided on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
- * See the License for the specific provisions governing your rights and
- * obligations concerning the Software.
- *
- * The Initial Developer of the Original Code is: IBM Corporation
- *
- * Copyright: 2008 by IBM Corporation
- *
- * All Rights Reserved.
- *
- * Contributor(s): _______________________________________
- *
- *
- ************************************************************************/
-#ifndef _XFSTYLEFAMILY_HXX
-#define _XFSTYLEFAMILY_HXX
-
-enum enumXFStyleFamily
-{
- enumXFStyleUnknown,
- enumXFStyleText,
- enumXFStylePara,
- enumXFStyleList,
- enumXFStyleSection,
- enumXFStyleGraphics,
- enumXFStylePageMaster,
- enumXFStyleMasterPage,
- enumXFStyleDate
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xfsubject.hxx b/lotuswordpro/source/filter/xfilter/xfsubject.hxx
deleted file mode 100644
index 03c4430d4acf..000000000000
--- a/lotuswordpro/source/filter/xfilter/xfsubject.hxx
+++ /dev/null
@@ -1,83 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * The Contents of this file are made available subject to the terms of
- * either of the following licenses
- *
- * - GNU Lesser General Public License Version 2.1
- * - Sun Industry Standards Source License Version 1.1
- *
- * Sun Microsystems Inc., October, 2000
- *
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2000 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- *
- * Sun Industry Standards Source License Version 1.1
- * =================================================
- * The contents of this file are subject to the Sun Industry Standards
- * Source License Version 1.1 (the "License"); You may not use this file
- * except in compliance with the License. You may obtain a copy of the
- * License at http://www.openoffice.org/license.html.
- *
- * Software provided under this License is provided on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
- * See the License for the specific provisions governing your rights and
- * obligations concerning the Software.
- *
- * The Initial Developer of the Original Code is: IBM Corporation
- *
- * Copyright: 2008 by IBM Corporation
- *
- * All Rights Reserved.
- *
- * Contributor(s): _______________________________________
- *
- *
- ************************************************************************/
-/*************************************************************************
- * @file
- * Page number field.
- ************************************************************************/
-#ifndef _XFSUBJECT_HXX
-#define _XFSUBJECT_HXX
-
-#include "xfglobal.hxx"
-#include "xfcontent.hxx"
-#include "xfnumfmt.hxx"
-
-class XFSubject : public XFContent
-{
-public:
- virtual void ToXml(IXFStream *pStrm);
-};
-
-inline void XFSubject::ToXml(IXFStream *pStrm)
-{
- IXFAttrList *pAttrList = pStrm->GetAttrList();
- pAttrList->Clear();
-
- pStrm->StartElement( A2OUSTR("text:subject") );
- pStrm->EndElement( A2OUSTR("text:subject") );
-}
-
-#endif
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xftitle.hxx b/lotuswordpro/source/filter/xfilter/xftitle.hxx
deleted file mode 100644
index 876e53853680..000000000000
--- a/lotuswordpro/source/filter/xfilter/xftitle.hxx
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * The Contents of this file are made available subject to the terms of
- * either of the following licenses
- *
- * - GNU Lesser General Public License Version 2.1
- * - Sun Industry Standards Source License Version 1.1
- *
- * Sun Microsystems Inc., October, 2000
- *
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2000 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- *
- * Sun Industry Standards Source License Version 1.1
- * =================================================
- * The contents of this file are subject to the Sun Industry Standards
- * Source License Version 1.1 (the "License"); You may not use this file
- * except in compliance with the License. You may obtain a copy of the
- * License at http://www.openoffice.org/license.html.
- *
- * Software provided under this License is provided on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
- * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
- * See the License for the specific provisions governing your rights and
- * obligations concerning the Software.
- *
- * The Initial Developer of the Original Code is: IBM Corporation
- *
- * Copyright: 2008 by IBM Corporation
- *
- * All Rights Reserved.
- *
- * Contributor(s): _______________________________________
- *
- *
- ************************************************************************/
-/*************************************************************************
- * @file
- * Page number field.
- ************************************************************************/
-#ifndef _XFTITLE_HXX
-#define _XFTITLE_HXX
-
-#include "xfglobal.hxx"
-#include "xfcontent.hxx"
-#include "xfnumfmt.hxx"
-
-/**
- * @brief
- * Title field.
- */
-class XFTitle : public XFContent
-{
-public:
- virtual void ToXml(IXFStream *pStrm);
-};
-
-inline void XFTitle::ToXml(IXFStream *pStrm)
-{
- IXFAttrList *pAttrList = pStrm->GetAttrList();
- pAttrList->Clear();
-
- pStrm->StartElement( A2OUSTR("text:title") );
- pStrm->EndElement( A2OUSTR("text:title") );
-}
-
-#endif
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/filter/xml/xmlRow.hxx b/reportdesign/source/filter/xml/xmlRow.hxx
deleted file mode 100644
index cd52252d6765..000000000000
--- a/reportdesign/source/filter/xml/xmlRow.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef RPT_XMLCOLUMN_HXX
-#define RPT_XMLCOLUMN_HXX
-
-#include <xmloff/xmlictxt.hxx>
-
-namespace rptxml
-{
- class ORptFilter;
- class OXMLTable;
- class OXMLRowColumn : public SvXMLImportContext
- {
- ::rtl::OUString m_sStyleName;
- OXMLTable* m_pContainer;
-
- ORptFilter& GetOwnImport();
- OXMLRowColumn(const OXMLRowColumn&);
- void operator =(const OXMLRowColumn&);
- public:
-
- OXMLRowColumn( ORptFilter& rImport
- ,sal_uInt16 nPrfx
- ,const ::rtl::OUString& rLName
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList
- ,OXMLTable* _pContainer = NULL);
- virtual ~OXMLRowColumn();
-
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
- const ::rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList );
-
- virtual void EndElement();
- };
-// -----------------------------------------------------------------------------
-} // namespace rptxml
-// -----------------------------------------------------------------------------
-
-#endif // RPT_XMLCOLUMN_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sax/inc/sax/parser/saxparser.hxx b/sax/inc/sax/parser/saxparser.hxx
deleted file mode 100644
index 120dc20019d5..000000000000
--- a/sax/inc/sax/parser/saxparser.hxx
+++ /dev/null
@@ -1,141 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SAX_SAXPARSER_HXX_
-#define _SAX_SAXPARSER_HXX_
-
-#include <com/sun/star/xml/sax/InputSource.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
-#include <rtl/ref.hxx>
-
-#include <boost/shared_ptr.hpp>
-
-#include <map>
-#include <memory>
-#include "sax/tools/saxobject.hxx"
-#include "sax/tools/attributemap.hxx"
-
-#include <boost/scoped_ptr.hpp>
-
-namespace sax
-{
-
-// --------------------------------------------------------------------
-
-class SaxParser;
-class SaxContext;
-
-typedef rtl::Reference< SaxParser > SaxParserRef;
-typedef rtl::Reference< SaxContext > SaxContextRef;
-
-/** base class for each implementation that handles all sax calls for an element */
-class SAX_DLLPUBLIC SaxContext : public SaxObject
-{
-public:
- SaxContext( const SaxParserRef& xParser );
- virtual ~SaxContext();
-
- /** receives notification of the beginning of an element .
- */
- virtual void StartElement( sal_uInt32 aElementToken, const AttributeMap& rAttributes );
-
- /** receives notification of character data.
- */
- virtual void Characters( const sal_Char *pCharacters, sal_uInt32 nLength );
-
- /** receives notification of the end of an element.
- */
- virtual void EndElement( sal_uInt32 aElementToken );
-
- /** is called by the SaxParser for each child element inside this instances element */
- virtual SaxContextRef CreateContext( sal_uInt32 aElementToken, const AttributeMap& rAttributes );
-
- const SaxParserRef& getParser() const { return mxParser; }
-private:
- SaxParserRef mxParser;
-};
-
-// --------------------------------------------------------------------
-
-class SaxParserImpl;
-
-/** base class for loading a single xml stream. Derived classes must call
- parseStream to start parsing and are notified through virtual methods
- for sax events. */
-class SAX_DLLPUBLIC SaxParser : public SaxObject
-{
-public:
- SaxParser();
- virtual ~SaxParser();
-
- /** returns the unicode representation of a token from the xml stream
- that was unknown to the SaxTokenMap from the derived class. */
- rtl::OUString GetCustomToken( sal_uInt32 nToken );
-
- /** returns the unicode representation of a namespace from the xml stream
- that was unknown to the SaxTokenMap from the derived class. */
- rtl::OUString GetCustomNamespace( sal_uInt32 nToken );
-
- /** returns the system id of the currently parsed stream */
- const rtl::OUString& GetSystemId() const;
-
- /** starts parsing of the source xml stream provided in the given sax InputSource */
- virtual void parseStream( const ::com::sun::star::xml::sax::InputSource& rInputSource ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
-
- /** is called once when parsing of the xml stream starts */
- virtual void StartDocument();
-
- /** is called once for each element in the xml stream.
- Default implementation calls StartElement() on the topmost contex. */
- virtual void StartElement( sal_uInt32 aElementToken, const AttributeMap& rAttributes );
-
- /** is called for characters betwen elements in the xml stream.
- Default implementation calls Characters() on the topmost contex.
- @param pCharacters The characters in utf-8 encoding
- @param nLength the size in bytes of the utf-8 string
- */
- virtual void Characters( const sal_Char *pCharacters, sal_uInt32 nLength );
-
- /** is called once at the end of each element in the xml stream.
- Default implementation calls EndElement() on the topmost contex. */
- virtual void EndElement( sal_uInt32 aElementToken );
-
- /** is called once after parsing the xml stream is finished */
- virtual void EndDocument();
-
- /** is called once for each element in the xml stream and before StartElement() is called.
- Default implementation calls CreateContext at the topmost context.
- Returned contexts are pushed on a stack and removed after the corresponding EndElement call. */
- virtual SaxContextRef CreateContext( sal_uInt32 aElementToken, const AttributeMap& rAttributes );
-
- /** must be implemented from derived classes. The returned SaxTokenMap is used to convert
- element names and attribute names and values to tokens. */
- virtual const SaxTokenMapRef& getTokenMap() = 0;
-
-private:
- void AddNamespace( sal_uInt32 nNamespaceId, sal_uInt32 nNamespaceURIToken );
-
- boost::scoped_ptr< SaxParserImpl > mpImpl;
-};
-
-}
-
-#endif // _SAX_SAXPARSER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuedipo.hxx b/sc/source/ui/inc/fuedipo.hxx
deleted file mode 100644
index 413daeb0a9c8..000000000000
--- a/sc/source/ui/inc/fuedipo.hxx
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SC_FUEDIPO_HXX
-#define SC_FUEDIPO_HXX
-
-#include "fudraw.hxx"
-
-
-/*************************************************************************
-|*
-|* Basisklasse fuer alle Funktionen
-|*
-\************************************************************************/
-
-class FuEditPoints : public FuDraw
-{
- public:
- FuEditPoints(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pView,
- SdrModel* pDoc, SfxRequest& rReq);
-
- virtual ~FuEditPoints();
- // Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
- virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
- virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
- virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
-
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
-};
-
-
-
-#endif // _SD_FUEDIPO_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/movedef.hxx b/sd/inc/movedef.hxx
deleted file mode 100644
index ac7189f3ded4..000000000000
--- a/sd/inc/movedef.hxx
+++ /dev/null
@@ -1,35 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SD_MOVEDEF_HXX
-#define _SD_MOVEDEF_HXX
-
-enum MoveSpeed
-{
- MOVE_SPEED_SLOW,
- MOVE_SPEED_MEDIUM,
- MOVE_SPEED_FAST
-};
-
-// muss angepasst werden!
-#define MOVE_SPEED_COUNT 3
-
-#endif // _SD_MOVEDEF_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sd_primitivetypes2d.hxx b/sd/inc/sd_primitivetypes2d.hxx
deleted file mode 100644
index 6c2976f531ae..000000000000
--- a/sd/inc/sd_primitivetypes2d.hxx
+++ /dev/null
@@ -1,41 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef INCLUDED_SD_PRIMITIVETYPES2D_HXX
-#define INCLUDED_SD_PRIMITIVETYPES2D_HXX
-
-#include <drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx>
-
-//////////////////////////////////////////////////////////////////////////////
-
-#define PRIMITIVE2D_ID_SDPAGEOBJECTFOCUSPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 0)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTSELECTPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 1)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTPAGEBITMAPPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 2)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTBORDERPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 3)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTFADENAMENUMBERPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 4)
-#define PRIMITIVE2D_ID_SDMOUSEOVEREFFECTPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 5)
-
-//////////////////////////////////////////////////////////////////////////////
-
-#endif // INCLUDED_SD_PRIMITIVETYPES2D_HXX
-
-//////////////////////////////////////////////////////////////////////////////
-// eof
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/3dchld.hxx b/sd/source/ui/inc/3dchld.hxx
deleted file mode 100644
index 1e5093466bbe..000000000000
--- a/sd/source/ui/inc/3dchld.hxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-
-#ifndef _SD_3DCHLD_HXX
-#define _SD_3DCHLD_HXX
-
-
-#include <sfx2/childwin.hxx>
-
-/*************************************************************************
-|*
-|* Ableitung vom SfxChildWindow als "Behaelter" fuer 3D Window
-|*
-\************************************************************************/
-
-class Sd3DChildWindow : public SfxChildWindow
-{
- public:
- Sd3DChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
-
- SFX_DECL_CHILDWINDOW(Sd3DChildWindow);
-};
-
-#endif // _SD_3DCHLD_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/CustomAnimation.hxx b/sd/source/ui/inc/CustomAnimation.hxx
deleted file mode 100644
index 6ca44ac71b3a..000000000000
--- a/sd/source/ui/inc/CustomAnimation.hxx
+++ /dev/null
@@ -1,34 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SD_CUSTOMANIMATION_HXX_
-#define _SD_CUSTOMANIMATION_HXX_
-
-#include <com/sun/star/frame/XModel.hpp>
-
-class Window;
-
-namespace sd {
-
- extern ::Window* createCustomAnimationPane( ::Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
-}
-
-#endif // _SD_CUSTOMANIMATION_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/ViewTabControl.hxx b/sd/source/ui/inc/ViewTabControl.hxx
deleted file mode 100644
index 45e48b523b87..000000000000
--- a/sd/source/ui/inc/ViewTabControl.hxx
+++ /dev/null
@@ -1,113 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SD_TAB_CONTROL_HXX
-#define SD_TAB_CONTROL_HXX
-
-#include <svtools/tabbar.hxx>
-#include <svtools/transfer.hxx>
-
-namespace sd {
-
-/*************************************************************************
-|*
-|* TabControl-Klasse fuer Seitenumschaltung
-|*
-\************************************************************************/
-
-class DrawViewShell;
-
-class TabControl
- : public TabBar,
- public DragSourceHelper,
- public DropTargetHelper
-{
-public:
- TabControl (DrawViewShell* pDrViewSh, ::Window* pParent);
- virtual ~TabControl (void);
-
- /** Inform all listeners of this control that the current page has been
- activated. Call this method after switching the current page and is
- not done elsewhere (like when using page up/down keys).
- */
- void SendActivatePageEvent (void);
-
- /** Inform all listeners of this control that the current page has been
- deactivated. Call this method before switching the current page and
- is not done elsewhere (like when using page up/down keys).
- */
- void SendDeactivatePageEvent (void);
-
-protected:
- DrawViewShell* pDrViewSh;
- sal_Bool bInternalMove;
-
- // TabBar
- virtual void Select();
- virtual void DoubleClick();
- virtual void MouseButtonDown(const MouseEvent& rMEvt);
-
- virtual void Command(const CommandEvent& rCEvt);
-
- virtual long StartRenaming();
- virtual long AllowRenaming();
- virtual void EndRenaming();
-
- virtual void ActivatePage();
- virtual long DeactivatePage();
-
- // DragSourceHelper
- virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
-
- // DropTargetHelper
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
-
- DECL_LINK(DeactivatePageHdl, void*);
-
-private:
- // nested class to implement the TransferableHelper
- class TabControlTransferable : public TransferableHelper
- {
- public:
- TabControlTransferable( TabControl& rParent ) :
- mrParent( rParent ) {}
- private:
-
- TabControl& mrParent;
-
- virtual ~TabControlTransferable();
-
- virtual void AddSupportedFormats();
- virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- virtual void DragFinished( sal_Int8 nDropAction );
-
- };
-
- friend class TabControl::TabControlTransferable;
-
- void DragFinished( sal_Int8 nDropAction );
-
-};
-
-} // end of namespace sd
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/fugrid.hxx b/sd/source/ui/inc/fugrid.hxx
deleted file mode 100644
index 090c001885b2..000000000000
--- a/sd/source/ui/inc/fugrid.hxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SD_FU_GRID_HXX
-#define SD_FU_GRID_HXX
-
-#include "fupoor.hxx"
-
-namespace sd {
-
-class FuGrid
- : public FuPoor
-{
-public:
- TYPEINFO();
-
- static FunctionReference Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
-
- virtual void Activate();
- virtual void Deactivate();
-
-private:
- FuGrid (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq);
-};
-
-} // end of namespace sd
-
-#endif
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/unslsel.hxx b/sd/source/ui/inc/unslsel.hxx
deleted file mode 100644
index 171cfe2f28c8..000000000000
--- a/sd/source/ui/inc/unslsel.hxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SD_UNSLSEL_HXX
-#define _SD_UNSLSEL_HXX
-
-#include "sdundo.hxx"
-
-class SlideSelectionUndoAction : public SdUndoAction
-{
- Container* pOldOrder;
- Container* pNewOrder;
-
-public:
- TYPEINFO();
- SlideSelectionUndoAction(SdDrawDocument* pTheDoc,
- Container* pOld, Container* pNew)
- : SdUndoAction(pTheDoc),
- pOldOrder(pOld),
- pNewOrder(pNew) {}
- virtual ~SlideSelectionUndoAction() {}
- virtual void Undo();
- virtual void Redo();
-};
-
-#endif // _SD_UNSLSEL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
deleted file mode 100644
index 5bc93d1fefcb..000000000000
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
+++ /dev/null
@@ -1,313 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SD_SLIDESORTER_QUEUE_PROCESSOR_THREAD_HXX
-#define SD_SLIDESORTER_QUEUE_PROCESSOR_THREAD_HXX
-
-#include "view/SlsPageObjectViewObjectContact.hxx"
-#include <vcl/svapp.hxx>
-#include <osl/thread.hxx>
-
-namespace sd { namespace slidesorter { namespace view {
-class SlideSorterView;
-} } }
-
-
-namespace sd { namespace slidesorter { namespace cache {
-
-
-template <class Queue,
- class RequestData,
- class BitmapCache,
- class BitmapFactory>
-class QueueProcessorThread
- : public ::osl::Thread
-{
-public:
- QueueProcessorThread (
- view::SlideSorterView& rView,
- Queue& rQueue,
- BitmapCache& rCache);
- ~QueueProcessorThread (void);
-
- /** Start the execution of a suspended thread. A thread is suspended
- after Stop() is called or when the queue on which it operates is
- empty. Calling Start() on a running thread is OK.
- */
- void Start (void);
-
- /** Stop the thread by suspending it. To re-start its execution call
- Start().
- */
- void Stop (void);
-
- /** As we can not really terminate the rendering of a preview bitmap for
- a request in midair this method acts more like a semaphor. It
- returns only when it is save for the caller to delete the request.
- For this to work it is important to remove the request from the
- queue before calling this method.
- */
- void RemoveRequest (RequestData& rRequest);
-
- /** Terminate the execution of the thread. When the thread is detached
- it deletes itself. Otherwise the caller of this method may call
- delete after this method returnes.
- */
- void SAL_CALL Terminate (void);
-
-protected:
- /** This virutal method is called (among others?) from the
- inherited create method and acts as the main function of this
- thread.
- */
- virtual void SAL_CALL run (void);
-
- /** Called after the thread is terminated via the terminate
- method. Used to kill the thread by calling delete on this.
- */
- virtual void SAL_CALL onTerminated (void);
-
-private:
- /** Flag that indicates whether the onTerminated method has been already
- called. If so then a subsequent call to detach deletes the thread.
- */
- volatile bool mbIsTerminated;
-
- volatile bool mbCanBeJoined;
-
- /** This mutex is used to guard the queue processor. Be carefull not to
- mix its use with that of the solar mutex.
- */
- ::osl::Mutex maMutex;
-
- view::SlideSorterView& mrView;
- Queue& mrQueue;
- BitmapCache& mrCache;
-
- void ProcessQueueEntry (void);
-};
-
-
-
-
-//===== QueueProcessorThread ================================================
-
-template <class Queue, class Request, class Cache, class Factory>
- QueueProcessorThread<Queue, Request, Cache, Factory>
- ::QueueProcessorThread (
- view::SlideSorterView& rView,
- Queue& rQueue,
- Cache& rCache)
- : mbIsTerminated (false),
- mbCanBeJoined (false),
- mrView (rView),
- mrQueue (rQueue),
- mrCache (rCache)
-{
- create();
-}
-
-
-
-
-template <class Queue, class Request, class Cache, class Factory>
- QueueProcessorThread<Queue, Request, Cache, Factory>
- ::~QueueProcessorThread (void)
-{
-}
-
-
-
-
-template <class Queue, class Request, class Cache, class Factory>
-void SAL_CALL QueueProcessorThread<Queue, Request, Cache, Factory>::run (void)
-{
- while ( ! mbIsTerminated)
- {
- if (mrQueue.IsEmpty())
- {
- // Sleep while the queue is empty.
- suspend();
- }
-
- else if (GetpApp()->AnyInput())
- {
- yield();
- // When there is input waiting to be processed we wait a short
- // time and try again.
- TimeValue aTimeToWait;
- aTimeToWait.Seconds = 0;
- aTimeToWait.Nanosec = 50*1000*1000;
- wait (aTimeToWait);
- }
-
- else
- {
- ProcessQueueEntry();
- yield ();
- }
- }
-}
-
-
-
-
-template <class Queue, class Request, class Cache, class Factory>
-void QueueProcessorThread<Queue, Request, Cache, Factory>
- ::ProcessQueueEntry (void)
-{
- Request* pRequest = NULL;
- int nPriorityClass;
- bool bRequestIsValid = false;
-
- do
- {
- {
- ::osl::MutexGuard aGuard (maMutex);
- if (mbIsTerminated)
- break;
- if (mrQueue.IsEmpty())
- break;
- }
- SolarMutexGuard aSolarGuard;
- ::osl::MutexGuard aGuard (maMutex);
- if (mbIsTerminated)
- break;
-
- if (mrQueue.IsEmpty())
- break;
-
- // Get the requeuest with the highest priority from the queue.
- nPriorityClass = mrQueue.GetFrontPriorityClass();
- pRequest = &mrQueue.GetFront();
- mrQueue.PopFront();
- bRequestIsValid = true;
-
- try
- {
- // Create a new preview bitmap and store it in the cache.
- if (mbIsTerminated)
- break;
- BitmapEx aBitmap (Factory::CreateBitmap (*pRequest, mrView));
- if (mbIsTerminated)
- break;
- mrCache.SetBitmap (
- pRequest->GetPage(),
- aBitmap,
- nPriorityClass==0);
- }
- catch (...)
- {
- OSL_TRACE ("QueueProcessorThread::ProcessQueueEntry(): caught exception; %p", this);
- // We are rendering a preview and can do without if need
- // be. So keep going if something happens that should
- // not happen.
- }
- }
- while (false);
-}
-
-
-
-
-template <class Queue,
- class RequestData,
- class BitmapCache,
- class BitmapFactory>
-void QueueProcessorThread<
- Queue, RequestData, BitmapCache, BitmapFactory
- >::Start (void)
-{
- resume ();
-}
-
-
-
-
-template <class Queue,
- class RequestData,
- class BitmapCache,
- class BitmapFactory>
-void QueueProcessorThread<
- Queue, RequestData, BitmapCache, BitmapFactory
- >::Stop (void)
-{
- suspend();
-}
-
-
-
-
-template <class Queue,
- class RequestData,
- class BitmapCache,
- class BitmapFactory>
-void QueueProcessorThread<
- Queue, RequestData, BitmapCache, BitmapFactory
- >::RemoveRequest (RequestData& rRequest)
-{
- // Do nothing else then wait for the mutex to be released.
- ::osl::MutexGuard aGuard (mrQueue.GetMutex());
-}
-
-
-
-
-template <class Queue,
- class RequestData,
- class BitmapCache,
- class BitmapFactory>
-void QueueProcessorThread<
- Queue, RequestData, BitmapCache, BitmapFactory
- >::Terminate (void)
-{
- // SolarMutexGuard aSolarGuard;
- ::osl::Thread::terminate ();
- {
- ::osl::MutexGuard aGuard (maMutex);
- mbIsTerminated = true;
- }
- Start();
-}
-
-
-
-
-/** This callback method is called when the run() method terminates.
-*/
-template <class Queue,
- class RequestData,
- class BitmapCache,
- class BitmapFactory>
-void SAL_CALL QueueProcessorThread<
- Queue, RequestData, BitmapCache, BitmapFactory
- >::onTerminated (void)
-{
- ::osl::MutexGuard aGuard (maMutex);
- mbCanBeJoined = true;
-}
-
-
-
-
-} } } // end of namespace ::sd::slidesorter::cache
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/toolpanel/ControlList.hxx b/sd/source/ui/toolpanel/ControlList.hxx
deleted file mode 100644
index ca3d2651e49d..000000000000
--- a/sd/source/ui/toolpanel/ControlList.hxx
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SD_TOOLPANEL_CONTROL_LIST_HXX
-#define SD_TOOLPANEL_CONTROL_LIST_HXX
-
-#include "ConstrainedIterator.hxx"
-#include "ConstrainedIterator.cxx"
-#include "TitledControl.hxx"
-
-#include <vector>
-
-namespace sd { namespace toolpanel {
-
-
-typedef ::std::vector<TitledControl*> ControlList;
-typedef ConstrainedIterator<ControlList> ControlIterator;
-
-
-class VisibilityConstraint
- : public Constraint<ControlList>
-{
-public:
- virtual bool operator() (
- const ControlList& rContainer,
- const ControlList::iterator& rIterator) const
- {
- return (**rIterator).GetWindow()->IsVisible();
- }
-};
-
-
-} } // end of namespace ::sd::toolpanel
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx b/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
deleted file mode 100644
index 1f149db5d4d0..000000000000
--- a/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
+++ /dev/null
@@ -1,83 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SD_TOOL_PANEL_DESCRIPTOR_HXX
-#define SD_TOOL_PANEL_DESCRIPTOR_HXX
-
-#include <tools/string.hxx>
-#include <tools/gen.hxx>
-#include <memory>
-
-class Window;
-
-namespace sd { namespace toolpanel {
-
-
-/** Collection of information the describes entries of the tool
- panel. A descriptor owns the control it is associated with.
-*/
-class ToolPanelDescriptor
-{
-public:
- /** Create a new descriptor for the given control.
- @param pControl
- */
- ToolPanelDescriptor (::std::auto_ptr< ::Window> pControl,
- const String& rTitle);
-
- ~ToolPanelDescriptor (void);
-
- /** Return the height of the title bar.
- @return
- The title bar height is returned in pixels.
- */
- int GetTitleBarHeight (void) const;
-
-
- void SetPositionAndSize (const Point& aPosition,
- const Size& aSize);
- void SetPositionAndSize (const Rectangle& aBox);
- void SetWeight (double nWeight);
-
- Window* GetControl (void) const;
- const String& GetTitle (void) const;
- const Rectangle& GetTitleBox (void) const;
- Rectangle GetPositionAndSize (void) const;
- double GetWeight (void) const;
-
- int GetTotalHeight (void) const;
- int GetWindowHeight (void) const;
-
-private:
- ::std::auto_ptr< ::Window> mpControl;
- String msTitle;
- Rectangle maTitleBox;
- double mnWeight;
- int mnTotalHeight;
-
- /// Do not use! Assignment operator is not supported.
- const ToolPanelDescriptor& operator= (
- const ToolPanelDescriptor& aDescriptor);
-};
-
-} } // end of namespace ::sd::toolpanel
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/inc/progind.hxx b/sfx2/inc/progind.hxx
deleted file mode 100644
index 266c30dd1ee7..000000000000
--- a/sfx2/inc/progind.hxx
+++ /dev/null
@@ -1,76 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _SFX_PROGIND_HXX
-#define _SFX_PROGIND_HXX
-
-#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
-#include <com/sun/star/task/XStatusIndicatorSupplier.hpp>
-#include <com/sun/star/task/XStatusIndicator.hpp>
-#include <vcl/window.hxx>
-#include <vcl/fixed.hxx>
-#include <svtools/prgsbar.hxx>
-#include <cppuhelper/weak.hxx>
-#include <cppuhelper/implbase1.hxx>
-
-#include <sfx2/sfxuno.hxx>
-
-class SfxStatusInd_Impl : public cppu::WeakImplHelper1< ::com::sun::star::task::XStatusIndicator >
-{
- long nValue;
- long nRange;
- sal_uInt16 nProgressCount;
-
-friend class SfxPopupStatusIndicator;
- SfxPopupStatusIndicator* pWindow;
-
-public:
-
- SfxStatusInd_Impl();
-
- // XStatusIndicator
- virtual void SAL_CALL start(const ::rtl::OUString& aText, sal_Int32 nRange) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL end(void) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL setText(const ::rtl::OUString& aText) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL setValue(sal_Int32 nValue) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL reset() throw ( ::com::sun::star::uno::RuntimeException );
-};
-
-class SfxPopupStatusIndicator : public Window
-{
-friend class SfxStatusInd_Impl;
- FixedText aTextBar;
- ProgressBar aProgressBar;
- SfxStatusInd_Impl* pInterface;
-
-public:
- SfxPopupStatusIndicator( Window* pParent );
- ~SfxPopupStatusIndicator();
-
- virtual void MakeVisible( sal_Bool bVisible );
- virtual void Resize();
- virtual void Paint( const Rectangle& rRect );
- Size CalcWindowSizePixel();
- ::com::sun::star::task::XStatusIndicator* GetInterface()
- { return pInterface; }
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/inc/hexplwnd.hxx b/sfx2/source/inc/hexplwnd.hxx
deleted file mode 100644
index a1c9b5a9ab0c..000000000000
--- a/sfx2/source/inc/hexplwnd.hxx
+++ /dev/null
@@ -1,94 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _HEXPLWND_HXX
-#define _HEXPLWND_HXX
-
-// includes --------------------------------------------------------------
-
-#include <com/sun/star/beans/PropertyValues.hpp>
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/beans/PropertyState.hpp>
-#include <com/sun/star/beans/XPropertySetInfo.hpp>
-#include <com/sun/star/beans/XMultiPropertySet.hpp>
-#include <com/sun/star/beans/XFastPropertySet.hpp>
-#include <com/sun/star/beans/XVetoableChangeListener.hpp>
-#include <com/sun/star/beans/XPropertyState.hpp>
-#include <com/sun/star/beans/XPropertyStateChangeListener.hpp>
-#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
-#include <com/sun/star/beans/XPropertyChangeListener.hpp>
-#include <com/sun/star/beans/XPropertyAccess.hpp>
-#include <com/sun/star/beans/XPropertyContainer.hpp>
-#include <com/sun/star/beans/PropertyStateChangeEvent.hpp>
-#include <com/sun/star/beans/PropertyChangeEvent.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/util/URL.hpp>
-#include <sfx2/childwin.hxx>
-#include <sfx2/dockwin.hxx>
-
-// forward ---------------------------------------------------------------
-
-class SfxBeamerUnoFrame_Impl;
-
-// class SfxExplorerHorizChildWnd_Impl -----------------------------------
-
-class SfxExplorerHorizChildWnd_Impl : public SfxChildWindow
-{
-public:
- SfxExplorerHorizChildWnd_Impl( Window* pParent, sal_uInt16 nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo );
-
- SFX_DECL_CHILDWINDOW(SfxExplorerHorizChildWnd_Impl);
-
-
- virtual sal_Bool QueryClose();
-};
-
-// class SfxExplorerDockWnd_Impl -----------------------------------------
-
-class SfxExplorerHorizDockWnd_Impl : public SfxDockingWindow
-{
-private:
- SfxBeamerUnoFrame_Impl* _pFrame;
-
-protected:
- virtual void GetFocus();
- virtual long Notify( NotifyEvent& rNEvt );
-
-public:
- SfxExplorerHorizDockWnd_Impl( SfxBindings* pBindings,
- SfxChildWindow* pChildWin,
- Window* pParent, const ResId& rResId );
- ~SfxExplorerHorizDockWnd_Impl();
-
- virtual void FillInfo( SfxChildWinInfo& ) const;
- virtual void FadeIn( sal_Bool );
- sal_Bool QueryClose();
- void SetURL( const ::com::sun::star::util::URL& rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs );
- const ::com::sun::star::util::URL& GetURL() const;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > GetFrameInterface();
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& GetArgs() const;
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/inc/mailmodel.hxx b/sfx2/source/inc/mailmodel.hxx
deleted file mode 100644
index 703e53746658..000000000000
--- a/sfx2/source/inc/mailmodel.hxx
+++ /dev/null
@@ -1,107 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef INCLUDED_SFX_MAILMODEL_HXX
-#define INCLUDED_SFX_MAILMODEL_HXX
-
-#include <com/sun/star/frame/XFrame.hpp>
-
-// class SfxMailModel_Impl -----------------------------------------------
-
-class AddressList_Impl;
-
-class SfxMailModel_Impl
-{
-public:
- enum MailPriority
- {
- PRIO_HIGHEST,
- PRIO_HIGH,
- PRIO_NORMAL,
- PRIO_LOW,
- PRIO_LOWEST
- };
-
- enum AddressRole
- {
- ROLE_TO,
- ROLE_CC,
- ROLE_BCC
- };
-
- enum MailDocType
- {
- TYPE_SELF,
- TYPE_ASPDF
- };
-
-private:
- enum SaveResult
- {
- SAVE_SUCCESSFULL,
- SAVE_CANCELLED,
- SAVE_ERROR
- };
-
- AddressList_Impl* mpToList;
- AddressList_Impl* mpCcList;
- AddressList_Impl* mpBccList;
- String maFromAddress;
- String maSubject;
- MailPriority mePriority;
-
- sal_Bool mbLoadDone;
-
- void ClearList( AddressList_Impl* pList );
- SaveResult SaveDocumentAsFormat( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame, const rtl::OUString& rType, rtl::OUString& rFileNamePath );
-
- DECL_LINK( DoneHdl, void* );
-
-public:
- enum SendMailResult
- {
- SEND_MAIL_OK,
- SEND_MAIL_CANCELLED,
- SEND_MAIL_ERROR
- };
-
- SfxMailModel_Impl();
- ~SfxMailModel_Impl();
-
- void AddAddress( const String& rAddress, AddressRole eRole );
- void SetFromAddress( const String& rAddress ) { maFromAddress = rAddress; }
- void SetSubject( const String& rSubject ) { maSubject = rSubject; }
- void SetPriority( MailPriority ePrio ) { mePriority = ePrio; }
-
- SendMailResult Send( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame, const rtl::OUString& rType );
-};
-
-sal_Bool CreateFromAddress_Impl( String& rFrom );
-
-#endif // INCLUDED_SFX_MAILMODEL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/inc/tplcomp.hxx b/sfx2/source/inc/tplcomp.hxx
deleted file mode 100644
index 0a13cbe25a5f..000000000000
--- a/sfx2/source/inc/tplcomp.hxx
+++ /dev/null
@@ -1,208 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _TPLCOMP_HXX
-#define _TPLCOMP_HXX
-
-#include <osl/mutex.hxx>
-#include <com/sun/star/chaos/XCommandExecutor.hpp>
-#include <com/sun/star/chaos/XStatusCallback.hpp>
-#include <com/sun/star/chaos/UnknownCommandException.hpp>
-#include <com/sun/star/chaos/StatusCallbackEvent.hpp>
-#include <com/sun/star/chaos/XURLContent.hpp>
-#include <com/sun/star/chaos/XExplorerExchange.hpp>
-#include <com/sun/star/beans/PropertyValues.hpp>
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/beans/PropertyState.hpp>
-#include <com/sun/star/beans/XPropertySetInfo.hpp>
-#include <com/sun/star/beans/XMultiPropertySet.hpp>
-#include <com/sun/star/beans/XFastPropertySet.hpp>
-#include <com/sun/star/beans/XVetoableChangeListener.hpp>
-#include <com/sun/star/beans/XPropertyState.hpp>
-#include <com/sun/star/beans/XPropertyStateChangeListener.hpp>
-#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
-#include <com/sun/star/beans/XPropertyChangeListener.hpp>
-#include <com/sun/star/beans/XPropertyAccess.hpp>
-#include <com/sun/star/beans/XPropertyContainer.hpp>
-#include <com/sun/star/beans/PropertyStateChangeEvent.hpp>
-#include <com/sun/star/beans/PropertyChangeEvent.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <cppuhelper/weak.hxx>
-#include <cppuhelper/interfacecontainer.hxx>
-
-class CntAnchor;
-
-class TplAnchorListener;
-
-// -----------------
-// - TplComponent -
-// -----------------
-
-class TplComponent : public ::com::sun::star::chaos::XURLContent, public ::com::sun::star::chaos::XCommandExecutor,
- public ::com::sun::star::beans::XPropertySet, public ::com::sun::star::chaos::XExplorerExchange,
- public ::cppu::OWeakObject, public ::com::sun::star::lang::XServiceInfo
-{
-private:
-
- void HandleNewEvt( const ::rtl::OUString& rCommand,
- const ::com::sun::star::uno::Any& rAny );
- void CreatePopupMenu( ::com::sun::star::uno::Any& rAny ) const;
-
-protected:
-
- ::rtl::OUString maURL;
- ::rtl::OUString maName;
- ::osl::Mutex aMutex;
- ::cppu::OInterfaceContainerHelper maListeners;
- TplAnchorListener* mpListener;
- short mnOpenMode;
-
-public:
-
- SFX_DECL_XINTERFACE_XTYPEPROVIDER_XSERVICEINFO
-
- TplComponent();
- ~TplComponent();
-
- // interface ::com::sun::star::ucb::XContent
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent() throw ( ::com::sun::star::uno::RuntimeException )
- { ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > aRef; return aRef; }
- virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & Parent ) throw ( ::com::sun::star::uno::RuntimeException )
- {}
-
- // interface ::com::sun::star::chaos::XURLContent
- virtual ::rtl::OUString SAL_CALL getURL() throw ( ::com::sun::star::uno::RuntimeException )
- { return maURL; }
- virtual sal_Bool SAL_CALL initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::chaos::XURLContent > & aParent, const ::rtl::OUString& aURL ) throw ( ::com::sun::star::uno::RuntimeException );
-
- // interface ::com::sun::star::chaos::XCommandExecutor
- virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL queryCommands() throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL cancel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rCommandId ) throw ( ::com::sun::star::uno::RuntimeException )
- {}
- virtual void SAL_CALL execute( const ::rtl::OUString& rCommand, const ::com::sun::star::uno::Any& rArgs,
- const ::com::sun::star::uno::Reference< ::com::sun::star::chaos::XStatusCallback > & rCallback ) throw ( ::com::sun::star::uno::RuntimeException );
-
- // interface ::com::sun::star::beans::XPropertySet
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& aPropertyName ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > & aListener ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > & aListener ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& aPropertyName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > & aListener ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& aPropertyName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener > & aListener ) throw ( ::com::sun::star::uno::RuntimeException );
- // interface ::com::sun::star::chaos::XExplorerExchange
- virtual ::com::sun::star::uno::Any SAL_CALL createDataObject( sal_uInt16& nSourceOptions ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual sal_uInt16 SAL_CALL insertDataObject( const ::com::sun::star::uno::Any& pSotDataObjectPtr,
- sal_uInt16 nUserAction,
- sal_uInt16 nSourceOptions ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual sal_Bool SAL_CALL queryInsertDataObject( const ::com::sun::star::uno::Any& pSotDataObjectPtr,
- sal_uInt16 nUserAction,
- sal_uInt16 nSourceOptions,
- sal_uInt16& nResultingAction,
- sal_uInt16& nDefaultAction ) throw ( ::com::sun::star::uno::RuntimeException );
-
-
- // -------------------------------------------------------------
-
- void CreateNewChild( CntAnchor* pAnchor,
- const String& rTitle );
- void RemoveChild( CntAnchor* pAnchor );
- void StopListening( CntAnchor* pAnchor );
- void HandleOpenEvt();
-};
-
-// ------------------------
-// - TplContentsComponent -
-// ------------------------
-
-class TplContentsListener;
-
-class TplContentsComponent : public TplComponent
-{
-private:
- ::com::sun::star::uno::Reference< ::com::sun::star::chaos::XURLContent > _xParent;
- TplContentsListener* _pListener;
- SvDataObjectRef _xObject;
- sal_uInt16 _nLayout;
-
- void HandleOpenEvt( const ::com::sun::star::uno::Reference< ::com::sun::star::chaos::XStatusCallback > & rJob,
- const ::com::sun::star::chaos::StatusCallbackEvent& rEvt );
- void HandleNewEvt( const ::rtl::OUString& rCommand,
- const ::com::sun::star::uno::Any& rAny );
- void HandleInitEvt();
-
- void CreateFileName( String& rName,
- String& rDirURL );
- void CreateNewTpl( const String& rFilter,
- const String& rParentDir,
- const String& rFileName,
- const String& rDocName );
-protected:
-
- void CreatePopupMenu( ::com::sun::star::uno::Any& rAny ) const;
-
-public:
-
- SFX_DECL_XINTERFACE_XTYPEPROVIDER_XSERVICEINFO
-
- TplContentsComponent();
- ~TplContentsComponent();
-
- virtual sal_Bool SAL_CALL initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::chaos::XURLContent > & aParent, const ::rtl::OUString& aURL ) throw ( ::com::sun::star::uno::RuntimeException );
-
-
- // interface ::com::sun::star::chaos::XCommandExecutor
- virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL queryCommands() throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL execute( const ::rtl::OUString& rCommand, const ::com::sun::star::uno::Any& rArgs,
- const ::com::sun::star::uno::Reference< ::com::sun::star::chaos::XStatusCallback > & rCallback ) throw ( ::com::sun::star::uno::RuntimeException );
-
- // interface ::com::sun::star::beans::XPropertySet
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw ( ::com::sun::star::uno::RuntimeException );
- virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& aPropertyName ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw ( ::com::sun::star::uno::RuntimeException );
-
- // interface ::com::sun::star::chaos::XExplorerExchange
- virtual ::com::sun::star::uno::Any SAL_CALL createDataObject( sal_uInt16& nSourceOptions ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual sal_uInt16 SAL_CALL insertDataObject( const ::com::sun::star::uno::Any& pSotDataObjectPtr,
- sal_uInt16 nUserAction,
- sal_uInt16 nSourceOptions ) throw ( ::com::sun::star::uno::RuntimeException );
- virtual sal_Bool SAL_CALL queryInsertDataObject( const ::com::sun::star::uno::Any& pSotDataObjectPtr,
- sal_uInt16 nUserAction,
- sal_uInt16 nSourceOptions,
- sal_uInt16& nResultingAction,
- sal_uInt16& nDefaultAction ) throw ( ::com::sun::star::uno::RuntimeException );
-
- // -------------------------------------------------------------
-
- void CreateNewChild( CntAnchor* pAnchor );
- void HandleDeleteEvt();
- void SetURL( const ::rtl::OUString& rURL);
- void SetName( const ::rtl::OUString& rNewName );
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/soltools/inc/st_types.hxx b/soltools/inc/st_types.hxx
deleted file mode 100644
index 3bc5b443cbb1..000000000000
--- a/soltools/inc/st_types.hxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef SOLTOOLS_ST_TYPES_HXX
-#define SOLTOOLS_ST_TYPES_HXX
-
-typedef unsigned long UINT32;
-typedef long INT32;
-typedef unsigned short UINT16;
-typedef short INT16;
-
-
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.hxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.hxx
deleted file mode 100644
index 2035ffefd519..000000000000
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.hxx
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef \
- INCLUDED_STOC_SOURCE_URIPROC_URISCHEMEPARSER_VNDDOTSUNDOTSTARDOTEXPAND_HXX
-#define \
- INCLUDED_STOC_SOURCE_URIPROC_URISCHEMEPARSER_VNDDOTSUNDOTSTARDOTEXPAND_HXX
-
-#include "sal/config.h"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "sal/types.h"
-
-namespace com { namespace sun { namespace star { namespace uno {
- class XComponentContext;
- class XInterface;
-} } } }
-namespace rtl { class OUString; }
-
-namespace stoc { namespace uriproc {
-
-namespace UriSchemeParser_vndDOTsunDOTstarDOTexpand {
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
- SAL_CALL create(
- ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext > const &)
- SAL_THROW((::com::sun::star::uno::Exception));
-
- ::rtl::OUString SAL_CALL getImplementationName();
-
- ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
- getSupportedServiceNames();
-}
-
-} }
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/inc/svtools/ttprops.hxx b/svtools/inc/svtools/ttprops.hxx
deleted file mode 100644
index e44b7f381267..000000000000
--- a/svtools/inc/svtools/ttprops.hxx
+++ /dev/null
@@ -1,101 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _SVTOOLS_TTPROPS_HXX
-#define _SVTOOLS_TTPROPS_HXX
-
-#include "svtools/svtdllapi.h"
-#include <tools/rtti.hxx>
-#include <vcl/apptypes.hxx>
-#include <svtools/svtresid.hxx>
-
-class SfxPoolItem;
-class Bitmap;
-
-// Defines zur Steuerung der Ausf�hrung von Slots
-#define EXECUTE_NO 0
-#define EXECUTE_POSSIBLE 1
-#define EXECUTE_YES 2
-#define EXECUTEMODE_ASYNCHRON 1
-#define EXECUTEMODE_DIALOGASYNCHRON 2
-
-#define SFX_USE_BINDINGS 0x8000
-
-// Property Requests(PR)
-#define TT_PR_ONCE 0x100
-
-#define TT_PR_SLOTS ( 0x001 | TT_PR_ONCE )
-#define TT_PR_DISPATCHER (0x002 )
-#define TT_PR_IMG ( 0x004 )
-
-#define TT_PR_ERR_NODISPATCHER 01
-#define TT_PR_ERR_NOEXECUTE 02
-
-/// To detect inconsistencies
-#define TT_PROPERTIES_VERSION 1
-
-class SVT_DLLPUBLIC TTProperties : public ApplicationProperty
-{
- sal_uInt16 nDonePRs; // Verwaltung f�r die Properties, die nur einmal gerufen werden mussen.
-
- sal_Bool HasSlots(){ return nPropertyVersion == TT_PROPERTIES_VERSION; }
-
-public:
- TYPEINFO();
-
- TTProperties()
- : nDonePRs( 0 )
- , mppArgs( NULL )
- , mpBmp( NULL )
- , nPropertyVersion( 0 )
- {}
-
- /// ExecuteFunction
- sal_uInt16 mnSID;
- SfxPoolItem** mppArgs;
- sal_uInt16 mnMode;
-
- /// Img
- Bitmap *mpBmp;
-
- sal_uLong nSidOpenUrl;
- sal_uLong nSidFileName;
- sal_uLong nSidNewDocDirect;
- sal_uLong nSidCopy;
- sal_uLong nSidPaste;
- sal_uLong nSidSourceView;
- sal_uLong nSidSelectAll;
- sal_uLong nSidReferer;
-
- sal_uInt16 nActualPR;
- sal_uInt16 nPropertyVersion; // Wird bei jedem call gesetzt.
-};
-
-#endif // _SVTOOLS_TTPROPS_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/inc/msgrd.hxx b/svtools/source/inc/msgrd.hxx
deleted file mode 100644
index d364002b8026..000000000000
--- a/svtools/source/inc/msgrd.hxx
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _MSGRD_HXX
-#define _MSGRD_HXX
-
-
-sal_Bool ConvertMSGToGDIMetaFile( SvStream & rMSG, GDIMetaFile & rGDIMetaFile,
- sal_Bool(*pCallback)(void *, sal_uInt16), void * pCallerData,
- sal_uLong nMinPercent, sal_uLong nMaxPercent);
-
-
-#endif // _MSGRD_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/inc/msgwr.hxx b/svtools/source/inc/msgwr.hxx
deleted file mode 100644
index dec8cfc71bbf..000000000000
--- a/svtools/source/inc/msgwr.hxx
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _MSGWR_HXX
-#define _MSGWR_HXX
-
-
-sal_Bool ConvertGraphicToMSG(const Graphic & rGraphic, SvStream & rTargetStream,
- sal_Bool(*pCallback)(void *, sal_uInt16), void * pCallerData,
- sal_uLong nMinPercent, sal_uLong nMaxPercent);
-
-
-#endif // _MSGWR_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/dgdefs_.hxx b/svx/inc/dgdefs_.hxx
deleted file mode 100644
index 49075d19ef48..000000000000
--- a/svx/inc/dgdefs_.hxx
+++ /dev/null
@@ -1,335 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#define optlingu_0a SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define insctrl_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define insctrl_03 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define insctrl_06 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define zoomctrl_03 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define zoomctrl_05 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define pszctrl_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define selctrl_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define selctrl_02 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define selctrl_05 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define modctrl_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_02 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_08 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_09 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_0a SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_11 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_12 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_13 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_35 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_37 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_38 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_39 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_3a SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_3c SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_3d SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_3e SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_3f SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_40 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_41 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_42 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_43 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_44 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_45 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_46 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_47 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_48 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_49 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_4a SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_4e SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_4f SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_53 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_54 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_58 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_59 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_5c SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_5f SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_63 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_64 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_65 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define tbcontrl_66 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_03 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_04 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_05 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_06 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_08 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_09 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_0a SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define linectrl_0e SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define fillctrl_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define fillctrl_03 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define fillctrl_05 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define fillctrl_06 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define fillctrl_08 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define itemwin_01 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define itemwin_08 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define itemwin_10 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define itemwin_12 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define itemwin_19 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define itemwin_1f SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define layctrl_09 SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define layctrl_0d SEG_SEGCLASS(STARTING_SEG000,STARTING_CODE)
-#define pszctrl_03 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define tcovmain_01 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define pszctrl_04 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define pszctrl_05 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define tcovidle_01 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_02 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_17 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_16 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_01 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_18 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_15 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define modctrl_02 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define modctrl_04 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define adritem_07 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define adritem_28 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optgrid_12 SEG_SEGCLASS(STARTWORK_SEG000,STARTWORK_CODE)
-#define optpath_01 SEG_SEGCLASS(STARTSLICE_SEG000,STARTSLICE_CODE)
-#define optpath_02 SEG_SEGCLASS(STARTSLICE_SEG000,STARTSLICE_CODE)
-#define optpath_04 SEG_SEGCLASS(STARTSLICE_SEG000,STARTSLICE_CODE)
-#define optitems_01 SEG_SEGCLASS(STARTSLICE_SEG001,STARTSLICE_CODE)
-#define optitems_02 SEG_SEGCLASS(STARTSLICE_SEG001,STARTSLICE_CODE)
-#define optitems_04 SEG_SEGCLASS(STARTSLICE_SEG001,STARTSLICE_CODE)
-#define optgenrl_01 SEG_SEGCLASS(STARTSLICE_SEG001,STARTSLICE_CODE)
-#define optgenrl_02 SEG_SEGCLASS(STARTSLICE_SEG001,STARTSLICE_CODE)
-#define optgenrl_04 SEG_SEGCLASS(STARTSLICE_SEG002,STARTSLICE_CODE)
-#define optgenrl_06 SEG_SEGCLASS(STARTSLICE_SEG002,STARTSLICE_CODE)
-#define optgenrl_08 SEG_SEGCLASS(STARTSLICE_SEG002,STARTSLICE_CODE)
-#define adritem_25 SEG_SEGCLASS(STARTSLICE_SEG002,STARTSLICE_CODE)
-#define optgenrl_0b SEG_SEGCLASS(STARTSLICE_SEG003,STARTSLICE_CODE)
-#define adritem_04 SEG_SEGCLASS(STARTSLICE_SEG003,STARTSLICE_CODE)
-#define opttypes_01 SEG_SEGCLASS(STARTSLICE_SEG003,STARTSLICE_CODE)
-#define optlingu_01 SEG_SEGCLASS(STARTSLICE_SEG003,STARTSLICE_CODE)
-#define optlingu_03 SEG_SEGCLASS(STARTSLICE_SEG003,STARTSLICE_CODE)
-#define optlingu_05 SEG_SEGCLASS(STARTSLICE_SEG004,STARTSLICE_CODE)
-#define optlingu_09 SEG_SEGCLASS(STARTSLICE_SEG004,STARTSLICE_CODE)
-#define optgrid_03 SEG_SEGCLASS(STARTSLICE_SEG005,STARTSLICE_CODE)
-#define optgrid_07 SEG_SEGCLASS(STARTSLICE_SEG005,STARTSLICE_CODE)
-#define optgrid_08 SEG_SEGCLASS(STARTSLICE_SEG005,STARTSLICE_CODE)
-#define optgrid_0a SEG_SEGCLASS(STARTSLICE_SEG006,STARTSLICE_CODE)
-#define linectrl_0c SEG_SEGCLASS(STARTSLICE_SEG006,STARTSLICE_CODE)
-#define itemwin_0a SEG_SEGCLASS(STARTSLICE_SEG006,STARTSLICE_CODE)
-#define linectrl_0d SEG_SEGCLASS(STARTSLICE_SEG006,STARTSLICE_CODE)
-#define fillctrl_04 SEG_SEGCLASS(STARTSLICE_SEG007,STARTSLICE_CODE)
-#define optpath_07 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define optitems_06 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define optitems_07 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define optitems_0b SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define optgenrl_03 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define optgrid_09 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define tbcontrl_36 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define fillctrl_07 SEG_SEGCLASS(CALLOPT_SEG000,CALLOPT_CODE)
-#define optpath_03 SEG_SEGCLASS(SLICES_SEG000,SLICES_CODE)
-#define optlingu_04 SEG_SEGCLASS(SLICES_SEG000,SLICES_CODE)
-#define pszctrl_02 SEG_SEGCLASS(SLICES_SEG001,SLICES_CODE)
-#define tbcontrl_3b SEG_SEGCLASS(SLICES_SEG001,SLICES_CODE)
-#define optgenrl_07 SEG_SEGCLASS(SLICES_SEG001,SLICES_CODE)
-#define optgenrl_0a SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define adritem_06 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define adritem_29 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define optgrid_11 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define optgrid_13 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define insctrl_02 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define tbcontrl_4b SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define tbcontrl_50 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define tbcontrl_55 SEG_SEGCLASS(SLICES_SEG002,SLICES_CODE)
-#define linectrl_02 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define linectrl_07 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define linectrl_0b SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define fillctrl_02 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define itemwin_02 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define itemwin_09 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define itemwin_11 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define itemwin_1a SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define itemwin_20 SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define layctrl_0a SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define layctrl_0e SEG_SEGCLASS(SLICES_SEG003,SLICES_CODE)
-#define fntctl_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntctl_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntctl_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntctl_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntctl_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntctl_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntctl_07 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntszctl_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntszctl_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntszctl_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntszctl_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define fntszctl_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optpath_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optpath_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_07 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_08 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_09 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_0a SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optdict_0b SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_08 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_09 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_0a SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_0c SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_0d SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optitems_0e SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optspell_07 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgenrl_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgenrl_09 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define adritem_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define adritem_26 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define adritem_27 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define adritem_2a SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define opttypes_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optlingu_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optlingu_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optlingu_07 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optlingu_08 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_0b SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_0c SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_0d SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_0e SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_0f SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_10 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define optgrid_14 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define insctrl_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define insctrl_05 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define zoomctrl_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define zoomctrl_02 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define zoomctrl_06 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define zoomctrl_07 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define selctrl_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define selctrl_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define modctrl_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define tbcontrl_01 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define tbcontrl_03 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define tbcontrl_04 SEG_SEGCLASS(UNUSED_SEG000,UNUSED_CODE)
-#define tbcontrl_05 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_06 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_07 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_0b SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_0c SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_0d SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_0e SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_0f SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_10 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_14 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_15 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_16 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_17 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_18 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_19 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_1a SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_1b SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_1c SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_1d SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_1e SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_1f SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_20 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_21 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_22 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_23 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_24 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_25 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_26 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_27 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_28 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_29 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_2a SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_2b SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_2c SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_2d SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_2e SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_2f SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_30 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_31 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_32 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_33 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_34 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_4c SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_4d SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_51 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_52 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_56 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_57 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_5a SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_5b SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_5d SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_5e SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_60 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_61 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define tbcontrl_62 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define fillctrl_09 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_03 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_04 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_05 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_06 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_07 SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_0b SEG_SEGCLASS(UNUSED_SEG001,UNUSED_CODE)
-#define itemwin_0c SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_0d SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_0e SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_0f SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_13 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_14 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_15 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_16 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_17 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_18 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_1b SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_1c SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_1d SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_1e SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_21 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_22 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_23 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_24 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_25 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define itemwin_26 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_01 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_02 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_03 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_04 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_05 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_06 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_07 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_08 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_0b SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_0c SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_0f SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-#define layctrl_10 SEG_SEGCLASS(UNUSED_SEG002,UNUSED_CODE)
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/drawuiks.hxx b/svx/inc/drawuiks.hxx
deleted file mode 100644
index 2e812194de2b..000000000000
--- a/svx/inc/drawuiks.hxx
+++ /dev/null
@@ -1,67 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _SDUIKS_HXX
-#define _SDUIKS_HXX
-
-#include <usr/uiks.hxx>
-
-#define UIK_SHAPEFACTORY UIK_DRAWING(00)
-#define UIK_POLYGONFACTORY UIK_DRAWING(01)
-#define UIK_TEXTSHAPEFACTORY UIK_DRAWING(02)
-#define UIK_SNAPFACTORY UIK_DRAWING(03)
-
-#define UIK_DRAWPAGES UIK_DRAWING(10)
-#define UIK_DRAWPAGESUMMARIZER UIK_DRAWING(11)
-#define UIK_DRAWPAGEXPANDER UIK_DRAWING(12)
-
-#define UIK_XSHAPEDESCRIPTOR UIK_DRAWING(20)
-#define UIK_XSHAPE UIK_DRAWING(21)
-#define UIK_XSHAPECONNECTOR UIK_DRAWING(22)
-#define UIK_XCONNECTABLESHAPE UIK_DRAWING(23)
-#define UIK_XSHAPE3D UIK_DRAWING(24)
-#define UIK_XSHAPEGROUP UIK_DRAWING(25)
-#define UIK_XSHAPEMIRROR UIK_DRAWING(26)
-#define UIK_XSHAPEALIGNER UIK_DRAWING(27)
-#define UIK_XSHAPEARRANGER UIK_DRAWING(28)
-#define UIK_XCONVERTABLESHAPE UIK_DRAWING(29)
-#define UIK_XANIMATEDSHAPEFACTORY UIK_DRAWING(2a)
-
-#define UIK_DRAWPAGE UIK_DRAWING(30)
-#define UIK_SHAPES UIK_DRAWING(31)
-#define UIK_XSHAPEGROUPER UIK_DRAWING(35)
-#define UIK_XSHAPECOMBINER UIK_DRAWING(36)
-#define UIK_SHAPEBINDER UIK_DRAWING(37)
-#define UIK_DRAWLAYER UIK_DRAWING(38)
-
-#define SD_UIK_PRESENTATION UIK_DRAWING(40)
-#define SD_UIK_PRESENTATION_NAVIGATION UIK_DRAWING(41)
-#define SD_UIK_CUSTOM_PRESENTATION UIK_DRAWING(42)
-#define SD_UIK_CUSTOM_PRESENTATIONS UIK_DRAWING(43)
-//#define SD_UIK_CUSTOM_PRESENTATIONS UIK_DRAWING(44)
-
-#define SD_UIK_ZOOM UIK_DRAWING(50)
-#define SD_UIK_DRAW_VIEW UIK_DRAWING(51)
-#define SD_UIK_OUTLINE_VIEW UIK_DRAWING(52)
-#define SD_UIK_SLIDE_VIEW UIK_DRAWING(53)
-
-#define SD_UIK_PRESENTATION_STYLES UIK_DRAWING(60)
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/lightdlg.hxx b/svx/inc/lightdlg.hxx
deleted file mode 100644
index e770b8adea8e..000000000000
--- a/svx/inc/lightdlg.hxx
+++ /dev/null
@@ -1,75 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-
-#ifndef _SVX_LIGHT3D_HXX_
-#define _SVX_LIGHT3D_HXX_
-
-#include <svx/dlgctl3d.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/group.hxx>
-#include <sfx2/tabdlg.hxx>
-#include <sfx2/basedlgs.hxx>
-
-#include <vcl/field.hxx>
-#include <svx/dlgctrl.hxx>
-
-/*************************************************************************
-|*
-|* 3D TabDialog
-|*
-\************************************************************************/
-
-class Svx3DTabDialog : public SfxTabDialog
-{
-private:
- const SfxItemSet& rOutAttrs;
-
-public:
- Svx3DTabDialog( Window* pParent, const SfxItemSet* pAttr );
- ~Svx3DTabDialog();
-};
-
-/*************************************************************************
-|*
-|* 3D SingleTabDialog
-|*
-\************************************************************************/
-class Svx3DSingleTabDialog : public SfxSingleTabDialog
-{
-private:
- const SfxItemSet& rOutAttrs;
-
-public:
- Svx3DSingleTabDialog( Window* pParent, const SfxItemSet* pAttr );
- ~Svx3DSingleTabDialog();
-};
-
-#endif // _SVX_LIGHT3D_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/sjctrl.hxx b/svx/inc/sjctrl.hxx
deleted file mode 100644
index a4e3861039ec..000000000000
--- a/svx/inc/sjctrl.hxx
+++ /dev/null
@@ -1,588 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifdef SOLAR_JAVA
-
-#include <sfx2/sfxjs.hxx>
-
-class VCControl;
-class VCForm;
-class VCManager;
-class VCRadioManager;
-
-// Base class of all VCControl wrapper classes
-// Keeps reference to the Control and handles some common properties
-class ImpSjJScriptControlBase
-{
- protected:
- VCControl* pControl;
-
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- String ImpGetName() const;
- void ImpSetName( const String & aStrg );
- String ImpGetValue() const;
- void ImpSetValue( const String & aStrg );
- String ImpGetType() const;
-
- // Constructor
- ImpSjJScriptControlBase::ImpSjJScriptControlBase( VCControl* _pControl );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-// Button-Control
-class ImpSjJScriptButtonObject : public SjJScriptButtonObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual void setValue( const String & aStrg );
- virtual String getType() const;
-
- // Methods of the object
- virtual void click();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnClick_Fct() const;
- virtual void setOnClick_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnClick() const;
- virtual void setOnClick( const String & aSourceStrg );
- void onClick();
-
- // constructor
- ImpSjJScriptButtonObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-// PasswordControl (edit control for entering password)
-class ImpSjJScriptPasswordObject : public SjJScriptPasswordObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual String getDefaultValue() const;
- virtual void setDefaultValue( const String & aStrg );
- virtual void setValue( const String & aStrg );
-
- // Methods of the object
- virtual void focus();
- virtual void blur();
- virtual void select();
-
- // Events (C++ --> Java)
- //----------------------
- // none!
-
- // construktor
- ImpSjJScriptPasswordObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptCheckboxObject : public SjJScriptCheckboxObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual sal_Bool getChecked() const;
- virtual void setChecked( sal_Bool bCheck );
- virtual sal_Bool getDefaultChecked() const;
- virtual void setDefaultChecked( sal_Bool bCheck );
- virtual void setValue( const String & aStrg );
-
- // Methods of the object
- virtual void click();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnClick_Fct() const;
- virtual void setOnClick_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnClick() const;
- virtual void setOnClick( const String & aSourceStrg );
- void onClick();
-
- // construktor
- ImpSjJScriptCheckboxObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-// Wrapper class for RadioArray
-class ImpSjJScriptRadioArray: public SjJSbxArrayObject
-{
- VCRadioManager* pMgr;
-public:
- sal_Int32 ImpSjJScriptRadioArray::getLength() const;
- SjJSbxObject* ImpSjJScriptRadioArray::getElement( sal_Int32 nIndex ) const;
- SjJSbxObject* ImpSjJScriptRadioArray::getElement_String( const String & aName ) const;
-
- // construktor
- ImpSjJScriptRadioArray::ImpSjJScriptRadioArray( VCRadioManager* _pMgr, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptRadioObject : public SjJScriptRadioObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- // Properties of SjJScriptCheckboxObject
- virtual sal_Bool getChecked() const;
- virtual void setChecked( sal_Bool bCheck );
- virtual sal_Bool getDefaultChecked() const;
- virtual void setDefaultChecked( sal_Bool bCheck );
- virtual void setValue( const String & aStrg );
-
- // Methods of the object
- virtual void click();
-
- // Events (C++ --> Java)
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnClick_Fct() const;
- virtual void setOnClick_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnClick() const;
- virtual void setOnClick( const String & aSourceStrg );
- void onClick();
-
- // Constructor
- ImpSjJScriptRadioObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptSelectObject : public SjJScriptSelectObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual sal_Int32 getLength();
- virtual sal_Int32 getSelectedIndex() const;
- virtual void setSelectedIndex( sal_Int32 nNo );
-
- // Methods of the object
- virtual void focus();
- virtual void blur();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnBlur_Fct() const;
- virtual void setOnBlur_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnChange_Fct() const;
- virtual void setOnChange_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnFocus_Fct() const;
- virtual void setOnFocus_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnBlur() const;
- virtual void setOnBlur( const String & aSourceStrg );
- void onBlur();
- virtual String getOnChange() const;
- virtual void setOnChange( const String & aSourceStrg );
- void onChange();
- virtual String getOnFocus() const;
- virtual void setOnFocus( const String & aSourceStrg );
- void onFocus();
-
- // SjJSbxArrayObject methods
- virtual sal_Int32 getLength() const;
- // Access through the index
- virtual SjJSbxObject * getElement( sal_Int32 nIndex ) const;
-
- // Constructor
- ImpSjJScriptSelectObject( VCControl* _pControl, SjJSbxObject * p );
-
- // for setting entries of the object (to be called from Java)
- virtual void setOption( sal_Int32 nIndex, const String & aOptionText,
- const String & aOptionValue,
- sal_Bool bDefaultSelected, sal_Bool bSelected );
-
- // interface for the properties of the option objects
- virtual sal_Bool getOptionDefaultSelected( sal_Int32 nIndex ) const;
- virtual void setOptionDefaultSelected( sal_Bool bSelected, sal_Int32 nIndex );
- virtual sal_Bool getOptionSelected( sal_Int32 nIndex ) const;
- virtual void setOptionSelected( sal_Bool bSelected, sal_Int32 nIndex );
- virtual String getOptionText( sal_Int32 nIndex ) const;
- virtual void setOptionText( const String & sText, sal_Int32 nIndex );
- virtual void setOptionValue( const String & sText, sal_Int32 nIndex );
- virtual String getOptionValue( sal_Int32 nIndex ) const;
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptOptionObject : public SjJScriptOptionObject, ImpSjJScriptControlBase
-{
- sal_uInt16 nListBoxIndex;
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- virtual sal_Bool getdefaultSelected() const;
- virtual void setdefaultSelected( sal_Bool bSelected );
- virtual sal_Int32 getIndex() const;
- virtual sal_Bool getSelected() const;
- virtual void setSelected( sal_Bool bSelected );
-
- virtual String getText() const;
- virtual void setText( const String & sText );
- virtual String getValue() const;
- virtual void setValue( const String & aStrg );
-
-
- // DUMMY methods
- virtual String getName() const { return "";}
- virtual void setName( const String &s) { }
- virtual String getType() const { return "";}
- // Methods of the object
- // none !
-
- // Events (C++ --> Java)
- //----------------------
- // none !
-
- // Constructor
- ImpSjJScriptOptionObject( VCControl* _pControl, SjJSbxObject * p, sal_uInt16 _nListBoxIndex );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-// Separate class for forms array
-class SjJSbxFormsArray: public SfxJSArray
-{
- VCManager* pManager;
-
- public:
- // SjJSbxArrayObject methods
- virtual sal_Int32 getLength() const;
- // access through the index
- virtual SjJSbxObject * getElement( sal_Int32 nIndex ) const;
- // access through the name
- // cannot overload native java methods (yet)
- virtual SjJSbxObject * getElement_String( const String & aName ) const;
-
- // Constructor
- SjJSbxFormsArray( VCManager * _pManager, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptTextObject : public SjJScriptTextObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual String getDefaultValue() const;
- virtual void setDefaultValue( const String & aStrg );
- virtual void setValue( const String & aStrg );
-
- // Methods of the object
- virtual void focus();
- virtual void blur();
- virtual void select();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnBlur_Fct() const;
- virtual void setOnBlur_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnChange_Fct() const;
- virtual void setOnChange_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnFocus_Fct() const;
- virtual void setOnFocus_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnSelect_Fct() const;
- virtual void setOnSelect_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnBlur() const;
- virtual void setOnBlur( const String & aSourceStrg );
- void onBlur();
- virtual String getOnChange() const;
- virtual void setOnChange( const String & aSourceStrg );
- void onChange();
- virtual String getOnFocus() const;
- virtual void setOnFocus( const String & aSourceStrg );
- void onFocus();
- virtual String getOnSelect() const;
- virtual void setOnSelect( const String & aSourceStrg );
- void onSelect();
-
- // Constructor
- ImpSjJScriptTextObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptTextareaObject : public SjJScriptTextareaObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual String getDefaultValue() const;
- virtual void setDefaultValue( const String & aStrg );
- virtual void setValue( const String & aStrg );
-
- // Methods of the object
- virtual void focus();
- virtual void blur();
- virtual void select();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnBlur_Fct() const;
- virtual void setOnBlur_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnChange_Fct() const;
- virtual void setOnChange_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnFocus_Fct() const;
- virtual void setOnFocus_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnSelect_Fct() const;
- virtual void setOnSelect_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnBlur() const;
- virtual void setOnBlur( const String & aSourceStrg );
- void onBlur();
- virtual String getOnChange() const;
- virtual void setOnChange( const String & aSourceStrg );
- void onChange();
- virtual String getOnFocus() const;
- virtual void setOnFocus( const String & aSourceStrg );
- void onFocus();
- virtual String getOnSelect() const;
- virtual void setOnSelect( const String & aSourceStrg );
- void onSelect();
-
- // Constructor
- ImpSjJScriptTextareaObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptSubmitObject : public SjJScriptSubmitObject, ImpSjJScriptControlBase
-{
- // identically equal to ButtonObject
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual void setValue( const String & aStrg );
- virtual String getType() const;
-
- // Methods of the object
- virtual void click();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnClick_Fct() const;
- virtual void setOnClick_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnClick() const;
- virtual void setOnClick( const String & aSourceStrg );
- void onClick();
-
- // Constructor
- ImpSjJScriptSubmitObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptResetObject : public SjJScriptResetObject, ImpSjJScriptControlBase
-{
- // identically equal to ButtonObject
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual void setValue( const String & aStrg );
- virtual String getType() const;
-
- // Methods of the object
- virtual void click();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnClick_Fct() const;
- virtual void setOnClick_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnClick() const;
- virtual void setOnClick( const String & aSourceStrg );
- void onClick();
-
- // Constructor
- ImpSjJScriptResetObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptHiddenObject : public SjJScriptHiddenObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual void setValue( const String & aStrg );
-
- // Methods of the object
- // none !
-
- // Events (C++ --> Java)
- //----------------------
- // none !
-
- // Constructor
- ImpSjJScriptHiddenObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptFileUploadObject : public SjJScriptFileUploadObject, ImpSjJScriptControlBase
-{
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- // Base class properties, are passed through to ImpSjJScriptControlBase
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- // Methods of the object
- // none !
-
- // Events (C++ --> Java)
- //----------------------
- // none !
-
- // Constructor
- ImpSjJScriptFileUploadObject( VCControl* _pControl, SjJSbxObject * p );
-};
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-class ImpSjJScriptFormObject : public SjJScriptFormObject
-{
- VCForm* pVCForm;
-
- public:
- // Methods from Java --> C++ (for properties)
- //--------------------------------------------
- virtual String getName() const;
- virtual void setName( const String & aStrg );
- virtual String getValue() const;
- virtual String getType() const;
-
- virtual String getAction() const;
- virtual void setAction( const String & sValue );
- virtual String getEncoding() const;
- virtual void setEncoding( const String & sValue );
- virtual String getMethod() const;
- virtual void setMethod( const String & sValue );
- virtual String getTarget() const;
- virtual void setTarget( const String & sValue );
-
- // SjJSbxArrayObject methods
- sal_Int32 getLength() const;
- SjJSbxObject* getElement( sal_Int32 nIndex ) const;
- SjJSbxObject* getElement_String( const String & aName ) const;
-
- // Methods of the object
- virtual void submit();
- virtual void reset();
-
- // Events (C++ --> Java)
- //----------------------
- // New event interface with function objects
- virtual SjJScriptFunctionObject* getOnSubmit_Fct() const;
- virtual void setOnSubmit_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual SjJScriptFunctionObject* getOnReset_Fct() const;
- virtual void setOnReset_Fct( SjJScriptFunctionObject* pFunctionObject );
- virtual String getOnSubmit() const;
- virtual void setOnSubmit( const String & aSourceStrg );
- void onSubmit();
- virtual String getOnReset() const;
- virtual void setOnReset( const String & aSourceStrg );
- void onReset();
-
- // Constructor
- ImpSjJScriptFormObject( VCForm* _pVCForm, SjJSbxObject * p );
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/hyprlink.hxx b/svx/inc/svx/hyprlink.hxx
deleted file mode 100644
index fe1b23f927a2..000000000000
--- a/svx/inc/svx/hyprlink.hxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _SVX_DLG_HYPERLINK_HXX
-#define _SVX_DLG_HYPERLINK_HXX
-
-#include <sfx2/childwin.hxx>
-#include "svx/svxdllapi.h"
-
-// class SvxHyperlinkDialogWrapper ---------------------------------------
-class SVX_DLLPUBLIC SvxHyperlinkDlgWrapper : public SfxChildWindow
-{
-public:
- SvxHyperlinkDlgWrapper( Window*pParent, sal_uInt16 nId,
- SfxBindings* pBindings, SfxChildWinInfo* pInfo );
- SFX_DECL_CHILDWINDOW(SvxHyperlinkDlgWrapper);
-};
-#endif // _SVX_DLG_HYPERLINK_HXX
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/dialog/hyprdlg.hxx b/svx/source/dialog/hyprdlg.hxx
deleted file mode 100644
index 186193ba4813..000000000000
--- a/svx/source/dialog/hyprdlg.hxx
+++ /dev/null
@@ -1,136 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _SVX_DLG_HYPERDLG_HXX
-#define _SVX_DLG_HYPERDLG_HXX
-
-#include <vcl/combobox.hxx>
-#include <vcl/toolbox.hxx>
-#include <vcl/menu.hxx>
-#include <svtools/stdctrl.hxx>
-#include <sfx2/ctrlitem.hxx>
-#include <svl/srchcfg.hxx>
-#include <sfx2/tbxctrl.hxx>
-
-class SvxHyperlinkDlg;
-class SfxViewFrame;
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
-class HyperCombo : public ComboBox
-{
- SvxHyperlinkDlg *pDlg;
- long nMaxWidth;
- long nMinWidth;
- long nRatio;
-
- virtual long Notify( NotifyEvent& rNEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
-
-public:
- HyperCombo( SvxHyperlinkDlg* pDialog, const ResId& rResId );
-
- inline void SetRatio( long nR ) { nRatio = nR; }
- inline long GetRatio() { return nRatio; }
- long CalcResizeWidth( long nW );
- inline long GetResizeWidth() { return (nMaxWidth - nMinWidth); }
- void DoResize( long nW );
-};
-
-class HyperFixedText : public FixedInfo
-{
- SvxHyperlinkDlg *pDlg;
-
-public:
- HyperFixedText( SvxHyperlinkDlg* pDialog, const ResId& rResId );
-
-};
-
-/*--------------------------------------------------------------------
- Beschreibung: Dialog zum Einfgen/Žndern eines Hyperlink
- --------------------------------------------------------------------*/
-
-class SvxHyperlinkDlg : public ToolBox, public SfxControllerItem
-{
- friend class HyperCombo;
- friend class HyperFixedText;
- using ToolBox::StateChanged;
-
-private:
- SfxStatusForwarder aForwarder;
- SfxStatusForwarder aHyperlinkDlgForward;
- HyperCombo aNameCB;
- HyperFixedText aUrlFT;
- HyperCombo aUrlCB;
-
- SvxSearchConfig aSearchConfig;
-
- String sAddress;
- String sExplorer;
- String sOldName;
- String sSearchTitle;
- PopupMenu aLinkPopup;
- PopupMenu *pTargetMenu;
- sal_Bool bNoDoc;
- sal_Bool bSend;
- sal_Bool bHasOldName;
- long nMaxWidth;
- long nMinWidth;
- long nMaxHeight;
- sal_Bool bHtmlMode;
-
- SfxImageManager* mpManager;
-
- virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
- virtual void DataChanged( const DataChangedEvent& rDCEvt );
-
- // DockingWindow
- virtual void Resize();
- virtual void Resizing(Size& rSize);
-
- // Drag&Drop
- sal_Bool GetDragData(sal_uInt16 nItem, sal_uIntPtr nDDFormatId, String& rBuffer);
-
- DECL_LINK(TBClickHdl, ToolBox *);
- DECL_LINK(TBSelectHdl, ToolBox *);
- DECL_LINK(DropdownClick, ToolBox * );
- DECL_LINK(LinkPopupSelectHdl, Menu *);
- DECL_LINK(SearchPopupSelectHdl, Menu *);
- DECL_LINK(ComboSelectHdl, ComboBox *);
- DECL_LINK(ComboModifyHdl, ComboBox *);
- DECL_LINK(BookmarkFoundHdl, String *);
-
- void OpenDoc( const String& rURL, SfxViewFrame* pViewFrame );
- void EnableLink();
- void SendToApp(sal_uInt16 nType);
- void AddToHistory(const String& rName, const String& rURL);
- void TargetMenu(const String& rSelEntry, sal_Bool bExecute);
- String GetSelTarget();
-
- void SetImages();
-public:
- SvxHyperlinkDlg(SfxBindings *pBindings, Window* pWindow);
- ~SvxHyperlinkDlg();
-};
-
-
-#endif // _SVX_DLG_HYPERDLG_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/fmgroup.hxx b/svx/source/inc/fmgroup.hxx
deleted file mode 100644
index 2a4af9e910f8..000000000000
--- a/svx/source/inc/fmgroup.hxx
+++ /dev/null
@@ -1,120 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _SVX_FMGROUP_HXX
-#define _SVX_FMGROUP_HXX
-
-#ifndef _SVX_FMCPONT_HXX
-#include "fmcpont.hxx"
-#endif
-
-#ifndef __DBFORM_HXX
-#include <dbform.hxx>
-#endif
-
-struct FmXGroupModel_Impl;
-
-//==================================================================
-// FmXGroupModel
-//==================================================================
-class FmXGroupModel : public XBoundControl,
- public XLoadListener,
- public XPropertyChangeListener,
- public XGroup,
- public FmXControlModel
-{
- FmFormControlMap aControlMap;
-
- friend Reflection* FmXGroupModel_getReflection();
- FmXGroupModel_Impl* pGroupModelData; // Properties
-
-public:
- FmXGroupModel();
- virtual ~FmXGroupModel();
-
- // UNO Anbindung
- SMART_UNO_DECLARATION( FmXGroupModel, FmXControlModel );
- virtual XInterface* queryInterface(UsrUik);
- virtual XIdlClassRef getIdlClass();
-
- // XGroup
- virtual sal_Int32 getFormControlCount();
- virtual XFormControlRef getFormControlByName( const XubString& sName ) const;
- virtual XFormControlRef getFormControlByIndex( sal_Int32 Index ) const;
- virtual void appendFormControl( const XFormControlRef& FormControl );
- virtual XFormControlRef removeFormControl( const XFormControlRef& FormControl );
-
- // XFormControl
- virtual void setParent( const XFormRef& Parent );
-
- // XEventListener
- virtual void disposing( const EventObject& Source );
-
- // XPropertiesChangeListener
- virtual void propertyChange( const PropertyChangeEvent& evt );
-
- // XLoadListener
- virtual void loaded( const EventObject& rEvent );
- virtual void unloaded( const EventObject& rEvent );
-
- // XBoundControl
- virtual void addBoundControlListener( const XBoundControlListenerRef& l );
- virtual void removeBoundControlListener( const XBoundControlListenerRef& l );
-
- // XPersistObject
- virtual XubString getServiceName( void ) const;
- virtual void write( const XObjectOutputStreamRef& OutStream );
- virtual void read( const XObjectInputStreamRef& InStream );
-
- // PropertySetInterface
- virtual FmXPropertySetInfo* createPropertySetInfo() const;
- virtual sal_Bool setPropertyValue( sal_uInt16 nId, const XubString& aPropertyName,
- const UsrAny& aValue,
- PropertyChangeEventSequence* pSeq,
- sal_Int32 nIndex );
- virtual UsrAny getPropertyValue( sal_uInt16 nId, const XubString& aPropertyName ) const;
- virtual void addPropertyChangeListener( const XubString& aPropertyName, const XPropertyChangeListenerRef& aListener );
- virtual void removePropertyChangeListener( const XubString& aPropertyName, const XPropertyChangeListenerRef& aListener );
-};
-
-//==================================================================
-// FmXGroupModelInfo
-// Properties:
-//==================================================================
-class FmXGroupModelInfo : public FmXControlModelInfo
-{
- friend class FmXGroupModel;
-
-protected:
- FmXGroupModelInfo( const FmXGroupModel* pCp );
- virtual void fillProperties( sal_uInt32& nIndex, PropertySequence& aSeq ) const;
-};
-
-
-#endif // _SVX_FMGROUP_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/fldinit.hxx b/sw/inc/fldinit.hxx
deleted file mode 100644
index 5252e038923b..000000000000
--- a/sw/inc/fldinit.hxx
+++ /dev/null
@@ -1,39 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _FLDINIT_HXX
-#define _FLDINIT_HXX
-
-//Table for FieldInfo.
-
-void InitFieldInfo();
-void FinitFieldInfo();
-
-
-#endif // _FLDINIT_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/inetfld.hxx b/sw/inc/inetfld.hxx
deleted file mode 100644
index d0e4047e96db..000000000000
--- a/sw/inc/inetfld.hxx
+++ /dev/null
@@ -1,108 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef SW_INETFLD_HXX
-#define SW_INETFLD_HXX
-
-
-#include "fldbas.hxx"
-
-class SvxMacro;
-class SvxMacroTableDtor;
-class SwINetField;
-class SwCharFmt;
-class SwDoc;
-
-// InterNet-FieldType -> Load document with URL
-
-class SwINetFieldType : public SwFieldType
-{
- SwDepend aNormalFmt;
- SwDepend aVisitFmt;
- SwDoc* pDoc;
-
-public:
- SwINetFieldType( SwDoc* pDoc );
-
- virtual SwFieldType* Copy() const;
-
- SwCharFmt* GetCharFmt( const SwINetField& rFld );
-
- SwDoc* GetDoc() const { return pDoc; }
-};
-
-
-// InterNet-Field -> Load document with URL
-
-class SwINetField : public SwField
-{
- friend class SwINetFieldType;
-
- String sTargetFrameName; // Frame to put the URL.
- String sURL;
- String sText;
- SvxMacroTableDtor* pMacroTbl;
-
- virtual String Expand() const;
- virtual SwField* Copy() const;
-
-public:
- // Direct input, delete old value.
- SwINetField( SwINetFieldType* pTyp, sal_uInt16 nFmt,
- const String& rURL, const String& rText );
- virtual ~SwINetField();
-
- virtual String GetFieldName() const;
-
- // URL
- virtual const rtl::OUString& GetPar1() const;
- virtual void SetPar1(const rtl::OUString& rStr);
-
- // Information text.
- virtual rtl::OUString GetPar2() const;
- virtual void SetPar2(const rtl::OUString& rStr);
-
- // Current character format.
- SwCharFmt* GetCharFmt();
- const SwCharFmt* GetCharFmt() const
- { return ((SwINetField*)this)->GetCharFmt(); }
-
- const String& GetTargetFrameName() const { return sTargetFrameName; }
- void SetTargetFrameName( const String& rNm ) { sTargetFrameName = rNm; }
-
- // Set new or delete old MacroTable.
- void SetMacroTbl( const SvxMacroTableDtor* pTbl = 0 );
- const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; }
-
- void SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro );
- const SvxMacro* GetMacro( sal_uInt16 nEvent ) const;
-};
-
-
-#endif // SW_INETFLD_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/newhdl.hxx b/sw/inc/newhdl.hxx
deleted file mode 100644
index c9176e2b3e91..000000000000
--- a/sw/inc/newhdl.hxx
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _NEWHDL_HXX
-#define _NEWHDL_HXX
-
-#include <tools/link.hxx>
-
-// ----------------------------------------------------------------------------
-
-extern void SW_NEW_HDL();
-
-class SwNewHdl
-{
- friend void SW_NEW_HDL();
-private:
- char* pWarnMem;
- char* pExceptMem;
- Link aWarnLnk;
- Link aErrLnk;
-public:
- void SetWarnLnk( const Link &rLink );
- void SetErrLnk( const Link &rLink );
-
- sal_Bool TryWarnMem();
-
- sal_Bool Flush_WarnMem();
- sal_Bool Flush_ExceptMem();
-
- SwNewHdl();
- ~SwNewHdl();
-};
-
-/******************************************************************************
- * INLINE
- ******************************************************************************/
-inline void SwNewHdl::SetWarnLnk( const Link &rLink )
-{
- aWarnLnk = rLink;
-}
-
-inline void SwNewHdl::SetErrLnk( const Link &rLink )
-{
- aErrLnk = rLink;
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/pageiter.hxx b/sw/inc/pageiter.hxx
deleted file mode 100644
index e6ebf728475c..000000000000
--- a/sw/inc/pageiter.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _PAGEITER_HXX
-#define _PAGEITER_HXX
-
-#include <tools/solar.h>
-
-class SwDoc;
-class SwPageFrm;
-struct SwPosition;
-class SwPageDesc;
-
-class SwPageIter {
- const SwDoc &rPDoc;
- const SwPageFrm *pPage;
-
-public:
- SwPageIter( const SwDoc &rDoc, const SwPosition &rStartPos );
-
- sal_Bool IsEnd() const { return 0 == pPage; }
- sal_Bool NextPage();
- const SwPageDesc* GetPageDesc() const;
- sal_Bool Seek( const SwPosition &rPos );
- sal_Bool GetPosition( SwPosition &rPos ) const;
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/redlnaut.hxx b/sw/inc/redlnaut.hxx
deleted file mode 100644
index 4880fa26753e..000000000000
--- a/sw/inc/redlnaut.hxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _REDLNAUT_HXX
-#define _REDLNAUT_HXX
-
-#include <tools/string.hxx>
-#include <tools/color.hxx>
-
-#include "swtypes.hxx"
-
-class SfxItemSet;
-class SwAttrPool;
-
-class SwRedlineAuthor
-{
- String sAuthor;
- Color aChgLineColor;
- SfxItemSet *pInsAttrSet, *pDelAttrSet, *pFmtAttrSet;
- short eChgLineOrient;
- sal_uInt8 cDelChar;
-public:
- SwRedlineAuthor( SwAttrPool& rPool, const String& );
- SwRedlineAuthor( const SwRedlineAuthor& );
- ~SwRedlineAuthor();
-
- SwRedlineAuthor& operator=( const SwRedlineAuthor& );
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/swgstr.hxx b/sw/inc/swgstr.hxx
deleted file mode 100644
index 2f3c2d7d9f6b..000000000000
--- a/sw/inc/swgstr.hxx
+++ /dev/null
@@ -1,152 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _SWGSTR_HXX
-#define _SWGSTR_HXX
-
-#include <tools/stream.hxx>
-
-typedef long long3; // For documentation: 3-byte-longs.
-
-#define MAX_BEGIN 64 // Maximum block nesting.
-#define PASSWDLEN 16 // Maximum password length.
-
-// New version with SvStreams.
-
-// Functionality for passwords and encoding.
-
-class swcrypter {
-protected:
- sal_Char cPasswd[ PASSWDLEN ]; // Password buffer.
- sal_Bool bPasswd; // sal_True if with password.
- void encode( sal_Char*, sal_uInt16 ); // Encode/decode buffer.
-public:
- swcrypter();
- sal_Bool setpasswd( const String& ); // Set password.
- void copypasswd( const sal_Char* ); // Set password directly.
- const sal_Char* getpasswd() { return cPasswd; }
-};
-
-// Reader/Writer-stream base class with buffer administration for texts
-// ans special I/O for 3-byte-longs.
-
-class swstreambase : public swcrypter {
-protected:
- SvStream* pStrm; // The actual stream.
- sal_Char* pBuf; // Temporary buffer.
- sal_uInt16 nBuflen; // Length of temporary buffer.
- short nLong; // Long-length (3 or 4).
- sal_Bool bTempStrm; // sal_True: delete stream.
- void checkbuf( sal_uInt16 ); // Test buffer length.
-
- swstreambase( SvStream& );
-
- swstreambase( const swstreambase& );
- int operator=( const swstreambase& );
-public:
- ~swstreambase();
- SvStream& Strm() { return *pStrm; }
- void clear(); // Delete buffer.
-
- // Supplementary functions for I/O of LONGs as 3-byte numbers.
-
- void long3() { nLong = 3; }
- void long4() { nLong = 4; }
-
-
- // Alias and helper functions.
-
- void seek( long nPos ) { pStrm->Seek( nPos ); }
- long tell() { return pStrm->Tell(); }
- long filesize();
-
- void setbad();
- int good() { return ( pStrm->GetError() == SVSTREAM_OK ); }
- int operator!() { return ( pStrm->GetError() != SVSTREAM_OK ); }
- int eof() { return pStrm->IsEof(); }
-
- sal_uInt8 get();
- void get( void* p, sal_uInt16 n ) { pStrm->Read( (sal_Char*) p, n ); }
-
- inline swstreambase& operator>>( sal_Char& );
- inline swstreambase& operator>>( sal_uInt8& );
- inline swstreambase& operator>>( short& );
- inline swstreambase& operator>>( sal_uInt16& );
- swstreambase& operator>>( long& );
- inline swstreambase& operator>>( sal_uLong& );
-};
-
-inline swstreambase& swstreambase::operator>>( sal_Char& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( sal_uInt8& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( short& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( sal_uInt16& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( sal_uLong& c )
-{
- return *this >> (long&) c;
-}
-
-class swistream : public swstreambase {
- sal_uInt8 cType; // Record type.
- sal_uLong nOffset; // Record offset portion.
-public:
- swistream( SvStream& );
-
- sal_uInt8 peek(); // Test 1 byte.
- sal_uInt8 next(); // Block start.
- sal_uInt8 cur() { return cType; } // Current block.
- sal_uInt8 skipnext(); // Skip record.
- void undonext(); // Undo next().
- long getskip() { return nOffset; }
- void skip( long = -1L ); // Skip block.
- sal_Char* text(); // Read text string (after BEGIN).
- long size(); // Current record length.
-
-private:
- swistream( const swistream& );
- int operator=( const swistream& );
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/drawdev.hxx b/sw/source/core/inc/drawdev.hxx
deleted file mode 100644
index 22383d822e94..000000000000
--- a/sw/source/core/inc/drawdev.hxx
+++ /dev/null
@@ -1,115 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _DRAWDEV_HXX
-#define _DRAWDEV_HXX
-
-#include "swrect.hxx"
-#include <vcl/outdev.hxx>
-
-// all draw methods will be moved by offset *pPos
-class SwDrawDev
-{
- OutputDevice *pOut;
- const Point *pPos;
-
-public:
- inline SwDrawDev( OutputDevice *pOutDev, const Point *pPosition )
- :pOut(pOutDev), pPos(pPosition) { }
-
- inline OutputDevice *GetOut() { return pOut; }
-
- // output methods
- inline void DrawText( const Point& rStart, const String& rTxt,
- const sal_uInt16 nIdx = 0,
- const sal_uInt16 nLen = STRING_LEN );
- inline void DrawStretchText( const Point& rStart, sal_uInt16 nWidth,
- const String& rTxt,
- const sal_uInt16 nIdx = 0,
- const sal_uInt16 nLen = STRING_LEN );
- inline void DrawTextArray( const Point& rStart,
- const String& rTxt,
- long *pKernArray = 0,
- const sal_uInt16 nIdx = 0,
- const sal_uInt16 nLen = STRING_LEN);
- inline void DrawLine( const Point& rStart, const Point& rEnd );
- inline void DrawRect( const SwRect& rRect,
- const sal_uInt16 nHorzRount = 0,
- const sal_uInt16 nVertRound = 0 );
-
- inline const Point *GetOrigin() const { return pPos; }
-};
-
-// implementation
-inline void SwDrawDev::DrawText( const Point& rStart, const String& rTxt,
- const sal_uInt16 nIdx, const sal_uInt16 nLen )
-{
- if( !pPos )
- pOut->DrawText( rStart, rTxt, nIdx, nLen );
- else
- pOut->DrawText( rStart - *pPos, rTxt, nIdx, nLen );
-}
-
-inline void SwDrawDev::DrawStretchText( const Point& rStart, sal_uInt16 nWidth,
- const String& rTxt, const sal_uInt16 nIdx, const sal_uInt16 nLen )
-{
- if( !pPos )
- pOut->DrawStretchText( rStart, nWidth, rTxt, nIdx, nLen );
- else
- pOut->DrawStretchText( rStart - *pPos, nWidth, rTxt, nIdx, nLen );
-}
-
-inline void SwDrawDev::DrawTextArray( const Point& rStart, const String& rTxt,
- long *pKernArray, const sal_uInt16 nIdx, const sal_uInt16 nLen )
-{
- if( !pPos )
- pOut->DrawTextArray( rStart, rTxt, pKernArray, nIdx, nLen );
- else
- pOut->DrawTextArray( rStart - *pPos, rTxt, pKernArray, nIdx, nLen );
-}
-
-inline void SwDrawDev::DrawLine( const Point& rStart, const Point& rEnd )
-{
- if( !pPos )
- pOut->DrawLine( rStart, rEnd );
- else
- pOut->DrawLine( rStart - *pPos, rEnd - *pPos );
-}
-
-inline void SwDrawDev::DrawRect( const SwRect& rRect,
- const sal_uInt16 nHorzRound, const sal_uInt16 nVertRound )
-{
- SwRect aRect( rRect );
- if( pPos )
- aRect.Pos() -= *pPos;
- pOut->DrawRect( aRect.SVRect(), nHorzRound, nVertRound );
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/toxhlp.hxx b/sw/source/core/inc/toxhlp.hxx
deleted file mode 100644
index 04c7991d73d7..000000000000
--- a/sw/source/core/inc/toxhlp.hxx
+++ /dev/null
@@ -1,78 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _TOXHLP_HXX
-#define _TOXHLP_HXX
-
-#include <tools/solar.h>
-#include <com/sun/star/lang/Locale.hpp>
-#include <com/sun/star/uno/Reference.hxx>
-
-namespace com { namespace sun { namespace star {
-namespace i18n {
- class XExtendedIndexEntrySupplier;
-}
-namespace lang {
- class XMultiServiceFactory;
-}
-}}}
-
-
-class String;
-
-class IndexEntrySupplierWrapper
-{
- ::com::sun::star::lang::Locale aLcl;
- ::com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedIndexEntrySupplier > xIES;
-
-public:
- IndexEntrySupplierWrapper(
- const ::com::sun::star::lang::Locale& rLcl,
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMSF );
- ~IndexEntrySupplierWrapper();
-
- String GetIndexKey( const String& rTxt, const String& rTxtReading,
- const ::com::sun::star::lang::Locale& rLocale ) const;
-
- String GetFollowingText( sal_Bool bMorePages ) const;
-
- ::com::sun::star::uno::Sequence< ::rtl::OUString >
- GetAlgorithmList( const ::com::sun::star::lang::Locale& rLcl ) const;
-
- sal_Bool LoadAlgorithm( const ::com::sun::star::lang::Locale& rLcl,
- const String& sSortAlgorithm, long nOptions ) const;
-
- sal_Int16 CompareIndexEntry( const String& rTxt1, const String& rTxtReading1,
- const ::com::sun::star::lang::Locale& rLcl1,
- const String& rTxt2, const String& rTxtReading2,
- const ::com::sun::star::lang::Locale& rLcl2 ) const;
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/filter/inc/fltbase.hxx b/sw/source/filter/inc/fltbase.hxx
deleted file mode 100644
index 44d966e04a5a..000000000000
--- a/sw/source/filter/inc/fltbase.hxx
+++ /dev/null
@@ -1,118 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef __FLTBASE_HXX__
-#define __FLTBASE_HXX__
-
-#include <tools/stream.hxx>
-#include <tools/string.hxx>
-
-class SwFilterBase
-{
-protected:
- SvStream *pIn;
- sal_Char *pReadBuff; // Groessenangabe
- sal_Int32 nBytesLeft; // noch zu lesende Bytes des aktuelle Records
-
- CharSet eQuellChar; // Quell-Zeichensatz (interner Zeichensatz)
-// CharSet eZielChar; // Ziel-Zeichensatz
-
- sal_uInt16 nTab; // z.Zt. bearbeitete Tabelle
- sal_uInt16 nReadBuffSize;// temporaerer Lesepuffer mit
-
- // ----------------------------------------------------------
- inline void ReadChar( char &rC );
- inline void ReadByte( sal_uInt8 &rN );
- inline void Read( short &rN );
- inline void Read( sal_uInt8 &rN0, sal_uInt16 &rN1, sal_uInt16 &rN2 );
- inline void Read( sal_uInt16 &rN );
- inline void Read( sal_uInt16 &rN1, sal_uInt16 &rN2 );
- inline void Read( sal_uInt16 &rN1, sal_uInt16 &rN2, sal_uInt16 &rN3, sal_uInt16 &rN4 );
- inline void Read( double &rF );
- void Read( String &rS ); // liest 0-terminierten C-String!
- inline void ClearBytesLeft( void );
-};
-
-
-inline void SwFilterBase::ReadChar( char &rC )
- {
- *pIn >> rC;
- nBytesLeft--;
- }
-
-inline void SwFilterBase::ReadByte( sal_uInt8 &rN )
- {
- *pIn >> rN;
- nBytesLeft--;
- }
-
-inline void SwFilterBase::Read( short &rN )
- {
- *pIn >> rN;
- nBytesLeft -= 2;
- }
-
-inline void SwFilterBase::Read( sal_uInt8 &rN0, sal_uInt16 &rN1, sal_uInt16 &rN2 )
- {
- *pIn >> rN0 >> rN1 >> rN2;
- nBytesLeft -= 5;
- }
-
-inline void SwFilterBase::Read( sal_uInt16 &rN )
- {
- *pIn >> rN;
- nBytesLeft -= 2;
- }
-
-inline void SwFilterBase::Read( sal_uInt16 &rN1, sal_uInt16 &rN2 )
- {
- *pIn >> rN1 >> rN2;
- nBytesLeft -= 4;
- }
-
-inline void SwFilterBase::Read( sal_uInt16 &rN1, sal_uInt16 &rN2, sal_uInt16 &rN3, sal_uInt16 &rN4 )
- {
- *pIn >> rN1 >> rN2 >> rN3 >> rN4;
- nBytesLeft -= 8;
- }
-
-inline void SwFilterBase::Read( double &rF )
- {
- *pIn >> rF;
- nBytesLeft -= 8;
- }
-
-inline void SwFilterBase::ClearBytesLeft( void )
- {
- pIn->SeekRel( nBytesLeft );
- nBytesLeft = 0;
- }
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/inc/cfgdesc.hxx b/sw/source/ui/inc/cfgdesc.hxx
deleted file mode 100644
index 3af89260a10a..000000000000
--- a/sw/source/ui/inc/cfgdesc.hxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _CFGDESC_HXX
-#define _CFGDESC_HXX
-
-#include <tools/string.hxx>
-
-class SwCfgDesc
-{
-protected:
- String aFuncText;
- String aLibName;
- sal_uInt16 nEvent;
-
- SwCfgDesc(const String &rFuncName, sal_uInt16 nId);
- SwCfgDesc(const String &rLib,const String &rMacro);
- ~SwCfgDesc();
-
-public:
- void SetEvent(sal_uInt16 nE); // inline
- void SetFuncText(const String &rStr); // inline
- void SetMacro(const String &rLib, const String &rMac);
- sal_Bool IsMacro() const;
- sal_uInt16 GetEvent() const; // inline
- String GetFuncText() const; // inline
- String GetMacro() const; // inline
- String GetLib() const; // inline
-};
-
-// INLINE METHODE --------------------------------------------------------
-inline void SwCfgDesc::SetEvent(sal_uInt16 nE) {
- nEvent = nE;
-}
-
-inline void SwCfgDesc::SetFuncText(const String &rStr) {
- aFuncText = rStr;
-}
-
-inline sal_uInt16 SwCfgDesc::GetEvent() const { return nEvent; }
-inline String SwCfgDesc::GetFuncText() const { return aFuncText; }
-inline String SwCfgDesc::GetMacro() const { return aFuncText; }
-inline String SwCfgDesc::GetLib() const { return aLibName; }
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/ucp/ftp/test_interactionhandler.hxx b/ucb/source/ucp/ftp/test_interactionhandler.hxx
deleted file mode 100644
index f8b61a7eac1f..000000000000
--- a/ucb/source/ucp/ftp/test_interactionhandler.hxx
+++ /dev/null
@@ -1,69 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-/**************************************************************************
- TODO
- **************************************************************************
-
- *************************************************************************/
-#ifndef _TEST_ACTIVEDATASINK_HXX_
-#define _TEST_ACTIVEDATASINK_HXX_
-
-#include <cppuhelper/weak.hxx>
-#include <cppuhelper/queryinterface.hxx>
-#include <com/sun/star/task/XInteractionHandler.hpp>
-
-namespace test_ftp {
-
-
- class Test_InteractionHandler
- : public cppu::OWeakObject,
- public com::sun::star::task::XInteractionHandler
- {
- public:
-
- // XInterface
-
- virtual com::sun::star::uno::Any SAL_CALL
- queryInterface( const com::sun::star::uno::Type& rType )
- throw( com::sun::star::uno::RuntimeException );
-
-
- virtual void SAL_CALL acquire( void ) throw();
-
- virtual void SAL_CALL release( void ) throw();
-
-
- // XInteractionHandler
-
- virtual void SAL_CALL
- handle( const ::com::sun::star::uno::Reference<
- ::com::sun::star::task::XInteractionRequest >& Request )
- throw (::com::sun::star::uno::RuntimeException);
-
- private:
-
- };
-
-}
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unotools/inc/unotools/useroptions_const.hxx b/unotools/inc/unotools/useroptions_const.hxx
deleted file mode 100644
index d11d8a0fc3f7..000000000000
--- a/unotools/inc/unotools/useroptions_const.hxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef INCLUDE_CONFIGITEMS_USEROPTIONS_CONST_HXX
-#define INCLUDE_CONFIGITEMS_USEROPTIONS_CONST_HXX
-
-#include <rtl/ustring.hxx>
-
-
-#endif // INCLUDE_CONFIGITEMS_USEROPTIONS_CONST_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/source/mphndl.hxx b/uui/source/mphndl.hxx
deleted file mode 100644
index de9d296ebd30..000000000000
--- a/uui/source/mphndl.hxx
+++ /dev/null
@@ -1,89 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef UUI_IAHNDL_HXX
-#define UUI_IAHNDL_HXX
-
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XTypeProvider.hpp>
-#include <com/sun/star/task/XInteractionHandler.hpp>
-#include <com/sun/star/task/XPasswordContainer.hpp>
-#include <cppuhelper/weak.hxx>
-
-//============================================================================
-class UUIInteractionHandler:
- public cppu::OWeakObject,
- public com::sun::star::lang::XServiceInfo,
- public com::sun::star::lang::XTypeProvider,
- public com::sun::star::task::XInteractionHandler
-{
- ::com::sun::star::uno::Reference< ::com::sun::star::task::XPasswordContainer > mPContainer;
-
-public:
- static sal_Char const m_aImplementationName[];
-
- UUIInteractionHandler( com::sun::star::uno::Reference<
- com::sun::star::lang::XMultiServiceFactory > const & );
-
- virtual com::sun::star::uno::Any SAL_CALL
- queryInterface(com::sun::star::uno::Type const & rType)
- throw (com::sun::star::uno::RuntimeException);
-
- virtual void SAL_CALL acquire()
- throw (com::sun::star::uno::RuntimeException);
-
- virtual void SAL_CALL release()
- throw (com::sun::star::uno::RuntimeException);
-
- virtual rtl::OUString SAL_CALL getImplementationName()
- throw (com::sun::star::uno::RuntimeException);
-
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const &
- rServiceName)
- throw (com::sun::star::uno::RuntimeException);
-
- virtual com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (com::sun::star::uno::RuntimeException);
-
- virtual
- com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL
- getTypes() throw (com::sun::star::uno::RuntimeException);
-
- virtual com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
- getImplementationId() throw (com::sun::star::uno::RuntimeException);
-
- virtual void SAL_CALL
- handle(com::sun::star::uno::Reference<
- com::sun::star::task::XInteractionRequest > const &
- rRequest)
- throw (com::sun::star::uno::RuntimeException);
-
- static com::sun::star::uno::Sequence< rtl::OUString >
- getSupportedServiceNames_static();
-
- static com::sun::star::uno::Reference< com::sun::star::uno::XInterface >
- SAL_CALL
- createInstance(com::sun::star::uno::Reference<
- com::sun::star::lang::XMultiServiceFactory > const &);
-};
-
-#endif // UUI_IAHNDL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/aqua/aquavclevents.hxx b/vcl/inc/aqua/aquavclevents.hxx
deleted file mode 100644
index 5b81084bfb80..000000000000
--- a/vcl/inc/aqua/aquavclevents.hxx
+++ /dev/null
@@ -1,90 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_AQUAVCLEVENTS_HXX
-#define INCLUDED_AQUAVCLEVENTS_HXX
-
-#include <premac.h>
-#include <Carbon/Carbon.h>
-#include <postmac.h>
-
-/* Definition of custom OpenOffice.org events.
-
- Avoid conflict with Apple defined event class and type
- definitions by using uppercase letters. Lowercase
- letter definitions are reserved for Apple!
- */
-enum {
- cOOoSalUserEventClass = 'OOUE'
-};
-
-enum {
- cOOoSalEventUser = 'UEVT',
- cOOoSalEventTimer = 'EVTT',
- cOOoSalEventData = 'EVTD',
- cOOoSalEventParamTypePtr = 'EPPT'
-};
-
-/* Definition of all necessary EventTypeSpec's */
-
-const EventTypeSpec cWindowBoundsChangedEvent = { kEventClassWindow, kEventWindowBoundsChanged };
-const EventTypeSpec cWindowCloseEvent = { kEventClassWindow, kEventWindowClose };
-const EventTypeSpec cOOoSalUserEvent = { cOOoSalUserEventClass, cOOoSalEventUser };
-const EventTypeSpec cOOoSalTimerEvent = { cOOoSalUserEventClass, cOOoSalEventTimer };
-const EventTypeSpec cWindowActivatedEvent[] = { { kEventClassWindow, kEventWindowActivated },
- { kEventClassWindow, kEventWindowDeactivated } };
-const EventTypeSpec cWindowPaintEvent = { kEventClassWindow, kEventWindowPaint };
-const EventTypeSpec cWindowDrawContentEvent = { kEventClassWindow, kEventWindowDrawContent };
-
-const EventTypeSpec cWindowFocusEvent[] = { { kEventClassWindow, kEventWindowFocusAcquired },
- { kEventClassWindow, kEventWindowFocusRelinquish } };
-
-const EventTypeSpec cMouseEnterExitEvent[] = { { kEventClassControl, kEventControlTrackingAreaEntered },
- { kEventClassControl, kEventControlTrackingAreaExited } };
-
-const EventTypeSpec cMouseEvent[] = { { kEventClassMouse, kEventMouseDown },
- { kEventClassMouse, kEventMouseUp },
- { kEventClassMouse, kEventMouseMoved },
- { kEventClassMouse, kEventMouseDragged } };
-const EventTypeSpec cMouseWheelMovedEvent = { kEventClassMouse, kEventMouseWheelMoved };
-const EventTypeSpec cWindowResizeStarted = { kEventClassWindow, kEventWindowResizeStarted };
-const EventTypeSpec cWindowResizeCompleted = { kEventClassWindow, kEventWindowResizeCompleted };
-
-/* Events for native menus */
-const EventTypeSpec cCommandProcessEvent = { kEventClassCommand, kEventCommandProcess };
-const EventTypeSpec cMenuPopulateEvent = { kEventClassMenu, kEventMenuPopulate };
-const EventTypeSpec cMenuClosedEvent = { kEventClassMenu, kEventMenuClosed };
-const EventTypeSpec cMenuTargetItemEvent = { kEventClassMenu, kEventMenuTargetItem };
-
-/* Events for keyboard */
-const EventTypeSpec cKeyboardRawKeyEvents[] = { { kEventClassKeyboard, kEventRawKeyDown},
- { kEventClassKeyboard, kEventRawKeyUp},
- { kEventClassKeyboard, kEventRawKeyRepeat},
- { kEventClassKeyboard, kEventRawKeyModifiersChanged} };
-
-const EventTypeSpec cTextInputEvents[] = { { kEventClassTextInput, kEventTextInputUpdateActiveInputArea},
- { kEventClassTextInput, kEventTextInputUnicodeForKeyEvent},
- { kEventClassTextInput, kEventTextInputOffsetToPos} };
-
-/* Events for scrollbar */
-
-const EventTypeSpec cAppearanceScrollbarVariantChangedEvent = { kEventClassAppearance, kEventAppearanceScrollBarVariantChanged };
-
-#endif // INCLUDED_AQUAVCLEVENTS_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/aqua/salfontutils.hxx b/vcl/inc/aqua/salfontutils.hxx
deleted file mode 100644
index b3da34a36417..000000000000
--- a/vcl/inc/aqua/salfontutils.hxx
+++ /dev/null
@@ -1,59 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-
-#ifndef _SV_SALFONTUTILS_HXX
-#define _SV_SALFONTUTILS_HXX
-
-#include "vcl/outfont.hxx"
-
-static const char *kFontWeightThin1 = "Thin";
-static const char *kFontWeightThin2 = "thin";
-
-static const char *kFontWeightLight1 = "Light";
-static const char *kFontWeightLight2 = "light";
-
-static const char *kFontWeightBold1 = "Bold";
-static const char *kFontWeightBold2 = "bold";
-
-static const char *kFontWeightUltra1 = "Ultra";
-static const char *kFontWeightUltra2 = "ultra";
-
-static const char *kFontWeightSemi1 = "Semi";
-static const char *kFontWeightSemi2 = "semi";
-
-static const char *kFontWeightNormal1 = "Normal";
-static const char *kFontWeightNormal2 = "normal";
-
-static const char *kFontWeightMedium1 = "Medium";
-static const char *kFontWeightMedium2 = "medium";
-
-static const char *kFontWeightBlack1 = "Black";
-static const char *kFontWeightBlack2 = "black";
-
-static const char *kFontWeightRoman1 = "Roman";
-static const char *kFontWeightRoman2 = "roman";
-
-static const char *kFontWeightRegular1 = "Regular";
-static const char *kFontWeightRegular2 = "regular";
-
-
-#endif // _SV_SALFONTUTILS_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/unx/tde/tdedata.hxx b/vcl/inc/unx/tde/tdedata.hxx
deleted file mode 100644
index c6b8dac18d4e..000000000000
--- a/vcl/inc/unx/tde/tdedata.hxx
+++ /dev/null
@@ -1,114 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- * Copyright 2012 Timothy Pearson
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _VCL_TDEDATA_HXX
-#define _VCL_TDEDATA_HXX
-
-#include <unx/saldisp.hxx>
-#include <unx/saldata.hxx>
-#include <unx/salframe.h>
-
-class TDEData : public X11SalData
-{
-public:
- TDEData( SalInstance *pInstance ) : X11SalData( SAL_DATA_TDE, pInstance ) {}
- virtual ~TDEData();
-
- virtual void Init();
- virtual void initNWF();
- virtual void deInitNWF();
-};
-
-class SalTDEDisplay : public SalX11Display
-{
-public:
- SalTDEDisplay( Display* pDisp );
- virtual ~SalTDEDisplay();
-};
-
-class TDESalFrame : public X11SalFrame
-{
- static const int nMaxGraphics = 2;
-
- struct GraphicsHolder
- {
- X11SalGraphics* pGraphics;
- bool bInUse;
- GraphicsHolder()
- : pGraphics( NULL ),
- bInUse( false )
- {}
- ~GraphicsHolder();
- };
- GraphicsHolder m_aGraphics[ nMaxGraphics ];
-
-public:
- TDESalFrame( SalFrame* pParent, sal_uLong );
- virtual ~TDESalFrame();
-
- virtual SalGraphics* GetGraphics();
- virtual void ReleaseGraphics( SalGraphics *pGraphics );
- virtual void updateGraphics( bool bClear );
- virtual void UpdateSettings( AllSettings& rSettings );
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate );
-};
-
-class TDESalInstance : public X11SalInstance
-{
-public:
- TDESalInstance( SalYieldMutex* pMutex )
- : X11SalInstance( pMutex ) {}
- virtual ~TDESalInstance() {}
- virtual SalFrame* CreateFrame( SalFrame* pParent, sal_uLong nStyle );
-};
-
-class TDEXLib : public SalXLib
-{
- bool m_bStartupDone;
- void* m_pApplication;
- char** m_pFreeCmdLineArgs;
- char** m_pAppCmdLineArgs;
- int m_nFakeCmdLineArgs;
-public:
- TDEXLib() : SalXLib(),
- m_bStartupDone( false ),
- m_pApplication( NULL ),
- m_pFreeCmdLineArgs( NULL ),
- m_pAppCmdLineArgs( NULL ),
- m_nFakeCmdLineArgs( 0 )
- {}
- virtual ~TDEXLib();
- virtual void Init();
-
- void doStartup();
-};
-
-#endif // _VCL_TDEDATA_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/unx/generic/gdi/dtsetenum.hxx b/vcl/unx/generic/gdi/dtsetenum.hxx
deleted file mode 100644
index 6254ac324f81..000000000000
--- a/vcl/unx/generic/gdi/dtsetenum.hxx
+++ /dev/null
@@ -1,140 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _VCL_DTSETENUM_HXX
-#define _VCL_DTSETENUM_HXX
-
-enum DtSetEnum
-{
- /* settings for mouse */
- MouseOptions = 1,
- DoubleClickTime,
- DoubleClickWidth,
- DoubleClickHeight,
- StartDragWidth,
- StartDragHeight,
- DragMoveCode,
- DragCopyCode,
- DragLinkCode,
- ContextMenuCode,
- ContextMenuClicks,
- ContextMenuDown,
- ScrollRepeat,
- ButtonStartRepeat,
- ButtonRepeat,
- ActionDelay,
- MenuDelay,
- Follow,
- MiddleButtonAction,
- /* settings for keyboard */
- KeyboardOptions=64,
- /* style settings */
- StyleOptions = 128,
- BorderSize,
- TitleHeight,
- FloatTitleHeight,
- TearOffTitleHeight,
- MenuBarHeight,
- ScrollBarSize,
- SpinSize,
- SplitSize,
- IconHorzSpace,
- IconVertSpace,
- CursorSize,
- CursorBlinkTime,
- ScreenZoom,
- ScreenFontZoom,
- LogoDisplayTime,
- DragFullOptions,
- AnimationOptions,
- SelectionOptions,
- DisplayOptions,
- AntialiasingMinPixelHeight,
- /* style colors */
- AllTextColors, /* convenience, sets all control text colors */
- AllBackColors, /* convenience, sets all control background colors */
- ThreeDColor,
- FaceColor,
- CheckedColor,
- LightColor,
- LightBorderColor,
- ShadowColor,
- DarkShadowColor,
- ButtonTextColor,
- RadioCheckTextColor,
- GroupTextColor,
- LabelTextColor,
- InfoTextColor,
- WindowColor,
- WindowTextColor,
- DialogColor,
- DialogTextColor,
- WorkspaceColor,
- FieldColor,
- FieldTextColor,
- ActiveColor,
- ActiveColor2,
- ActiveTextColor,
- ActiveBorderColor,
- DeactiveColor,
- DeactiveColor2,
- DeactiveTextColor,
- DeactiveBorderColor,
- HighlightColor,
- HighlightTextColor,
- DisableColor,
- HelpColor,
- HelpTextColor,
- MenuColor,
- MenuBarColor,
- MenuTextColor,
- MenuHighlightColor,
- MenuHighlightTextColor,
- LinkColor,
- VisitedLinkColor,
- HighlightLinkColor,
- HighContrastMode,
- /* style fonts */
- UIFont, /* convenience, sets all fonts but TitleFont and FloatTitleFont */
- AppFont,
- HelpFont,
- TitleFont,
- FloatTitleFont,
- MenuFont,
- ToolFont,
- GroupFont,
- LabelFont,
- InfoFont,
- RadioCheckFont,
- PushButtonFont,
- FieldFont,
- IconFont,
- /* style numeric styles */
- RadioButtonStyle,
- CheckBoxStyle,
- PushButtonStyle,
- TabControlStyle,
- /* toolbar style */
- ToolbarIconSize
-
-};
-
-#endif // _VCL_DTSETENUM_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlhelp/source/cxxhelp/inc/db/EntryProcessor.hxx b/xmlhelp/source/cxxhelp/inc/db/EntryProcessor.hxx
deleted file mode 100644
index 4a875b62a439..000000000000
--- a/xmlhelp/source/cxxhelp/inc/db/EntryProcessor.hxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _XMLSEARCH_DB_ENTRYPROCESSOR_HXX_
-#define _XMLSEARCH_DB_ENTRYPROCESSOR_HXX_
-
-#include <rtl/ustring>
-
-namespace xmlsearch {
-
- namespace db {
-
-
- class EntryProcessor
- {
- public:
-
- virtual ~EntryProcessor() = 0;
- virtual void processEntry( rtl::OUString string,sal_Int32 id ) = 0;
- };
-
-
- }
-}
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlhelp/source/cxxhelp/inc/util/ConceptList.hxx b/xmlhelp/source/cxxhelp/inc/util/ConceptList.hxx
deleted file mode 100644
index 0e264bb9e0ab..000000000000
--- a/xmlhelp/source/cxxhelp/inc/util/ConceptList.hxx
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _XMLSEARCH_UTIL_CONCEPTLIST_HXX_
-#define _XMLSEARCH_UTIL_CONCEPTLIST_HXX_
-
-#include <excep/XmlSearchExceptions.hxx>
-#include <qe/DocGenerator.hxx>
-#include <util/Decompressor.hxx>
-#include <util/CompressorIterator.hxx>
-
-
-namespace xmlsearch {
-
- namespace util {
-
-
- class CompressorIterator;
-
-
-
- class ConceptList
- : public CompressorIterator,
- public xmlsearch::qe::NonnegativeIntegerGenerator
- {
- public:
-
- ConceptList( sal_Int8* array,sal_Int32 arrl,sal_Int32 index )
- : k_( array[index] ),
- value_( 0 ),
- list_( arrl,array,index + 1 ) { }
-
- void value( sal_Int32 val ) { value_ += val; }
-
- private:
-
- sal_Int32 k_,value_;
- ByteArrayDecompressor list_;
-
- };
-
- }
-
-}
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/inc/xmloff/PropertySetInfoKey.hxx b/xmloff/inc/xmloff/PropertySetInfoKey.hxx
deleted file mode 100644
index 79e49d8568aa..000000000000
--- a/xmloff/inc/xmloff/PropertySetInfoKey.hxx
+++ /dev/null
@@ -1,61 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _XMLOFF_PROPERTYSETINFOKEY_HXX
-#define _XMLOFF_PROPERTYSETINFOKEY_HXX
-
-#include <osl/diagnose.h>
-#include <com/sun/star/uno/Sequence.hxx>
-
-namespace com { namespace sun { namespace star {
- namespace beans { class XPropertySetInfo; }
-} } }
-
-
-struct PropertySetInfoKey
-{
- ::com::sun::star::uno::Reference <
- ::com::sun::star::beans::XPropertySetInfo > xPropInfo;
- ::com::sun::star::uno::Sequence < sal_Int8 > aImplementationId;
-
- inline PropertySetInfoKey();
- inline PropertySetInfoKey(
- const ::com::sun::star::uno::Reference <
- ::com::sun::star::beans::XPropertySetInfo >& rPropInfo,
- const ::com::sun::star::uno::Sequence < sal_Int8 >& rImplId );
-};
-
-inline PropertySetInfoKey::PropertySetInfoKey()
-{
- OSL_ENSURE( aImplementationId.getLength()==16, "illegal constructor call" );
-}
-
-inline PropertySetInfoKey::PropertySetInfoKey(
- const ::com::sun::star::uno::Reference <
- ::com::sun::star::beans::XPropertySetInfo >& rPropInfo,
- const ::com::sun::star::uno::Sequence < sal_Int8 >& rImplId ) :
- xPropInfo( rPropInfo ),
- aImplementationId( rImplId )
-{
- OSL_ENSURE( rPropInfo.is(), "prop info missing" );
- OSL_ENSURE( aImplementationId.getLength()==16, "invalid implementation id" );
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */