20#ifndef INCLUDED_XMLOFF_NAMEDBOOLPROPERTYHDL_HXX
21#define INCLUDED_XMLOFF_NAMEDBOOLPROPERTYHDL_HXX
36 XMLNamedBoolPropertyHdl(
const OUString& rTrueStr,
const OUString& rFalseStr ) : maTrueStr( rTrueStr ), maFalseStr( rFalseStr ) {}
48 virtual bool importXML(
const OUString& rStrImpValue, css::uno::Any& rValue,
const SvXMLUnitConverter& rUnitConverter )
const override;
49 virtual bool exportXML( OUString& rStrExpValue,
const css::uno::Any& rValue,
const SvXMLUnitConverter& rUnitConverter )
const override;
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
PropertyHandler for a named xml bool type:
XMLNamedBoolPropertyHdl(::xmloff::token::XMLTokenEnum eTrue, ::xmloff::token::XMLTokenEnum eFalse)
XMLNamedBoolPropertyHdl(const OUString &rTrueStr, const OUString &rFalseStr)
const OUString maFalseStr
Abstract base-class for different XML-types.
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0
Exports the given value according to the XML-data-type corresponding to the derived class.
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0
Imports the given value according to the XML-data-type corresponding to the derived class.
XMLTokenEnum
The enumeration of all XML tokens.
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
return the OUString representation for eToken