LibreOffice Module svx (master) 1
Functions | Variables
gluepts.cxx File Reference
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/container/XIdentifierContainer.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/drawing/GluePoint2.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <cppuhelper/implbase.hxx>
#include <tools/weakbase.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdglue.hxx>
#include "gluepts.hxx"
Include dependency graph for gluepts.cxx:

Go to the source code of this file.

Functions

static void convert (const SdrGluePoint &rSdrGlue, drawing::GluePoint2 &rUnoGlue) noexcept
 
static void convert (const drawing::GluePoint2 &rUnoGlue, SdrGluePoint &rSdrGlue) noexcept
 
uno::Reference< uno::XInterface > SvxUnoGluePointAccess_createInstance (SdrObject *pObject)
 Create a SvxUnoGluePointAccess. More...
 

Variables

const sal_uInt16 NON_USER_DEFINED_GLUE_POINTS = 4
 

Function Documentation

◆ convert() [1/2]

static void convert ( const drawing::GluePoint2 &  rUnoGlue,
SdrGluePoint rSdrGlue 
)
staticnoexcept

Definition at line 136 of file gluepts.cxx.

References BOTTOM, HORZ, HORZ_CENTER, HORZ_LEFT, HORZ_RIGHT, LEFT, RIGHT, SMART, TOP, VERT, VERT_BOTTOM, VERT_CENTER, and VERT_TOP.

◆ convert() [2/2]

static void convert ( const SdrGluePoint rSdrGlue,
drawing::GluePoint2 &  rUnoGlue 
)
staticnoexcept

Definition at line 82 of file gluepts.cxx.

References BOTTOM, HORZ, HORZ_CENTER, HORZ_LEFT, HORZ_RIGHT, LEFT, RIGHT, TOP, VERT, VERT_BOTTOM, VERT_CENTER, and VERT_TOP.

◆ SvxUnoGluePointAccess_createInstance()

uno::Reference< uno::XInterface > SvxUnoGluePointAccess_createInstance ( SdrObject pObject)

Create a SvxUnoGluePointAccess.

Definition at line 517 of file gluepts.cxx.

References pObject.

Referenced by SvxShape::getGluePoints().

Variable Documentation

◆ NON_USER_DEFINED_GLUE_POINTS

const sal_uInt16 NON_USER_DEFINED_GLUE_POINTS = 4

Definition at line 38 of file gluepts.cxx.