LibreOffice Module extensions (master) 1
Classes | Typedefs | Functions | Variables
framectr.cxx File Reference
#include <comphelper/types.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/sequence.hxx>
#include "framectr.hxx"
#include "datman.hxx"
#include <toolkit/helper/vclunohelper.hxx>
#include "bibconfig.hxx"
#include <cppuhelper/implbase.hxx>
#include <utility>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/awt/XTextComponent.hpp>
#include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/form/XConfirmDeleteListener.hpp>
#include <com/sun/star/form/runtime/XFormController.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/sdbcx/Privilege.hpp>
#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
#include <com/sun/star/sdb/FilterDialog.hpp>
#include <com/sun/star/sdb/RowChangeAction.hpp>
#include <com/sun/star/frame/CommandGroup.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <comphelper/multicontainer2.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <vcl/weld.hxx>
#include <osl/mutex.hxx>
#include <unordered_map>
Include dependency graph for framectr.cxx:

Go to the source code of this file.

Classes

class  BibFrameCtrl_Impl
 

Typedefs

typedef std::unordered_map< OUString, CacheDispatchInfo > CmdToInfoCache
 

Functions

static const CmdToInfoCacheGetCommandToInfoCache ()
 
static bool canInsertRecords (const Reference< beans::XPropertySet > &_rxCursorSet)
 
static vcl::Windowlcl_GetFocusChild (vcl::Window const *pParent)
 
 IMPL_LINK_NOARG (BibFrameController_Impl, DisposeHdl, void *, void)
 

Variables

const DispatchInfo SupportedCommandsArray []
 

Typedef Documentation

◆ CmdToInfoCache

typedef std::unordered_map< OUString, CacheDispatchInfo > CmdToInfoCache

Definition at line 101 of file framectr.cxx.

Function Documentation

◆ canInsertRecords()

static bool canInsertRecords ( const Reference< beans::XPropertySet > &  _rxCursorSet)
static

◆ GetCommandToInfoCache()

static const CmdToInfoCache & GetCommandToInfoCache ( )
static

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( BibFrameController_Impl  ,
DisposeHdl  ,
void *  ,
void   
)

Definition at line 601 of file framectr.cxx.

References m_xFrame.

◆ lcl_GetFocusChild()

static vcl::Window * lcl_GetFocusChild ( vcl::Window const *  pParent)
static

Variable Documentation

◆ SupportedCommandsArray

const DispatchInfo SupportedCommandsArray[]
Initial value:
=
{
{ ".uno:Undo" , frame::CommandGroup::EDIT , false },
{ ".uno:Cut" , frame::CommandGroup::EDIT , false },
{ ".uno:Copy" , frame::CommandGroup::EDIT , false },
{ ".uno:Paste" , frame::CommandGroup::EDIT , false },
{ ".uno:SelectAll" , frame::CommandGroup::EDIT , false },
{ ".uno:CloseDoc" , frame::CommandGroup::DOCUMENT , false },
{ ".uno:StatusBarVisible" , frame::CommandGroup::VIEW , false },
{ ".uno:AvailableToolbars" , frame::CommandGroup::VIEW , false },
{ ".uno:Bib/standardFilter" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/DeleteRecord" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/InsertRecord" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/query" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/autoFilter" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/source" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/removeFilter" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/sdbsource" , frame::CommandGroup::DATA , true },
{ ".uno:Bib/Mapping" , frame::CommandGroup::DATA , true },
}

Definition at line 80 of file framectr.cxx.

Referenced by GetCommandToInfoCache().