Kaydet (Commit) 87d2d458 authored tarafından Thomas Benisch's avatar Thomas Benisch

added help-text, help-url properties for dialog model

üst 82d31098
<?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"
>
......
......@@ -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();
}
......
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment