LibreOffice Module svx (master) 1
Functions
fmtools.cxx File Reference
#include <fmprop.hxx>
#include <fmservs.hxx>
#include <svx/fmtools.hxx>
#include <svx/svdobjkind.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/io/XPersistObject.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sdb/ErrorCondition.hpp>
#include <com/sun/star/sdb/ErrorMessageDialog.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <com/sun/star/sdb/SQLErrorEvent.hpp>
#include <com/sun/star/sdb/XCompletedConnection.hpp>
#include <com/sun/star/sdb/XResultSetAccess.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/util/Language.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/property.hxx>
#include <comphelper/types.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
Include dependency graph for fmtools.cxx:

Go to the source code of this file.

Functions

void displayException (const Any &_rExcept, const css::uno::Reference< css::awt::XWindow > &rParent)
 
void displayException (const css::sdbc::SQLException &_rExcept, const css::uno::Reference< css::awt::XWindow > &rParent)
 
void displayException (const css::sdb::SQLContext &_rExcept, const css::uno::Reference< css::awt::XWindow > &rParent)
 
void displayException (const css::sdb::SQLErrorEvent &_rEvent, const css::uno::Reference< css::awt::XWindow > &rParent)
 
sal_Int32 getElementPos (const Reference< css::container::XIndexAccess > &xCont, const Reference< XInterface > &xElement)
 
OUString getLabelName (const Reference< css::beans::XPropertySet > &xControlModel)
 
SdrObjKind getControlTypeByObject (const Reference< css::lang::XServiceInfo > &_rxObject)
 
bool isRowSetAlive (const Reference< XInterface > &_rxRowSet)
 

Function Documentation

◆ displayException() [1/4]

void displayException ( const Any &  _rExcept,
const css::uno::Reference< css::awt::XWindow > &  rParent 
)

◆ displayException() [2/4]

void displayException ( const css::sdb::SQLContext &  _rExcept,
const css::uno::Reference< css::awt::XWindow > &  rParent 
)

Definition at line 105 of file fmtools.cxx.

References Any, and displayException().

◆ displayException() [3/4]

void displayException ( const css::sdb::SQLErrorEvent &  _rEvent,
const css::uno::Reference< css::awt::XWindow > &  rParent 
)

Definition at line 110 of file fmtools.cxx.

References displayException().

◆ displayException() [4/4]

void displayException ( const css::sdbc::SQLException &  _rExcept,
const css::uno::Reference< css::awt::XWindow > &  rParent 
)

Definition at line 100 of file fmtools.cxx.

References Any, and displayException().

◆ getControlTypeByObject()

SdrObjKind getControlTypeByObject ( const Reference< css::lang::XServiceInfo > &  _rxObject)

◆ getElementPos()

sal_Int32 getElementPos ( const Reference< css::container::XIndexAccess > &  xCont,
const Reference< XInterface > &  xElement 
)

◆ getLabelName()

OUString getLabelName ( const Reference< css::beans::XPropertySet > &  xControlModel)

Definition at line 149 of file fmtools.cxx.

References aLabel, Any, FM_PROP_CONTROLLABEL, FM_PROP_CONTROLSOURCE, and FM_PROP_LABEL.

Referenced by IMPL_LINK().

◆ isRowSetAlive()

bool isRowSetAlive ( const Reference< XInterface > &  _rxRowSet)