diff options
author | Thomas Benisch <tbe@openoffice.org> | 2001-05-08 10:49:08 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2001-05-08 10:49:08 +0000 |
commit | 87d2d458832da0ea67b3caf22f8c8851a2ca9acc (patch) | |
tree | 7a61590c9fed33a6b4dc27bc9111bf5f20ebc73e | |
parent | 82d31098b392ba6462c6d2ca873711f6410f110f (diff) |
added help-text, help-url properties for dialog model
-rw-r--r-- | xmlscript/dtd/dialog.dtd | 4 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 8 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 10 |
3 files changed, 17 insertions, 5 deletions
diff --git a/xmlscript/dtd/dialog.dtd b/xmlscript/dtd/dialog.dtd index 5ca873c33286c..8af79aec66db4 100644 --- a/xmlscript/dtd/dialog.dtd +++ b/xmlscript/dtd/dialog.dtd @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - $Id: dialog.dtd,v 1.12 2001-05-04 13:17:39 dbo Exp $ + $Id: dialog.dtd,v 1.13 2001-05-08 11:49:08 tbe Exp $ The Contents of this file are made available subject to the terms of either of the following licenses @@ -103,6 +103,8 @@ dlg:title CDATA #IMPLIED dlg:page %numeric; #IMPLIED dlg:tag CDATA #IMPLIED + dlg:help-text CDATA #IMPLIED + dlg:help-url CDATA #IMPLIED xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog" > diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx index ca00ff3bfb919..265fd7239bf5c 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmldlg_expmodels.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: dbo $ $Date: 2001-05-04 13:17:40 $ + * last change: $Author: tbe $ $Date: 2001-05-08 11:48:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -800,6 +800,10 @@ void ElementDescriptor::readDialogModel( StyleBag * all_styles ) OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":page") ) ); readStringAttr( OUString( RTL_CONSTASCII_USTRINGPARAM("Tag") ), OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":tag") ) ); + readStringAttr( OUString( RTL_CONSTASCII_USTRINGPARAM("HelpText") ), + OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":help-text") ) ); + readStringAttr( OUString( RTL_CONSTASCII_USTRINGPARAM("HelpURL") ), + OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":help-url") ) ); readEvents(); } diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index da3c467d7a764..561c4dd06403a 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmldlg_impmodels.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: dbo $ $Date: 2001-05-04 13:17:40 $ + * last change: $Author: tbe $ $Date: 2001-05-08 11:48:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1732,6 +1732,12 @@ void WindowElement::endElement() ctx.importStringProperty( OUString( RTL_CONSTASCII_USTRINGPARAM("Tag") ), OUString( RTL_CONSTASCII_USTRINGPARAM("tag") ), _xAttributes ); + ctx.importStringProperty( OUString( RTL_CONSTASCII_USTRINGPARAM("HelpText") ), + OUString( RTL_CONSTASCII_USTRINGPARAM("help-text") ), + _xAttributes ); + ctx.importStringProperty( OUString( RTL_CONSTASCII_USTRINGPARAM("HelpURL") ), + OUString( RTL_CONSTASCII_USTRINGPARAM("help-url") ), + _xAttributes ); ctx.importEvents( _events ); } |