summaryrefslogtreecommitdiff
path: root/basctl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/inc')
-rw-r--r--basctl/inc/basidesh.hrc192
-rw-r--r--basctl/inc/helpid.hrc85
-rw-r--r--basctl/inc/iderdll.hxx54
-rw-r--r--basctl/inc/makefile.mk48
-rw-r--r--basctl/inc/pch/precompiled_basctl.cxx29
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx211
6 files changed, 619 insertions, 0 deletions
diff --git a/basctl/inc/basidesh.hrc b/basctl/inc/basidesh.hrc
new file mode 100644
index 000000000000..8bf7d3316cd0
--- /dev/null
+++ b/basctl/inc/basidesh.hrc
@@ -0,0 +1,192 @@
+/*************************************************************************
+ *
+ * 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 _BASIDESH_HRC
+#define _BASIDESH_HRC
+
+#ifndef _SVTOOLS_IMAGEMGR_HRC
+#include <svtools/imagemgr.hrc>
+#endif
+
+#ifndef _SVX_SVXIDS_HRC
+#include <svx/svxids.hrc>
+#endif
+
+
+// Resource-ID's...
+#ifndef _SVX_NOIDERESIDS
+
+#define RID_BASICIDE_OBJECTBAR ( RID_BASICIDE_START + 0 )
+#define RID_BASICMENU ( RID_BASICIDE_START + 1 )
+#define RID_BASICPLUGINMENU ( RID_BASICIDE_START + 2 )
+#define RID_EDT_WATCHEDIT ( RID_BASICIDE_START + 4 )
+#define RID_ICO_MDIWINDOW ( RID_BASICIDE_START + 5 )
+#define RID_POPUP_BRKDLG ( RID_BASICIDE_START + 10 )
+#define RID_POPUP_BRKPROPS ( RID_BASICIDE_START + 11 )
+#define RID_POPUP_TABBAR ( RID_BASICIDE_START + 12 )
+#define RID_TD_ORGANIZE ( RID_BASICIDE_START + 36 )
+#define RID_TP_MODULS ( RID_BASICIDE_START + 37 )
+#define RID_TP_LIBS ( RID_BASICIDE_START + 38 )
+#define RID_TP_DLGS ( RID_BASICIDE_START + 39 )
+#define RID_DLG_LIBS ( RID_BASICIDE_START + 40 )
+#define RID_DLG_NEWLIB ( RID_BASICIDE_START + 42 )
+#define RID_DLG_EXPORT ( RID_BASICIDE_START + 43 )
+#define RID_POPUP_DLGED ( RID_BASICIDE_START + 62 )
+#define RID_PRINTDLG_STRLIST ( RID_BASICIDE_START + 78 )
+
+#define RID_IMG_LOCKED_HC ( RID_BASICIDE_START + 6 )
+#define RID_IMGBTN_REMOVEWATCH ( RID_BASICIDE_START + 8 )
+#define RID_IMGBTN_GOTOCALL ( RID_BASICIDE_START + 9 )
+#define RID_IMGLST_LAYOUT_HC ( RID_BASICIDE_START + 14 )
+#define RID_IMG_REMOVEWATCH_HC ( RID_BASICIDE_START + 15 )
+#define RID_IMG_INSTALLATION ( RID_BASICIDE_START + 20 )
+#define RID_IMG_INSTALLATION_HC ( RID_BASICIDE_START + 21 )
+#define RID_IMG_DOCUMENT ( RID_BASICIDE_START + 22 )
+#define RID_IMG_DOCUMENT_HC ( RID_BASICIDE_START + 23 )
+#define RID_IMG_MODLIB ( RID_BASICIDE_START + 24 )
+#define RID_IMG_MODLIB_HC ( RID_BASICIDE_START + 25 )
+#define RID_IMG_MODLIBNOTLOADED ( RID_BASICIDE_START + 26 )
+#define RID_IMG_MODLIBNOTLOADED_HC ( RID_BASICIDE_START + 27 )
+#define RID_IMG_MODULE ( RID_BASICIDE_START + 28 )
+#define RID_IMG_MODULE_HC ( RID_BASICIDE_START + 29 )
+#define RID_IMG_MACRO ( RID_BASICIDE_START + 30 )
+#define RID_IMG_MACRO_HC ( RID_BASICIDE_START + 31 )
+#define RID_IMG_DLGLIB ( RID_BASICIDE_START + 32 )
+#define RID_IMG_DLGLIB_HC ( RID_BASICIDE_START + 33 )
+#define RID_IMG_DLGLIBNOTLOADED ( RID_BASICIDE_START + 34 )
+#define RID_IMG_DLGLIBNOTLOADED_HC ( RID_BASICIDE_START + 35 )
+#define RID_IMG_DIALOG ( RID_BASICIDE_START + 36 )
+#define RID_IMG_DIALOG_HC ( RID_BASICIDE_START + 37 )
+#define RID_IMG_LOCKED ( RID_BASICIDE_START + 41 )
+#define RID_IMGLST_LAYOUT ( RID_BASICIDE_START + 49 )
+
+#define RID_STR_SEARCHALLMODULES ( RID_BASICIDE_START + 1 )
+#define RID_STR_SEARCHFROMSTART ( RID_BASICIDE_START + 2 )
+#define RID_STR_NOMODULE ( RID_BASICIDE_START + 3 )
+#define RID_STR_FILTER_ALLFILES ( RID_BASICIDE_START + 4 )
+// free
+#define RID_STR_CANNOTCLOSE ( RID_BASICIDE_START + 13 )
+#define RID_STR_IDENAME ( RID_BASICIDE_START + 14 )
+#define RID_STR_INITIDE ( RID_BASICIDE_START + 15 )
+#define RID_STR_STACKNAME ( RID_BASICIDE_START + 16 )
+#define RID_STR_WATCHNAME ( RID_BASICIDE_START + 17 )
+#define RID_STR_REMOVEWATCH ( RID_BASICIDE_START + 18 )
+#define RID_STR_CANNOTRUNMACRO ( RID_BASICIDE_START + 19 )
+#define RID_STR_OPEN ( RID_BASICIDE_START + 20 )
+#define RID_STR_SAVE ( RID_BASICIDE_START + 21 )
+#define RID_STR_RUNTIMEERROR ( RID_BASICIDE_START + 22 )
+#define RID_STR_COMPILEERROR ( RID_BASICIDE_START + 23 )
+#define RID_STR_STDDIALOGNAME ( RID_BASICIDE_START + 24 )
+#define RID_STR_STDMACRONAME ( RID_BASICIDE_START + 25 )
+#define RID_STR_STDJAVAFUNCTIONNAME ( RID_BASICIDE_START + 26 )
+#define RID_STR_STDMODULENAME ( RID_BASICIDE_START + 27 )
+#define RID_STR_ALL ( RID_BASICIDE_START + 28 )
+#define RID_STR_CLOSE ( RID_BASICIDE_START + 29 )
+#define RID_STR_PAGE ( RID_BASICIDE_START + 30 )
+#define RID_STR_BADSBXNAME ( RID_BASICIDE_START + 31 )
+#define RID_STR_STDLIBNAME ( RID_BASICIDE_START + 32 )
+#define RID_STR_ERROROPENSTORAGE ( RID_BASICIDE_START + 33 )
+#define RID_STR_NOLIBINSTORAGE ( RID_BASICIDE_START + 34 )
+#define RID_STR_SBXNAMEALLREADYUSED ( RID_BASICIDE_START + 35 )
+#define RID_STR_SIGNED ( RID_BASICIDE_START + 36 )
+#define RID_STR_WATCHVARIABLE ( RID_BASICIDE_START + 37 )
+#define RID_STR_WATCHVALUE ( RID_BASICIDE_START + 38 )
+#define RID_STR_WATCHTYPE ( RID_BASICIDE_START + 39 )
+// free
+#define RID_STR_REPLACESTDLIB ( RID_BASICIDE_START + 41 )
+#define RID_STR_SBXNAMEALLREADYUSED2 ( RID_BASICIDE_START + 42 )
+#define RID_STR_SEARCHNOTFOUND ( RID_BASICIDE_START + 43 )
+#define RID_STR_SEARCHREPLACES ( RID_BASICIDE_START + 44 )
+#define RID_STR_CANNOTCHANGENAMESTDLIB ( RID_BASICIDE_START + 45 )
+#define RID_STR_CANNOTCHANGENAMEREFLIB ( RID_BASICIDE_START + 46 )
+#define RID_STR_CANNOTUNLOADSTDLIB ( RID_BASICIDE_START + 47 )
+#define RID_STR_GENERATESOURCE ( RID_BASICIDE_START + 48 )
+#define RID_STR_REFNOTPOSSIBLE ( RID_BASICIDE_START + 49 )
+#define RID_STR_FILEEXISTS ( RID_BASICIDE_START + 50 )
+// free
+#define RID_STR_ERROROPENLIB ( RID_BASICIDE_START + 55 )
+#define RID_STR_STDJAVAMODULENAME ( RID_BASICIDE_START + 56 )
+#define RID_STR_NEWLIB ( RID_BASICIDE_START + 57 )
+#define RID_STR_NEWMOD ( RID_BASICIDE_START + 58 )
+#define RID_STR_NEWDLG ( RID_BASICIDE_START + 59 )
+#define RID_STR_LIBNAMETOLONG ( RID_BASICIDE_START + 60 )
+#define RID_STR_ERRORCHOOSEMACRO ( RID_BASICIDE_START + 61 )
+// free
+#define RID_STR_LIBISREADONLY ( RID_BASICIDE_START + 63 )
+#define RID_STR_REPLACELIB ( RID_BASICIDE_START + 64 )
+// free
+#define RID_STR_IMPORTNOTPOSSIBLE ( RID_BASICIDE_START + 67 )
+#define RID_STR_NOIMPORT ( RID_BASICIDE_START + 68 )
+#define RID_STR_ENTERPASSWORD ( RID_BASICIDE_START + 69 )
+// free
+#define RID_STR_NEWMETH ( RID_BASICIDE_START + 71 )
+#define RID_STR_USERMACROS ( RID_BASICIDE_START + 72 )
+#define RID_STR_USERDIALOGS ( RID_BASICIDE_START + 73 )
+#define RID_STR_USERMACROSDIALOGS ( RID_BASICIDE_START + 74 )
+#define RID_STR_SHAREMACROS ( RID_BASICIDE_START + 75 )
+#define RID_STR_SHAREDIALOGS ( RID_BASICIDE_START + 76 )
+#define RID_STR_SHAREMACROSDIALOGS ( RID_BASICIDE_START + 77 )
+// free
+#define RID_STR_QUERYREPLACEMACRO ( RID_BASICIDE_START + 80 )
+#define RID_STR_FILENAME ( RID_BASICIDE_START + 81 )
+#define RID_STR_APPENDLIBS ( RID_BASICIDE_START + 82 )
+#define RID_STR_QUERYDELMACRO ( RID_BASICIDE_START + 83 )
+#define RID_STR_QUERYDELDIALOG ( RID_BASICIDE_START + 84 )
+#define RID_STR_QUERYDELLIB ( RID_BASICIDE_START + 85 )
+#define RID_STR_QUERYDELLIBREF ( RID_BASICIDE_START + 86 )
+#define RID_STR_QUERYDELMODULE ( RID_BASICIDE_START + 87 )
+#define RID_STR_BASIC ( RID_BASICIDE_START + 88 )
+#define RID_STR_DOC ( RID_BASICIDE_START + 89 )
+#define RID_STR_MACRONAMEREQ ( RID_BASICIDE_START + 90 )
+#define RID_STR_WILLSTOPPRG ( RID_BASICIDE_START + 91 )
+#define RID_STR_STACK ( RID_BASICIDE_START + 92 )
+#define RID_STR_OBJNOTFOUND ( RID_BASICIDE_START + 93 )
+#define RID_STR_COULDNTREAD ( RID_BASICIDE_START + 94 )
+#define RID_STR_COULDNTWRITE ( RID_BASICIDE_START + 95 )
+#define RID_STR_WRONGPASSWORD ( RID_BASICIDE_START + 96 )
+#define RID_STR_LINE ( RID_BASICIDE_START + 97 )
+#define RID_STR_COLUMN ( RID_BASICIDE_START + 98 )
+#define RID_STR_SOURCETOBIG ( RID_BASICIDE_START + 99 )
+#define RID_STR_EXPORTPACKAGE ( RID_BASICIDE_START + 100 )
+#define RID_STR_EXPORTBASIC ( RID_BASICIDE_START + 101 )
+#define RID_STR_PACKAGE_BUNDLE ( RID_BASICIDE_START + 102 )
+
+#define RID_STR_DLGIMP_CLASH_RENAME ( RID_BASICIDE_START + 110 )
+#define RID_STR_DLGIMP_CLASH_REPLACE ( RID_BASICIDE_START + 111 )
+#define RID_STR_DLGIMP_CLASH_TITLE ( RID_BASICIDE_START + 112 )
+#define RID_STR_DLGIMP_CLASH_TEXT ( RID_BASICIDE_START + 113 )
+#define RID_STR_DLGIMP_MISMATCH_ADD ( RID_BASICIDE_START + 114 )
+#define RID_STR_DLGIMP_MISMATCH_OMIT ( RID_BASICIDE_START + 115 )
+#define RID_STR_DLGIMP_MISMATCH_TITLE ( RID_BASICIDE_START + 116 )
+#define RID_STR_DLGIMP_MISMATCH_TEXT ( RID_BASICIDE_START + 117 )
+#define RID_STR_DOCUMENT_OBJECTS ( RID_BASICIDE_START + 118 )
+#define RID_STR_USERFORMS ( RID_BASICIDE_START + 119 )
+#define RID_STR_NORMAL_MODULES ( RID_BASICIDE_START + 120 )
+#define RID_STR_CLASS_MODULES ( RID_BASICIDE_START + 121 )
+
+#endif // _SVX_NOIDERESIDS
+
+#endif // _BASIDESH_HRC
diff --git a/basctl/inc/helpid.hrc b/basctl/inc/helpid.hrc
new file mode 100644
index 000000000000..0f666941e57e
--- /dev/null
+++ b/basctl/inc/helpid.hrc
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * 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 _BASCTL_HELPID_HRC
+#define _BASCTL_HELPID_HRC
+
+// include ---------------------------------------------------------------
+
+#include <svl/solar.hrc>
+
+// Help-Ids --------------------------------------------------------------
+
+#define HID_BASICIDE_TOOLBOX (HID_BASICIDE_START + 0)
+#define HID_BASICIDE_OBJECTS (HID_BASICIDE_START + 1)
+#define HID_MACRO_OPTIONS (HID_BASICIDE_START + 2)
+#define HID_BASICIDE_BRKPNTS (HID_BASICIDE_START + 3)
+#define HID_BASICIDE_MODULS (HID_BASICIDE_START + 4)
+#define HID_BASICIDE_LIBS_TP (HID_BASICIDE_START + 5)
+#define HID_BASICIDE_LIBS_DLG (HID_BASICIDE_START + 6)
+#define HID_BASICIDE_CONTROLS (HID_BASICIDE_START + 7)
+#define HID_BASICIDE_MACROS (HID_BASICIDE_START + 8)
+#define HID_BASICIDE_LIBS (HID_BASICIDE_START + 9)
+#define HID_BASICIDE_ORG_TC (HID_BASICIDE_START + 10)
+
+#define HID_BASICIDE_MODULES_TREE (HID_BASICIDE_START + 11)
+#define HID_BASICIDE_LIBS_TREE (HID_BASICIDE_START + 12)
+#define HID_BASICIDE_LIBSDLG_TREE (HID_BASICIDE_START + 13)
+#define HID_BASICIDE_OBJECTCAT (HID_BASICIDE_START + 14)
+
+#define HID_BASICIDE_PROP_BROWSER (HID_BASICIDE_START + 15)
+
+#define HID_BASICIDE_PROP_BROWSER_LBOX (HID_BASICIDE_START + 16)
+
+#define HID_BASICIDE_OBJCAT_SHOW (HID_BASICIDE_START + 17)
+#define HID_BASICIDE_OBJCAT_PROPS (HID_BASICIDE_START + 18)
+#define HID_BASICIDE_OBJCAT_HELP (HID_BASICIDE_START + 19)
+
+#define HID_BASICIDE_BRKDLG (HID_BASICIDE_START + 20)
+#define HID_BASICIDE_ACTIV (HID_BASICIDE_START + 21)
+#define HID_BASICIDE_BRKPROPS (HID_BASICIDE_START + 22)
+#define HID_BASICIDE_REMOVEWATCH (HID_BASICIDE_START + 23)
+#define HID_BASICIDE_GOTOALL (HID_BASICIDE_START + 24)
+
+#define HID_BASICIDE_MODULWINDOW (HID_BASICIDE_START + 25)
+#define HID_BASICIDE_DIALOGWINDOW (HID_BASICIDE_START + 26)
+
+#define HID_BASICIDE_EDITORWINDOW (HID_BASICIDE_START + 27)
+#define HID_BASICIDE_BREAKPOINTWINDOW (HID_BASICIDE_START + 28)
+#define HID_BASICIDE_WATCHWINDOW (HID_BASICIDE_START + 29)
+#define HID_BASICIDE_STACKWINDOW (HID_BASICIDE_START + 30)
+#define HID_BASICIDE_TABBAR (HID_BASICIDE_START + 31)
+#define HID_BASICIDE_WATCHWINDOW_EDIT (HID_BASICIDE_START + 32)
+#define HID_BASICIDE_WATCHWINDOW_LIST (HID_BASICIDE_START + 33)
+#define HID_BASICIDE_STACKWINDOW_LIST (HID_BASICIDE_START + 34)
+
+#define HID_BASICIDE_MANAGE_LANGUAGE (HID_BASICIDE_START + 35)
+#define HID_BASICIDE_SETDEFAULT_LANGUAGE (HID_BASICIDE_START + 36)
+#define HID_BASICIDE_ADDNEW_LANGUAGE (HID_BASICIDE_START + 37)
+#define HID_BASICIDE_ADDNEW_CONTROL (HID_BASICIDE_START + 38)
+
+#endif
+
diff --git a/basctl/inc/iderdll.hxx b/basctl/inc/iderdll.hxx
new file mode 100644
index 000000000000..602a5d1a94e4
--- /dev/null
+++ b/basctl/inc/iderdll.hxx
@@ -0,0 +1,54 @@
+/*************************************************************************
+ *
+ * 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 _IDERDLL_HXX
+#define _IDERDLL_HXX
+
+class BasicIDEShell;
+class BasicIDEData;
+
+class BasicIDEDLL
+{
+ friend class BasicIDEShell;
+
+ BasicIDEShell* pShell;
+ BasicIDEData* pExtraData;
+
+public:
+ BasicIDEDLL();
+ ~BasicIDEDLL();
+
+ BasicIDEShell* GetShell() const { return pShell; }
+ BasicIDEData* GetExtraData();
+ static void Init();
+ static void Exit();
+ static BasicIDEDLL* GetDLL();
+};
+
+#define IDE_DLL() BasicIDEDLL::GetDLL()
+
+#endif //_IDERDLL_HXX
diff --git a/basctl/inc/makefile.mk b/basctl/inc/makefile.mk
new file mode 100644
index 000000000000..f1ef542c9963
--- /dev/null
+++ b/basctl/inc/makefile.mk
@@ -0,0 +1,48 @@
+#*************************************************************************
+#
+# 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=basctl
+TARGET=inc
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+# --- Files --------------------------------------------------------
+# --- Targets -------------------------------------------------------
+
+.INCLUDE : target.mk
+
+.IF "$(ENABLE_PCH)"!=""
+ALLTAR : \
+ $(SLO)$/precompiled.pch \
+ $(SLO)$/precompiled_ex.pch
+
+.ENDIF # "$(ENABLE_PCH)"!=""
+
diff --git a/basctl/inc/pch/precompiled_basctl.cxx b/basctl/inc/pch/precompiled_basctl.cxx
new file mode 100644
index 000000000000..6058cef5d832
--- /dev/null
+++ b/basctl/inc/pch/precompiled_basctl.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_basctl.hxx"
+
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
new file mode 100644
index 000000000000..bb44f8d15f7e
--- /dev/null
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -0,0 +1,211 @@
+/*************************************************************************
+ *
+ * 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:30.436716
+
+#ifdef PRECOMPILED_HEADERS
+#include "com/sun/star/accessibility/AccessibleEventId.hpp"
+#include "com/sun/star/accessibility/AccessibleRole.hpp"
+#include "com/sun/star/accessibility/AccessibleStateType.hpp"
+#include "com/sun/star/awt/XDialog.hpp"
+#include "com/sun/star/beans/PropertyValue.hpp"
+#include "com/sun/star/beans/XPropertySet.hpp"
+#include "com/sun/star/beans/Property.hpp"
+#include "com/sun/star/container/XNameContainer.hpp"
+#include "com/sun/star/document/MacroExecMode.hpp"
+#include "com/sun/star/frame/XDispatchProvider.hpp"
+#include "com/sun/star/frame/XLayoutManager.hpp"
+#include "com/sun/star/resource/XStringResourcePersistence.hpp"
+#include "com/sun/star/script/XLibraryContainer.hpp"
+#include "com/sun/star/script/XLibraryContainerPassword.hpp"
+#ifndef _COM_SUN_STAR_SCRIPT_XLIBRYARYCONTAINER2_HPP_
+#include "com/sun/star/script/XLibraryContainer2.hpp"
+#endif
+#include "com/sun/star/task/XStatusIndicator.hpp"
+#include "com/sun/star/task/XStatusIndicatorFactory.hpp"
+#include "com/sun/star/ui/dialogs/XFilePicker.hpp"
+#include "com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp"
+#include "com/sun/star/ui/dialogs/XFilterManager.hpp"
+#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
+#include "com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp"
+#include "com/sun/star/util/XCloneable.hpp"
+
+#include "comphelper/types.hxx"
+#include "comphelper/processfactory.hxx"
+
+#include "toolkit/awt/vclxfont.hxx"
+#include "toolkit/helper/externallock.hxx"
+#include "toolkit/helper/convert.hxx"
+#include "toolkit/helper/vclunohelper.hxx"
+
+#include "tools/debug.hxx"
+#include "tools/diagnose_ex.h"
+#include "tools/urlobj.hxx"
+
+#include "vcl/wrkwin.hxx"
+#include "vcl/msgbox.hxx"
+#include "vcl/menu.hxx"
+#include "vcl/status.hxx"
+#include "vcl/sound.hxx"
+#include "vcl/svapp.hxx"
+#include "vcl/scrbar.hxx"
+
+#include "svl/svarray.hxx"
+#include "svl/itempool.hxx"
+#include "svl/itemset.hxx"
+#include "svl/aeitem.hxx"
+#include "svl/stritem.hxx"
+#include "svl/whiter.hxx"
+#include "svtools/langtab.hxx"
+#include "svtools/texteng.hxx"
+#include "svtools/textview.hxx"
+#include "svtools/xtextedt.hxx"
+#include "svtools/txtattr.hxx"
+#include "svtools/textwindowpeer.hxx"
+#include "svl/urihelper.hxx"
+
+#define _BASIC_TEXTPORTIONS
+#include "basic/sbdef.hxx"
+#include "basic/sbstar.hxx"
+#include "basic/sbmeth.hxx"
+#include "basic/sbmod.hxx"
+#include "basic/basmgr.hxx"
+#include "basic/sbuno.hxx"
+#include "basic/basrdll.hxx"
+#include "basic/sbx.hxx"
+
+#include "sfx2/app.hxx"
+#include "sfx2/objface.hxx"
+#include "sfx2/printer.hxx"
+#include "sfx2/viewsh.hxx"
+#include "sfx2/event.hxx"
+#include "sfx2/bindings.hxx"
+#include "sfx2/request.hxx"
+#include "sfx2/childwin.hxx"
+#include "sfx2/viewfrm.hxx"
+#include "sfx2/dispatch.hxx"
+#include "sfx2/objsh.hxx"
+#include "sfx2/genlink.hxx"
+#include "sfx2/dispatch.hxx"
+#include "sfx2/minfitem.hxx"
+#include "sfx2/dinfdlg.hxx"
+#include "sfx2/docfac.hxx"
+#include "sfx2/progress.hxx"
+#include "sfx2/docfile.hxx"
+#include "sfx2/docfac.hxx"
+
+
+#define ITEMID_FONT 0
+#define ITEMID_POSTURE 0
+#define ITEMID_WEIGHT 0
+#define ITEMID_SHADOWED 0
+#define ITEMID_CONTOUR 0
+#define ITEMID_CROSSEDOUT 0
+#define ITEMID_UNDERLINE 0
+#define ITEMID_FONTHEIGHT 0
+#define ITEMID_COLOR 0
+#define ITEMID_ADJUST 0
+#define ITEMID_LINESPACING 0
+#define ITEMID_TABSTOP 0
+#define ITEMID_LRSPACE 0
+#define ITEMID_ULSPACE 0
+#define ITEMID_SEARCH 0
+#define ITEMID_SEARCH 0
+#define ITEMID_SIZE 0
+#define ITEMID_FONTLIST 0
+#define ITEMID_AUTOKERN 0
+#define ITEMID_WORDLINEMODE 0
+#define ITEMID_PROPSIZE 0
+#define ITEMID_CHARSETCOLOR 0
+#define ITEMID_KERNING 0
+#define ITEMID_CASEMAP 0
+#define ITEMID_ESCAPEMENT 0
+#define ITEMID_LANGUAGE 0
+#define ITEMID_NOLINEBREAK 0
+#define ITEMID_NOHYPHENHERE 0
+#define ITEMID_BLINK 0
+#define ITEMID_PAPERBIN 0
+#define ITEMID_PRINT 0
+#define ITEMID_OPAQUE 0
+#define ITEMID_PROTECT 0
+#define ITEMID_SHADOW 0
+#define ITEMID_BOX 0
+#define ITEMID_BOXINFO 0
+#define ITEMID_FMTBREAK 0
+#define ITEMID_FMTKEEP 0
+#define ITEMID_LINE 0
+#define ITEMID_BRUSH 0
+
+#include "svl/srchitem.hxx"
+#include "editeng/flstitem.hxx"
+#include "editeng/fontitem.hxx"
+#include "editeng/postitem.hxx"
+#include "editeng/wghtitem.hxx"
+#include "editeng/fhgtitem.hxx"
+#include "editeng/fwdtitem.hxx"
+#include "editeng/udlnitem.hxx"
+#include "editeng/crsditem.hxx"
+#include "editeng/shdditem.hxx"
+#include "editeng/akrnitem.hxx"
+#include "editeng/wrlmitem.hxx"
+#include "editeng/cntritem.hxx"
+#include "editeng/prszitem.hxx"
+#include "editeng/colritem.hxx"
+#include "editeng/cscoitem.hxx"
+#include "editeng/kernitem.hxx"
+
+#include "editeng/cmapitem.hxx"
+#include "editeng/escpitem.hxx"
+#include "editeng/langitem.hxx"
+#include "editeng/nlbkitem.hxx"
+#include "editeng/nhypitem.hxx"
+#include "editeng/lcolitem.hxx"
+#include "editeng/blnkitem.hxx"
+
+#include "editeng/pbinitem.hxx"
+#include "editeng/sizeitem.hxx"
+#include "editeng/lrspitem.hxx"
+#include "editeng/ulspitem.hxx"
+#include "editeng/prntitem.hxx"
+#include "editeng/opaqitem.hxx"
+#include "editeng/protitem.hxx"
+#include "editeng/shaditem.hxx"
+#include "editeng/boxitem.hxx"
+#include "editeng/brkitem.hxx"
+#include "editeng/keepitem.hxx"
+#include "editeng/bolnitem.hxx"
+#include "editeng/brshitem.hxx"
+#include "svx/xmlsecctrl.hxx"
+#include "editeng/unolingu.hxx"
+
+#include "xmlscript/xmldlg_imexp.hxx"
+
+#include "unotools/charclass.hxx"
+#include "unotools/accessiblestatesethelper.hxx"
+#include "unotools/accessiblerelationsethelper.hxx"
+#endif
+