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/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 <tools/diagnose_ex.h>
#include <tools/debug.hxx>
#include <tools/fract.hxx>
#include <vcl/builder.hxx>
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/svapp.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 (DbGridControl::NavigationBar, OnClick, Button *, pButton, void)
 
 IMPL_LINK_NOARG (DbGridControl, OnDelete, void *, void)
 
 IMPL_LINK (DbGridControl, OnAsyncAdjust, void *, pAdjustWhat, void)
 

Variables

static constexpr auto DEFAULT_BROWSE_MODE
 
static const DbGridControlNavigationBarState ControlMap []
 

Macro Definition Documentation

#define ROWSTATUS (   row)    (!row.is() ? "NULL" : row->GetStatus() == GridRowStatus::Clean ? "CLEAN" : row->GetStatus() == GridRowStatus::Modified ? "MODIFIED" : row->GetStatus() == GridRowStatus::Deleted ? "DELETED" : "INVALID")

Typedef Documentation

Definition at line 126 of file gridctrl.cxx.

Function Documentation

bool CompareBookmark ( const Any &  aLeft,
const Any &  aRight 
)
IMPL_LINK ( DbGridControl::NavigationBar  ,
OnClick  ,
Button ,
pButton  ,
void   
)
IMPL_LINK ( DbGridControl  ,
OnAsyncAdjust  ,
void ,
pAdjustWhat  ,
void   
)

Definition at line 3443 of file gridctrl.cxx.

IMPL_LINK_NOARG ( DbGridControl  ,
OnDelete  ,
void ,
void   
)

Definition at line 2839 of file gridctrl.cxx.

Variable Documentation

const DbGridControlNavigationBarState ControlMap[]
static
constexpr auto DEFAULT_BROWSE_MODE
static
Initial value:
=
BrowserMode::COLUMNSELECTION
| BrowserMode::MULTISELECTION
| BrowserMode::KEEPHIGHLIGHT
| BrowserMode::TRACKING_TIPS
| BrowserMode::HLINES
| BrowserMode::VLINES
| BrowserMode::HEADERBAR_NEW

Definition at line 84 of file gridctrl.cxx.

Referenced by DbGridControl::setDataSource().