xmloff: document return value

Change-Id: I0b2012d2134a94603d95ce5a955f03944e344561
This commit is contained in:
Michael Stahl 2017-10-17 17:48:11 +02:00
parent 99772908d7
commit dc8c9d8052

View file

@ -36,7 +36,6 @@ struct XMLPropertyState;
*/
class XMLOFF_DLLPUBLIC XMLPropertyHandler
{
// ??? const SvXMLUnitConverter& rUnitConverter Do we need this ?
public:
// Just needed for virtual destruction
@ -46,9 +45,14 @@ public:
By default the Any-equal-operator is called. */
virtual bool equals( const css::uno::Any& r1, const css::uno::Any& r2 ) const;
/// Imports the given value in cas of the given XML-data-type
/** Imports the given value according to the XML-data-type corresponding to
the derived class.
@retval true if the value was successfully converted to Any
@retval false if the value was not recognised (warning will be printed)
*/
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const =0;
/// Exports the given value in case of the given XML-data-type
/// Exports the given value according to the XML-data-type corresponding to
/// the derived class.
virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const =0;
};