LibreOffice Module svx (master) 1
Classes | Macros | Typedefs | Functions | Variables
gridctrl.cxx File Reference
#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>
Include dependency graph for gridctrl.cxx:

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
 

Macro Definition Documentation

◆ ROWSTATUS

#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 Documentation

◆ ColumnFieldValueListeners

Definition at line 125 of file gridctrl.cxx.

Function Documentation

◆ CompareBookmark()

bool CompareBookmark ( const Any &  aLeft,
const Any &  aRight 
)

◆ IMPL_LINK() [1/2]

IMPL_LINK ( DbGridControl  ,
OnAsyncAdjust  ,
void *  ,
pAdjustWhat  ,
void   
)

Definition at line 3195 of file gridctrl.cxx.

◆ IMPL_LINK() [2/2]

IMPL_LINK ( NavigationBar  ,
OnClick  ,
weld::Button ,
rButton  ,
void   
)

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( DbGridControl  ,
OnDelete  ,
void *  ,
void   
)

Definition at line 2596 of file gridctrl.cxx.

Variable Documentation

◆ ControlMap

const DbGridControlNavigationBarState ControlMap[]

◆ DEFAULT_BROWSE_MODE

constexpr auto DEFAULT_BROWSE_MODE
constexpr
Initial value:
=
BrowserMode::COLUMNSELECTION
| BrowserMode::MULTISELECTION
| BrowserMode::KEEPHIGHLIGHT
| BrowserMode::TRACKING_TIPS
| BrowserMode::HLINES
| BrowserMode::VLINES
| BrowserMode::HEADERBAR_NEW

Definition at line 82 of file gridctrl.cxx.

Referenced by DbGridControl::setDataSource().

◆ nReserveNumDigits

const int nReserveNumDigits = 7

Definition at line 274 of file gridctrl.cxx.

Referenced by NavigationBar::NavigationBar().