summaryrefslogtreecommitdiff
path: root/extensions/inc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/inc')
-rw-r--r--extensions/inc/abpilot.hrc45
-rw-r--r--extensions/inc/appsettings.hxx45
-rw-r--r--extensions/inc/bibliography.hrc86
-rw-r--r--extensions/inc/dbpilots.hrc55
-rw-r--r--extensions/inc/extensio.hrc75
-rw-r--r--extensions/inc/makefile.mk47
-rw-r--r--extensions/inc/pch/precompiled_extensions.cxx29
-rw-r--r--extensions/inc/pch/precompiled_extensions.hxx552
-rw-r--r--extensions/inc/propctrlr.hrc337
-rw-r--r--extensions/inc/ucbhelper/ext_content.hxx329
-rw-r--r--extensions/inc/update.hrc49
11 files changed, 1649 insertions, 0 deletions
diff --git a/extensions/inc/abpilot.hrc b/extensions/inc/abpilot.hrc
new file mode 100644
index 000000000000..ad2c4b1115c2
--- /dev/null
+++ b/extensions/inc/abpilot.hrc
@@ -0,0 +1,45 @@
+/*************************************************************************
+ * 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 EXTENSIONS_ABPILOT_HRC
+#define EXTENSIONS_ABPILOT_HRC
+
+#include "extensio.hrc"
+
+#define HID_ABSPILOT_PREVIOUS ( HID_ABP_START + 0)
+#define HID_ABSPILOT_NEXT ( HID_ABP_START + 1)
+#define HID_ABSPILOT_CANCEL ( HID_ABP_START + 2)
+#define HID_ABSPILOT_FINISH ( HID_ABP_START + 3)
+#define UID_ABSPILOT_HELP ( HID_ABP_START + 4)
+#define HID_ABSPILOT ( HID_ABP_START + 5)
+ // !! if you add new IDs, please also adjust HID_ABP_LAST below !!
+#define HID_ABP_LAST HID_ABSPILOT
+
+#if HID_ABP_LAST > HID_ABP_END
+ #error help id range overflow (ABP)
+#endif
+
+#endif // EXTENSIONS_ABPILOT_HRC
diff --git a/extensions/inc/appsettings.hxx b/extensions/inc/appsettings.hxx
new file mode 100644
index 000000000000..152843af51ca
--- /dev/null
+++ b/extensions/inc/appsettings.hxx
@@ -0,0 +1,45 @@
+/*************************************************************************
+ *
+ * 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 _APPSETTINGS_HXX
+#define _APPSETTINGS_HXX
+
+#ifndef __STARDIV_UNO_UTIL_CONTAINR_HXX__
+#include <stardiv/uno/util/containr.hxx>
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+XNameContainer* getApplicationSettings();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
diff --git a/extensions/inc/bibliography.hrc b/extensions/inc/bibliography.hrc
new file mode 100644
index 000000000000..c67060e18edf
--- /dev/null
+++ b/extensions/inc/bibliography.hrc
@@ -0,0 +1,86 @@
+/*************************************************************************
+ * 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 EXTENSIONS_BIBLIOGRAPHY_HRC
+#define EXTENSIONS_BIBLIOGRAPHY_HRC
+
+#include "extensio.hrc"
+
+#define HID_BIB_CHANGESOURCE ( HID_BIBLIO_START + 0)
+#define HID_BIB_MAPPINGDLG ( HID_BIBLIO_START + 1)
+#define HID_BIB_TBX_TABLE ( HID_BIBLIO_START + 2)
+#define HID_BIB_TBX_SEARCH ( HID_BIBLIO_START + 3)
+#define HID_BIB_TBX_AUTOFILTER ( HID_BIBLIO_START + 4)
+#define HID_BIB_IDENTIFIER_POS ( HID_BIBLIO_START + 5)
+#define HID_BIB_AUTHORITYTYPE_POS ( HID_BIBLIO_START + 6)
+#define HID_BIB_AUTHOR_POS ( HID_BIBLIO_START + 7)
+#define HID_BIB_TITLE_POS ( HID_BIBLIO_START + 8)
+#define HID_BIB_YEAR_POS ( HID_BIBLIO_START + 9)
+#define HID_BIB_ISBN_POS ( HID_BIBLIO_START + 10)
+#define HID_BIB_BOOKTITLE_POS ( HID_BIBLIO_START + 11)
+#define HID_BIB_CHAPTER_POS ( HID_BIBLIO_START + 12)
+#define HID_BIB_EDITION_POS ( HID_BIBLIO_START + 13)
+#define HID_BIB_EDITOR_POS ( HID_BIBLIO_START + 14)
+#define HID_BIB_HOWPUBLISHED_POS ( HID_BIBLIO_START + 15)
+#define HID_BIB_INSTITUTION_POS ( HID_BIBLIO_START + 16)
+#define HID_BIB_JOURNAL_POS ( HID_BIBLIO_START + 17)
+#define HID_BIB_MONTH_POS ( HID_BIBLIO_START + 18)
+#define HID_BIB_NOTE_POS ( HID_BIBLIO_START + 19)
+#define HID_BIB_ANNOTE_POS ( HID_BIBLIO_START + 20)
+#define HID_BIB_NUMBER_POS ( HID_BIBLIO_START + 21)
+#define HID_BIB_ORGANIZATIONS_POS ( HID_BIBLIO_START + 22)
+#define HID_BIB_PAGES_POS ( HID_BIBLIO_START + 23)
+#define HID_BIB_PUBLISHER_POS ( HID_BIBLIO_START + 24)
+#define HID_BIB_ADDRESS_POS ( HID_BIBLIO_START + 25)
+#define HID_BIB_SCHOOL_POS ( HID_BIBLIO_START + 26)
+#define HID_BIB_SERIES_POS ( HID_BIBLIO_START + 27)
+#define HID_BIB_REPORTTYPE_POS ( HID_BIBLIO_START + 28)
+#define HID_BIB_VOLUME_POS ( HID_BIBLIO_START + 29)
+#define HID_BIB_URL_POS ( HID_BIBLIO_START + 30)
+#define HID_BIB_CUSTOM1_POS ( HID_BIBLIO_START + 31)
+#define HID_BIB_CUSTOM2_POS ( HID_BIBLIO_START + 32)
+#define HID_BIB_CUSTOM3_POS ( HID_BIBLIO_START + 33)
+#define HID_BIB_CUSTOM4_POS ( HID_BIBLIO_START + 34)
+#define HID_BIB_CUSTOM5_POS ( HID_BIBLIO_START + 35)
+#define HID_BIB_DB_TBX ( HID_BIBLIO_START + 36)
+#define HID_BIB_DB_GHIDCTRL ( HID_BIBLIO_START + 37)
+#define HID_BIB_CONTROL_PAGE ( HID_BIBLIO_START + 38)
+#define HID_BIB_CONTROL_PARENT ( HID_BIBLIO_START + 39)
+#define UID_BIB_FRAME_WINDOW ( HID_BIBLIO_START + 40)
+#define HID_BIB_DELETE_RECORD ( HID_BIBLIO_START + 41)
+#define HID_BIB_INSERT_RECORD ( HID_BIBLIO_START + 42)
+#define HID_BIB_DB_GRIDCTRL ( HID_BIBLIO_START + 43)
+#define HID_DLG_MAPPING ( HID_BIBLIO_START + 44)
+#define HID_DLG_DBCHANGE ( HID_BIBLIO_START + 45)
+#define HID_SELECTION_TLB ( HID_BIBLIO_START + 46)
+ // !! if you add new IDs, please also adjust HID_ABP_LAST below !!
+#define HID_BIB_LAST HID_SELECTION_TLB
+
+#if HID_BIB_LAST > HID_BIBLIO_END
+ #error help id range overflow (BIBLIO)
+#endif
+
+#endif // EXTENSIONS_BIBLIOGRAPHY_HRC
diff --git a/extensions/inc/dbpilots.hrc b/extensions/inc/dbpilots.hrc
new file mode 100644
index 000000000000..46ee01805938
--- /dev/null
+++ b/extensions/inc/dbpilots.hrc
@@ -0,0 +1,55 @@
+/*************************************************************************
+ * 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 EXTENSIONS_DBPILOT_HRC
+#define EXTENSIONS_DBPILOT_HRC
+
+#include "extensio.hrc"
+
+#define HID_GHIDWIZARD_PREVIOUS ( HID_DBP_START + 0)
+#define HID_GHIDWIZARD_NEXT ( HID_DBP_START + 1)
+#define HID_GHIDWIZARD_CANCEL ( HID_DBP_START + 2)
+#define HID_GHIDWIZARD_FINISH ( HID_DBP_START + 3)
+#define HID_GROUPWIZARD_PREVIOUS ( HID_DBP_START + 4)
+#define HID_GROUPWIZARD_NEXT ( HID_DBP_START + 5)
+#define HID_GROUPWIZARD_CANCEL ( HID_DBP_START + 6)
+#define HID_GROUPWIZARD_FINISH ( HID_DBP_START + 7)
+#define HID_LISTWIZARD_PREVIOUS ( HID_DBP_START + 8)
+#define HID_LISTWIZARD_NEXT ( HID_DBP_START + 9)
+#define HID_LISTWIZARD_CANCEL ( HID_DBP_START + 10)
+#define HID_LISTWIZARD_FINISH ( HID_DBP_START + 11)
+#define HID_GRIDWIZARD_PREVIOUS ( HID_DBP_START + 12)
+#define HID_GRIDWIZARD_NEXT ( HID_DBP_START + 13)
+#define HID_GRIDWIZARD_CANCEL ( HID_DBP_START + 14)
+#define HID_GRIDWIZARD_FINISH ( HID_DBP_START + 15)
+ // !! if you add new IDs, please also adjust HID_ABP_LAST below !!
+#define HID_DBP_LAST HID_GRIDWIZARD_FINISH
+
+#if HID_DBP_LAST > HID_DBP_END
+ #error help id range overflow (DBP)
+#endif
+
+#endif // EXTENSIONS_DBPILOT_HRC
diff --git a/extensions/inc/extensio.hrc b/extensions/inc/extensio.hrc
new file mode 100644
index 000000000000..bd643892d42f
--- /dev/null
+++ b/extensions/inc/extensio.hrc
@@ -0,0 +1,75 @@
+/*************************************************************************
+ *
+ * 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 EXTENSIONS_INC_EXTENSIO_HRC
+#define EXTENSIONS_INC_EXTENSIO_HRC
+
+#include <svl/solar.hrc>
+
+// -----------------------------------------------------------------------
+// - resource id ranges
+
+#define RID_ABP_START ( RID_MORE_EXTENSIONS_START + 0 )
+#define RID_ABP_END ( RID_MORE_EXTENSIONS_START + 19 )
+
+#define RID_DBP_START ( RID_MORE_EXTENSIONS_START + 20 )
+#define RID_DBP_END ( RID_MORE_EXTENSIONS_START + 39 )
+
+// !!! please adjust RID_LAST_EXTENSIONS_RANGE if you add new ranges here !!!
+
+#define RID_LAST_EXTENSIONS_RANGE RID_DBP_END
+
+#if RID_LAST_EXTENSIONS_RANGE > RID_MORE_EXTENSIONS_END
+ #error id range overflow
+#endif
+
+// -----------------------------------------------------------------------
+// - help id ranges
+
+#define HID_DBP_START ( HID_EXTENSIONS_START + 0 )
+#define HID_DBP_END ( HID_EXTENSIONS_START + 19 )
+
+#define HID_ABP_START ( HID_EXTENSIONS_START + 20 )
+#define HID_ABP_END ( HID_EXTENSIONS_START + 39 )
+
+#define HID_BIBLIO_START ( HID_EXTENSIONS_START + 40 )
+#define HID_BIBLIO_END ( HID_EXTENSIONS_START + 89 )
+
+#define HID_PROPC_START ( HID_EXTENSIONS_START + 90 )
+#define HID_PROPC_END ( HID_EXTENSIONS_START + 499 )
+
+#define HID_UPDATE_START ( HID_EXTENSIONS_START + 500 )
+#define HID_UPDATE_END ( HID_EXTENSIONS_START + 519 )
+
+// !!! please adjust HID_LAST_EXTENSIONS_RANGE if you add new ranges here !!!
+
+#define HID_LAST_EXTENSIONS_RANGE HID_UPDATE_END
+
+#if HID_LAST_EXTENSIONS_RANGE > HID_EXTENSIONS_END
+ #error id range overflow
+#endif
+
+#endif
diff --git a/extensions/inc/makefile.mk b/extensions/inc/makefile.mk
new file mode 100644
index 000000000000..9ea45ec08e14
--- /dev/null
+++ b/extensions/inc/makefile.mk
@@ -0,0 +1,47 @@
+#*************************************************************************
+#
+# 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.
+#
+#*************************************************************************
+PRJ=..
+
+PRJNAME=extensions
+TARGET=inc
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+# --- Files --------------------------------------------------------
+# --- Targets -------------------------------------------------------
+
+.INCLUDE : target.mk
+
+.IF "$(ENABLE_PCH)"!=""
+ALLTAR : \
+ $(SLO)$/precompiled.pch \
+ $(SLO)$/precompiled_ex.pch
+
+.ENDIF # "$(ENABLE_PCH)"!=""
+
diff --git a/extensions/inc/pch/precompiled_extensions.cxx b/extensions/inc/pch/precompiled_extensions.cxx
new file mode 100644
index 000000000000..07dbfa821f5e
--- /dev/null
+++ b/extensions/inc/pch/precompiled_extensions.cxx
@@ -0,0 +1,29 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+#include "precompiled_extensions.hxx"
+
diff --git a/extensions/inc/pch/precompiled_extensions.hxx b/extensions/inc/pch/precompiled_extensions.hxx
new file mode 100644
index 000000000000..676418c6729f
--- /dev/null
+++ b/extensions/inc/pch/precompiled_extensions.hxx
@@ -0,0 +1,552 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+// MARKER(update_precomp.py): Generated on 2006-09-01 17:49:41.030262
+
+#ifdef PRECOMPILED_HEADERS
+
+//---MARKER---
+#include "sal/config.h"
+#include "sal/types.h"
+
+
+#include "boost/scoped_array.hpp"
+#include "boost/shared_ptr.hpp"
+
+#include "com/sun/star/awt/FocusChangeReason.hpp"
+#include "com/sun/star/awt/FocusEvent.hpp"
+#include "com/sun/star/awt/FontDescriptor.hpp"
+#include "com/sun/star/awt/FontSlant.hpp"
+#include "com/sun/star/awt/FontStrikeout.hpp"
+#include "com/sun/star/awt/FontUnderline.hpp"
+#include "com/sun/star/awt/FontWeight.hpp"
+#include "com/sun/star/awt/Gradient.hpp"
+#include "com/sun/star/awt/GradientStyle.hpp"
+#include "com/sun/star/awt/InputEvent.hpp"
+#include "com/sun/star/awt/Key.hpp"
+#include "com/sun/star/awt/KeyEvent.hpp"
+#include "com/sun/star/awt/KeyFunction.hpp"
+#include "com/sun/star/awt/KeyGroup.hpp"
+#include "com/sun/star/awt/KeyModifier.hpp"
+#include "com/sun/star/awt/MouseButton.hpp"
+#include "com/sun/star/awt/MouseEvent.hpp"
+#include "com/sun/star/awt/PaintEvent.hpp"
+#include "com/sun/star/awt/PosSize.hpp"
+#include "com/sun/star/awt/RasterOperation.hpp"
+#include "com/sun/star/awt/Rectangle.hpp"
+#include "com/sun/star/awt/Size.hpp"
+#include "com/sun/star/awt/VclWindowPeerAttribute.hpp"
+#include "com/sun/star/awt/VisualEffect.hpp"
+#include "com/sun/star/awt/WindowDescriptor.hpp"
+#include "com/sun/star/awt/WindowEvent.hpp"
+#include "com/sun/star/awt/XActionListener.hpp"
+#include "com/sun/star/awt/XActivateListener.hpp"
+#include "com/sun/star/awt/XAdjustmentListener.hpp"
+#include "com/sun/star/awt/XBitmap.hpp"
+#include "com/sun/star/awt/XControl.hpp"
+#include "com/sun/star/awt/XControlContainer.hpp"
+#include "com/sun/star/awt/XControlModel.hpp"
+#include "com/sun/star/awt/XFocusListener.hpp"
+#include "com/sun/star/awt/XGraphics.hpp"
+#include "com/sun/star/awt/XItemListener.hpp"
+#include "com/sun/star/awt/XKeyListener.hpp"
+#include "com/sun/star/awt/XLayoutConstrains.hpp"
+#include "com/sun/star/awt/XMouseListener.hpp"
+#include "com/sun/star/awt/XMouseMotionListener.hpp"
+#include "com/sun/star/awt/XPaintListener.hpp"
+#include "com/sun/star/awt/XSpinListener.hpp"
+#include "com/sun/star/awt/XSystemChildFactory.hpp"
+#include "com/sun/star/awt/XTabController.hpp"
+#include "com/sun/star/awt/XTabControllerModel.hpp"
+#include "com/sun/star/awt/XTextListener.hpp"
+#include "com/sun/star/awt/XTopWindow.hpp"
+#include "com/sun/star/awt/XTopWindowListener.hpp"
+#include "com/sun/star/awt/XUnoControlContainer.hpp"
+#include "com/sun/star/awt/XVclContainer.hpp"
+#include "com/sun/star/awt/XVclContainerListener.hpp"
+#include "com/sun/star/awt/XVclContainerPeer.hpp"
+#include "com/sun/star/awt/XVclWindowPeer.hpp"
+#include "com/sun/star/awt/XWindow.hpp"
+#include "com/sun/star/awt/XWindowListener.hpp"
+#include "com/sun/star/awt/XWindowPeer.hpp"
+#include "com/sun/star/beans/MethodConcept.hpp"
+#include "com/sun/star/beans/NamedValue.hpp"
+#include "com/sun/star/beans/Optional.hpp"
+#include "com/sun/star/beans/Property.hpp"
+#include "com/sun/star/beans/PropertyAttribute.hpp"
+#include "com/sun/star/beans/PropertyChangeEvent.hpp"
+#include "com/sun/star/beans/PropertyConcept.hpp"
+#include "com/sun/star/beans/PropertyState.hpp"
+#include "com/sun/star/beans/PropertyStateChangeEvent.hpp"
+#include "com/sun/star/beans/PropertyValue.hpp"
+#include "com/sun/star/beans/PropertyValues.hpp"
+#include "com/sun/star/beans/UnknownPropertyException.hpp"
+#include "com/sun/star/beans/XExactName.hpp"
+#include "com/sun/star/beans/XFastPropertySet.hpp"
+#include "com/sun/star/beans/XIntrospection.hpp"
+#include "com/sun/star/beans/XIntrospectionAccess.hpp"
+#include "com/sun/star/beans/XMaterialHolder.hpp"
+#include "com/sun/star/beans/XMultiPropertySet.hpp"
+#include "com/sun/star/beans/XPropertiesChangeListener.hpp"
+#include "com/sun/star/beans/XPropertyAccess.hpp"
+#include "com/sun/star/beans/XPropertyChangeListener.hpp"
+#include "com/sun/star/beans/XPropertyContainer.hpp"
+#include "com/sun/star/beans/XPropertySet.hpp"
+#include "com/sun/star/beans/XPropertySetInfo.hpp"
+#include "com/sun/star/beans/XPropertyState.hpp"
+#include "com/sun/star/beans/XPropertyStateChangeListener.hpp"
+#include "com/sun/star/beans/XVetoableChangeListener.hpp"
+#include "com/sun/star/bridge/ModelDependent.hpp"
+#include "com/sun/star/bridge/XBridgeSupplier2.hpp"
+#include "com/sun/star/bridge/XUnoUrlResolver.hpp"
+#include "com/sun/star/bridge/oleautomation/Currency.hpp"
+#include "com/sun/star/bridge/oleautomation/Date.hpp"
+#include "com/sun/star/bridge/oleautomation/Decimal.hpp"
+#include "com/sun/star/bridge/oleautomation/NamedArgument.hpp"
+#include "com/sun/star/bridge/oleautomation/PropertyPutArgument.hpp"
+#include "com/sun/star/bridge/oleautomation/SCode.hpp"
+#include "com/sun/star/bridge/oleautomation/XAutomationObject.hpp"
+#include "com/sun/star/configuration/backend/BackendAccessException.hpp"
+#include "com/sun/star/configuration/backend/CannotConnectException.hpp"
+#include "com/sun/star/configuration/backend/ConnectionLostException.hpp"
+#include "com/sun/star/configuration/backend/InsufficientAccessRightsException.hpp"
+#include "com/sun/star/configuration/backend/PropertyInfo.hpp"
+#include "com/sun/star/configuration/backend/XLayer.hpp"
+#include "com/sun/star/configuration/backend/XLayerContentDescriber.hpp"
+#include "com/sun/star/configuration/backend/XSingleLayerStratum.hpp"
+#include "com/sun/star/connection/ConnectionSetupException.hpp"
+#include "com/sun/star/container/NoSuchElementException.hpp"
+#include "com/sun/star/container/XChild.hpp"
+#include "com/sun/star/container/XElementAccess.hpp"
+#include "com/sun/star/container/XEnumeration.hpp"
+#include "com/sun/star/container/XEnumerationAccess.hpp"
+#include "com/sun/star/container/XHierarchicalNameAccess.hpp"
+#include "com/sun/star/container/XIndexAccess.hpp"
+#include "com/sun/star/container/XNameAccess.hpp"
+#include "com/sun/star/container/XNameContainer.hpp"
+#include "com/sun/star/container/XNameReplace.hpp"
+#include "com/sun/star/container/XNamed.hpp"
+#include "com/sun/star/container/XSet.hpp"
+#include "com/sun/star/datatransfer/clipboard/XClipboard.hpp"
+#include "com/sun/star/document/EventObject.hpp"
+#include "com/sun/star/document/XEventBroadcaster.hpp"
+#include "com/sun/star/document/XEventListener.hpp"
+#include "com/sun/star/form/FormButtonType.hpp"
+#include "com/sun/star/form/FormComponentType.hpp"
+#include "com/sun/star/form/FormSubmitEncoding.hpp"
+#include "com/sun/star/form/ListSourceType.hpp"
+#include "com/sun/star/form/XBoundComponent.hpp"
+#include "com/sun/star/form/XConfirmDeleteListener.hpp"
+#include "com/sun/star/form/XForm.hpp"
+#include "com/sun/star/form/XFormController.hpp"
+#include "com/sun/star/form/XFormsSupplier.hpp"
+#include "com/sun/star/form/XGridColumnFactory.hpp"
+#include "com/sun/star/form/XLoadListener.hpp"
+#include "com/sun/star/form/XLoadable.hpp"
+#include "com/sun/star/form/binding/XBindableValue.hpp"
+#include "com/sun/star/form/binding/XListEntrySink.hpp"
+#include "com/sun/star/form/binding/XListEntrySource.hpp"
+#include "com/sun/star/form/binding/XValueBinding.hpp"
+#include "com/sun/star/form/submission/XSubmissionSupplier.hpp"
+#include "com/sun/star/frame/CommandGroup.hpp"
+#include "com/sun/star/frame/DispatchResultEvent.hpp"
+#include "com/sun/star/frame/DispatchResultState.hpp"
+#include "com/sun/star/frame/FrameAction.hpp"
+#include "com/sun/star/frame/FrameActionEvent.hpp"
+#include "com/sun/star/frame/FrameSearchFlag.hpp"
+#include "com/sun/star/frame/XComponentLoader.hpp"
+#include "com/sun/star/frame/XController.hpp"
+#include "com/sun/star/frame/XDesktop.hpp"
+#include "com/sun/star/frame/XDispatch.hpp"
+#include "com/sun/star/frame/XDispatchHelper.hpp"
+#include "com/sun/star/frame/XDispatchInformationProvider.hpp"
+#include "com/sun/star/frame/XDispatchProvider.hpp"
+#include "com/sun/star/frame/XDispatchProviderInterception.hpp"
+#include "com/sun/star/frame/XDispatchProviderInterceptor.hpp"
+#include "com/sun/star/frame/XFrame.hpp"
+#include "com/sun/star/frame/XFrameActionListener.hpp"
+#include "com/sun/star/frame/XFrameLoader.hpp"
+#include "com/sun/star/frame/XFrames.hpp"
+#include "com/sun/star/frame/XFramesSupplier.hpp"
+#include "com/sun/star/frame/XModel.hpp"
+#include "com/sun/star/frame/XStatusListener.hpp"
+#include "com/sun/star/frame/XStorable.hpp"
+#include "com/sun/star/graphic/XGraphicProvider.hpp"
+#include "com/sun/star/inspection/LineDescriptor.hpp"
+#include "com/sun/star/inspection/PropertyControlType.hpp"
+#include "com/sun/star/inspection/PropertyLineElement.hpp"
+#include "com/sun/star/inspection/XHyperlinkControl.hpp"
+#include "com/sun/star/inspection/XNumericControl.hpp"
+#include "com/sun/star/inspection/XObjectInspector.hpp"
+#include "com/sun/star/inspection/XObjectInspectorModel.hpp"
+#include "com/sun/star/inspection/XObjectInspectorUI.hpp"
+#include "com/sun/star/inspection/XPropertyControl.hpp"
+#include "com/sun/star/inspection/XPropertyControlFactory.hpp"
+#include "com/sun/star/inspection/XPropertyHandler.hpp"
+#include "com/sun/star/inspection/XStringListControl.hpp"
+#include "com/sun/star/installation/ProtDlgRes.hpp"
+#include "com/sun/star/installation/XProtocolHandlerCheck.hpp"
+#include "com/sun/star/installation/protocols.hpp"
+#include "com/sun/star/io/BufferSizeExceededException.hpp"
+#include "com/sun/star/io/IOException.hpp"
+#include "com/sun/star/io/NotConnectedException.hpp"
+#include "com/sun/star/io/XActiveDataControl.hpp"
+#include "com/sun/star/io/XActiveDataSink.hpp"
+#include "com/sun/star/io/XActiveDataSource.hpp"
+#include "com/sun/star/io/XConnectable.hpp"
+#include "com/sun/star/io/XDataInputStream.hpp"
+#include "com/sun/star/io/XDataOutputStream.hpp"
+#include "com/sun/star/io/XInputStream.hpp"
+#include "com/sun/star/io/XMarkableStream.hpp"
+#include "com/sun/star/io/XObjectInputStream.hpp"
+#include "com/sun/star/io/XObjectOutputStream.hpp"
+#include "com/sun/star/io/XOutputStream.hpp"
+#include "com/sun/star/io/XPersistObject.hpp"
+#include "com/sun/star/io/XSeekable.hpp"
+#include "com/sun/star/io/XStreamListener.hpp"
+#include "com/sun/star/io/XXMLExtractor.hpp"
+#include "com/sun/star/lang/DisposedException.hpp"
+#include "com/sun/star/lang/EventObject.hpp"
+#include "com/sun/star/lang/IllegalArgumentException.hpp"
+#include "com/sun/star/lang/IndexOutOfBoundsException.hpp"
+#include "com/sun/star/lang/NullPointerException.hpp"
+#include "com/sun/star/lang/ServiceNotRegisteredException.hpp"
+#include "com/sun/star/lang/SystemDependent.hpp"
+#include "com/sun/star/lang/WrappedTargetException.hpp"
+#include "com/sun/star/lang/XComponent.hpp"
+#include "com/sun/star/lang/XEventListener.hpp"
+#include "com/sun/star/lang/XInitialization.hpp"
+#include "com/sun/star/lang/XLocalizable.hpp"
+#include "com/sun/star/lang/XMultiComponentFactory.hpp"
+#include "com/sun/star/lang/XMultiServiceFactory.hpp"
+#include "com/sun/star/lang/XServiceInfo.hpp"
+#include "com/sun/star/lang/XServiceName.hpp"
+#include "com/sun/star/lang/XSingleServiceFactory.hpp"
+#include "com/sun/star/lang/XTypeProvider.hpp"
+#include "com/sun/star/lang/XUnoTunnel.hpp"
+#include "com/sun/star/ldap/LdapConnectionException.hpp"
+#include "com/sun/star/ldap/LdapGenericException.hpp"
+#include "com/sun/star/loader/CannotActivateFactoryException.hpp"
+#include "com/sun/star/loader/XImplementationLoader.hpp"
+#include "com/sun/star/plugin/PluginDescription.hpp"
+#include "com/sun/star/plugin/PluginException.hpp"
+#include "com/sun/star/plugin/PluginMode.hpp"
+#include "com/sun/star/plugin/PluginVariable.hpp"
+#include "com/sun/star/plugin/XPlugin.hpp"
+#include "com/sun/star/plugin/XPluginContext.hpp"
+#include "com/sun/star/plugin/XPluginManager.hpp"
+#include "com/sun/star/reflection/InvocationTargetException.hpp"
+#include "com/sun/star/reflection/ParamInfo.hpp"
+#include "com/sun/star/reflection/XEnumTypeDescription.hpp"
+#include "com/sun/star/reflection/XIdlReflection.hpp"
+#include "com/sun/star/registry/InvalidRegistryException.hpp"
+#include "com/sun/star/registry/InvalidValueException.hpp"
+#include "com/sun/star/registry/RegistryKeyType.hpp"
+#include "com/sun/star/registry/RegistryValueType.hpp"
+#include "com/sun/star/registry/XRegistryKey.hpp"
+#include "com/sun/star/registry/XSimpleRegistry.hpp"
+#include "com/sun/star/resource/XResourceBundleLoader.hpp"
+#include "com/sun/star/scanner/ScannerException.hpp"
+#include "com/sun/star/scanner/XScannerManager.hpp"
+#include "com/sun/star/script/ContextInformation.hpp"
+#include "com/sun/star/script/FailReason.hpp"
+#include "com/sun/star/script/FinishEngineEvent.hpp"
+#include "com/sun/star/script/FinishReason.hpp"
+#include "com/sun/star/script/InterruptEngineEvent.hpp"
+#include "com/sun/star/script/InterruptReason.hpp"
+#include "com/sun/star/script/InvocationInfo.hpp"
+#include "com/sun/star/script/MemberType.hpp"
+#include "com/sun/star/script/ScriptEventDescriptor.hpp"
+#include "com/sun/star/script/XDebugging.hpp"
+#include "com/sun/star/script/XEngine.hpp"
+#include "com/sun/star/script/XEngineListener.hpp"
+#include "com/sun/star/script/XEventAttacherManager.hpp"
+#include "com/sun/star/script/XInvocation.hpp"
+#include "com/sun/star/script/XInvocation2.hpp"
+#include "com/sun/star/script/XInvocationAdapterFactory.hpp"
+#include "com/sun/star/script/XInvocationAdapterFactory2.hpp"
+#include "com/sun/star/script/XLibraryAccess.hpp"
+#include "com/sun/star/script/XScriptEventsSupplier.hpp"
+#include "com/sun/star/script/XTypeConverter.hpp"
+#include "com/sun/star/sdb/CommandType.hpp"
+#include "com/sun/star/sdb/RowChangeAction.hpp"
+#include "com/sun/star/sdb/SQLContext.hpp"
+#include "com/sun/star/sdb/XColumn.hpp"
+#include "com/sun/star/sdb/XCompletedConnection.hpp"
+#include "com/sun/star/sdb/XDatabaseEnvironment.hpp"
+#include "com/sun/star/sdb/XDocumentDataSource.hpp"
+#include "com/sun/star/sdb/XQueriesSupplier.hpp"
+#include "com/sun/star/sdb/XSingleSelectQueryComposer.hpp"
+#include "com/sun/star/sdbc/DataType.hpp"
+#include "com/sun/star/sdbc/ResultSetConcurrency.hpp"
+#include "com/sun/star/sdbc/ResultSetType.hpp"
+#include "com/sun/star/sdbc/SQLWarning.hpp"
+#include "com/sun/star/sdbc/XConnection.hpp"
+#include "com/sun/star/sdbc/XDataSource.hpp"
+#include "com/sun/star/sdbc/XDatabaseMetaData.hpp"
+#include "com/sun/star/sdbc/XDriverAccess.hpp"
+#include "com/sun/star/sdbc/XPreparedStatement.hpp"
+#include "com/sun/star/sdbc/XResultSet.hpp"
+#include "com/sun/star/sdbc/XResultSetUpdate.hpp"
+#include "com/sun/star/sdbc/XRowSet.hpp"
+#include "com/sun/star/sdbc/XRowSetListener.hpp"
+#include "com/sun/star/sdbcx/KeyType.hpp"
+#include "com/sun/star/sdbcx/Privilege.hpp"
+#include "com/sun/star/sdbcx/XColumnsSupplier.hpp"
+#include "com/sun/star/sdbcx/XKeysSupplier.hpp"
+#include "com/sun/star/sdbcx/XRowLocate.hpp"
+#include "com/sun/star/sdbcx/XTablesSupplier.hpp"
+#include "com/sun/star/sheet/XSpreadsheetDocument.hpp"
+#include "com/sun/star/sheet/XSpreadsheetView.hpp"
+#include "com/sun/star/svg/XSVGPrinter.hpp"
+#include "com/sun/star/svg/XSVGWriter.hpp"
+#include "com/sun/star/system/SystemShellExecuteException.hpp"
+#include "com/sun/star/system/SystemShellExecuteFlags.hpp"
+#include "com/sun/star/system/XSystemShellExecute.hpp"
+#include "com/sun/star/table/CellAddress.hpp"
+#include "com/sun/star/table/CellRangeAddress.hpp"
+#include "com/sun/star/table/XCellRange.hpp"
+#include "com/sun/star/task/XInteractionAbort.hpp"
+#include "com/sun/star/task/XInteractionApprove.hpp"
+#include "com/sun/star/task/XInteractionContinuation.hpp"
+#include "com/sun/star/task/XInteractionDisapprove.hpp"
+#include "com/sun/star/task/XInteractionHandler.hpp"
+#include "com/sun/star/task/XInteractionRequest.hpp"
+#include "com/sun/star/task/XInteractionRetry.hpp"
+#include "com/sun/star/task/XJob.hpp"
+#include "com/sun/star/text/BibliographyDataField.hpp"
+#include "com/sun/star/text/TextContentAnchorType.hpp"
+#include "com/sun/star/ucb/AlreadyInitializedException.hpp"
+#include "com/sun/star/ucb/Command.hpp"
+#include "com/sun/star/ucb/CommandAbortedException.hpp"
+#include "com/sun/star/ucb/ContentEvent.hpp"
+#include "com/sun/star/ucb/IOErrorCode.hpp"
+#include "com/sun/star/ucb/IllegalIdentifierException.hpp"
+#include "com/sun/star/ucb/InteractiveAugmentedIOException.hpp"
+#include "com/sun/star/ucb/InteractiveWrongMediumException.hpp"
+#include "com/sun/star/ucb/PostCommandArgument.hpp"
+#include "com/sun/star/ucb/PostCommandArgument2.hpp"
+#include "com/sun/star/ucb/XCommandEnvironment.hpp"
+#include "com/sun/star/ucb/XCommandInfo.hpp"
+#include "com/sun/star/ucb/XCommandProcessor.hpp"
+#include "com/sun/star/ucb/XCommandProcessor2.hpp"
+#include "com/sun/star/ucb/XContent.hpp"
+#include "com/sun/star/ucb/XContentAccess.hpp"
+#include "com/sun/star/ucb/XContentEventListener.hpp"
+#include "com/sun/star/ucb/XContentIdentifier.hpp"
+#include "com/sun/star/ucb/XContentIdentifierFactory.hpp"
+#include "com/sun/star/ucb/XContentProvider.hpp"
+#include "com/sun/star/ucb/XProgressHandler.hpp"
+#include "com/sun/star/ucb/XSimpleFileAccess.hpp"
+#include "com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp"
+#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
+#include "com/sun/star/ui/dialogs/XExecutableDialog.hpp"
+#include "com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp"
+#include "com/sun/star/uno/Any.h"
+#include "com/sun/star/uno/Any.hxx"
+#include "com/sun/star/uno/Exception.hpp"
+#include "com/sun/star/uno/Reference.h"
+#include "com/sun/star/uno/Reference.hxx"
+#include "com/sun/star/uno/RuntimeException.hpp"
+#include "com/sun/star/uno/Sequence.h"
+#include "com/sun/star/uno/Sequence.hxx"
+#include "com/sun/star/uno/Type.h"
+#include "com/sun/star/uno/Type.hxx"
+#include "com/sun/star/uno/TypeClass.hpp"
+#include "com/sun/star/uno/XAdapter.hpp"
+#include "com/sun/star/uno/XComponentContext.hpp"
+#include "com/sun/star/uno/XInterface.hpp"
+#include "com/sun/star/uno/XNamingService.hpp"
+#include "com/sun/star/uno/XReference.hpp"
+#include "com/sun/star/uno/genfunc.h"
+#include "com/sun/star/util/AliasProgrammaticPair.hpp"
+#include "com/sun/star/util/ChangesSet.hpp"
+#include "com/sun/star/util/Color.hpp"
+#include "com/sun/star/util/Date.hpp"
+#include "com/sun/star/util/DateTime.hpp"
+#include "com/sun/star/util/ElementChange.hpp"
+#include "com/sun/star/util/MeasureUnit.hpp"
+#include "com/sun/star/util/NumberFormat.hpp"
+#include "com/sun/star/util/Time.hpp"
+#include "com/sun/star/util/URL.hpp"
+#include "com/sun/star/util/XArchiver.hpp"
+#include "com/sun/star/util/XChangesBatch.hpp"
+#include "com/sun/star/util/XChangesListener.hpp"
+#include "com/sun/star/util/XChangesNotifier.hpp"
+#include "com/sun/star/util/XCloseBroadcaster.hpp"
+#include "com/sun/star/util/XCloseListener.hpp"
+#include "com/sun/star/util/XCloseable.hpp"
+#include "com/sun/star/util/XLocalizedAliases.hpp"
+#include "com/sun/star/util/XModifiable.hpp"
+#include "com/sun/star/util/XNumberFormatTypes.hpp"
+#include "com/sun/star/util/XNumberFormatsSupplier.hpp"
+#include "com/sun/star/util/XTimeStamped.hpp"
+#include "com/sun/star/util/XURLTransformer.hpp"
+#include "com/sun/star/view/XSelectionSupplier.hpp"
+#include "com/sun/star/xforms/XDataTypeRepository.hpp"
+#include "com/sun/star/xforms/XFormsSupplier.hpp"
+#include "com/sun/star/xforms/XFormsUIHelper1.hpp"
+#include "com/sun/star/xforms/XModel.hpp"
+#include "com/sun/star/xforms/XSubmission.hpp"
+#include "com/sun/star/xml/sax/XDocumentHandler.hpp"
+#include "com/sun/star/xml/sax/XExtendedDocumentHandler.hpp"
+#include "com/sun/star/xsd/DataTypeClass.hpp"
+#include "com/sun/star/xsd/WhiteSpaceTreatment.hpp"
+#include "com/sun/star/xsd/XDataType.hpp"
+
+#include "comphelper/broadcasthelper.hxx"
+#include "comphelper/container.hxx"
+#include "comphelper/documentconstants.hxx"
+#include "comphelper/interaction.hxx"
+#include "comphelper/listenernotification.hxx"
+#include "comphelper/namedvaluecollection.hxx"
+#include "comphelper/processfactory.hxx"
+#include "comphelper/sequence.hxx"
+#include "comphelper/types.hxx"
+#include "comphelper/uno3.hxx"
+
+#include "connectivity/dbconversion.hxx"
+#include "connectivity/dbexception.hxx"
+
+#include "cppu/macros.hxx"
+#include "cppu/unotype.hxx"
+
+#include "cppuhelper/bootstrap.hxx"
+#include "cppuhelper/compbase1.hxx"
+#include "cppuhelper/component_context.hxx"
+#include "cppuhelper/exc_hlp.hxx"
+#include "cppuhelper/factory.hxx"
+#include "cppuhelper/implbase1.hxx"
+#include "cppuhelper/implbase2.hxx"
+#include "cppuhelper/implbase3.hxx"
+#include "cppuhelper/implbase4.hxx"
+#include "cppuhelper/implbase5.hxx"
+#include "cppuhelper/implbase7.hxx"
+#include "cppuhelper/implementationentry.hxx"
+#include "cppuhelper/interfacecontainer.h"
+#include "cppuhelper/interfacecontainer.hxx"
+#include "cppuhelper/propshlp.hxx"
+#include "cppuhelper/servicefactory.hxx"
+#include "cppuhelper/typeprovider.hxx"
+#include "cppuhelper/weak.hxx"
+#include "cppuhelper/weakagg.hxx"
+#include "cppuhelper/weakref.hxx"
+
+
+
+#include "i18npool/mslangid.hxx"
+
+
+
+
+#include "osl/conditn.h"
+#include "osl/diagnose.h"
+#include "osl/doublecheckedlocking.h"
+#include "osl/file.hxx"
+#include "osl/getglobalmutex.hxx"
+#include "osl/interlck.h"
+#include "osl/module.h"
+#include "osl/module.hxx"
+#include "osl/mutex.hxx"
+#include "osl/nlsupport.h"
+#include "osl/process.h"
+#include "osl/security.hxx"
+#include "osl/thread.h"
+#include "osl/time.h"
+
+
+#include "rtl/alloc.h"
+#include "rtl/bootstrap.hxx"
+#include "rtl/byteseq.h"
+#include "rtl/instance.hxx"
+#include "rtl/locale.h"
+#include "rtl/math.hxx"
+#include "rtl/memory.h"
+#include "rtl/process.h"
+#include "rtl/strbuf.hxx"
+#include "rtl/string.h"
+#include "rtl/string.hxx"
+#include "rtl/textenc.h"
+#include "rtl/unload.h"
+#include "rtl/ustrbuf.hxx"
+#include "rtl/ustring.hxx"
+#include "rtl/uuid.h"
+
+#include "salhelper/simplereferenceobject.hxx"
+
+#include "sane/sane.h"
+
+
+
+
+
+#include "svl/filenotation.hxx"
+#include "svtools/imgdef.hxx"
+#include "svtools/miscopt.hxx"
+#include "unotools/moduleoptions.hxx"
+#include "svl/numuno.hxx"
+
+#include "svx/flagsdef.hxx"
+
+#include "sys/stat.h"
+#include "sys/types.h"
+
+
+#include "tools/diagnose_ex.h"
+
+
+#include "typelib/typeclass.h"
+#include "typelib/typedescription.h"
+#include "typelib/typedescription.hxx"
+
+
+#include "uno/dispatcher.h"
+#include "uno/environment.h"
+#include "uno/lbnames.h"
+
+#include "unotools/configitem.hxx"
+#include "unotools/confignode.hxx"
+#include "unotools/processfactory.hxx"
+
+
+#include "vcl/fldunit.hxx"
+
+#include "vos/conditn.hxx"
+#include "vos/diagnose.hxx"
+#include "vos/macros.hxx"
+#include "vos/module.hxx"
+#include "vos/mutex.hxx"
+#include "vos/pipe.hxx"
+#include "vos/ref.hxx"
+#include "vos/refernce.hxx"
+#include "vos/thread.hxx"
+#include "vos/timer.hxx"
+
+#include "xmloff/nmspmap.hxx"
+//---MARKER---
+
+#endif
diff --git a/extensions/inc/propctrlr.hrc b/extensions/inc/propctrlr.hrc
new file mode 100644
index 000000000000..6961319f4dda
--- /dev/null
+++ b/extensions/inc/propctrlr.hrc
@@ -0,0 +1,337 @@
+/*************************************************************************
+ * 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 EXTENSIONS_PROPCTRLR_HRC
+#define EXTENSIONS_PROPCTRLR_HRC
+
+#include "extensio.hrc"
+
+#define HID_PROP_INPUT_REQUIRED ( HID_PROPC_START + 0)
+#define HID_PROP_GROUPBOX ( HID_PROPC_START + 1)
+#define HID_PROP_CONTROLSOURCE ( HID_PROPC_START + 2)
+#define HID_PROP_NAME ( HID_PROPC_START + 3)
+#define HID_PROP_TABINDEX ( HID_PROPC_START + 4)
+#define HID_PROP_MASTERFIELDS ( HID_PROPC_START + 5)
+#define HID_PROP_SLAVEFIELDS ( HID_PROPC_START + 6)
+#define HID_PROP_DATASOURCE ( HID_PROPC_START + 7)
+#define HID_PROP_CURSORSOURCE ( HID_PROPC_START + 8)
+#define HID_PROP_CURSORSOURCETYPE ( HID_PROPC_START + 9)
+#define HID_PROP_CURSORTYPE ( HID_PROPC_START + 10)
+#define HID_PROP_READONLY ( HID_PROPC_START + 11)
+#define HID_PROP_DATAENTRY ( HID_PROPC_START + 12)
+#define HID_PROP_NAVIGATION ( HID_PROPC_START + 13)
+#define HID_PROP_CYCLE ( HID_PROPC_START + 14)
+#define HID_PROP_ALLOW_ADDITIONS ( HID_PROPC_START + 15)
+#define HID_PROP_ALLOW_EDITS ( HID_PROPC_START + 16)
+#define HID_PROP_ALLOW_DELETIONS ( HID_PROPC_START + 17)
+#define HID_PROP_DIRTY ( HID_PROPC_START + 18)
+#define HID_PROP_OLDVALUE ( HID_PROPC_START + 19)
+#define HID_PROP_VALUE ( HID_PROPC_START + 20)
+#define HID_PROP_LOCKED ( HID_PROPC_START + 21)
+#define HID_PROP_FORMATKEY ( HID_PROPC_START + 22)
+#define HID_PROP_REQUIRED ( HID_PROPC_START + 23)
+#define HID_PROP_WHEEL_BEHAVIOR ( HID_PROPC_START + 24)
+#define HID_PROP_UNIQUE ( HID_PROPC_START + 25)
+#define HID_PROP_CLASSID ( HID_PROPC_START + 26)
+#define HID_PROP_LEFT ( HID_PROPC_START + 27)
+#define HID_PROP_RIGHT ( HID_PROPC_START + 28)
+#define HID_PROP_HEIGHT ( HID_PROPC_START + 29)
+#define HID_PROP_WIDTH ( HID_PROPC_START + 30)
+#define HID_PROP_BOUNDCOLUMN ( HID_PROPC_START + 31)
+#define HID_PROP_LISTSOURCETYPE ( HID_PROPC_START + 32)
+#define HID_PROP_LISTSOURCE ( HID_PROPC_START + 33)
+#define HID_PROP_LISTINDEX ( HID_PROPC_START + 34)
+#define HID_PROP_TEXT ( HID_PROPC_START + 35)
+#define HID_PROP_LABEL ( HID_PROPC_START + 36)
+#define HID_PROP_STRINGITEMLIST ( HID_PROPC_START + 37)
+#define HID_PROP_SEARCHING ( HID_PROPC_START + 38)
+#define HID_PROP_FONT ( HID_PROPC_START + 39)
+#define HID_PROP_ROWHEIGHT ( HID_PROPC_START + 40)
+#define HID_PROP_BACKGROUNDCOLOR ( HID_PROPC_START + 41)
+#define HID_PROP_FILLCOLOR ( HID_PROPC_START + 42)
+#define HID_PROP_LINECOLOR ( HID_PROPC_START + 43)
+#define HID_PROP_BORDER ( HID_PROPC_START + 44)
+#define HID_PROP_ALIGN ( HID_PROPC_START + 45)
+#define HID_PROP_DROPDOWN ( HID_PROPC_START + 46)
+#define HID_PROP_MULTILINE ( HID_PROPC_START + 47)
+#define HID_PROP_HSCROLL ( HID_PROPC_START + 48)
+#define HID_PROP_VSCROLL ( HID_PROPC_START + 49)
+#define HID_PROP_TABSTOP ( HID_PROPC_START + 50)
+#define HID_PROP_REFVALUE ( HID_PROPC_START + 51)
+#define HID_PROP_BUTTONTYPE ( HID_PROPC_START + 52)
+#define HID_PROP_SUBMIT_ACTION ( HID_PROPC_START + 53)
+#define HID_PROP_SUBMIT_METHOD ( HID_PROPC_START + 54)
+#define HID_PROP_SUBMIT_ENCODING ( HID_PROPC_START + 55)
+#define HID_PROP_DEFAULTVALUE ( HID_PROPC_START + 56)
+#define HID_PROP_SUBMIT_TARGET ( HID_PROPC_START + 57)
+#define HID_PROP_DEFAULT_STATE ( HID_PROPC_START + 58)
+#define HID_PROP_IMAGE_URL ( HID_PROPC_START + 59)
+#define HID_PROP_DEFAULT_SELECT_SEQ ( HID_PROPC_START + 60)
+#define HID_PROP_MULTISELECTION ( HID_PROPC_START + 61)
+#define HID_PROP_DATE ( HID_PROPC_START + 62)
+#define HID_PROP_DATEMIN ( HID_PROPC_START + 63)
+#define HID_PROP_DATEMAX ( HID_PROPC_START + 64)
+#define HID_PROP_DATEFORMAT ( HID_PROPC_START + 65)
+#define HID_PROP_TIME ( HID_PROPC_START + 66)
+#define HID_PROP_TIMEMIN ( HID_PROPC_START + 67)
+#define HID_PROP_TIMEMAX ( HID_PROPC_START + 68)
+#define HID_PROP_TIMEFORMAT ( HID_PROPC_START + 69)
+#define HID_PROP_VALUEMIN ( HID_PROPC_START + 70)
+#define HID_PROP_VALUEMAX ( HID_PROPC_START + 71)
+#define HID_PROP_VALUESTEP ( HID_PROPC_START + 72)
+#define HID_PROP_CURRENCYSYMBOL ( HID_PROPC_START + 73)
+#define HID_PROP_EDITMASK ( HID_PROPC_START + 74)
+#define HID_PROP_LITERALMASK ( HID_PROPC_START + 75)
+#define HID_PROP_ENABLED ( HID_PROPC_START + 76)
+#define HID_PROP_AUTOCOMPLETE ( HID_PROPC_START + 77)
+#define HID_PROP_LINECOUNT ( HID_PROPC_START + 78)
+#define HID_PROP_MAXTEXTLEN ( HID_PROPC_START + 79)
+#define HID_PROP_SPIN ( HID_PROPC_START + 80)
+#define HID_PROP_STRICTFORMAT ( HID_PROPC_START + 81)
+#define HID_PROP_SHOWTHOUSANDSEP ( HID_PROPC_START + 82)
+#define HID_PROP_VERTICAL_ALIGN ( HID_PROPC_START + 83)
+#define HID_PROP_PRINTABLE ( HID_PROPC_START + 84)
+#define HID_PROP_TARGET_URL ( HID_PROPC_START + 85)
+#define HID_PROP_TARGET_FRAME ( HID_PROPC_START + 86)
+#define HID_PROP_TAG ( HID_PROPC_START + 87)
+#define HID_PROP_ECHO_CHAR ( HID_PROPC_START + 88)
+#define HID_PROP_EMPTY_IS_NULL ( HID_PROPC_START + 89)
+#define HID_PROP_DECIMAL_ACCURACY ( HID_PROPC_START + 90)
+#define HID_PROP_ENABLE_VISIBLE ( HID_PROPC_START + 91)
+#define HID_PROP_DEFAULT_BUTTON ( HID_PROPC_START + 92)
+#define HID_PROP_HIDDEN_VALUE ( HID_PROPC_START + 93)
+#define HID_PROP_TRISTATE ( HID_PROPC_START + 94)
+#define HID_PROP_NAVIGATIONBAR ( HID_PROPC_START + 95)
+#define HID_PROP_FILTER ( HID_PROPC_START + 96)
+#define HID_PROP_SORT_CRITERIA ( HID_PROPC_START + 97)
+#define HID_PROP_DEFAULT_LONG_VALUE ( HID_PROPC_START + 98)
+#define HID_PROP_DEFAULT_TIME ( HID_PROPC_START + 99)
+#define HID_PROP_DEFAULT_DATE ( HID_PROPC_START + 100)
+#define HID_PROP_HELPTEXT ( HID_PROPC_START + 101)
+#define HID_PROP_HELPURL ( HID_PROPC_START + 102)
+#define HID_PROP_RECORDMARKER ( HID_PROPC_START + 103)
+#define HID_PROP_FILTERPROPOSAL ( HID_PROPC_START + 104)
+#define HID_PROP_EFFECTIVEMIN ( HID_PROPC_START + 105)
+#define HID_PROP_EFFECTIVEMAX ( HID_PROPC_START + 106)
+#define HID_PROP_EFFECTIVEDEFAULT ( HID_PROPC_START + 107)
+#define HID_PROP_CONTROLLABEL ( HID_PROPC_START + 108)
+#define HID_PROP_CURRSYM_POSITION ( HID_PROPC_START + 109)
+#define HID_PROP_ESCAPE_PROCESSING ( HID_PROPC_START + 110)
+#define HID_PROP_TITLE ( HID_PROPC_START + 111)
+#define HID_PROP_STEP ( HID_PROPC_START + 112)
+#define HID_PROP_PROGRESSVALUE ( HID_PROPC_START + 113)
+#define HID_PROP_PROGRESSVALUE_MIN ( HID_PROPC_START + 114)
+#define HID_PROP_PROGRESSVALUE_MAX ( HID_PROPC_START + 115)
+#define HID_PROP_SCROLLVALUE ( HID_PROPC_START + 116)
+#define HID_PROP_SCROLLVALUE_MAX ( HID_PROPC_START + 117)
+#define HID_PROP_LINEINCREMENT ( HID_PROPC_START + 118)
+#define HID_PROP_BLOCKINCREMENT ( HID_PROPC_START + 119)
+#define HID_PROP_VISIBLESIZE ( HID_PROPC_START + 120)
+#define HID_PROP_ORIENTATION ( HID_PROPC_START + 121)
+#define HID_PROP_POSITIONX ( HID_PROPC_START + 122)
+#define HID_PROP_POSITIONY ( HID_PROPC_START + 123)
+#define HID_PROP_PUSHBUTTONTYPE ( HID_PROPC_START + 124)
+#define HID_PROP_STATE ( HID_PROPC_START + 125)
+#define HID_PROP_SCALEIMAGE ( HID_PROPC_START + 126)
+#define HID_PROP_BOUND_CELL ( HID_PROPC_START + 127)
+#define HID_PROP_LIST_CELL_RANGE ( HID_PROPC_START + 128)
+#define HID_PROP_CELL_EXCHANGE_TYPE ( HID_PROPC_START + 129)
+#define HID_PROP_SELECTEDITEMS ( HID_PROPC_START + 130)
+#define HID_PROP_SCROLLVALUE_MIN ( HID_PROPC_START + 131)
+#define HID_PROP_DEFAULT_SCROLLVALUE ( HID_PROPC_START + 132)
+#define HID_PROP_REPEAT_DELAY ( HID_PROPC_START + 133)
+#define HID_PROP_SYMBOLCOLOR ( HID_PROPC_START + 134)
+#define HID_PROP_SPINVALUE ( HID_PROPC_START + 135)
+#define HID_PROP_SPINVALUE_MIN ( HID_PROPC_START + 136)
+#define HID_PROP_SPINVALUE_MAX ( HID_PROPC_START + 137)
+#define HID_PROP_DEFAULT_SPINVALUE ( HID_PROPC_START + 138)
+#define HID_PROP_SPININCREMENT ( HID_PROPC_START + 139)
+#define HID_PROP_REPEAT ( HID_PROPC_START + 140)
+#define HID_PROP_WORDBREAK ( HID_PROPC_START + 141)
+#define HID_PROP_SHOW_SCROLLBARS ( HID_PROPC_START + 142)
+#define HID_PROP_TABORDER_CONTROLS ( HID_PROPC_START + 143)
+#define HID_FIELDLINK_DETAIL_COLUMN ( HID_PROPC_START + 144)
+#define HID_FIELDLINK_MASTER_COLUMN ( HID_PROPC_START + 145)
+#define UID_FIELDLINK_DETAIL1 ( HID_PROPC_START + 146)
+#define UID_FIELDLINK_MASTER1 ( HID_PROPC_START + 147)
+#define UID_FIELDLINK_DETAIL2 ( HID_PROPC_START + 148)
+#define UID_FIELDLINK_MASTER2 ( HID_PROPC_START + 149)
+#define UID_FIELDLINK_DETAIL3 ( HID_PROPC_START + 150)
+#define UID_FIELDLINK_MASTER3 ( HID_PROPC_START + 151)
+#define UID_FIELDLINK_DETAIL4 ( HID_PROPC_START + 152)
+#define UID_FIELDLINK_MASTER4 ( HID_PROPC_START + 153)
+#define HID_PROP_ICONSIZE ( HID_PROPC_START + 154)
+#define HID_PROP_SHOW_POSITION ( HID_PROPC_START + 155)
+#define HID_PROP_SHOW_NAVIGATION ( HID_PROPC_START + 156)
+#define HID_PROP_SHOW_RECORDACTIONS ( HID_PROPC_START + 157)
+#define HID_PROP_SHOW_FILTERSORT ( HID_PROPC_START + 158)
+#define HID_PROP_AUTOLINEBREAK ( HID_PROPC_START + 159)
+#define HID_PROP_TEXTTYPE ( HID_PROPC_START + 160)
+#define HID_PROP_LINEEND_FORMAT ( HID_PROPC_START + 161)
+#define HID_PROP_XSD_TOTAL_DIGITS ( HID_PROPC_START + 162)
+#define HID_PROP_XSD_FRACTION_DIGITS ( HID_PROPC_START + 163)
+#define HID_PROP_XSD_MAX_INCLUSIVE ( HID_PROPC_START + 164)
+#define HID_PROP_XSD_MAX_EXCLUSIVE ( HID_PROPC_START + 165)
+#define HID_PROP_XSD_MIN_INCLUSIVE ( HID_PROPC_START + 166)
+#define HID_PROP_XSD_MIN_EXCLUSIVE ( HID_PROPC_START + 167)
+#define HID_PROP_UNCHECKEDREFVALUE ( HID_PROPC_START + 168)
+#define HID_PROP_SUBMISSION_ID ( HID_PROPC_START + 169)
+#define UID_PROP_DLG_FONT_TYPE ( HID_PROPC_START + 170)
+#define UID_PROP_DLG_IMAGE_URL ( HID_PROPC_START + 171)
+#define UID_PROP_DLG_BACKGROUNDCOLOR ( HID_PROPC_START + 172)
+#define UID_PROP_DLG_SYMBOLCOLOR ( HID_PROPC_START + 173)
+#define UID_PROP_DLG_ATTR_DATASOURCE ( HID_PROPC_START + 174)
+#define UID_PROP_DLG_ATTR_TARGET_URL ( HID_PROPC_START + 175)
+#define UID_PROP_DLG_NUMBER_FORMAT ( HID_PROPC_START + 176)
+#define UID_PROP_DLG_CONTROLLABEL ( HID_PROPC_START + 177)
+#define UID_PROP_DLG_FILLCOLOR ( HID_PROPC_START + 178)
+#define UID_PROP_DLG_TABINDEX ( HID_PROPC_START + 179)
+#define UID_PROP_DLG_SQLCOMMAND ( HID_PROPC_START + 180)
+#define UID_PROP_DLG_FORMLINKFIELDS ( HID_PROPC_START + 181)
+#define UID_PROP_DLG_FILTER ( HID_PROPC_START + 182)
+#define UID_PROP_DLG_ORDER ( HID_PROPC_START + 183)
+#define UID_PROP_DLG_SELECTION ( HID_PROPC_START + 184)
+#define UID_EVT_MACRODLG ( HID_PROPC_START + 185)
+#define UID_BRWEVT_APPROVEACTIONPERFORMED ( HID_PROPC_START + 186)
+#define UID_BRWEVT_ACTIONPERFORMED ( HID_PROPC_START + 187)
+#define UID_BRWEVT_CHANGED ( HID_PROPC_START + 188)
+#define UID_BRWEVT_TEXTCHANGED ( HID_PROPC_START + 189)
+#define UID_BRWEVT_ITEMSTATECHANGED ( HID_PROPC_START + 190)
+#define UID_BRWEVT_FOCUSGAINED ( HID_PROPC_START + 191)
+#define UID_BRWEVT_FOCUSLOST ( HID_PROPC_START + 192)
+#define UID_BRWEVT_KEYTYPED ( HID_PROPC_START + 193)
+#define UID_BRWEVT_KEYUP ( HID_PROPC_START + 194)
+#define UID_BRWEVT_MOUSEENTERED ( HID_PROPC_START + 195)
+#define UID_BRWEVT_MOUSEDRAGGED ( HID_PROPC_START + 196)
+#define UID_BRWEVT_MOUSEMOVED ( HID_PROPC_START + 197)
+#define UID_BRWEVT_MOUSEPRESSED ( HID_PROPC_START + 198)
+#define UID_BRWEVT_MOUSERELEASED ( HID_PROPC_START + 199)
+#define UID_BRWEVT_MOUSEEXITED ( HID_PROPC_START + 200)
+#define UID_BRWEVT_APPROVERESETTED ( HID_PROPC_START + 201)
+#define UID_BRWEVT_RESETTED ( HID_PROPC_START + 202)
+#define UID_BRWEVT_SUBMITTED ( HID_PROPC_START + 203)
+#define UID_BRWEVT_BEFOREUPDATE ( HID_PROPC_START + 204)
+#define UID_BRWEVT_AFTERUPDATE ( HID_PROPC_START + 205)
+#define UID_BRWEVT_LOADED ( HID_PROPC_START + 206)
+#define UID_BRWEVT_RELOADING ( HID_PROPC_START + 207)
+#define UID_BRWEVT_RELOADED ( HID_PROPC_START + 208)
+#define UID_BRWEVT_UNLOADING ( HID_PROPC_START + 209)
+#define UID_BRWEVT_UNLOADED ( HID_PROPC_START + 210)
+#define UID_BRWEVT_CONFIRMDELETE ( HID_PROPC_START + 211)
+#define UID_BRWEVT_APPROVEROWCHANGE ( HID_PROPC_START + 212)
+#define UID_BRWEVT_ROWCHANGE ( HID_PROPC_START + 213)
+#define UID_BRWEVT_POSITIONING ( HID_PROPC_START + 214)
+#define UID_BRWEVT_POSITIONED ( HID_PROPC_START + 215)
+#define UID_BRWEVT_APPROVEPARAMETER ( HID_PROPC_START + 216)
+#define UID_BRWEVT_ERROROCCURED ( HID_PROPC_START + 217)
+#define UID_BRWEVT_ADJUSTMENTVALUECHANGED ( HID_PROPC_START + 218)
+#define HID_PROP_XML_DATA_MODEL ( HID_PROPC_START + 219)
+#define HID_PROP_BIND_EXPRESSION ( HID_PROPC_START + 220)
+#define HID_PROP_XSD_REQUIRED ( HID_PROPC_START + 221)
+#define HID_PROP_XSD_RELEVANT ( HID_PROPC_START + 222)
+#define HID_PROP_XSD_READONLY ( HID_PROPC_START + 223)
+#define HID_PROP_XSD_CONSTRAINT ( HID_PROPC_START + 224)
+#define HID_PROP_XSD_CALCULATION ( HID_PROPC_START + 225)
+#define HID_PROP_XSD_DATA_TYPE ( HID_PROPC_START + 226)
+#define HID_PROP_XSD_WHITESPACES ( HID_PROPC_START + 227)
+#define HID_PROP_XSD_PATTERN ( HID_PROPC_START + 228)
+#define HID_PROP_XSD_LENGTH ( HID_PROPC_START + 229)
+#define HID_PROP_XSD_MIN_LENGTH ( HID_PROPC_START + 230)
+#define HID_PROP_XSD_MAX_LENGTH ( HID_PROPC_START + 231)
+#define UID_PROP_DLG_BIND_EXPRESSION ( HID_PROPC_START + 232)
+#define UID_PROP_DLG_XSD_REQUIRED ( HID_PROPC_START + 233)
+#define UID_PROP_DLG_XSD_RELEVANT ( HID_PROPC_START + 234)
+#define UID_PROP_DLG_XSD_READONLY ( HID_PROPC_START + 235)
+#define UID_PROP_DLG_XSD_CONSTRAINT ( HID_PROPC_START + 236)
+#define UID_PROP_DLG_XSD_CALCULATION ( HID_PROPC_START + 237)
+#define UID_PROP_ADD_DATA_TYPE ( HID_PROPC_START + 238)
+#define UID_PROP_REMOVE_DATA_TYPE ( HID_PROPC_START + 239)
+#define HID_PROP_LIST_BINDING ( HID_PROPC_START + 240)
+#define HID_PROP_BINDING_NAME ( HID_PROPC_START + 241)
+#define HID_PROP_SELECTION_TYPE ( HID_PROPC_START + 242)
+#define HID_PROP_ROOT_DISPLAYED ( HID_PROPC_START + 243)
+#define HID_PROP_SHOWS_HANDLES ( HID_PROPC_START + 244)
+#define HID_PROP_SHOWS_ROOT_HANDLES ( HID_PROPC_START + 245)
+#define HID_PROP_EDITABLE ( HID_PROPC_START + 246)
+#define HID_PROP_INVOKES_STOP_NOT_EDITING ( HID_PROPC_START + 247)
+#define HID_PROP_ROW_HEIGHT ( HID_PROPC_START + 248)
+#define HID_PROP_DECORATION ( HID_PROPC_START + 249)
+#define HID_EVT_ACTIONPERFORMED ( HID_PROPC_START + 250)
+#define HID_EVT_AFTERUPDATE ( HID_PROPC_START + 251)
+#define HID_EVT_BEFOREUPDATE ( HID_PROPC_START + 252)
+#define HID_EVT_CONFIRMDELETE ( HID_PROPC_START + 253)
+#define HID_EVT_ERROROCCURED ( HID_PROPC_START + 254)
+#define HID_EVT_FOCUSGAINED ( HID_PROPC_START + 255)
+#define HID_EVT_FOCUSLOST ( HID_PROPC_START + 256)
+#define HID_EVT_ITEMSTATECHANGED ( HID_PROPC_START + 257)
+#define HID_EVT_KEYTYPED ( HID_PROPC_START + 258)
+#define HID_EVT_LOADED ( HID_PROPC_START + 259)
+#define HID_EVT_MOUSEDRAGGED ( HID_PROPC_START + 260)
+#define HID_EVT_MOUSEENTERED ( HID_PROPC_START + 261)
+#define HID_EVT_MOUSEEXITED ( HID_PROPC_START + 262)
+#define HID_EVT_MOUSEMOVED ( HID_PROPC_START + 263)
+#define HID_EVT_MOUSEPRESSED ( HID_PROPC_START + 264)
+#define HID_EVT_MOUSERELEASED ( HID_PROPC_START + 265)
+#define HID_EVT_POSITIONED ( HID_PROPC_START + 266)
+#define HID_EVT_RESETTED ( HID_PROPC_START + 267)
+#define HID_EVT_SUBMITTED ( HID_PROPC_START + 268)
+#define HID_EVT_TEXTCHANGED ( HID_PROPC_START + 269)
+#define HID_EVT_UNLOADED ( HID_PROPC_START + 270)
+#define HID_EVT_CHANGED ( HID_PROPC_START + 271)
+#define HID_EVT_APPROVEACTIONPERFORMED ( HID_PROPC_START + 272)
+#define HID_EVT_APPROVERESETTED ( HID_PROPC_START + 273)
+#define HID_EVT_KEYUP ( HID_PROPC_START + 274)
+#define HID_EVT_APPROVEPARAMETER ( HID_PROPC_START + 275)
+#define HID_EVT_POSITIONING ( HID_PROPC_START + 276)
+#define HID_EVT_RELOADED ( HID_PROPC_START + 277)
+#define HID_EVT_APPROVEROWCHANGE ( HID_PROPC_START + 278)
+#define HID_EVT_ROWCHANGE ( HID_PROPC_START + 279)
+#define HID_EVT_RELOADING ( HID_PROPC_START + 280)
+#define HID_EVT_UNLOADING ( HID_PROPC_START + 281)
+#define HID_EVT_ADJUSTMENTVALUECHANGED ( HID_PROPC_START + 282)
+#define HID_PROP_TOGGLE ( HID_PROPC_START + 283)
+#define HID_PROP_FOCUSONCLICK ( HID_PROPC_START + 284)
+#define HID_PROP_HIDEINACTIVESELECTION ( HID_PROPC_START + 285)
+#define HID_PROP_VISUALEFFECT ( HID_PROPC_START + 286)
+#define HID_PROP_BORDERCOLOR ( HID_PROPC_START + 287)
+#define UID_PROP_DLG_BORDERCOLOR ( HID_PROPC_START + 288)
+#define HID_PROP_IMAGEPOSITION ( HID_PROPC_START + 289)
+#define HID_PROP_NOLABEL ( HID_PROPC_START + 290)
+#define HID_PROP_WRITING_MODE ( HID_PROPC_START + 291)
+#define HID_PROP_ANCHOR_TYPE ( HID_PROPC_START + 292)
+#define HID_FM_PROPDLG_TABCTR ( HID_PROPC_START + 293)
+#define HID_FM_PROPDLG_TAB_GENERAL ( HID_PROPC_START + 294)
+#define HID_FM_PROPDLG_TAB_DATA ( HID_PROPC_START + 295)
+#define HID_FM_PROPDLG_TAB_EVT ( HID_PROPC_START + 296)
+ // please adjust HID_LAST_PROPC_ID if you add new ids here!
+
+#define HID_LAST_PROPC_ID HID_FM_PROPDLG_TAB_EVT
+
+#if HID_LAST_PROPC_ID > HID_PROPC_END
+ #error help id overflow (PROPC)
+#endif
+
+#endif // EXTENSIONS_PROPCTRLR_HRC
diff --git a/extensions/inc/ucbhelper/ext_content.hxx b/extensions/inc/ucbhelper/ext_content.hxx
new file mode 100644
index 000000000000..06075ea4598f
--- /dev/null
+++ b/extensions/inc/ucbhelper/ext_content.hxx
@@ -0,0 +1,329 @@
+/*************************************************************************
+ *
+ * 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 _UCBHELPER_CONTENT_HXX_
+#define _UCBHELPER_CONTENT_HXX_
+
+#include <rtl/string.hxx>
+#include <rtl/ustring>
+#include <osl/mutex.hxx>
+#include <osl/thread.h>
+
+#include <cppuhelper/weak.hxx>
+#include <com/sun/star/ucb/XCommandTaskProcessor.hpp>
+#include <com/sun/star/ucb/XCommandInfo.hpp>
+#include <com/sun/star/ucb/XContent.hpp>
+#include <com/sun/star/ucb/XPropertyTaskProcessor.hpp>
+#include <com/sun/star/ucb/XContentIdentifier.hpp>
+#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+
+#include <list>
+
+using namespace cppu;
+using namespace com::sun::star::ucb;
+using namespace com::sun::star::uno;
+using namespace com::sun::star::beans;
+using namespace com::sun::star::lang;
+using namespace std;
+using namespace rtl;
+using namespace osl;
+
+
+
+template <class Type> class safe_list : public osl::Mutex, public std::list< Type > {};
+
+class OSimpleContentIdentifier : public OWeakObject,
+ public XContentIdentifier
+{
+private:
+ OUString Identifier;
+ OUString ProviderScheme;
+
+public:
+ OSimpleContentIdentifier( const OUString& rIdentifier, const OUString& rProviderScheme );
+
+ // XInterface
+ virtual Any SAL_CALL queryInterface( const Type &type ) throw( RuntimeException );
+ virtual void SAL_CALL acquire() throw(RuntimeException);
+ virtual void SAL_CALL release() throw(RuntimeException);
+
+ // XContentIdentifier
+ virtual OUString SAL_CALL getContentIdentifier() throw(RuntimeException);
+ virtual OUString SAL_CALL getContentProviderScheme() throw(RuntimeException);
+};
+
+
+//---------------------------------------------------------------------------
+//
+// FileSystemContent
+//
+//---------------------------------------------------------------------------
+
+class OContent :
+public OWeakObject,
+public XContent,
+public XCommandTaskProcessor,
+public XPropertyTaskProcessor,
+public XCommandInfo,
+public XPropertySetInfo,
+public XComponent
+{
+public:
+ struct PropertyChangeEventInfo
+ {
+ OUString Name;
+ long Handle;
+
+ PropertyChangeEventInfo() : Handle( -1 ) {}
+
+ inline int operator ==( const PropertyChangeEventInfo& crInfo ) const
+ { return Handle == crInfo.Handle && Handle > 0 || Name == crInfo.Name; }
+ #ifdef __SUNPRO_CC
+ inline int operator <( const PropertyChangeEventInfo& crInfo ) const
+ { return Handle != crInfo.Handle ? Handle < crInfo.Handle : Name < crInfo.Name; }
+ #endif
+ };
+
+ struct PropertyChangeListenerInfo
+ {
+ Reference< XPropertiesChangeListener > xListener;
+ list< PropertyChangeEventInfo > aEventInfos;
+
+ inline int operator ==( const PropertyChangeListenerInfo& crInfo ) const
+ { return xListener == crInfo.xListener; }
+ #ifdef __SUNPRO_CC
+ inline int operator <( const PropertyChangeListenerInfo& crInfo ) const
+ { return xListener < crInfo.xListener; }
+ #endif
+ };
+
+protected:
+ Sequence< PropertyChangeEvent > matchListenerEvents( const Sequence< PropertyChangeEvent >& crEvents, const PropertyChangeListenerInfo & crInfo );
+
+ safe_list< Reference< XContentEventListener > > m_aContentListeners;
+ safe_list< Reference< XEventListener > > m_aComponentListeners;
+ safe_list< PropertyChangeListenerInfo > m_aPropertyChangeListeners;
+public:
+ virtual ~OContent() {}
+
+ virtual void broadcastContentEvent( const ContentEvent & crEvent );
+ virtual void broadcastPropertiesChangeEvents( const Sequence< PropertyChangeEvent >& crEvents );
+
+ // To be implemented by inheritents
+ virtual Any doCommand( const Command & crCommand ) = 0;
+
+ // XInterface
+ virtual Any SAL_CALL queryInterface( const Type &type ) throw( RuntimeException );
+
+ virtual void SAL_CALL acquire() throw(RuntimeException);
+ virtual void SAL_CALL release() throw(RuntimeException);
+
+ // XContent
+ virtual void SAL_CALL addContentEventListener( const Reference< XContentEventListener >& rListener ) throw();
+ virtual void SAL_CALL removeContentEventListener( const Reference< XContentEventListener >& rListener ) throw();
+
+ // XComponent
+ virtual void SAL_CALL dispose() throw();
+ virtual void SAL_CALL addEventListener( const Reference< XEventListener >& xListener ) throw();
+ virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& xListener ) throw();
+
+ // XCommmandTaskProcessor
+ virtual Reference< XCommandInfo > SAL_CALL getCommandsInfo() throw();
+
+ // XCommandInfo
+ virtual CommandInfo SAL_CALL getCommandInfoByName( const OUString& rName ) throw( UnsupportedCommandException );
+ virtual CommandInfo SAL_CALL getCommandInfoByHandle( long nHandle ) throw( UnsupportedCommandException );
+ virtual sal_Bool SAL_CALL hasCommandByName( const OUString& rName ) throw();
+ virtual sal_Bool SAL_CALL hasCommandByHandle( long nHandle ) throw();
+
+ // XPropertyTaskProcessor
+ virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo() throw();
+
+ // XPropertySetInfo
+ virtual Property SAL_CALL getPropertyByName( const OUString& Name ) throw( UnknownPropertyException );
+ virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw();
+ virtual void SAL_CALL addPropertiesChangeListener( const Sequence< OUString >& Names, const Reference< XPropertiesChangeListener >& xListener ) throw();
+ virtual void SAL_CALL removePropertiesChangeListener( const Sequence< OUString >& Names, const Reference< XPropertiesChangeListener >& xListener ) throw();
+};
+
+//---------------------------------------------------------------------------
+//
+// FolderContent
+//
+//---------------------------------------------------------------------------
+
+// supported Commands
+static const sal_Int32 OPEN = 0;
+static const sal_Int32 CLOSE = 1;
+
+class OFolderContent : public OContent
+{
+protected:
+ // Already provided children
+ safe_list< XContent > m_aChildList;
+
+ // OContent
+ virtual Any doCommand( const Command & crCommand );
+
+ // new methods, can be overloaded
+ virtual Any doOpenCommand();
+ virtual Any doCloseCommand();
+
+ // To be implemented by inheritants
+ virtual Sequence< XContent > getAllChildren() = 0;
+
+public:
+
+ // XCommmandTaskProcessor
+ virtual Reference< XCommandTask > SAL_CALL createCommandTask(const Command& rCommand, const Reference< XContentTaskEnvironment >& rEnvironment ) throw();
+
+ // XCommandInfo
+ virtual Sequence< CommandInfo > SAL_CALL getCommands() throw();
+};
+
+//---------------------------------------------------------------------------
+//
+// OContentTask
+//
+//---------------------------------------------------------------------------
+
+class OContentTask :
+public OWeakObject,
+public XContentTask
+{
+ Guard< OContent > m_aContentGuard;
+protected:
+ OContent *m_pContent;
+ Reference< XContentTaskEnvironment > m_xEnvironment;
+ ContentTaskStatus m_eStatus;
+ oslThread m_aThread;
+
+ static void executeWorker( void * );
+ virtual ContentTaskStatus setStatus( ContentTaskStatus eStatus );
+
+ // To be implemented by inheritants
+ virtual void doExecute() = 0;
+public:
+ OContentTask( const Reference< XContentTaskEnvironment >& xEnv, OContent *pContent );
+ virtual ~OContentTask();
+
+ // XInterface
+ virtual Any SAL_CALL queryInterface( const Type &type ) throw( RuntimeException );
+
+ virtual void SAL_CALL acquire() throw(RuntimeException);
+ virtual void SAL_CALL release() throw(RuntimeException);
+
+ // XContentTask
+ virtual void SAL_CALL start() throw();
+ virtual void SAL_CALL execute() throw( Exception );
+ virtual void SAL_CALL abort() throw();
+ virtual ContentTaskStatus SAL_CALL getStatus() throw();
+ virtual Reference< XContentTaskEnvironment > SAL_CALL getEnvironment() throw();
+};
+
+//---------------------------------------------------------------------------
+//
+// OCommandTask
+//
+//---------------------------------------------------------------------------
+
+class OCommandTask :
+public OContentTask,
+public XCommandTask
+{
+protected:
+ Command m_aCommand;
+ Any m_aResult;
+
+public:
+ OCommandTask( const Reference< XContentTaskEnvironment >& xEnv, OContent *pContent, const Command& rCommand );
+ virtual ~OCommandTask();
+
+ virtual void doExecute();
+
+ // XInterface
+ virtual Any SAL_CALL queryInterface( const Type &type ) throw( RuntimeException );
+ virtual void SAL_CALL acquire() throw(RuntimeException);
+ virtual void SAL_CALL release() throw(RuntimeException);
+
+ // XContentTask
+ virtual void SAL_CALL start() throw();
+ virtual void SAL_CALL execute() throw( Exception );
+ virtual void SAL_CALL abort() throw();
+ virtual ContentTaskStatus SAL_CALL getStatus() throw();
+ virtual Reference< XContentTaskEnvironment > SAL_CALL getEnvironment() throw();
+
+ // XCommandTask
+ virtual Command SAL_CALL getCommand() throw();
+ virtual Any SAL_CALL getResult() throw();
+};
+
+//---------------------------------------------------------------------------
+//
+// OPropertyTask
+//
+//---------------------------------------------------------------------------
+
+class OPropertyTask :
+public OContentTask,
+public XPropertyTask
+{
+protected:
+ Sequence< PropertyValueInfo > m_aProperties;
+ PropertyTaskType m_eType;
+public:
+ OPropertyTask(const Reference< XContentTaskEnvironment >& Environment, OContent *pContent, const Sequence< PropertyValue >& Properties, PropertyTaskType Type );
+ virtual ~OPropertyTask();
+
+ virtual void doExecute();
+
+ // To be implemented by inheritants
+ virtual Any setPropertyValue( PropertyValueInfo & rProperty ) = 0;
+ virtual void getPropertyValue( PropertyValueInfo & rProperty ) = 0;
+
+ // XInterface
+ virtual Any SAL_CALL queryInterface( const Type &type ) throw( RuntimeException );
+ virtual void SAL_CALL acquire() throw(RuntimeException);
+ virtual void SAL_CALL release() throw(RuntimeException);
+
+ // XContentTask
+ virtual void SAL_CALL start() throw();
+ virtual void SAL_CALL execute() throw( Exception );
+ virtual void SAL_CALL abort() throw();
+ virtual ContentTaskStatus SAL_CALL getStatus() throw();
+ virtual Reference< XContentTaskEnvironment > SAL_CALL getEnvironment() throw();
+
+ // XPropertyTask
+ PropertyTaskType SAL_CALL getType() throw();
+ Sequence< PropertyValueInfo > SAL_CALL getProperties() throw();
+};
+
+#endif // _UCBHELPER_CONTENT_HXX_
+
+
diff --git a/extensions/inc/update.hrc b/extensions/inc/update.hrc
new file mode 100644
index 000000000000..2cd1f8f69f12
--- /dev/null
+++ b/extensions/inc/update.hrc
@@ -0,0 +1,49 @@
+/*************************************************************************
+ * 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 EXTENSIONS_UPDATE_HRC
+#define EXTENSIONS_UPDATE_HRC
+
+#include "extensio.hrc"
+
+#define HID_CHECK_FOR_UPD_DLG ( HID_UPDATE_START + 0)
+#define HID_CHECK_FOR_UPD_CLOSE ( HID_UPDATE_START + 1)
+#define HID_CHECK_FOR_UPD_PAUSE ( HID_UPDATE_START + 2)
+#define HID_CHECK_FOR_UPD_RESUME ( HID_UPDATE_START + 3)
+#define HID_CHECK_FOR_UPD_DOWNLOAD ( HID_UPDATE_START + 4)
+#define HID_CHECK_FOR_UPD_DOWNLOAD2 ( HID_UPDATE_START + 5)
+#define HID_CHECK_FOR_UPD_INSTALL ( HID_UPDATE_START + 6)
+#define HID_CHECK_FOR_UPD_STATUS ( HID_UPDATE_START + 7)
+#define HID_CHECK_FOR_UPD_DESCRIPTION ( HID_UPDATE_START + 8)
+#define HID_CHECK_FOR_UPD_CANCEL ( HID_UPDATE_START + 9)
+ // !! if you add new IDs, please also adjust HID_UPDATE_LAST below !!
+#define HID_UPDATE_LAST HID_CHECK_FOR_UPD_CANCEL
+
+#if HID_UPDATE_LAST > HID_UPDATE_END
+ #error help id range overflow (UPDATE)
+#endif
+
+#endif // EXTENSIONS_UPDATE_HRC