LibreOffice Module reportdesign (master)  1
Namespaces | Functions | Variables
UITools.hxx File Reference
#include <com/sun/star/report/XGroup.hpp>
#include <com/sun/star/report/XReportControlFormat.hpp>
#include <com/sun/star/report/XShape.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include "ReportSection.hxx"
#include <rtl/ref.hxx>
#include <vcl/taskpanelist.hxx>
#include <comphelper/stl_types.hxx>
Include dependency graph for UITools.hxx:

Go to the source code of this file.




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 More...
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 More...
::rtl::Reference< comphelper::OPropertyChangeMultiplexerrptui::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 More...
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 More...
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 More...
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 More...
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 More...
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. More...
SdrObjectrptui::isOver (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...
SdrObjectrptui::isOver (const tools::Rectangle &_rRect, SdrPage const &_rPage, SdrView const &_rView, bool _bAllObjects, std::unique_ptr< SdrUnoObj, SdrObjectFreeOp > _pIgnoreList[], int _nIgnoreListLength)
SdrObjectrptui::isOver (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 > 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 More...
void rptui::correctOverlapping (SdrObject *pControl, OReportSection const &_aReportSection, bool _bInsert=true)
 ensures that no control overlaps the given one. More...
tools::Rectangle rptui::getRectangleFromControl (SdrObject *pControl)
 returns a Rectangle of a given SdrObject More...
void rptui::setZoomFactor (const Fraction &_aZoom, vcl::Window &_rWindow)
 sets the map mode at the window More...


const sal_Int16 rptui::ISOVER_IGNORE_CUSTOMSHAPES = 1