summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/dtd/dialog.dtd14
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx1
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx1
3 files changed, 13 insertions, 3 deletions
diff --git a/xmlscript/dtd/dialog.dtd b/xmlscript/dtd/dialog.dtd
index 364517311405..1b7e6355631f 100644
--- a/xmlscript/dtd/dialog.dtd
+++ b/xmlscript/dtd/dialog.dtd
@@ -60,7 +60,8 @@
dlg:fixedline|
dlg:progressmeter|
dlg:scrollbar|
- dlg:table
+ dlg:table|
+ dlg:linklabel
)">
<!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)>
@@ -223,6 +224,17 @@
dlg:tabstop %boolean; #IMPLIED
>
+
+<!ELEMENT dlg:linklabel ((%event;)*)>
+<!ATTLIST dlg:linklabel %default-attributes;
+ dlg:value CDATA #IMPLIED
+ dlg:url CDATA #IMPLIED
+ dlg:align (left|center|right) #IMPLIED
+ dlg:valign (top|center|bottom) #IMPLIED
+ dlg:multiline %boolean; #IMPLIED
+ dlg:tabstop %boolean; #IMPLIED
+ >
+
<!ELEMENT dlg:textfield ((%event;)*)>
<!ATTLIST dlg:textfield %default-attributes;
dlg:tabstop %boolean; #IMPLIED
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
index e86038147a7f..48acefb63f14 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
@@ -524,7 +524,6 @@ void ElementDescriptor::readFixedHyperLinkModel( StyleBag * all_styles )
readDefaults();
readStringAttr( "Label",XMLNS_DIALOGS_PREFIX ":value" );
readStringAttr( "URL", XMLNS_DIALOGS_PREFIX ":url" );
- readStringAttr( "Description", XMLNS_DIALOGS_PREFIX ":description" );
readAlignAttr( "Align", XMLNS_DIALOGS_PREFIX ":align" );
readVerticalAlignAttr( "VerticalAlign", XMLNS_DIALOGS_PREFIX ":valign" );
readBoolAttr( "MultiLine", XMLNS_DIALOGS_PREFIX ":multiline" );
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index 0a2a2f45b992..15463246a601 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -982,7 +982,6 @@ void FixedHyperLinkElement::endElement()
ctx.importDefaults( _nBasePosX, _nBasePosY, _xAttributes );
ctx.importStringProperty( "Label", "value", _xAttributes );
ctx.importStringProperty( "URL", "url", _xAttributes );
- ctx.importStringProperty( "Description", "description", _xAttributes );
ctx.importAlignProperty( "Align", "align" ,_xAttributes );
ctx.importVerticalAlignProperty( "VerticalAlign", "valign", _xAttributes );