LibreOffice Module svx (master)  1
Classes | Functions | Variables
fmshimp.cxx File Reference
#include <sal/config.h>
#include <o3tl/safeint.hxx>
#include <sal/macros.h>
#include <sal/log.hxx>
#include <fmobj.hxx>
#include <fmpgeimp.hxx>
#include <svx/fmtools.hxx>
#include <fmprop.hxx>
#include <fmservs.hxx>
#include <fmshimp.hxx>
#include <fmtextcontrolshell.hxx>
#include <fmundo.hxx>
#include <fmurl.hxx>
#include <fmvwimp.hxx>
#include <gridcols.hxx>
#include <svx/svditer.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <svx/svdobjkind.hxx>
#include <svx/fmmodel.hxx>
#include <svx/fmpage.hxx>
#include <svx/fmshell.hxx>
#include <svx/fmview.hxx>
#include <svx/obj3d.hxx>
#include <svx/sdrpagewindow.hxx>
#include <svx/svdpagv.hxx>
#include <svx/svxdlg.hxx>
#include <svx/svxids.hrc>
#include <bitmaps.hlst>
#include <formnavi.hrc>
#include <com/sun/star/awt/XWindow2.hpp>
#include <com/sun/star/awt/XCheckBox.hpp>
#include <com/sun/star/awt/XListBox.hpp>
#include <com/sun/star/awt/XTextComponent.hpp>
#include <com/sun/star/beans/theIntrospection.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/container/XContainer.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/form/ListSourceType.hpp>
#include <com/sun/star/form/TabOrderDialog.hpp>
#include <com/sun/star/form/XGrid.hpp>
#include <com/sun/star/form/XGridPeer.hpp>
#include <com/sun/star/form/XLoadable.hpp>
#include <com/sun/star/form/XReset.hpp>
#include <com/sun/star/form/binding/XBindableValue.hpp>
#include <com/sun/star/form/binding/XListEntrySink.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/util/XModeSelector.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <comphelper/evtmethodhelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/property.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/solarmutex.hxx>
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <connectivity/dbtools.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/frame.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/viewsh.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <vcl/window.hxx>
#include <algorithm>
#include <map>
#include <memory>
#include <string_view>
#include <vector>
Include dependency graph for fmshimp.cxx:

Go to the source code of this file.

Classes

class  FmXFormShell::SuspendPropertyTracking
 

Functions

bool IsSearchableControl (const css::uno::Reference< css::uno::XInterface > &_rxControl, OUString *_pCurrentText)
 
static bool isControlList (const SdrMarkList &rMarkList)
 
static Reference< XForm > GetForm (const Reference< XInterface > &_rxElement)
 
 IMPL_LINK_NOARG (FmXFormShell, OnInvalidateSlots_Lock, void *, void)
 
 IMPL_LINK (FmXFormShell, OnFoundData_Lock, FmFoundRecordInformation &, rfriWhere, void)
 
 IMPL_LINK (FmXFormShell, OnCanceledNotFound_Lock, FmFoundRecordInformation &, rfriWhere, void)
 
 IMPL_LINK (FmXFormShell, OnSearchContextRequest_Lock, FmSearchContext &, rfmscContextInfo, sal_uInt32)
 
 IMPL_LINK_NOARG (FmXFormShell, OnTimeOut_Lock, Timer *, void)
 
static void saveFilter (const Reference< runtime::XFormController > &_rxController)
 
 IMPL_LINK_NOARG (FmXFormShell, OnFirstTimeActivation_Lock, void *, void)
 
 IMPL_LINK_NOARG (FmXFormShell, OnFormsCreated_Lock, FmFormPageImpl &, void)
 
 IMPL_LINK_NOARG (FmXFormShell, OnLoadForms_Lock, void *, void)
 

Variables

const sal_uInt16 DatabaseSlotMap []
 
const sal_Int16 DlgSlotMap []
 
const sal_Int16 SelObjectSlotMap []
 
static const char * aConvertSlots []
 
const std::u16string_view aImgIds []
 
const sal_Int16 nObjectTypes []
 

Function Documentation

static Reference< XForm > GetForm ( const Reference< XInterface > &  _rxElement)
static

Definition at line 585 of file fmshimp.cxx.

IMPL_LINK ( FmXFormShell  ,
OnFoundData_Lock  ,
FmFoundRecordInformation ,
rfriWhere  ,
void   
)
IMPL_LINK ( FmXFormShell  ,
OnCanceledNotFound_Lock  ,
FmFoundRecordInformation ,
rfriWhere  ,
void   
)

Definition at line 2241 of file fmshimp.cxx.

References DBG_ASSERT, and m_pShell.

IMPL_LINK ( FmXFormShell  ,
OnSearchContextRequest_Lock  ,
FmSearchContext ,
rfmscContextInfo  ,
sal_uInt32   
)
IMPL_LINK_NOARG ( FmXFormShell  ,
OnInvalidateSlots_Lock  ,
void ,
void   
)

Definition at line 977 of file fmshimp.cxx.

References m_pShell.

IMPL_LINK_NOARG ( FmXFormShell  ,
OnTimeOut_Lock  ,
Timer ,
void   
)

Definition at line 2640 of file fmshimp.cxx.

References m_pShell.

IMPL_LINK_NOARG ( FmXFormShell  ,
OnFirstTimeActivation_Lock  ,
void ,
void   
)

Definition at line 3555 of file fmshimp.cxx.

References SfxObjectShell::HasName(), and m_pShell.

IMPL_LINK_NOARG ( FmXFormShell  ,
OnFormsCreated_Lock  ,
FmFormPageImpl ,
void   
)

Definition at line 3575 of file fmshimp.cxx.

IMPL_LINK_NOARG ( FmXFormShell  ,
OnLoadForms_Lock  ,
void ,
void   
)

Definition at line 3719 of file fmshimp.cxx.

References FmLoadAction::nFlags, and FmLoadAction::pPage.

static bool isControlList ( const SdrMarkList rMarkList)
static
bool IsSearchableControl ( const css::uno::Reference< css::uno::XInterface > &  _rxControl,
OUString *  _pCurrentText 
)

Definition at line 467 of file fmshimp.cxx.

References TRISTATE_FALSE, and TRISTATE_TRUE.

Referenced by IMPL_LINK().

static void saveFilter ( const Reference< runtime::XFormController > &  _rxController)
static

Variable Documentation

const char* aConvertSlots[]
static
Initial value:
=
{
"ConvertToEdit",
"ConvertToButton",
"ConvertToFixed",
"ConvertToList",
"ConvertToCheckBox",
"ConvertToRadio",
"ConvertToGroup",
"ConvertToCombo",
"ConvertToImageBtn",
"ConvertToFileControl",
"ConvertToDate",
"ConvertToTime",
"ConvertToNumeric",
"ConvertToCurrency",
"ConvertToPattern",
"ConvertToImageControl",
"ConvertToFormatted",
"ConvertToScrollBar",
"ConvertToSpinButton",
"ConvertToNavigationBar"
}

Definition at line 182 of file fmshimp.cxx.

const std::u16string_view aImgIds[]
Initial value:
=
{
u"" RID_SVXBMP_EDITBOX,
u"" RID_SVXBMP_BUTTON,
u"" RID_SVXBMP_FIXEDTEXT,
u"" RID_SVXBMP_LISTBOX,
u"" RID_SVXBMP_CHECKBOX,
u"" RID_SVXBMP_RADIOBUTTON,
u"" RID_SVXBMP_GROUPBOX,
u"" RID_SVXBMP_COMBOBOX,
u"" RID_SVXBMP_IMAGEBUTTON,
u"" RID_SVXBMP_FILECONTROL,
u"" RID_SVXBMP_DATEFIELD,
u"" RID_SVXBMP_TIMEFIELD,
u"" RID_SVXBMP_NUMERICFIELD,
u"" RID_SVXBMP_CURRENCYFIELD,
u"" RID_SVXBMP_PATTERNFIELD,
u"" RID_SVXBMP_IMAGECONTROL,
u"" RID_SVXBMP_FORMATTEDFIELD,
u"" RID_SVXBMP_SCROLLBAR,
u"" RID_SVXBMP_SPINBUTTON,
u"" RID_SVXBMP_NAVIGATIONBAR
}
float u

Definition at line 206 of file fmshimp.cxx.

const sal_uInt16 DatabaseSlotMap[]
Initial value:
=
{
SID_FM_RECORD_FIRST,
SID_FM_RECORD_NEXT,
SID_FM_RECORD_PREV,
SID_FM_RECORD_LAST,
SID_FM_RECORD_NEW,
SID_FM_RECORD_DELETE,
SID_FM_RECORD_ABSOLUTE,
SID_FM_RECORD_TOTAL,
SID_FM_RECORD_SAVE,
SID_FM_RECORD_UNDO,
SID_FM_REMOVE_FILTER_SORT,
SID_FM_SORTUP,
SID_FM_SORTDOWN,
SID_FM_ORDERCRIT,
SID_FM_AUTOFILTER,
SID_FM_FORM_FILTERED,
SID_FM_REFRESH,
SID_FM_REFRESH_FORM_CONTROL,
SID_FM_SEARCH,
SID_FM_FILTER_START,
SID_FM_VIEW_AS_GRID,
0
}

Definition at line 107 of file fmshimp.cxx.

Referenced by IMPL_LINK().

const sal_Int16 DlgSlotMap[]
Initial value:
=
{
SID_FM_CTL_PROPERTIES,
SID_FM_PROPERTIES,
SID_FM_TAB_DIALOG,
SID_FM_ADD_FIELD,
SID_FM_SHOW_FMEXPLORER,
SID_FM_FIELDS_CONTROL,
SID_FM_SHOW_PROPERTIES,
SID_FM_PROPERTY_CONTROL,
SID_FM_FMEXPLORER_CONTROL,
SID_FM_SHOW_DATANAVIGATOR,
SID_FM_DATANAVIGATOR_CONTROL,
0
}

Definition at line 135 of file fmshimp.cxx.

const sal_Int16 nObjectTypes[]
const sal_Int16 SelObjectSlotMap[]
Initial value:
=
{
SID_FM_CONVERTTO_EDIT,
SID_FM_CONVERTTO_BUTTON,
SID_FM_CONVERTTO_FIXEDTEXT,
SID_FM_CONVERTTO_LISTBOX,
SID_FM_CONVERTTO_CHECKBOX,
SID_FM_CONVERTTO_RADIOBUTTON,
SID_FM_CONVERTTO_GROUPBOX,
SID_FM_CONVERTTO_COMBOBOX,
SID_FM_CONVERTTO_IMAGEBUTTON,
SID_FM_CONVERTTO_FILECONTROL,
SID_FM_CONVERTTO_DATE,
SID_FM_CONVERTTO_TIME,
SID_FM_CONVERTTO_NUMERIC,
SID_FM_CONVERTTO_CURRENCY,
SID_FM_CONVERTTO_PATTERN,
SID_FM_CONVERTTO_IMAGECONTROL,
SID_FM_CONVERTTO_FORMATTED,
SID_FM_CONVERTTO_SCROLLBAR,
SID_FM_CONVERTTO_SPINBUTTON,
SID_FM_CONVERTTO_NAVIGATIONBAR,
SID_FM_FMEXPLORER_CONTROL,
SID_FM_DATANAVIGATOR_CONTROL,
0
}

Definition at line 151 of file fmshimp.cxx.