LibreOffice Module reportdesign (master) 1
Classes | Typedefs | Enumerations | Functions | Variables
rptui Namespace Reference

Classes

class  AnyConverter
 
class  ColorChanger
 
struct  ColumnInfo
 
class  Condition
 
class  ConditionalExpression
 
class  ConditionalExpressionFactory
 
class  ConditionalFormattingDialog
 
class  ConditionColorWrapper
 
class  ConditionField
 
class  ConditionUpdater
 
class  DataProviderHandler
 
class  DefaultComponentInspectorModel
 
struct  DefaultFunction
 
class  DlgEdFactory
 
class  DlgEdFunc
 
class  DlgEdFuncInsert
 
class  DlgEdFuncSelect
 
class  DlgEdHint
 
class  FixedTextColor
 
class  FormatNormalizer
 
class  FormattedFieldBeautifier
 
class  FormulaDialog
 
class  FunctionCategory
 
class  FunctionDescription
 
class  FunctionManager
 
class  GeometryHandler
 
class  HelpIdUrl
 small helper to translate help ids into help urls More...
 
class  IConditionalFormatAction
 
class  IMarkedSection
 
class  IReportControllerObserver
 
class  NavigatorTree
 
class  OAddFieldWindow
 
class  OColorListener
 
class  OCommentUndoAction
 
class  OCustomShape
 
class  ODateTimeDialog
 
class  ODesignView
 
class  OEndMarker
 Defines the right side of a graphical section. More...
 
class  OFieldExpressionControl
 
class  OGroupExchange
 clipboard class for group rows in the groups and sorting dialog More...
 
class  OGroupHelper
 Helper class to allow std::mem_fun for SAL_CALL. More...
 
class  OGroupSectionUndo
 Undo action for the group header, footer. More...
 
class  OGroupsSortingDialog
 
class  OGroupUndo
 /class OGroupUndo More...
 
class  ONavigator
 
class  OObjectListener
 
class  OOle2Obj
 
class  OPageNumberDialog
 
struct  OPropertyInfoImpl
 
class  OPropertyInfoService
 
class  OPropertyMediator
 This class ensures the communication between two XPropertySet instances. More...
 
class  OReportController
 
class  OReportExchange
 defines a clipboard format for copying selection elements. More...
 
class  OReportHelper
 Helper class to allow std::mem_fun for SAL_CALL. More...
 
class  OReportModel
 
class  OReportPage
 
class  OReportSection
 
class  OReportSectionUndo
 Undo action for the group header, footer, page header, footer. More...
 
class  OReportUndoFactory
 
class  OReportWindow
 
class  ORptPageDialog
 
class  ORptUndoPropertyAction
 
class  OScrollWindowHelper
 
class  OSectionUndo
 Undo class for section add and remove. More...
 
class  OSectionView
 
class  OSectionWindow
 
class  OStartMarker
 
class  OStatusbarController
 
class  OUndoContainerAction
 
class  OUndoGroupSectionAction
 
class  OUndoPropertyGroupSectionAction
 
class  OUndoPropertyReportSectionAction
 
class  OUndoReportSectionAction
 
class  OUnoObject
 
class  OViewsWindow
 
class  OXReportControllerObserver
 
class  OXUndoEnvironment
 
class  OXUndoEnvironmentImpl
 
class  PropBrw
 
struct  RectangleLess
 
class  ReportComponentHandler
 
class  ReportFormula
 
class  UndoContext
 
class  UndoSuppressor
 

Typedefs

typedef std::unordered_map< OUString, PropertyInfoPropertiesInfo
 
typedef ::std::map< Reference< XPropertySet >, ObjectInfo > PropertySetInfoCache
 
typedef ::cppu::WeakComponentImplHelper< css::inspection::XPropertyHandler, css::lang::XServiceInfo > DataProviderHandler_Base
 
typedef ::cppu::WeakAggImplHelper3< css::inspection::XObjectInspectorModel, css::lang::XServiceInfo, css::lang::XInitialization > DefaultComponentInspectorModel_Base
 
typedef ::std::pair< css::uno::Reference< css::report::XFunction >, css::uno::Reference< css::report::XFunctionsSupplier > > TFunctionPair
 
typedef ::std::multimap< OUString, TFunctionPair, ::comphelper::UStringMixLessTFunctions
 
typedef ::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > PropertyChangeListeners
 
typedef ::cppu::WeakComponentImplHelper< css::inspection::XPropertyHandler, css::beans::XPropertyChangeListener, css::lang::XServiceInfo > GeometryHandler_Base
 
typedef ::cppu::WeakComponentImplHelper< css::inspection::XPropertyHandler, css::lang::XServiceInfo > ReportComponentHandler_Base
 
typedef ::dbaui::DBSubComponentController OReportController_BASE
 
typedef ::cppu::ImplHelper5< css::container::XContainerListener, css::beans::XPropertyChangeListener, css::view::XSelectionSupplier, css::util::XModeSelector, css::embed::XVisualObject > OReportController_Listener
 
typedef vcl::Window OScrollWindowHelper_BASE
 This class defines the scrollable area of the report design. More...
 
typedef ::cppu::ImplHelper1< css::lang::XServiceInfo > OStatusbarController_BASE
 
typedef std::map< OUString, bool > AllProperties
 
typedef std::shared_ptr< ConditionalExpressionPConditionalExpression
 
typedef ::std::map< ComparisonOperation, PConditionalExpressionConditionalExpressions
 
typedef ::cppu::WeakComponentImplHelper< css::beans::XPropertyChangeListener > OPropertyForward_Base
 
typedef ::std::pair< OUString, std::shared_ptr< AnyConverter > > TPropertyConverter
 
typedef std::map< OUString, TPropertyConverterTPropertyNamePair
 
typedef ::std::multimap< sal_Int16, OUString > IndexToNameMap
 

Enumerations

enum  NearSectionAccess {
  CURRENT = 0 ,
  PREVIOUS = -1 ,
  POST = 1
}
 
enum class  DlgEdMode {
  Insert ,
  Select
}
 
enum  ConditionType {
  eFieldValueComparison = 0 ,
  eExpression = 1
}
 
enum  ComparisonOperation {
  eBetween = 0 ,
  eNotBetween = 1 ,
  eEqualTo = 2 ,
  eNotEqualTo = 3 ,
  eGreaterThan = 4 ,
  eLessThan = 5 ,
  eGreaterOrEqual = 6 ,
  eLessOrEqual = 7
}
 
enum class  ControlModification {
  NONE = 0 ,
  LEFT = 1 ,
  RIGHT = 2 ,
  TOP = 3 ,
  BOTTOM = 4 ,
  CENTER_HORIZONTAL = 5 ,
  CENTER_VERTICAL = 6 ,
  WIDTH_SMALLEST = 7 ,
  HEIGHT_SMALLEST = 8 ,
  WIDTH_GREATEST = 9 ,
  HEIGHT_GREATEST = 10
}
 
enum  DlgEdHintKind {
  RPTUI_HINT_WINDOWSCROLLED ,
  RPTUI_HINT_SELECTIONCHANGED
}
 
enum  Action {
  Inserted = 1 ,
  Removed = 2
}
 

Functions

static std::unique_ptr< SdrUndoActionlcl_createUndo (SdrObject &rObject, Action _eAction, TranslateId pCommentId)
 
const TPropertyNamePairgetPropertyNameMap (SdrObjKind _nObjectId)
 returns the property name map for the given property id More...
 
static OUString ObjectTypeToServiceName (SdrObjKind _nObjectType)
 
static uno::Reference< chart2::data::XDatabaseDataProvider > lcl_getDataProvider (const uno::Reference< embed::XEmbeddedObject > &_xObj)
 
uno::Reference< style::XStyle > getUsedStyle (const uno::Reference< report::XReportDefinition > &_xReport)
 
 IMPL_LINK (OAddFieldWindow, DragBeginHdl, bool &, rUnsetDragIcon, bool)
 
 IMPL_LINK_NOARG (OAddFieldWindow, FocusChangeHdl, weld::Container &, void)
 
 IMPL_LINK_NOARG (OAddFieldWindow, OnSelectHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (OAddFieldWindow, OnDoubleClickHdl, weld::TreeView &, bool)
 
 IMPL_LINK (OAddFieldWindow, OnSortAction, const OUString &, rCurItem, void)
 
 IMPL_LINK_NOARG (ConditionalFormattingDialog, OnScroll, weld::ScrolledWindow &, void)
 
 IMPL_LINK_NOARG (ConditionField, OnFormula, weld::Button &, void)
 
 IMPL_LINK (Condition, OnFormatAction, const OUString &, rIdent, void)
 
 IMPL_LINK (Condition, OnConditionAction, weld::Button &, rClickedButton, void)
 
 IMPL_LINK_NOARG (Condition, OnTypeSelected, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (Condition, OnOperationSelected, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (ODateTimeDialog, CBClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK (FormulaDialog, OnClickHdl, OAddFieldWindow &, _rAddFieldDlg, void)
 
static void lcl_addToList_throw (weld::ComboBox &_rListBox, ::std::vector< ColumnInfo > &o_aColumnList, const uno::Reference< container::XNameAccess > &i_xColumns)
 
 IMPL_LINK_NOARG (OFieldExpressionControl, CBChangeHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (OFieldExpressionControl, DelayedDelete, void *, void)
 
 IMPL_LINK_NOARG (OGroupsSortingDialog, OnControlFocusGot, LinkParamNone *, void)
 
 IMPL_LINK (OGroupsSortingDialog, OnWidgetFocusGot, weld::Widget &, rControl, void)
 
 IMPL_LINK_NOARG (OGroupsSortingDialog, OnWidgetFocusLost, weld::Widget &, void)
 
 IMPL_LINK (OGroupsSortingDialog, OnFormatAction, const OUString &, rCommand, void)
 
 IMPL_LINK (OGroupsSortingDialog, LBChangeHdl, weld::ComboBox &, rListBox, void)
 
static OUString lcl_getImageId (const uno::Reference< report::XReportComponent > &_xElement)
 
static OUString lcl_getName (const uno::Reference< beans::XPropertySet > &_xElement)
 
 IMPL_LINK (NavigatorTree, CommandHdl, const CommandEvent &, rEvt, bool)
 
 IMPL_LINK_NOARG (NavigatorTree, OnEntrySelDesel, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (ONavigator, FocusChangeHdl, weld::Container &, void)
 
template<typename T >
sal_Int32 getPositionInIndexAccess (const css::uno::Reference< css::container::XIndexAccess > &_xCollection, const css::uno::Reference< T > &_xSearch)
 returns the position of the object inside the index container More...
 
void adjustSectionName (const css::uno::Reference< css::report::XGroup > &_xGroup, sal_Int32 _nPos)
 set the name of the header and footer of the group by the expression appended by the localized name of the section More...
 
::rtl::Reference< comphelper::OPropertyChangeMultiplexeraddStyleListener (const css::uno::Reference< css::report::XReportDefinition > &_xReportDefinition,::comphelper::OPropertyChangeListener *_pListener)
 add a listener for the properties size, left margin, right margin to the page style More...
 
bool openCharDialog (const css::uno::Reference< css::report::XReportControlFormat > &_xReportControlFormat, const css::uno::Reference< css::awt::XWindow > &_xWindow, css::uno::Sequence< css::beans::NamedValue > &_out_rNewValues)
 opens the common character font dialog More...
 
bool openAreaDialog (const css::uno::Reference< css::report::XShape > &_xShape, const css::uno::Reference< css::awt::XWindow > &_xWindow)
 opens the area dialog for shapes More...
 
bool openDialogFormula_nothrow (OUString &_in_out_rFormula, const css::uno::Reference< css::uno::XComponentContext > &_xContext, const css::uno::Reference< css::awt::XWindow > &_xWindow, const css::uno::Reference< css::beans::XPropertySet > &_xRowSet)
 opens the formula dialog More...
 
void applyCharacterSettings (const css::uno::Reference< css::report::XReportControlFormat > &_rxReportControlFormat, const css::uno::Sequence< css::beans::NamedValue > &_rSettings)
 applies the character settings previously obtained via openCharDialog More...
 
void notifySystemWindow (vcl::Window const *pWindow, vcl::Window *pToRegister, const ::comphelper::mem_fun1_t< TaskPaneList, vcl::Window * > &rMemFunc)
 notifySystemWindow adds or remove the given window _pToRegister at the Systemwindow found when search _pWindow. More...
 
SdrObjectisOver (const tools::Rectangle &_rRect, SdrPage const &_rPage, SdrView const &_rView, bool _bAllObjects=false, SdrObject const *_pIgnore=nullptr, sal_Int16 _nIgnoreType=0)
 checks whether the given rectangle overlapps another OUnoObject object in that view. More...
 
SdrObjectisOver (const tools::Rectangle &_rRect, SdrPage const &_rPage, SdrView const &_rView, bool _bAllObjects, rtl::Reference< SdrUnoObj > _pIgnoreList[], int _nIgnoreListLength)
 
SdrObjectisOver (SdrObject const *_pObj, SdrPage const &_rPage, SdrView const &_rView)
 checks whether the given OUnoObject object rectangle overlapps another object in that view. More...
 
css::uno::Sequence< OUString > getParameterNames (const css::uno::Reference< css::sdbc::XRowSet > &_rxRowSet)
 retrieves the names of the parameters of the command which the given RowSet is bound to More...
 
void correctOverlapping (SdrObject *pControl, OReportSection const &_aReportSection, bool _bInsert=true)
 ensures that no control overlaps the given one. More...
 
tools::Rectangle getRectangleFromControl (SdrObject *pControl)
 returns a Rectangle of a given SdrObject More...
 
void setZoomFactor (const Fraction &_aZoom, vcl::Window &_rWindow)
 sets the map mode at the window More...
 
void adjustSectionName (const uno::Reference< report::XGroup > &_xGroup, sal_Int32 _nPos)
 
::rtl::Reference< comphelper::OPropertyChangeMultiplexeraddStyleListener (const uno::Reference< report::XReportDefinition > &_xReportDefinition,::comphelper::OPropertyChangeListener *_pListener)
 
bool openCharDialog (const uno::Reference< report::XReportControlFormat > &_rxReportControlFormat, const uno::Reference< awt::XWindow > &_rxParentWindow, uno::Sequence< beans::NamedValue > &_out_rNewValues)
 
bool openAreaDialog (const uno::Reference< report::XShape > &_xShape, const uno::Reference< awt::XWindow > &_rxParentWindow)
 
void applyCharacterSettings (const uno::Reference< report::XReportControlFormat > &_rxReportControlFormat, const uno::Sequence< beans::NamedValue > &_rSettings)
 
static bool checkArrayForOccurrence (SdrObject const *_pObjToCheck, rtl::Reference< SdrUnoObj > _pIgnore[], int _nListLength)
 
uno::Sequence< OUString > getParameterNames (const uno::Reference< sdbc::XRowSet > &_rxRowSet)
 
bool openDialogFormula_nothrow (OUString &_in_out_rFormula, const css::uno::Reference< css::uno::XComponentContext > &_xContext, const uno::Reference< awt::XWindow > &_xInspectorWindow, const css::uno::Reference< css::beans::XPropertySet > &_xRowSet)
 
 IMPL_LINK_NOARG (ODesignView, MarkTimeout, Timer *, void)
 
 IMPL_LINK_NOARG (ODesignView, SplitHdl, SplitWindow *, void)
 
 IMPL_STATIC_LINK (DlgEdFactory, MakeObject, SdrObjCreatorParams, aParams, rtl::Reference< SdrObject >)
 
 IMPL_LINK_NOARG (DlgEdFunc, ScrollTimeout, Timer *, void)
 
static Color lcl_setColorOfObject (const uno::Reference< uno::XInterface > &_xObj, Color _nColorTRGB)
 
 IMPL_LINK_NOARG (PropBrw, OnAsyncGetFocus, void *, void)
 
 IMPL_LINK (OXReportControllerObserver, SettingsChanged, VclSimpleEvent &, _rEvt, void)
 
static Color lcl_getOverlappedControlColor ()
 
static void lcl_setScrollBar (sal_Int32 _nNewValue, const Point &_aPos, const Size &_aSize, ScrollAdaptor &_rScrollBar)
 
 IMPL_LINK_NOARG (OScrollWindowHelper, ScrollHdl, weld::Scrollbar &, void)
 
 IMPL_LINK (OSectionWindow, Collapsed, OColorListener &, _rMarker, void)
 
 IMPL_LINK_NOARG (OSectionWindow, StartSplitHdl, Splitter *, void)
 
 IMPL_LINK_NOARG (OSectionWindow, EndSplitHdl, Splitter *, void)
 
 IMPL_LINK (OSectionWindow, SplitHdl, Splitter *, _pSplitter, void)
 
static void lcl_scroll (vcl::Window &_rWindow, const Point &_aDelta)
 
static void lcl_setOrigin (vcl::Window &_rWindow, tools::Long _nX, tools::Long _nY)
 
static bool lcl_getNewRectSize (const tools::Rectangle &_aObjRect, tools::Long &_nXMov, tools::Long &_nYMov, SdrObject const *_pObj, SdrView const *_pView, ControlModification _nControlModification)
 
constexpr SdrLayerID RPT_LAYER_FRONT (0)
 
constexpr SdrLayerID RPT_LAYER_BACK (1)
 
constexpr SdrLayerID RPT_LAYER_HIDDEN (2)
 
REPORTDESIGN_DLLPUBLIC css::uno::Reference< css::style::XStyle > getUsedStyle (const css::uno::Reference< css::report::XReportDefinition > &_xReport)
 
template<typename T >
getStyleProperty (const css::uno::Reference< css::report::XReportDefinition > &_xReport, const OUString &_sPropertyName)
 
class REPORTDESIGN_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE ("crosscast") OObjectBase
 

Variables

constexpr size_t MAX_CONDITIONS = 3
 
const sal_Int16 ISOVER_IGNORE_CUSTOMSHAPES = 1
 

Typedef Documentation

◆ AllProperties

typedef std::map<OUString, bool> rptui::AllProperties

Definition at line 39 of file ReportControllerObserver.cxx.

◆ ConditionalExpressions

Definition at line 88 of file conditionalexpression.hxx.

◆ DataProviderHandler_Base

typedef ::cppu::WeakComponentImplHelper< css::inspection::XPropertyHandler , css::lang::XServiceInfo> rptui::DataProviderHandler_Base

Definition at line 44 of file DataProviderHandler.hxx.

◆ DefaultComponentInspectorModel_Base

typedef ::cppu::WeakAggImplHelper3< css::inspection::XObjectInspectorModel , css::lang::XServiceInfo , css::lang::XInitialization > rptui::DefaultComponentInspectorModel_Base

Definition at line 40 of file DefaultInspection.hxx.

◆ GeometryHandler_Base

typedef ::cppu::WeakComponentImplHelper< css::inspection::XPropertyHandler , css::beans::XPropertyChangeListener , css::lang::XServiceInfo> rptui::GeometryHandler_Base

Definition at line 66 of file GeometryHandler.hxx.

◆ IndexToNameMap

typedef ::std::multimap< sal_Int16, OUString > rptui::IndexToNameMap

Definition at line 37 of file RptObject.hxx.

◆ OPropertyForward_Base

typedef ::cppu::WeakComponentImplHelper< css::beans::XPropertyChangeListener > rptui::OPropertyForward_Base

Definition at line 35 of file PropertyForward.hxx.

◆ OReportController_BASE

Definition at line 65 of file ReportController.hxx.

◆ OReportController_Listener

typedef ::cppu::ImplHelper5< css::container::XContainerListener , css::beans::XPropertyChangeListener , css::view::XSelectionSupplier , css::util::XModeSelector , css::embed::XVisualObject > rptui::OReportController_Listener

Definition at line 71 of file ReportController.hxx.

◆ OScrollWindowHelper_BASE

This class defines the scrollable area of the report design.

It includes the h-ruler and the sections, and end marker. Not the start marker.

Definition at line 40 of file ScrollHelper.hxx.

◆ OStatusbarController_BASE

typedef ::cppu::ImplHelper1< css::lang::XServiceInfo> rptui::OStatusbarController_BASE

Definition at line 30 of file statusbarcontroller.hxx.

◆ PConditionalExpression

Definition at line 87 of file conditionalexpression.hxx.

◆ PropertiesInfo

typedef std::unordered_map< OUString, PropertyInfo > rptui::PropertiesInfo

Definition at line 69 of file UndoEnv.cxx.

◆ PropertyChangeListeners

typedef ::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > rptui::PropertyChangeListeners

Definition at line 63 of file GeometryHandler.hxx.

◆ PropertySetInfoCache

Definition at line 85 of file UndoEnv.cxx.

◆ ReportComponentHandler_Base

typedef ::cppu::WeakComponentImplHelper< css::inspection::XPropertyHandler , css::lang::XServiceInfo> rptui::ReportComponentHandler_Base

Definition at line 38 of file ReportComponentHandler.hxx.

◆ TFunctionPair

typedef ::std::pair< css::uno::Reference< css::report::XFunction>, css::uno::Reference< css::report::XFunctionsSupplier> > rptui::TFunctionPair

Definition at line 61 of file GeometryHandler.hxx.

◆ TFunctions

typedef ::std::multimap< OUString,TFunctionPair, ::comphelper::UStringMixLess > rptui::TFunctions

Definition at line 62 of file GeometryHandler.hxx.

◆ TPropertyConverter

typedef ::std::pair< OUString, std::shared_ptr<AnyConverter> > rptui::TPropertyConverter

Definition at line 72 of file RptDef.hxx.

◆ TPropertyNamePair

Definition at line 73 of file RptDef.hxx.

Enumeration Type Documentation

◆ Action

Enumerator
Inserted 
Removed 

Definition at line 40 of file UndoActions.hxx.

◆ ComparisonOperation

Enumerator
eBetween 
eNotBetween 
eEqualTo 
eNotEqualTo 
eGreaterThan 
eLessThan 
eGreaterOrEqual 
eLessOrEqual 

Definition at line 75 of file conditionalexpression.hxx.

◆ ConditionType

Enumerator
eFieldValueComparison 
eExpression 

Definition at line 66 of file conditionalexpression.hxx.

◆ ControlModification

enum class rptui::ControlModification
strong
Enumerator
NONE 
LEFT 
RIGHT 
TOP 
BOTTOM 
CENTER_HORIZONTAL 
CENTER_VERTICAL 
WIDTH_SMALLEST 
HEIGHT_SMALLEST 
WIDTH_GREATEST 
HEIGHT_GREATEST 

Definition at line 48 of file RptDef.hxx.

◆ DlgEdHintKind

Enumerator
RPTUI_HINT_WINDOWSCROLLED 
RPTUI_HINT_SELECTIONCHANGED 

Definition at line 38 of file RptObject.hxx.

◆ DlgEdMode

enum class rptui::DlgEdMode
strong
Enumerator
Insert 
Select 

Definition at line 24 of file ReportDefines.hxx.

◆ NearSectionAccess

Enumerator
CURRENT 
PREVIOUS 
POST 

Definition at line 29 of file MarkedSection.hxx.

Function Documentation

◆ addStyleListener() [1/2]

::rtl::Reference< comphelper::OPropertyChangeMultiplexer > rptui::addStyleListener ( const css::uno::Reference< css::report::XReportDefinition > &  _xReportDefinition,
::comphelper::OPropertyChangeListener _pListener 
)

add a listener for the properties size, left margin, right margin to the page style

Parameters
_xReportDefinition
_pListener
Returns

Referenced by rptui::OReportSection::fill(), rptui::OScrollWindowHelper::initialize(), and rptui::OReportWindow::OReportWindow().

◆ addStyleListener() [2/2]

::rtl::Reference< comphelper::OPropertyChangeMultiplexer > rptui::addStyleListener ( const uno::Reference< report::XReportDefinition > &  _xReportDefinition,
::comphelper::OPropertyChangeListener _pListener 
)

◆ adjustSectionName() [1/2]

void rptui::adjustSectionName ( const css::uno::Reference< css::report::XGroup > &  _xGroup,
sal_Int32  _nPos 
)

set the name of the header and footer of the group by the expression appended by the localized name of the section

Parameters
_xGroupthe group where the header/footer name is set by the expression of the group

Referenced by rptui::OFieldExpressionControl::SaveModified().

◆ adjustSectionName() [2/2]

void rptui::adjustSectionName ( const uno::Reference< report::XGroup > &  _xGroup,
sal_Int32  _nPos 
)

Definition at line 179 of file UITools.cxx.

References _nPos, RptResId(), and sName.

◆ applyCharacterSettings() [1/2]

void rptui::applyCharacterSettings ( const css::uno::Reference< css::report::XReportControlFormat > &  _rxReportControlFormat,
const css::uno::Sequence< css::beans::NamedValue > &  _rSettings 
)

applies the character settings previously obtained via openCharDialog

Referenced by rptui::OReportController::Execute(), and rptui::GeometryHandler::setPropertyValue().

◆ applyCharacterSettings() [2/2]

void rptui::applyCharacterSettings ( const uno::Reference< report::XReportControlFormat > &  _rxReportControlFormat,
const uno::Sequence< beans::NamedValue > &  _rSettings 
)

◆ checkArrayForOccurrence()

static bool rptui::checkArrayForOccurrence ( SdrObject const *  _pObjToCheck,
rtl::Reference< SdrUnoObj _pIgnore[],
int  _nListLength 
)
static

Definition at line 876 of file UITools.cxx.

References i.

Referenced by isOver().

◆ correctOverlapping()

void rptui::correctOverlapping ( SdrObject pControl,
OReportSection const &  _aReportSection,
bool  _bInsert = true 
)

ensures that no control overlaps the given one.

Parameters
pControlthe control which should place in the section without overlapping
_pReportSectionthe section
_bInsertsal_True when the control should be inserted, otherwise not.

Definition at line 977 of file UITools.cxx.

References SdrObject::GetLogicRect(), tools::Rectangle::getOpenHeight(), rptui::OReportSection::getPage(), getRectangleFromControl(), SdrPaintView::GetSdrPageView(), rptui::OReportSection::getSectionView(), SdrObject::getUnoShape(), SdrEditView::InsertObjectAtView(), isOver(), tools::Rectangle::Move(), and tools::Rectangle::Top().

Referenced by rptui::OReportController::addPairControls(), rptui::OReportController::createControl(), and rptui::OReportSection::impl_adjustObjectSizePosition().

◆ getParameterNames() [1/2]

css::uno::Sequence< OUString > rptui::getParameterNames ( const css::uno::Reference< css::sdbc::XRowSet > &  _rxRowSet)

retrieves the names of the parameters of the command which the given RowSet is bound to

Referenced by rptui::GeometryHandler::inspect(), and rptui::OAddFieldWindow::Update().

◆ getParameterNames() [2/2]

uno::Sequence< OUString > rptui::getParameterNames ( const uno::Reference< sdbc::XRowSet > &  _rxRowSet)

Definition at line 928 of file UITools.cxx.

References count, DBG_UNHANDLED_EXCEPTION, i, and PROPERTY_NAME.

◆ getPositionInIndexAccess()

template<typename T >
sal_Int32 rptui::getPositionInIndexAccess ( const css::uno::Reference< css::container::XIndexAccess > &  _xCollection,
const css::uno::Reference< T > &  _xSearch 
)

returns the position of the object inside the index container

Parameters
_xReportDefinitionthe report definition to get the groups
_xGroupthe group to search
Returns
returns the position of the group in the list, otherwise -1

Definition at line 52 of file UITools.hxx.

References i, and nCount.

Referenced by rptui::OReportController::Execute(), rptui::OReportController::getGroupPosition(), rptui::GeometryHandler::impl_fillScopeList_nothrow(), rptui::OGroupUndo::OGroupUndo(), and rptui::NavigatorTree::traverseGroup().

◆ getPropertyNameMap()

REPORTDESIGN_DLLPUBLIC const TPropertyNamePair & rptui::getPropertyNameMap ( SdrObjKind  _nObjectId)

◆ getRectangleFromControl()

tools::Rectangle rptui::getRectangleFromControl ( SdrObject pControl)

◆ getStyleProperty()

template<typename T >
T rptui::getStyleProperty ( const css::uno::Reference< css::report::XReportDefinition > &  _xReport,
const OUString &  _sPropertyName 
)

Definition at line 80 of file RptDef.hxx.

References getUsedStyle().

◆ getUsedStyle() [1/2]

REPORTDESIGN_DLLPUBLIC css::uno::Reference< css::style::XStyle > rptui::getUsedStyle ( const css::uno::Reference< css::report::XReportDefinition > &  _xReport)

◆ getUsedStyle() [2/2]

uno::Reference< style::XStyle > rptui::getUsedStyle ( const uno::Reference< report::XReportDefinition > &  _xReport)

Definition at line 1199 of file RptObject.cxx.

References aSeq.

Referenced by addStyleListener(), getStyleProperty(), and rptui::OReportController::openPageDialog().

◆ IMPL_LINK() [1/12]

rptui::IMPL_LINK ( Condition  ,
OnConditionAction  ,
weld::Button ,
rClickedButton  ,
void   
)

Definition at line 189 of file Condition.cxx.

◆ IMPL_LINK() [2/12]

rptui::IMPL_LINK ( Condition  ,
OnFormatAction  ,
const OUString &  ,
rIdent  ,
void   
)

Definition at line 183 of file Condition.cxx.

References Color::AsRGBHexString(), and COL_AUTO().

◆ IMPL_LINK() [3/12]

rptui::IMPL_LINK ( FormulaDialog  ,
OnClickHdl  ,
OAddFieldWindow ,
_rAddFieldDlg  ,
void   
)

Definition at line 228 of file Formula.cxx.

References svx::ColumnName, RET_CANCEL, and sName.

◆ IMPL_LINK() [4/12]

rptui::IMPL_LINK ( NavigatorTree  ,
CommandHdl  ,
const CommandEvent ,
rEvt  ,
bool   
)

◆ IMPL_LINK() [5/12]

rptui::IMPL_LINK ( OAddFieldWindow  ,
DragBeginHdl  ,
bool &  ,
rUnsetDragIcon  ,
bool   
)

Definition at line 50 of file AddField.cxx.

◆ IMPL_LINK() [6/12]

rptui::IMPL_LINK ( OAddFieldWindow  ,
OnSortAction  ,
const OUString &  ,
rCurItem  ,
void   
)

Definition at line 322 of file AddField.cxx.

References Update.

◆ IMPL_LINK() [7/12]

rptui::IMPL_LINK ( OGroupsSortingDialog  ,
LBChangeHdl  ,
weld::ComboBox ,
rListBox  ,
void   
)

◆ IMPL_LINK() [8/12]

rptui::IMPL_LINK ( OGroupsSortingDialog  ,
OnFormatAction  ,
const OUString &  ,
rCommand  ,
void   
)

Definition at line 974 of file GroupsSorting.cxx.

References LINK, nIndex, NO_GROUP, and Application::PostUserEvent().

◆ IMPL_LINK() [9/12]

rptui::IMPL_LINK ( OGroupsSortingDialog  ,
OnWidgetFocusGot  ,
weld::Widget ,
rControl  ,
void   
)

◆ IMPL_LINK() [10/12]

rptui::IMPL_LINK ( OSectionWindow  ,
Collapsed  ,
OColorListener ,
_rMarker  ,
void   
)

Definition at line 293 of file SectionWindow.cxx.

◆ IMPL_LINK() [11/12]

rptui::IMPL_LINK ( OSectionWindow  ,
SplitHdl  ,
Splitter ,
_pSplitter  ,
void   
)

Definition at line 325 of file SectionWindow.cxx.

References getView(), Height, i, and nCount.

◆ IMPL_LINK() [12/12]

rptui::IMPL_LINK ( OXReportControllerObserver  ,
SettingsChanged  ,
VclSimpleEvent ,
_rEvt  ,
void   
)

Definition at line 59 of file ReportControllerObserver.cxx.

References GetData, i, nCount, and pData.

◆ IMPL_LINK_NOARG() [1/21]

rptui::IMPL_LINK_NOARG ( Condition  ,
OnOperationSelected  ,
weld::ComboBox ,
void   
)

Definition at line 211 of file Condition.cxx.

◆ IMPL_LINK_NOARG() [2/21]

rptui::IMPL_LINK_NOARG ( Condition  ,
OnTypeSelected  ,
weld::ComboBox ,
void   
)

Definition at line 206 of file Condition.cxx.

◆ IMPL_LINK_NOARG() [3/21]

rptui::IMPL_LINK_NOARG ( ConditionalFormattingDialog  ,
OnScroll  ,
weld::ScrolledWindow ,
void   
)

Definition at line 260 of file CondFormat.cxx.

References MAX_CONDITIONS.

◆ IMPL_LINK_NOARG() [4/21]

rptui::IMPL_LINK_NOARG ( ConditionField  ,
OnFormula  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [5/21]

rptui::IMPL_LINK_NOARG ( DlgEdFunc  ,
ScrollTimeout  ,
Timer ,
void   
)

Definition at line 58 of file dlgedfunc.cxx.

◆ IMPL_LINK_NOARG() [6/21]

rptui::IMPL_LINK_NOARG ( NavigatorTree  ,
OnEntrySelDesel  ,
weld::TreeView ,
void   
)

Definition at line 326 of file Navigator.cxx.

References m_rController.

◆ IMPL_LINK_NOARG() [7/21]

rptui::IMPL_LINK_NOARG ( OAddFieldWindow  ,
FocusChangeHdl  ,
weld::Container ,
void   
)

Definition at line 120 of file AddField.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [8/21]

rptui::IMPL_LINK_NOARG ( OAddFieldWindow  ,
OnDoubleClickHdl  ,
weld::TreeView ,
bool   
)

Definition at line 316 of file AddField.cxx.

◆ IMPL_LINK_NOARG() [9/21]

rptui::IMPL_LINK_NOARG ( OAddFieldWindow  ,
OnSelectHdl  ,
weld::TreeView ,
void   
)

Definition at line 311 of file AddField.cxx.

◆ IMPL_LINK_NOARG() [10/21]

rptui::IMPL_LINK_NOARG ( ODateTimeDialog  ,
CBClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 172 of file DateTime.cxx.

◆ IMPL_LINK_NOARG() [11/21]

rptui::IMPL_LINK_NOARG ( ODesignView  ,
MarkTimeout  ,
Timer ,
void   
)

Definition at line 270 of file DesignView.cxx.

References m_pPropWin, and Resize.

◆ IMPL_LINK_NOARG() [12/21]

rptui::IMPL_LINK_NOARG ( ODesignView  ,
SplitHdl  ,
SplitWindow ,
void   
)

Definition at line 402 of file DesignView.cxx.

References m_pPropWin, TASKPANE_ID, and Size::Width().

◆ IMPL_LINK_NOARG() [13/21]

rptui::IMPL_LINK_NOARG ( OFieldExpressionControl  ,
CBChangeHdl  ,
weld::ComboBox ,
void   
)

Definition at line 397 of file GroupsSorting.cxx.

◆ IMPL_LINK_NOARG() [14/21]

rptui::IMPL_LINK_NOARG ( OFieldExpressionControl  ,
DelayedDelete  ,
void *  ,
void   
)

Definition at line 774 of file GroupsSorting.cxx.

References DeleteRows.

◆ IMPL_LINK_NOARG() [15/21]

rptui::IMPL_LINK_NOARG ( OGroupsSortingDialog  ,
OnControlFocusGot  ,
LinkParamNone ,
void   
)

Definition at line 933 of file GroupsSorting.cxx.

References RptResId().

◆ IMPL_LINK_NOARG() [16/21]

rptui::IMPL_LINK_NOARG ( OGroupsSortingDialog  ,
OnWidgetFocusLost  ,
weld::Widget ,
void   
)

Definition at line 965 of file GroupsSorting.cxx.

◆ IMPL_LINK_NOARG() [17/21]

rptui::IMPL_LINK_NOARG ( ONavigator  ,
FocusChangeHdl  ,
weld::Container ,
void   
)

Definition at line 806 of file Navigator.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [18/21]

rptui::IMPL_LINK_NOARG ( OScrollWindowHelper  ,
ScrollHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 175 of file ScrollHelper.cxx.

◆ IMPL_LINK_NOARG() [19/21]

rptui::IMPL_LINK_NOARG ( OSectionWindow  ,
EndSplitHdl  ,
Splitter ,
void   
)

Definition at line 320 of file SectionWindow.cxx.

◆ IMPL_LINK_NOARG() [20/21]

rptui::IMPL_LINK_NOARG ( OSectionWindow  ,
StartSplitHdl  ,
Splitter ,
void   
)

Definition at line 314 of file SectionWindow.cxx.

References RptResId().

◆ IMPL_LINK_NOARG() [21/21]

rptui::IMPL_LINK_NOARG ( PropBrw  ,
OnAsyncGetFocus  ,
void *  ,
void   
)

Definition at line 514 of file propbrw.cxx.

◆ IMPL_STATIC_LINK()

rptui::IMPL_STATIC_LINK ( DlgEdFactory  ,
MakeObject  ,
SdrObjCreatorParams  ,
aParams  ,
rtl::Reference< SdrObject  
)

Definition at line 42 of file dlgedfac.cxx.

References PROPERTY_ORIENTATION.

◆ isOver() [1/3]

SdrObject * rptui::isOver ( const tools::Rectangle _rRect,
SdrPage const &  _rPage,
SdrView const &  _rView,
bool  _bAllObjects,
rtl::Reference< SdrUnoObj _pIgnoreList[],
int  _nIgnoreListLength 
)

◆ isOver() [2/3]

SdrObject * rptui::isOver ( const tools::Rectangle _rRect,
SdrPage const &  _rPage,
SdrView const &  _rView,
bool  _bAllObjects = false,
SdrObject const *  _pIgnore = nullptr,
sal_Int16  _nIgnoreType = 0 
)

◆ isOver() [3/3]

SdrObject * rptui::isOver ( SdrObject const *  _pObj,
SdrPage const &  _rPage,
SdrView const &  _rView 
)

checks whether the given OUnoObject object rectangle overlapps another object in that view.

Parameters
_pObj
_rPage
_rView
Returns
the object which is overlapped, otherwise <NULL>. If the given object is not of type OUnoObject <NULL> will be returned.

Definition at line 916 of file UITools.cxx.

References SdrObject::GetCurrentBoundRect(), and isOver().

◆ lcl_addToList_throw()

static void rptui::lcl_addToList_throw ( weld::ComboBox _rListBox,
::std::vector< ColumnInfo > &  o_aColumnList,
const uno::Reference< container::XNameAccess > &  i_xColumns 
)
static

◆ lcl_createUndo()

static std::unique_ptr< SdrUndoAction > rptui::lcl_createUndo ( SdrObject rObject,
Action  _eAction,
TranslateId  pCommentId 
)
static

◆ lcl_getDataProvider()

static uno::Reference< chart2::data::XDatabaseDataProvider > rptui::lcl_getDataProvider ( const uno::Reference< embed::XEmbeddedObject > &  _xObj)
static

◆ lcl_getImageId()

static OUString rptui::lcl_getImageId ( const uno::Reference< report::XReportComponent > &  _xElement)
static

Definition at line 58 of file Navigator.cxx.

References sId.

Referenced by rptui::NavigatorTree::_elementInserted(), and rptui::NavigatorTree::traverseSection().

◆ lcl_getName()

static OUString rptui::lcl_getName ( const uno::Reference< beans::XPropertySet > &  _xElement)
static

◆ lcl_getNewRectSize()

static bool rptui::lcl_getNewRectSize ( const tools::Rectangle _aObjRect,
tools::Long _nXMov,
tools::Long _nYMov,
SdrObject const *  _pObj,
SdrView const *  _pView,
ControlModification  _nControlModification 
)
static

◆ lcl_getOverlappedControlColor()

static Color rptui::lcl_getOverlappedControlColor ( )
static

◆ lcl_scroll()

static void rptui::lcl_scroll ( vcl::Window _rWindow,
const Point _aDelta 
)
static

◆ lcl_setColorOfObject()

static Color rptui::lcl_setColorOfObject ( const uno::Reference< uno::XInterface > &  _xObj,
Color  _nColorTRGB 
)
static

◆ lcl_setOrigin()

static void rptui::lcl_setOrigin ( vcl::Window _rWindow,
tools::Long  _nX,
tools::Long  _nY 
)
static

◆ lcl_setScrollBar()

static void rptui::lcl_setScrollBar ( sal_Int32  _nNewValue,
const Point _aPos,
const Size _aSize,
ScrollAdaptor _rScrollBar 
)
static

◆ notifySystemWindow()

void rptui::notifySystemWindow ( vcl::Window const *  pWindow,
vcl::Window pToRegister,
const ::comphelper::mem_fun1_t< TaskPaneList, vcl::Window * > &  rMemFunc 
)

notifySystemWindow adds or remove the given window _pToRegister at the Systemwindow found when search _pWindow.

Parameters
pWindowThe window which is used to search for the SystemWindow.
pToRegisterThe window which should be added or removed on the TaskPaneList.
rMemFuncThe member function which should be called at the SystemWindow when found. Possible values are: ::comphelper::mem_fun(&TaskPaneList::AddWindow) ::comphelper::mem_fun(&TaskPaneList::RemoveWindow)

Definition at line 836 of file UITools.cxx.

References vcl::Window::GetSystemWindow(), and SystemWindow::GetTaskPaneList().

Referenced by rptui::ODesignView::dispose(), rptui::PropBrw::dispose(), and rptui::ODesignView::togglePropertyBrowser().

◆ ObjectTypeToServiceName()

static OUString rptui::ObjectTypeToServiceName ( SdrObjKind  _nObjectType)
static

◆ openAreaDialog() [1/2]

bool rptui::openAreaDialog ( const css::uno::Reference< css::report::XShape > &  _xShape,
const css::uno::Reference< css::awt::XWindow > &  _xWindow 
)

opens the area dialog for shapes

Referenced by rptui::GeometryHandler::onInteractivePropertySelection().

◆ openAreaDialog() [2/2]

bool rptui::openAreaDialog ( const uno::Reference< report::XShape > &  _xShape,
const uno::Reference< awt::XWindow > &  _rxParentWindow 
)

◆ openCharDialog() [1/2]

bool rptui::openCharDialog ( const css::uno::Reference< css::report::XReportControlFormat > &  _xReportControlFormat,
const css::uno::Reference< css::awt::XWindow > &  _xWindow,
css::uno::Sequence< css::beans::NamedValue > &  _out_rNewValues 
)

opens the common character font dialog

Referenced by rptui::OReportController::Execute(), and rptui::GeometryHandler::onInteractivePropertySelection().

◆ openCharDialog() [2/2]

bool rptui::openCharDialog ( const uno::Reference< report::XReportControlFormat > &  _rxReportControlFormat,
const uno::Reference< awt::XWindow > &  _rxParentWindow,
uno::Sequence< beans::NamedValue > &  _out_rNewValues 
)

◆ openDialogFormula_nothrow() [1/2]

bool rptui::openDialogFormula_nothrow ( OUString &  _in_out_rFormula,
const css::uno::Reference< css::uno::XComponentContext > &  _xContext,
const css::uno::Reference< css::awt::XWindow > &  _xWindow,
const css::uno::Reference< css::beans::XPropertySet > &  _xRowSet 
)

opens the formula dialog

Parameters
_out_rFormulathe formula chosen by the user @precond we're really inspecting a database report (well, a RowSet at least)
Returns
<TRUE> if and only if the user successfully chose a clause

Referenced by IMPL_LINK_NOARG(), and rptui::GeometryHandler::onInteractivePropertySelection().

◆ openDialogFormula_nothrow() [2/2]

bool rptui::openDialogFormula_nothrow ( OUString &  _in_out_rFormula,
const css::uno::Reference< css::uno::XComponentContext > &  _xContext,
const uno::Reference< awt::XWindow > &  _xInspectorWindow,
const css::uno::Reference< css::beans::XPropertySet > &  _xRowSet 
)

◆ RPT_LAYER_BACK()

constexpr SdrLayerID rptui::RPT_LAYER_BACK ( )
constexpr

◆ RPT_LAYER_FRONT()

constexpr SdrLayerID rptui::RPT_LAYER_FRONT ( )
constexpr

◆ RPT_LAYER_HIDDEN()

constexpr SdrLayerID rptui::RPT_LAYER_HIDDEN ( )
constexpr

◆ SAL_LOPLUGIN_ANNOTATE()

class REPORTDESIGN_DLLPUBLIC rptui::SAL_LOPLUGIN_ANNOTATE ( "crosscast"  )

called by instances of derived classes to implement their overriding of getUnoShape

Exceptions
css::uno::RuntimeException

releases the reference to our UNO shape (m_xKeepShapeAlive)

Definition at line 63 of file RptObject.hxx.

References StartListening, and supportsService().

◆ setZoomFactor()

void rptui::setZoomFactor ( const Fraction _aZoom,
vcl::Window _rWindow 
)

sets the map mode at the window

Parameters
_aZoomthe zoom scale
_rWindowwhere to set the map mode

Definition at line 999 of file UITools.cxx.

References vcl::Window::GetMapMode(), vcl::Window::SetMapMode(), MapMode::SetScaleX(), and MapMode::SetScaleY().

Referenced by rptui::OReportController::impl_zoom_nothrow(), rptui::OSectionWindow::zoom(), rptui::OStartMarker::zoom(), and rptui::OViewsWindow::zoom().

Variable Documentation

◆ ISOVER_IGNORE_CUSTOMSHAPES

const sal_Int16 rptui::ISOVER_IGNORE_CUSTOMSHAPES = 1

Definition at line 131 of file UITools.hxx.

Referenced by isOver(), and rptui::DlgEdFunc::isRectangleHit().

◆ MAX_CONDITIONS

constexpr size_t rptui::MAX_CONDITIONS = 3
constexpr