summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-12-02 11:58:13 +0000
committerOcke Janssen <oj@openoffice.org>2002-12-02 11:58:13 +0000
commitca797206479c13b6b119ef58c4a962608d96dc7f (patch)
treef4d1323210dc33b2677377fd4c1d699e63e40012 /forms
parenta9ced50e3381dd4a6f8e5ab3d808ff0b82674213 (diff)
#105638# new property DispathUrlInternal to allow sound played inside
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Button.cxx9
-rw-r--r--forms/source/component/ImageButton.cxx9
-rw-r--r--forms/source/component/ImageControl.cxx7
-rw-r--r--forms/source/inc/property.hrc7
-rw-r--r--forms/source/misc/property.cxx5
5 files changed, 22 insertions, 15 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx
index 188db4d92dcd..4a4fd5c2acf8 100644
--- a/forms/source/component/Button.cxx
+++ b/forms/source/component/Button.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Button.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: fs $ $Date: 2002-12-02 09:56:26 $
+ * last change: $Author: oj $ $Date: 2002-12-02 12:57:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -133,9 +133,10 @@ void OButtonModel::fillProperties(
Sequence< Property >& _rProps,
Sequence< Property >& _rAggregateProps ) const
{
- FRM_BEGIN_PROP_HELPER(7)
+ FRM_BEGIN_PROP_HELPER(8)
DECL_PROP2(CLASSID, sal_Int16, READONLY, TRANSIENT);
- DECL_PROP1(BUTTONTYPE, FormButtonType, BOUND);
+ DECL_PROP1(BUTTONTYPE, FormButtonType, BOUND);
+ DECL_PROP1(DISPATCHURLINTERNAL, sal_Bool, BOUND);
DECL_PROP1(TARGET_URL, ::rtl::OUString, BOUND);
DECL_PROP1(TARGET_FRAME, ::rtl::OUString, BOUND);
DECL_PROP1(NAME, ::rtl::OUString, BOUND);
diff --git a/forms/source/component/ImageButton.cxx b/forms/source/component/ImageButton.cxx
index 984efa3cf74f..0a1f2491ab9b 100644
--- a/forms/source/component/ImageButton.cxx
+++ b/forms/source/component/ImageButton.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ImageButton.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: fs $ $Date: 2002-12-02 09:56:33 $
+ * last change: $Author: oj $ $Date: 2002-12-02 12:57:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -149,9 +149,10 @@ void OImageButtonModel::fillProperties(
Sequence< Property >& _rProps,
Sequence< Property >& _rAggregateProps ) const
{
- FRM_BEGIN_PROP_HELPER(7)
+ FRM_BEGIN_PROP_HELPER(8)
DECL_PROP2(CLASSID, sal_Int16, READONLY, TRANSIENT);
- DECL_PROP1(BUTTONTYPE, FormButtonType, BOUND);
+ DECL_PROP1(BUTTONTYPE, FormButtonType, BOUND);
+ DECL_PROP1(DISPATCHURLINTERNAL, sal_Bool, BOUND);
DECL_PROP1(TARGET_URL, ::rtl::OUString, BOUND);
DECL_PROP1(TARGET_FRAME, ::rtl::OUString, BOUND);
DECL_PROP1(NAME, ::rtl::OUString, BOUND);
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index a7c3edddd317..3791ccbed6c6 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ImageControl.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: fs $ $Date: 2002-12-02 09:56:33 $
+ * last change: $Author: oj $ $Date: 2002-12-02 12:57:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -426,7 +426,7 @@ void OImageControlModel::fillProperties(
Sequence< Property >& _rProps,
Sequence< Property >& _rAggregateProps ) const
{
- FRM_BEGIN_PROP_HELPER(8)
+ FRM_BEGIN_PROP_HELPER(9)
// ModifyPropertyAttributes(_rAggregateProps, PROPERTY_IMAGE_URL, PropertyAttribute::TRANSIENT, 0);
DECL_PROP2(CLASSID, sal_Int16, READONLY, TRANSIENT);
@@ -437,6 +437,7 @@ void OImageControlModel::fillProperties(
DECL_IFACE_PROP2(BOUNDFIELD, XPropertySet, READONLY, TRANSIENT);
DECL_IFACE_PROP2(CONTROLLABEL, XPropertySet, BOUND, MAYBEVOID);
DECL_PROP2(CONTROLSOURCEPROPERTY, rtl::OUString, READONLY, TRANSIENT);
+ DECL_PROP1(DISPATCHURLINTERNAL, sal_Bool, BOUND);
FRM_END_PROP_HELPER();
}
diff --git a/forms/source/inc/property.hrc b/forms/source/inc/property.hrc
index 8e33848be2f5..2a2010234807 100644
--- a/forms/source/inc/property.hrc
+++ b/forms/source/inc/property.hrc
@@ -2,9 +2,9 @@
*
* $RCSfile: property.hrc,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: fs $ $Date: 2001-08-06 14:53:51 $
+ * last change: $Author: oj $ $Date: 2002-12-02 12:58:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -249,6 +249,8 @@ namespace frm
#define PROPERTY_ID_FONTEMPHASISMARK (PROPERTY_ID_START +210)
#define PROPERTY_ID_FONTRELIEF (PROPERTY_ID_START +211)
+#define PROPERTY_ID_DISPATCHURLINTERNAL (PROPERTY_ID_START +212) // BOOL
+
// start ID fuer aggregierte Properties
#define PROPERTY_ID_AGGREGATE_ID (PROPERTY_ID_START + 10000)
@@ -420,6 +422,7 @@ DECLARE_CONSTASCII_USTRING(PROPERTY_CONTROLSOURCEPROPERTY);
DECLARE_CONSTASCII_USTRING(PROPERTY_REALNAME);
DECLARE_CONSTASCII_USTRING(PROPERTY_USER);
DECLARE_CONSTASCII_USTRING(PROPERTY_PASSWORD);
+DECLARE_CONSTASCII_USTRING(PROPERTY_DISPATCHURLINTERNAL);
//.........................................................................
}
diff --git a/forms/source/misc/property.cxx b/forms/source/misc/property.cxx
index 13b5b525b097..a0732702360f 100644
--- a/forms/source/misc/property.cxx
+++ b/forms/source/misc/property.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: property.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2001-10-26 11:21:56 $
+ * last change: $Author: oj $ $Date: 2002-12-02 12:58:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -471,6 +471,7 @@ IMPLEMENT_CONSTASCII_USTRING(PROPERTY_REALNAME, "RealName");
IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CONTROLSOURCEPROPERTY, "DataFieldProperty");
IMPLEMENT_CONSTASCII_USTRING(PROPERTY_USER, "User");
IMPLEMENT_CONSTASCII_USTRING(PROPERTY_PASSWORD, "Password");
+IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DISPATCHURLINTERNAL, "DispatchURLInternal");
//.........................................................................
}