summaryrefslogtreecommitdiff
path: root/cui/util
diff options
context:
space:
mode:
Diffstat (limited to 'cui/util')
-rwxr-xr-xcui/util/cui.component28
-rw-r--r--cui/util/cui.map4
-rw-r--r--cui/util/makefile.mk13
3 files changed, 43 insertions, 2 deletions
diff --git a/cui/util/cui.component b/cui/util/cui.component
new file mode 100755
index 000000000000..645e511403ea
--- /dev/null
+++ b/cui/util/cui.component
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ***********************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.cui.ColorPicker">
+ <service name="com.sun.star.ui.dialogs.ColorPicker"/>
+ </implementation>
+</component>
diff --git a/cui/util/cui.map b/cui/util/cui.map
index 06074d301dc3..fd6279dbb7e4 100644
--- a/cui/util/cui.map
+++ b/cui/util/cui.map
@@ -1,7 +1,9 @@
UDK_3_0_0 {
global:
CreateDialogFactory;
- GetSpecialCharsForEdit;
+ GetSpecialCharsForEdit;
+ component_getImplementationEnvironment;
+ component_getFactory;
local:
*;
};
diff --git a/cui/util/makefile.mk b/cui/util/makefile.mk
index d36f44cfb25e..6a161c211521 100644
--- a/cui/util/makefile.mk
+++ b/cui/util/makefile.mk
@@ -48,10 +48,13 @@ SHL1LIBS= \
$(SLB)$/customize.lib \
$(SLB)$/dialogs.lib \
$(SLB)$/tabpages.lib \
- $(SLB)$/factory.lib
+ $(SLB)$/factory.lib \
+ $(SLB)$/services.lib
SHL1STDLIBS= \
+ $(SAXLIB) \
+ $(SOTLIB) \
$(EDITENGLIB) \
$(SVXCORELIB) \
$(SVXLIB) \
@@ -98,5 +101,13 @@ RESLIB1SRSFILES= $(SRSFILELIST)
# --- Targets -------------------------------------------------------
+ALLTAR : $(MISC)/cui.component
+
+$(MISC)/cui.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ cui.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt cui.component
+
.INCLUDE : target.mk