LibreOffice Module svx (master) 1
Functions | Variables
gridcell.cxx File Reference
#include <memory>
#include <sal/log.hxx>
#include <fmprop.hxx>
#include <svx/strings.hrc>
#include <svx/fmtools.hxx>
#include <gridcell.hxx>
#include <gridcols.hxx>
#include <sdbdatacolumn.hxx>
#include <com/sun/star/awt/LineEndFormat.hpp>
#include <com/sun/star/awt/MouseWheelBehavior.hpp>
#include <com/sun/star/awt/VisualEffect.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/form/FormComponentType.hpp>
#include <com/sun/star/form/XBoundComponent.hpp>
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/sdbc/XStatement.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/util/XNumberFormatter.hpp>
#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/Date.hpp>
#include <comphelper/numbers.hxx>
#include <comphelper/property.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <connectivity/formattedcolumnvalue.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/safeint.hxx>
#include <svl/numformat.hxx>
#include <svl/numuno.hxx>
#include <svx/dialmgr.hxx>
#include <toolkit/helper/listenermultiplexer.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
#include <tools/fract.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/dbconversion.hxx>
#include <connectivity/sqlnode.hxx>
Include dependency graph for gridcell.cxx:

Go to the source code of this file.

Functions

static void lcl_clearBroadCaster (rtl::Reference<::comphelper::OPropertyChangeMultiplexer > &_pBroadcaster)
 
static void lcl_setCheckBoxState (const Reference< css::sdb::XColumn > &_rxField, CheckBoxControl *_pCheckBoxControl)
 
 IMPL_LINK_NOARG (DbFilterField, OnToggle, weld::CheckButton &, void)
 
 IMPL_LINK_NOARG (FmXGridCell, OnFocusGained, LinkParamNone *, void)
 
 IMPL_LINK_NOARG (FmXGridCell, OnFocusLost, LinkParamNone *, void)
 
 IMPL_LINK (FmXGridCell, OnMousePress, const MouseEvent &, rEventData, void)
 
 IMPL_LINK (FmXGridCell, OnMouseRelease, const MouseEvent &, rEventData, void)
 
 IMPL_LINK (FmXGridCell, OnMouseMove, const MouseEvent &, rMouseEvent, void)
 
 IMPL_LINK (FmXGridCell, OnKeyInput, const KeyEvent &, rEventData, void)
 
 IMPL_LINK (FmXGridCell, OnKeyRelease, const KeyEvent &, rEventData, void)
 
 IMPL_LINK_NOARG (FmXEditCell, ModifyHdl, LinkParamNone *, void)
 
 IMPL_LINK_NOARG (FmXCheckBoxCell, ModifyHdl, LinkParamNone *, void)
 
 IMPL_LINK (FmXListBoxCell, ChangedHdl, bool, bInteractive, void)
 
 IMPL_LINK (FmXComboBoxCell, ChangedHdl, bool, bInteractive, void)
 
 IMPL_LINK_NOARG (FmXFilterCell, OnCommit, DbFilterField &, void)
 

Variables

constexpr OUStringLiteral INVALIDTEXT = u"###"
 
constexpr OUStringLiteral OBJECTTEXT = u"<OBJECT>"
 

Function Documentation

◆ IMPL_LINK() [1/7]

IMPL_LINK ( FmXComboBoxCell  ,
ChangedHdl  ,
bool  ,
bInteractive  ,
void   
)

◆ IMPL_LINK() [2/7]

IMPL_LINK ( FmXGridCell  ,
OnKeyInput  ,
const KeyEvent ,
rEventData  ,
void   
)

Definition at line 3521 of file gridcell.cxx.

References aEvent, and VCLUnoHelper::createKeyEvent().

◆ IMPL_LINK() [3/7]

IMPL_LINK ( FmXGridCell  ,
OnKeyRelease  ,
const KeyEvent ,
rEventData  ,
void   
)

Definition at line 3530 of file gridcell.cxx.

References aEvent, and VCLUnoHelper::createKeyEvent().

◆ IMPL_LINK() [4/7]

IMPL_LINK ( FmXGridCell  ,
OnMouseMove  ,
const MouseEvent ,
rMouseEvent  ,
void   
)

Definition at line 3499 of file gridcell.cxx.

References aEvent, and VCLUnoHelper::createMouseEvent().

◆ IMPL_LINK() [5/7]

IMPL_LINK ( FmXGridCell  ,
OnMousePress  ,
const MouseEvent ,
rEventData  ,
void   
)

Definition at line 3481 of file gridcell.cxx.

References aEvent, and VCLUnoHelper::createMouseEvent().

◆ IMPL_LINK() [6/7]

IMPL_LINK ( FmXGridCell  ,
OnMouseRelease  ,
const MouseEvent ,
rEventData  ,
void   
)

Definition at line 3490 of file gridcell.cxx.

References aEvent, and VCLUnoHelper::createMouseEvent().

◆ IMPL_LINK() [7/7]

IMPL_LINK ( FmXListBoxCell  ,
ChangedHdl  ,
bool  ,
bInteractive  ,
void   
)

◆ IMPL_LINK_NOARG() [1/6]

IMPL_LINK_NOARG ( DbFilterField  ,
OnToggle  ,
weld::CheckButton ,
void   
)

◆ IMPL_LINK_NOARG() [2/6]

IMPL_LINK_NOARG ( FmXCheckBoxCell  ,
ModifyHdl  ,
LinkParamNone ,
void   
)

Definition at line 3954 of file gridcell.cxx.

References aEvent.

◆ IMPL_LINK_NOARG() [3/6]

IMPL_LINK_NOARG ( FmXEditCell  ,
ModifyHdl  ,
LinkParamNone ,
void   
)

Definition at line 3827 of file gridcell.cxx.

◆ IMPL_LINK_NOARG() [4/6]

IMPL_LINK_NOARG ( FmXFilterCell  ,
OnCommit  ,
DbFilterField ,
void   
)

Definition at line 4595 of file gridcell.cxx.

◆ IMPL_LINK_NOARG() [5/6]

IMPL_LINK_NOARG ( FmXGridCell  ,
OnFocusGained  ,
LinkParamNone ,
void   
)

Definition at line 3457 of file gridcell.cxx.

References aEvent.

◆ IMPL_LINK_NOARG() [6/6]

IMPL_LINK_NOARG ( FmXGridCell  ,
OnFocusLost  ,
LinkParamNone ,
void   
)

Definition at line 3469 of file gridcell.cxx.

References aEvent.

◆ lcl_clearBroadCaster()

static void lcl_clearBroadCaster ( rtl::Reference<::comphelper::OPropertyChangeMultiplexer > &  _pBroadcaster)
static

Definition at line 599 of file gridcell.cxx.

Referenced by DbCellControl::~DbCellControl().

◆ lcl_setCheckBoxState()

static void lcl_setCheckBoxState ( const Reference< css::sdb::XColumn > &  _rxField,
CheckBoxControl *  _pCheckBoxControl 
)
static

Variable Documentation

◆ INVALIDTEXT

constexpr OUStringLiteral INVALIDTEXT = u"###"
constexpr

Definition at line 87 of file gridcell.cxx.

Referenced by DbGridColumn::Paint().

◆ OBJECTTEXT

constexpr OUStringLiteral OBJECTTEXT = u"<OBJECT>"
constexpr

Definition at line 88 of file gridcell.cxx.

Referenced by DbGridColumn::Paint().