LibreOffice Module sd (master) 1
Macros | Functions | Variables
gluectrl.cxx File Reference
#include <sal/config.h>
#include <comphelper/propertyvalue.hxx>
#include <svx/svdglue.hxx>
#include <svl/intitem.hxx>
#include <vcl/toolbox.hxx>
#include <strings.hrc>
#include <gluectrl.hxx>
#include <sdresid.hxx>
#include <app.hrc>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XFrame.hpp>
Include dependency graph for gluectrl.cxx:

Go to the source code of this file.

Macros

#define ESCDIR_COUNT   5
 

Functions

 IMPL_LINK (GlueEscDirLB, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK (GlueEscDirLB, SelectHdl, weld::ComboBox &, rBox, void)
 Determines the escape direction and sends the corresponding slot. More...
 

Variables

const SdrEscapeDirection aEscDirArray []
 

Macro Definition Documentation

◆ ESCDIR_COUNT

#define ESCDIR_COUNT   5

Definition at line 40 of file gluectrl.cxx.

Function Documentation

◆ IMPL_LINK() [1/2]

IMPL_LINK ( GlueEscDirLB  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)

Definition at line 89 of file gluectrl.cxx.

◆ IMPL_LINK() [2/2]

IMPL_LINK ( GlueEscDirLB  ,
SelectHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Determines the escape direction and sends the corresponding slot.

Definition at line 97 of file gluectrl.cxx.

References a, aEscDirArray, Any, SfxToolBoxControl::Dispatch(), m_xFrame, comphelper::makePropertyValue(), nPos, and CntUInt16Item::QueryValue().

Variable Documentation

◆ aEscDirArray

const SdrEscapeDirection aEscDirArray[]
Initial value:
=
{
SdrEscapeDirection::SMART,
SdrEscapeDirection::LEFT,
SdrEscapeDirection::RIGHT,
SdrEscapeDirection::TOP,
SdrEscapeDirection::BOTTOM
}

Definition at line 41 of file gluectrl.cxx.

Referenced by SdTbxCtlGlueEscDir::GetEscDirPos(), and IMPL_LINK().