|
LibreOffice Module svx (master) 1
|
#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>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>" |
| IMPL_LINK | ( | FmXComboBoxCell | , |
| ChangedHdl | , | ||
| bool | , | ||
| bInteractive | , | ||
| void | |||
| ) |
Definition at line 4456 of file gridcell.cxx.
References aEvent, weld::ComboBox::changed_by_direct_pick(), and weld::ComboBox::get_active().
| IMPL_LINK | ( | FmXGridCell | , |
| OnKeyInput | , | ||
| const KeyEvent & | , | ||
| rEventData | , | ||
| void | |||
| ) |
Definition at line 3521 of file gridcell.cxx.
References aEvent, and VCLUnoHelper::createKeyEvent().
| IMPL_LINK | ( | FmXGridCell | , |
| OnKeyRelease | , | ||
| const KeyEvent & | , | ||
| rEventData | , | ||
| void | |||
| ) |
Definition at line 3530 of file gridcell.cxx.
References aEvent, and VCLUnoHelper::createKeyEvent().
| IMPL_LINK | ( | FmXGridCell | , |
| OnMouseMove | , | ||
| const MouseEvent & | , | ||
| rMouseEvent | , | ||
| void | |||
| ) |
Definition at line 3499 of file gridcell.cxx.
References aEvent, and VCLUnoHelper::createMouseEvent().
| IMPL_LINK | ( | FmXGridCell | , |
| OnMousePress | , | ||
| const MouseEvent & | , | ||
| rEventData | , | ||
| void | |||
| ) |
Definition at line 3481 of file gridcell.cxx.
References aEvent, and VCLUnoHelper::createMouseEvent().
| IMPL_LINK | ( | FmXGridCell | , |
| OnMouseRelease | , | ||
| const MouseEvent & | , | ||
| rEventData | , | ||
| void | |||
| ) |
Definition at line 3490 of file gridcell.cxx.
References aEvent, and VCLUnoHelper::createMouseEvent().
| IMPL_LINK | ( | FmXListBoxCell | , |
| ChangedHdl | , | ||
| bool | , | ||
| bInteractive | , | ||
| void | |||
| ) |
Definition at line 4269 of file gridcell.cxx.
References aEvent, weld::ComboBox::changed_by_direct_pick(), weld::ComboBox::get_active(), and OnDoubleClick.
| IMPL_LINK_NOARG | ( | DbFilterField | , |
| OnToggle | , | ||
| weld::CheckButton & | , | ||
| void | |||
| ) |
Definition at line 3159 of file gridcell.cxx.
References dbtools::DatabaseMetaData::getBooleanComparisonMode(), getConnection(), svx::MediaShellHelpers::GetState(), TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, and u.
| IMPL_LINK_NOARG | ( | FmXCheckBoxCell | , |
| ModifyHdl | , | ||
| LinkParamNone * | , | ||
| void | |||
| ) |
Definition at line 3954 of file gridcell.cxx.
References aEvent.
| IMPL_LINK_NOARG | ( | FmXEditCell | , |
| ModifyHdl | , | ||
| LinkParamNone * | , | ||
| void | |||
| ) |
Definition at line 3827 of file gridcell.cxx.
| IMPL_LINK_NOARG | ( | FmXFilterCell | , |
| OnCommit | , | ||
| DbFilterField & | , | ||
| void | |||
| ) |
Definition at line 4595 of file gridcell.cxx.
| IMPL_LINK_NOARG | ( | FmXGridCell | , |
| OnFocusGained | , | ||
| LinkParamNone * | , | ||
| void | |||
| ) |
Definition at line 3457 of file gridcell.cxx.
References aEvent.
| IMPL_LINK_NOARG | ( | FmXGridCell | , |
| OnFocusLost | , | ||
| LinkParamNone * | , | ||
| void | |||
| ) |
Definition at line 3469 of file gridcell.cxx.
References aEvent.
|
static |
Definition at line 599 of file gridcell.cxx.
Referenced by DbCellControl::~DbCellControl().
|
static |
Definition at line 1655 of file gridcell.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
Referenced by DbCheckBox::PaintFieldToCell(), and DbCheckBox::UpdateFromField().
|
constexpr |
Definition at line 87 of file gridcell.cxx.
Referenced by DbGridColumn::Paint().
|
constexpr |
Definition at line 88 of file gridcell.cxx.
Referenced by DbGridColumn::Paint().