LibreOffice Module editeng (master) 1
Functions
unoipset.cxx File Reference
#include <com/sun/star/beans/XPropertySet.hpp>
#include <svl/itemprop.hxx>
#include <tools/UnitConversion.hxx>
#include <editeng/unoipset.hxx>
#include <svl/itempool.hxx>
#include <svl/solar.hrc>
#include <o3tl/any.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <algorithm>
Include dependency graph for unoipset.cxx:

Go to the source code of this file.

Functions

static bool SvxUnoCheckForPositiveValue (const uno::Any &rVal)
 
void SvxUnoConvertToMM (const MapUnit eSourceMapUnit, uno::Any &rMetric) noexcept
 converts the given any with a metric to 100th/mm if needed More...
 
void SvxUnoConvertFromMM (const MapUnit eDestinationMapUnit, uno::Any &rMetric) noexcept
 converts the given any with a metric from 100th/mm to the given metric if needed More...
 

Function Documentation

◆ SvxUnoCheckForPositiveValue()

static bool SvxUnoCheckForPositiveValue ( const uno::Any rVal)
static

Definition at line 46 of file unoipset.cxx.

References nValue.

Referenced by SvxItemPropertySet::getPropertyValue().

◆ SvxUnoConvertFromMM()

void SvxUnoConvertFromMM ( const MapUnit  eDestinationMapUnit,
uno::Any rMetric 
)
noexcept

converts the given any with a metric from 100th/mm to the given metric if needed

Definition at line 266 of file unoipset.cxx.

References sanitiseMm100ToTwip().

◆ SvxUnoConvertToMM()

void SvxUnoConvertToMM ( const MapUnit  eSourceMapUnit,
uno::Any rMetric 
)
noexcept

converts the given any with a metric to 100th/mm if needed

Definition at line 227 of file unoipset.cxx.

References convertTwipToMm100(), and SAL_WARN.

Referenced by SvxItemPropertySet::getPropertyValue().