LibreOffice Module editeng (master) 1
Functions | Variables
unonrule.cxx File Reference
#include <sal/config.h>
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/implbase1.hxx>
#include <utility>
#include <vcl/font.hxx>
#include <vcl/svapp.hxx>
#include <vcl/graph.hxx>
#include <vcl/GraphicObject.hxx>
#include <vcl/GraphicLoader.hxx>
#include <tools/debug.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/numitem.hxx>
#include <editeng/unofdesc.hxx>
#include <editeng/unonrule.hxx>
#include <editeng/editids.hrc>
#include <o3tl/enumarray.hxx>
#include <o3tl/temporary.hxx>
#include <memory>
Include dependency graph for unonrule.cxx:

Go to the source code of this file.

Functions

static SvxAdjust ConvertUnoAdjust (unsigned short nAdjust)
 
static unsigned short ConvertUnoAdjust (SvxAdjust eAdjust)
 
const SvxNumRuleSvxGetNumRule (Reference< XIndexReplace > const &xRule)
 
css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule (const SvxNumRule &rRule)
 
Reference< XAnyCompare > SvxCreateNumRuleCompare () noexcept
 
css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule ()
 

Variables

const SvxAdjust aUnoToSvxAdjust []
 
const o3tl::enumarray< SvxAdjust, sal_Int16 > aSvxToUnoAdjust
 

Function Documentation

◆ ConvertUnoAdjust() [1/2]

static unsigned short ConvertUnoAdjust ( SvxAdjust  eAdjust)
static

Definition at line 85 of file unonrule.cxx.

References aSvxToUnoAdjust, and DBG_ASSERT.

◆ ConvertUnoAdjust() [2/2]

static SvxAdjust ConvertUnoAdjust ( unsigned short  nAdjust)
static

◆ SvxCreateNumRule() [1/2]

css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule ( )

Definition at line 539 of file unonrule.cxx.

References NONE, and SvxCreateNumRule().

◆ SvxCreateNumRule() [2/2]

css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule ( const SvxNumRule rRule)

◆ SvxCreateNumRuleCompare()

Reference< XAnyCompare > SvxCreateNumRuleCompare ( )
noexcept

Definition at line 534 of file unonrule.cxx.

Referenced by SvxSimpleUnoModel::createAnyCompareByName().

◆ SvxGetNumRule()

const SvxNumRule & SvxGetNumRule ( Reference< XIndexReplace > const &  xRule)

Definition at line 472 of file unonrule.cxx.

References SvxUnoNumberingRules::getNumRule().

Referenced by SvxNumBulletItem::PutValue().

Variable Documentation

◆ aSvxToUnoAdjust

const o3tl::enumarray<SvxAdjust, sal_Int16> aSvxToUnoAdjust
Initial value:
{
text::HoriOrientation::LEFT,
text::HoriOrientation::RIGHT,
text::HoriOrientation::FULL,
text::HoriOrientation::CENTER,
text::HoriOrientation::FULL,
text::HoriOrientation::LEFT
}

Definition at line 69 of file unonrule.cxx.

Referenced by ConvertUnoAdjust().

◆ aUnoToSvxAdjust

const SvxAdjust aUnoToSvxAdjust[]