LibreOffice Module svx (master) 1
|
#include <sal/log.hxx>
#include <helpids.h>
#include <svx/gridctrl.hxx>
#include <gridcell.hxx>
#include <svx/fmtools.hxx>
#include <svtools/stringtransfer.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/dbconversion.hxx>
#include <fmprop.hxx>
#include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/sdb/XResultSetAccess.hpp>
#include <com/sun/star/sdb/RowChangeAction.hpp>
#include <com/sun/star/sdb/XRowsChangeBroadcaster.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/sdbcx/Privilege.hpp>
#include <com/sun/star/util/NumberFormatter.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyChangeEvent.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <comphelper/diagnose_ex.hxx>
#include <tools/debug.hxx>
#include <vcl/settings.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <vcl/weldutils.hxx>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include <sdbdatacolumn.hxx>
#include <comphelper/property.hxx>
#include <comphelper/types.hxx>
#include <cppuhelper/implbase.hxx>
#include <algorithm>
#include <cstdlib>
#include <map>
#include <memory>
Go to the source code of this file.
Classes | |
class | RowSetEventListener |
class | GridFieldValueListener |
class | DisposeListenerGridBridge |
class | FmXGridSourcePropListener |
Macros | |
#define | ROWSTATUS(row) (!row.is() ? "NULL" : row->GetStatus() == GridRowStatus::Clean ? "CLEAN" : row->GetStatus() == GridRowStatus::Modified ? "MODIFIED" : row->GetStatus() == GridRowStatus::Deleted ? "DELETED" : "INVALID") |
Typedefs | |
typedef std::map< sal_uInt16, GridFieldValueListener * > | ColumnFieldValueListeners |
Functions | |
bool | CompareBookmark (const Any &aLeft, const Any &aRight) |
IMPL_LINK (NavigationBar, OnClick, weld::Button &, rButton, void) | |
IMPL_LINK_NOARG (DbGridControl, OnDelete, void *, void) | |
IMPL_LINK (DbGridControl, OnAsyncAdjust, void *, pAdjustWhat, void) | |
Variables | |
constexpr auto | DEFAULT_BROWSE_MODE |
const DbGridControlNavigationBarState | ControlMap [] |
const int | nReserveNumDigits = 7 |
#define ROWSTATUS | ( | row | ) | (!row.is() ? "NULL" : row->GetStatus() == GridRowStatus::Clean ? "CLEAN" : row->GetStatus() == GridRowStatus::Modified ? "MODIFIED" : row->GetStatus() == GridRowStatus::Deleted ? "DELETED" : "INVALID") |
Definition at line 80 of file gridctrl.cxx.
typedef std::map<sal_uInt16, GridFieldValueListener*> ColumnFieldValueListeners |
Definition at line 125 of file gridctrl.cxx.
bool CompareBookmark | ( | const Any & | aLeft, |
const Any & | aRight | ||
) |
Definition at line 237 of file gridctrl.cxx.
Referenced by DbGridControl::AdjustDataSource(), DbGridControl::AlignSeekCursor(), FmGridControl::propertyChange(), and DbGridControl::SetCurrent().
IMPL_LINK | ( | DbGridControl | , |
OnAsyncAdjust | , | ||
void * | , | ||
pAdjustWhat | , | ||
void | |||
) |
Definition at line 3195 of file gridctrl.cxx.
IMPL_LINK | ( | NavigationBar | , |
OnClick | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 378 of file gridctrl.cxx.
References DbGridControl::AppendNew(), Link< typename Arg, typename Ret >::Call(), First, Link< typename Arg, typename Ret >::IsSet(), Last, DbGridControl::m_aMasterSlotExecutor, DbGridControl::MoveToFirst(), DbGridControl::MoveToLast(), DbGridControl::MoveToNext(), DbGridControl::MoveToPrev(), New, Next, and Prev.
IMPL_LINK_NOARG | ( | DbGridControl | , |
OnDelete | , | ||
void * | , | ||
void | |||
) |
Definition at line 2596 of file gridctrl.cxx.
const DbGridControlNavigationBarState ControlMap[] |
Definition at line 223 of file gridctrl.cxx.
Referenced by NavigationBar::InvalidateAll().
|
constexpr |
Definition at line 82 of file gridctrl.cxx.
Referenced by DbGridControl::setDataSource().
const int nReserveNumDigits = 7 |
Definition at line 274 of file gridctrl.cxx.
Referenced by NavigationBar::NavigationBar().