summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorShubham Goyal <22shubh22@gmail.com>2019-03-09 06:10:58 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-11 15:51:16 +0100
commit4c4ccdf724dedebce23cc9abd7b74bee43f184d7 (patch)
treed21b1de3b1b6f125117d690627c50cc10d9941a6 /extensions
parent50d91e7294700ea38fc4933b0636a19d4684eede (diff)
i#119731 Hyperlink Control on dialog Editor
Change-Id: I34132931eba103aec5f9622be9c3bf2dd4de237d Reviewed-on: https://gerrit.libreoffice.org/69001 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/inc/helpids.h1
-rw-r--r--extensions/inc/strings.hrc1
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx1
-rw-r--r--extensions/source/propctrlr/formmetadata.cxx3
-rw-r--r--extensions/source/propctrlr/formmetadata.hxx1
-rw-r--r--extensions/source/propctrlr/formstrings.hxx1
6 files changed, 7 insertions, 1 deletions
diff --git a/extensions/inc/helpids.h b/extensions/inc/helpids.h
index f135ffcd507d..2e5f303b51fb 100644
--- a/extensions/inc/helpids.h
+++ b/extensions/inc/helpids.h
@@ -246,6 +246,7 @@
#define HID_PROP_XSD_CALCULATION "EXTENSIONS_HID_PROP_XSD_CALCULATION"
#define HID_PROP_XSD_DATA_TYPE "EXTENSIONS_HID_PROP_XSD_DATA_TYPE"
#define HID_PROP_XSD_WHITESPACES "EXTENSIONS_HID_PROP_XSD_WHITESPACES"
+#define HID_PROP_URL "EXTENSIONS_HID_PROP_URL"
#define HID_PROP_XSD_PATTERN "EXTENSIONS_HID_PROP_XSD_PATTERN"
#define HID_PROP_XSD_LENGTH "EXTENSIONS_HID_PROP_XSD_LENGTH"
#define HID_PROP_XSD_MIN_LENGTH "EXTENSIONS_HID_PROP_XSD_MIN_LENGTH"
diff --git a/extensions/inc/strings.hrc b/extensions/inc/strings.hrc
index 94cb5a4ce24a..c14b676d8e8f 100644
--- a/extensions/inc/strings.hrc
+++ b/extensions/inc/strings.hrc
@@ -241,6 +241,7 @@
// To translators: That's the 'Bold' as used for a font style, so please use a consistent translation."
#define RID_STR_FONTSTYLE_BOLD NC_("RID_STR_FONTSTYLE_BOLD", "Bold")
#define RID_STR_FONT_DEFAULT NC_("RID_STR_FONT_DEFAULT", "(Default)")
+#define RID_STR_URL NC_("RID_STR_URL", "URL")
#define RID_STR_SELECTIONMODEL NC_("RID_STR_SELECTIONMODEL", "Selection Type")
#define RID_STR_USEGRIDLINE NC_("RID_STR_USEGRIDLINE", "Use grid line")
#define RID_STR_GRIDLINECOLOR NC_("RID_STR_GRIDLINECOLOR", "Grid line color")
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index b856fe7db6e6..cb1f24166211 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -1036,6 +1036,7 @@ namespace pcr
break;
case PROPERTY_ID_LABEL:
+ case PROPERTY_ID_URL:
nControlType = PropertyControlType::MultiLineTextField;
break;
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx
index 4b727c29083b..caa4e89662af 100644
--- a/extensions/source/propctrlr/formmetadata.cxx
+++ b/extensions/source/propctrlr/formmetadata.cxx
@@ -349,7 +349,8 @@ namespace pcr
DEF_INFO_2( ACTIVESELECTIONBACKGROUNDCOLOR, ACTIVESELECTIONBACKGROUNDCOLOR, 210, ACTIVESELECTIONBACKGROUNDCOLOR, DIALOG_VISIBLE, COMPOSEABLE ),
DEF_INFO_2( ACTIVESELECTIONTEXTCOLOR, ACTIVESELECTIONTEXTCOLOR, 211, ACTIVESELECTIONTEXTCOLOR, DIALOG_VISIBLE, COMPOSEABLE ),
DEF_INFO_2( INACTIVESELECTIONBACKGROUNDCOLOR, INACTIVESELECTIONBACKGROUNDCOLOR, 212, INACTIVESELECTIONBACKGROUNDCOLOR, DIALOG_VISIBLE, COMPOSEABLE ),
- DEF_INFO_2( INACTIVESELECTIONTEXTCOLOR, INACTIVESELECTIONTEXTCOLOR, 213, INACTIVESELECTIONTEXTCOLOR, DIALOG_VISIBLE, COMPOSEABLE )
+ DEF_INFO_2( INACTIVESELECTIONTEXTCOLOR, INACTIVESELECTIONTEXTCOLOR, 213, INACTIVESELECTIONTEXTCOLOR, DIALOG_VISIBLE, COMPOSEABLE ),
+ DEF_INFO_2( URL, URL, 214, URL, DIALOG_VISIBLE, COMPOSEABLE )
};
s_pPropertyInfos = aPropertyInfos;
diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx
index feba2f780639..425ed052fec3 100644
--- a/extensions/source/propctrlr/formmetadata.hxx
+++ b/extensions/source/propctrlr/formmetadata.hxx
@@ -337,6 +337,7 @@ namespace pcr
#define PROPERTY_ID_ACTIVESELECTIONTEXTCOLOR 216
#define PROPERTY_ID_INACTIVESELECTIONBACKGROUNDCOLOR 217
#define PROPERTY_ID_INACTIVESELECTIONTEXTCOLOR 218
+ #define PROPERTY_ID_URL 219
} // namespace pcr
diff --git a/extensions/source/propctrlr/formstrings.hxx b/extensions/source/propctrlr/formstrings.hxx
index 341cc2d5c8cf..7a2b36d91426 100644
--- a/extensions/source/propctrlr/formstrings.hxx
+++ b/extensions/source/propctrlr/formstrings.hxx
@@ -199,6 +199,7 @@ namespace pcr
#define PROPERTY_LINEEND_FORMAT "LineEndFormat"
#define PROPERTY_DECORATION "Decoration"
#define PROPERTY_NOLABEL "NoLabel"
+ #define PROPERTY_URL "URL"
#define PROPERTY_SELECTION_TYPE "SelectionType"
#define PROPERTY_ROOT_DISPLAYED "RootDisplayed"