23#include <rtl/ustrbuf.hxx>
25#include <com/sun/star/uno/Any.hxx>
26#include <com/sun/star/chart/ChartErrorIndicatorType.hpp>
43 chart::ChartErrorIndicatorType
eType = chart::ChartErrorIndicatorType_NONE;
49 if(
eType != chart::ChartErrorIndicatorType_TOP_AND_BOTTOM )
52 eType = (
eType == chart::ChartErrorIndicatorType_LOWER )
53 ? chart::ChartErrorIndicatorType_TOP_AND_BOTTOM
54 : chart::ChartErrorIndicatorType_UPPER;
56 eType = (
eType == chart::ChartErrorIndicatorType_UPPER )
57 ? chart::ChartErrorIndicatorType_TOP_AND_BOTTOM
58 : chart::ChartErrorIndicatorType_LOWER;
63 if(
eType != chart::ChartErrorIndicatorType_NONE )
66 eType = (
eType == chart::ChartErrorIndicatorType_UPPER )
67 ? chart::ChartErrorIndicatorType_NONE
68 : chart::ChartErrorIndicatorType_LOWER;
70 eType = (
eType == chart::ChartErrorIndicatorType_LOWER )
71 ? chart::ChartErrorIndicatorType_NONE
72 : chart::ChartErrorIndicatorType_UPPER;
84 chart::ChartErrorIndicatorType
eType;
87 bool bValue = (
eType == chart::ChartErrorIndicatorType_TOP_AND_BOTTOM ||
89 ? (
eType == chart::ChartErrorIndicatorType_UPPER )
90 : (
eType == chart::ChartErrorIndicatorType_LOWER )));
96 rStrExpValue =
aBuffer.makeStringAndClear();
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
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 override
Imports the given value according to the XML-data-type corresponding to the derived class.
virtual ~XMLErrorIndicatorPropertyHdl() override
static bool convertBool(bool &rBool, std::u16string_view rString)
std::unique_ptr< char[]> aBuffer