LibreOffice Module reportdesign (master)  1
Macros | Functions
ReportController.cxx File Reference
#include <ReportController.hxx>
#include <ReportDefinition.hxx>
#include <CondFormat.hxx>
#include <UITools.hxx>
#include <AddField.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <DateTime.hxx>
#include <sfx2/filedlghelper.hxx>
#include <tools/diagnose_ex.h>
#include <rptui_slotid.hrc>
#include <reportformula.hxx>
#include <comphelper/documentconstants.hxx>
#include <unotools/mediadescriptor.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/types.hxx>
#include <connectivity/dbtools.hxx>
#include <com/sun/star/style/XStyle.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/util/NumberFormatter.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/report/XImageControl.hpp>
#include <com/sun/star/report/XFixedLine.hpp>
#include <com/sun/star/report/Function.hpp>
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/sdb/XParametersSupplier.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/embed/EmbedMapUnits.hpp>
#include <com/sun/star/awt/FontWeight.hpp>
#include <com/sun/star/awt/FontUnderline.hpp>
#include <com/sun/star/awt/FontSlant.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/status/FontHeight.hpp>
#include <com/sun/star/report/ReportEngine.hpp>
#include <com/sun/star/report/XFormattedField.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
#include <vcl/svapp.hxx>
#include <i18nutil/paper.hxx>
#include <svx/fmview.hxx>
#include <editeng/memberids.h>
#include <svx/svxids.hrc>
#include <svx/svdobj.hxx>
#include <svx/unomid.hxx>
#include <svx/dataaccessdescriptor.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflclit.hxx>
#include <svx/xflgrit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xflftrit.hxx>
#include <svx/xsflclit.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/xfltrit.hxx>
#include <svx/xgrscit.hxx>
#include <editeng/svxenum.hxx>
#include <svx/pageitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/sizeitem.hxx>
#include <sfx2/zoomitem.hxx>
#include <svx/zoomslideritem.hxx>
#include <editeng/brushitem.hxx>
#include <svx/flagsdef.hxx>
#include <svx/svdpagv.hxx>
#include <svx/svxdlg.hxx>
#include <core_resource.hxx>
#include <DesignView.hxx>
#include <RptObject.hxx>
#include <RptUndo.hxx>
#include <strings.hxx>
#include <RptDef.hxx>
#include <ReportSection.hxx>
#include <SectionView.hxx>
#include <UndoActions.hxx>
#include <dlgpage.hxx>
#include <strings.hrc>
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
#include <svtools/cliplistener.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/viewoptions.hxx>
#include <unotools/localedatawrapper.hxx>
#include <osl/mutex.hxx>
#include <PropertyForward.hxx>
#include <SectionWindow.hxx>
#include <toolkit/helper/convert.hxx>
#include <GroupsSorting.hxx>
#include <PageNumber.hxx>
#include <UndoEnv.hxx>
#include <memory>
#include <string_view>
#include <cppuhelper/exc_hlp.hxx>
#include <unotools/confignode.hxx>
#include <ReportControllerObserver.hxx>
Include dependency graph for ReportController.cxx:

Go to the source code of this file.

Macros

#define MAX_ROWS_FOR_PREVIEW   20
 
#define RPTUI_ID_LRSPACE   XATTR_FILL_FIRST - 8
 
#define RPTUI_ID_ULSPACE   XATTR_FILL_FIRST - 7
 
#define RPTUI_ID_PAGE   XATTR_FILL_FIRST - 6
 
#define RPTUI_ID_SIZE   XATTR_FILL_FIRST - 5
 
#define RPTUI_ID_PAGE_MODE   XATTR_FILL_FIRST - 4
 
#define RPTUI_ID_START   XATTR_FILL_FIRST - 3
 
#define RPTUI_ID_END   XATTR_FILL_FIRST - 2
 
#define RPTUI_ID_BRUSH   XATTR_FILL_FIRST - 1
 
#define RPTUI_ID_METRIC   XATTR_FILL_LAST + 1
 
#define PROPERTY_ID_ZOOMVALUE   1
 

Functions

static void lcl_getReportControlFormat (const Sequence< PropertyValue > &aArgs, ODesignView *_pView, uno::Reference< awt::XWindow > &_xWindow,::std::vector< uno::Reference< uno::XInterface > > &_rControlsFormats)
 
 IMPL_LINK (OReportController, OnCreateHdl, OAddFieldWindow &, _rAddFieldDlg, void)
 
static sal_uInt16 lcl_getNonVisibleGroupsBefore (const uno::Reference< report::XGroups > &_xGroups, sal_Int32 _nGroupPos,::std::function< bool(OGroupHelper *)> const &_pGroupMemberFunction)
 
 IMPL_LINK_NOARG (OReportController, OnClipboardChanged, TransferableDataHelper *, void)
 
 IMPL_LINK_NOARG (OReportController, OnExecuteReport, void *, void)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_OReportController_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Macro Definition Documentation

#define MAX_ROWS_FOR_PREVIEW   20
#define PROPERTY_ID_ZOOMVALUE   1
#define RPTUI_ID_BRUSH   XATTR_FILL_FIRST - 1

Definition at line 151 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_END   XATTR_FILL_FIRST - 2

Definition at line 150 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_LRSPACE   XATTR_FILL_FIRST - 8

Definition at line 144 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_METRIC   XATTR_FILL_LAST + 1

Definition at line 152 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_PAGE   XATTR_FILL_FIRST - 6

Definition at line 146 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_PAGE_MODE   XATTR_FILL_FIRST - 4

Definition at line 148 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_SIZE   XATTR_FILL_FIRST - 5

Definition at line 147 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_START   XATTR_FILL_FIRST - 3

Definition at line 149 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

#define RPTUI_ID_ULSPACE   XATTR_FILL_FIRST - 7

Definition at line 145 of file ReportController.cxx.

Referenced by rptui::OReportController::openPageDialog().

Function Documentation

IMPL_LINK ( OReportController  ,
OnCreateHdl  ,
OAddFieldWindow &  ,
_rAddFieldDlg  ,
void   
)

Definition at line 1732 of file ReportController.cxx.

IMPL_LINK_NOARG ( OReportController  ,
OnClipboardChanged  ,
TransferableDataHelper ,
void   
)

Definition at line 2313 of file ReportController.cxx.

IMPL_LINK_NOARG ( OReportController  ,
OnExecuteReport  ,
void ,
void   
)

Definition at line 3097 of file ReportController.cxx.

static sal_uInt16 lcl_getNonVisibleGroupsBefore ( const uno::Reference< report::XGroups > &  _xGroups,
sal_Int32  _nGroupPos,
::std::function< bool(OGroupHelper *)> const &  _pGroupMemberFunction 
)
static

Definition at line 2252 of file ReportController.cxx.

References i, and nCount.

Referenced by rptui::OReportController::groupChange().

static void lcl_getReportControlFormat ( const Sequence< PropertyValue > &  aArgs,
ODesignView *  _pView,
uno::Reference< awt::XWindow > &  _xWindow,
::std::vector< uno::Reference< uno::XInterface > > &  _rControlsFormats 
)
static
SAL_DLLPUBLIC_EXPORT css::uno::XInterface* reportdesign_OReportController_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 4373 of file ReportController.cxx.