LibreOffice Module reportdesign (master)  1
Namespaces | Macros | Functions
UITools.cxx File Reference
#include <memory>
#include <toolkit/helper/convert.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <SectionView.hxx>
#include <UITools.hxx>
#include <Formula.hxx>
#include <FunctionHelper.hxx>
#include <reportformula.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/settings.hxx>
#include <vcl/syswin.hxx>
#include <vcl/svapp.hxx>
#include <vcl/unohelp.hxx>
#include <vcl/window.hxx>
#include <com/sun/star/lang/NullPointerException.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <svx/svdpool.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/flstitem.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/justifyitem.hxx>
#include <svx/drawitem.hxx>
#include <editeng/twolinesitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/charhiddenitem.hxx>
#include <editeng/memberids.h>
#include <svx/xgrscit.hxx>
#include <svx/svditer.hxx>
#include <svx/xtable.hxx>
#include <svx/svdview.hxx>
#include <svx/svdpage.hxx>
#include <svx/svxdlg.hxx>
#include <svx/unoprov.hxx>
#include <svx/svxids.hrc>
#include <unotools/charclass.hxx>
#include <svtools/ctrltool.hxx>
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
#include <svl/sharedstringpool.hxx>
#include <comphelper/propmultiplex.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
#include <com/sun/star/style/VerticalAlignment.hpp>
#include <com/sun/star/report/XShape.hpp>
#include <com/sun/star/sdb/XParametersSupplier.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <dlgpage.hxx>
#include <strings.hxx>
#include <core_resource.hxx>
#include <RptObject.hxx>
#include <RptDef.hxx>
#include <strings.hrc>
#include <ReportDefinition.hxx>
#include <RptModel.hxx>
#include <svx/xflbckit.hxx>
#include <svx/xflbmpit.hxx>
#include <svx/xflbmsli.hxx>
#include <svx/xflbmsxy.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflboxy.hxx>
#include <svx/xflbstit.hxx>
#include <svx/xflbtoxy.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xfltrit.hxx>
#include <svx/xflclit.hxx>
#include <svx/xflgrit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xflftrit.hxx>
#include <svx/xsflclit.hxx>
Include dependency graph for UITools.cxx:

Go to the source code of this file.

Namespaces

 rptui
 

Macros

#define ITEMID_FONT   XATTR_FILL_LAST + 1
 
#define ITEMID_FONTHEIGHT   XATTR_FILL_LAST + 2
 
#define ITEMID_LANGUAGE   XATTR_FILL_LAST + 3
 
#define ITEMID_POSTURE   XATTR_FILL_LAST + 4
 
#define ITEMID_WEIGHT   XATTR_FILL_LAST + 5
 
#define ITEMID_SHADOWED   XATTR_FILL_LAST + 6
 
#define ITEMID_WORDLINEMODE   XATTR_FILL_LAST + 7
 
#define ITEMID_CONTOUR   XATTR_FILL_LAST + 8
 
#define ITEMID_CROSSEDOUT   XATTR_FILL_LAST + 9
 
#define ITEMID_UNDERLINE   XATTR_FILL_LAST + 10
 
#define ITEMID_COLOR   XATTR_FILL_LAST + 11
 
#define ITEMID_KERNING   XATTR_FILL_LAST + 12
 
#define ITEMID_CASEMAP   XATTR_FILL_LAST + 13
 
#define ITEMID_ESCAPEMENT   XATTR_FILL_LAST + 14
 
#define ITEMID_FONTLIST   XATTR_FILL_LAST + 15
 
#define ITEMID_AUTOKERN   XATTR_FILL_LAST + 16
 
#define ITEMID_COLOR_TABLE   XATTR_FILL_LAST + 17
 
#define ITEMID_BLINK   XATTR_FILL_LAST + 18
 
#define ITEMID_EMPHASISMARK   XATTR_FILL_LAST + 19
 
#define ITEMID_TWOLINES   XATTR_FILL_LAST + 20
 
#define ITEMID_CHARROTATE   XATTR_FILL_LAST + 21
 
#define ITEMID_CHARSCALE_W   XATTR_FILL_LAST + 22
 
#define ITEMID_CHARRELIEF   XATTR_FILL_LAST + 23
 
#define ITEMID_CHARHIDDEN   XATTR_FILL_LAST + 24
 
#define ITEMID_BRUSH   XATTR_FILL_LAST + 25
 
#define ITEMID_HORJUSTIFY   XATTR_FILL_LAST + 26
 
#define ITEMID_VERJUSTIFY   XATTR_FILL_LAST + 27
 
#define ITEMID_FONT_ASIAN   XATTR_FILL_LAST + 28
 
#define ITEMID_FONTHEIGHT_ASIAN   XATTR_FILL_LAST + 29
 
#define ITEMID_LANGUAGE_ASIAN   XATTR_FILL_LAST + 30
 
#define ITEMID_POSTURE_ASIAN   XATTR_FILL_LAST + 31
 
#define ITEMID_WEIGHT_ASIAN   XATTR_FILL_LAST + 32
 
#define ITEMID_FONT_COMPLEX   XATTR_FILL_LAST + 33
 
#define ITEMID_FONTHEIGHT_COMPLEX   XATTR_FILL_LAST + 34
 
#define ITEMID_LANGUAGE_COMPLEX   XATTR_FILL_LAST + 35
 
#define ITEMID_POSTURE_COMPLEX   XATTR_FILL_LAST + 36
 
#define ITEMID_WEIGHT_COMPLEX   XATTR_FILL_LAST + 37
 
#define WESTERN   0
 
#define ASIAN   1
 
#define COMPLEX   2
 

Functions

void rptui::adjustSectionName (const uno::Reference< report::XGroup > &_xGroup, sal_Int32 _nPos)
 
::rtl::Reference< comphelper::OPropertyChangeMultiplexerrptui::addStyleListener (const uno::Reference< report::XReportDefinition > &_xReportDefinition,::comphelper::OPropertyChangeListener *_pListener)
 
bool rptui::openCharDialog (const uno::Reference< report::XReportControlFormat > &_rxReportControlFormat, const uno::Reference< awt::XWindow > &_rxParentWindow, uno::Sequence< beans::NamedValue > &_out_rNewValues)
 
bool rptui::openAreaDialog (const uno::Reference< report::XShape > &_xShape, const uno::Reference< awt::XWindow > &_rxParentWindow)
 
void rptui::applyCharacterSettings (const uno::Reference< report::XReportControlFormat > &_rxReportControlFormat, const uno::Sequence< beans::NamedValue > &_rSettings)
 
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...
 
static bool rptui::checkArrayForOccurrence (SdrObject const *_pObjToCheck, std::unique_ptr< SdrUnoObj, SdrObjectFreeOp > _pIgnore[], int _nListLength)
 
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...
 
uno::Sequence< OUString > rptui::getParameterNames (const uno::Reference< sdbc::XRowSet > &_rxRowSet)
 
tools::Rectangle rptui::getRectangleFromControl (SdrObject *pControl)
 returns a Rectangle of a given SdrObject More...
 
void rptui::correctOverlapping (SdrObject *pControl, OReportSection const &_aReportSection, bool _bInsert=true)
 ensures that no control overlaps the given one. More...
 
void rptui::setZoomFactor (const Fraction &_aZoom, vcl::Window &_rWindow)
 sets the map mode at the window More...
 
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)
 

Macro Definition Documentation

#define ASIAN   1
#define COMPLEX   2
#define ITEMID_AUTOKERN   XATTR_FILL_LAST + 16

Definition at line 141 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_BLINK   XATTR_FILL_LAST + 18

Definition at line 143 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_BRUSH   XATTR_FILL_LAST + 25

Definition at line 150 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CASEMAP   XATTR_FILL_LAST + 13

Definition at line 137 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CHARHIDDEN   XATTR_FILL_LAST + 24

Definition at line 149 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CHARRELIEF   XATTR_FILL_LAST + 23

Definition at line 148 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CHARROTATE   XATTR_FILL_LAST + 21

Definition at line 146 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CHARSCALE_W   XATTR_FILL_LAST + 22

Definition at line 147 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_COLOR   XATTR_FILL_LAST + 11

Definition at line 135 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_COLOR_TABLE   XATTR_FILL_LAST + 17

Definition at line 142 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CONTOUR   XATTR_FILL_LAST + 8

Definition at line 131 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_CROSSEDOUT   XATTR_FILL_LAST + 9

Definition at line 132 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_EMPHASISMARK   XATTR_FILL_LAST + 19

Definition at line 144 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_ESCAPEMENT   XATTR_FILL_LAST + 14

Definition at line 139 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONT   XATTR_FILL_LAST + 1

Definition at line 123 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONT_ASIAN   XATTR_FILL_LAST + 28

Definition at line 153 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONT_COMPLEX   XATTR_FILL_LAST + 33

Definition at line 158 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONTHEIGHT   XATTR_FILL_LAST + 2

Definition at line 124 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONTHEIGHT_ASIAN   XATTR_FILL_LAST + 29

Definition at line 154 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONTHEIGHT_COMPLEX   XATTR_FILL_LAST + 34

Definition at line 159 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_FONTLIST   XATTR_FILL_LAST + 15

Definition at line 140 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_HORJUSTIFY   XATTR_FILL_LAST + 26

Definition at line 151 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_KERNING   XATTR_FILL_LAST + 12

Definition at line 136 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_LANGUAGE   XATTR_FILL_LAST + 3

Definition at line 125 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_LANGUAGE_ASIAN   XATTR_FILL_LAST + 30

Definition at line 155 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_LANGUAGE_COMPLEX   XATTR_FILL_LAST + 35

Definition at line 160 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_POSTURE   XATTR_FILL_LAST + 4

Definition at line 127 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_POSTURE_ASIAN   XATTR_FILL_LAST + 31

Definition at line 156 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_POSTURE_COMPLEX   XATTR_FILL_LAST + 36

Definition at line 161 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_SHADOWED   XATTR_FILL_LAST + 6

Definition at line 129 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_TWOLINES   XATTR_FILL_LAST + 20

Definition at line 145 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_UNDERLINE   XATTR_FILL_LAST + 10

Definition at line 133 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_VERJUSTIFY   XATTR_FILL_LAST + 27

Definition at line 152 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_WEIGHT   XATTR_FILL_LAST + 5

Definition at line 128 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_WEIGHT_ASIAN   XATTR_FILL_LAST + 32

Definition at line 157 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_WEIGHT_COMPLEX   XATTR_FILL_LAST + 37

Definition at line 162 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define ITEMID_WORDLINEMODE   XATTR_FILL_LAST + 7

Definition at line 130 of file UITools.cxx.

Referenced by rptui::openCharDialog().

#define WESTERN   0

Definition at line 164 of file UITools.cxx.

Referenced by rptui::openCharDialog().