LibreOffice Module chart2 (master) 1
Classes | Namespaces | Typedefs | Functions
PropertyHelper.hxx File Reference
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/uno/Any.hxx>
#include "charttoolsdllapi.hxx"
#include <unordered_map>
Include dependency graph for PropertyHelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  chart::PropertyNameLess
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::lang
 
namespace  chart
 
namespace  chart::PropertyHelper
 

Typedefs

typedef int chart::tPropertyValueMapKey
 
typedef std::unordered_map< tPropertyValueMapKey, css::uno::Anychart::tPropertyValueMap
 

Functions

OOO_DLLPUBLIC_CHARTTOOLS OUString chart::PropertyHelper::addLineDashUniqueNameToTable (const css::uno::Any &rValue, const css::uno::Reference< css::lang::XMultiServiceFactory > &xFact, const OUString &rPreferredName)
 adds a line dash with a unique name to the gradient obtained by the given factory. More...
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::PropertyHelper::addGradientUniqueNameToTable (const css::uno::Any &rValue, const css::uno::Reference< css::lang::XMultiServiceFactory > &xFact, const OUString &rPreferredName)
 adds a gradient with a unique name to the gradient obtained by the given factory. More...
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::PropertyHelper::addTransparencyGradientUniqueNameToTable (const css::uno::Any &rValue, const css::uno::Reference< css::lang::XMultiServiceFactory > &xFact, const OUString &rPreferredName)
 adds a transparency gradient with a unique name to the gradient obtained by the given factory. More...
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::PropertyHelper::addHatchUniqueNameToTable (const css::uno::Any &rValue, const css::uno::Reference< css::lang::XMultiServiceFactory > &xFact, const OUString &rPreferredName)
 adds a hatch with a unique name to the gradient obtained by the given factory. More...
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::PropertyHelper::addBitmapUniqueNameToTable (const css::uno::Any &rValue, const css::uno::Reference< css::lang::XMultiServiceFactory > &xFact, const OUString &rPreferredName)
 adds a bitmap with a unique name to the gradient obtained by the given factory. More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::PropertyHelper::setPropertyValueAny (tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const css::uno::Any &rAny)
 Set a property to a certain value in the given map. More...
 
template<typename Value >
void chart::PropertyHelper::setPropertyValue (tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const Value &value)
 Set a property to a certain value in the given map. More...
 
template<>
void chart::PropertyHelper::setPropertyValue< css::uno::Any > (tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const css::uno::Any &rAny)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::PropertyHelper::setPropertyValueDefaultAny (tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const css::uno::Any &rAny)
 
template<typename Value >
void chart::PropertyHelper::setPropertyValueDefault (tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const Value &value)
 Calls setPropertyValue() but asserts that the given property hasn't been set before. More...
 
template<>
void chart::PropertyHelper::setPropertyValueDefault< css::uno::Any > (tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const css::uno::Any &rAny)
 Calls setPropertyValue() but asserts that the given property hasn't been set before. More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::PropertyHelper::setEmptyPropertyValueDefault (tPropertyValueMap &rOutMap, tPropertyValueMapKey key)
 Calls setPropertyValueDefault() with an empty Any as value. More...