20#ifndef INCLUDED_SVX_ENHANCEDCUSTOMSHAPEFUNCTIONPARSER_HXX
21#define INCLUDED_SVX_ENHANCEDCUSTOMSHAPEFUNCTIONPARSER_HXX
23#include <config_options.h>
25#include <com/sun/star/drawing/EnhancedCustomShapeParameter.hpp>
88template<
typename charT,
typename traits >
89inline std::basic_ostream<charT, traits> &
operator <<(
90 std::basic_ostream<charT, traits> & stream,
const ExpressionFunct& eFunc )
130 default:
return stream <<
"?(" <<
static_cast<int>(eFunc) <<
")";
134#define EXPRESSION_FLAG_SUMANGLE_MODE 1
167 virtual css::drawing::EnhancedCustomShapeParameter
fillNode(
168 std::vector< EnhancedCustomShapeEquation >& rEquations,
ExpressionNode* pOptionalArg, sal_uInt32 nFlags ) = 0;
virtual css::drawing::EnhancedCustomShapeParameter fillNode(std::vector< EnhancedCustomShapeEquation > &rEquations, ExpressionNode *pOptionalArg, sal_uInt32 nFlags)=0
Operator to retrieve the ms version of expression.
virtual double operator()() const =0
Operator to calculate function value.
virtual bool isConstant() const =0
Predicate whether this node is constant.
virtual ExpressionFunct getType() const =0
Operator to retrieve the type of expression node.
UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) static std FunctionParser()=delete
Parse a string.
FunctionParser & operator=(const FunctionParser &)=delete
FunctionParser(const FunctionParser &)=delete
Reference< XOutputStream > stream
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &stream, const ExpressionFunct &eFunc)
SVXCORE_DLLPUBLIC void FillEquationParameter(const css::drawing::EnhancedCustomShapeParameter &, const sal_Int32, EnhancedCustomShapeEquation &)
EnhancedCustomShapeEquation()
This exception is thrown, when the arithmetic expression parser failed to parse a string.
#define SVXCORE_DLLPUBLIC