|
LibreOffice Module reportdesign (master) 1
|
#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 <comphelper/diagnose_ex.hxx>#include <rptui_slotid.hrc>#include <reportformula.hxx>#include <comphelper/documentconstants.hxx>#include <unotools/mediadescriptor.hxx>#include <comphelper/propertysequence.hxx>#include <comphelper/propertyvalue.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>Go to the source code of this file.
Macros | |
| #define | MAX_ROWS_FOR_PREVIEW 20 |
| #define | RPTUI_ID_LRSPACE TypedWhichId<SvxLRSpaceItem>(XATTR_FILL_FIRST - 8) |
| #define | RPTUI_ID_ULSPACE TypedWhichId<SvxULSpaceItem>(XATTR_FILL_FIRST - 7) |
| #define | RPTUI_ID_PAGE TypedWhichId<SvxPageItem>(XATTR_FILL_FIRST - 6) |
| #define | RPTUI_ID_SIZE TypedWhichId<SvxSizeItem>(XATTR_FILL_FIRST - 5) |
| #define | RPTUI_ID_PAGE_MODE TypedWhichId<SfxUInt16Item>(XATTR_FILL_FIRST - 4) |
| #define | RPTUI_ID_START TypedWhichId<SfxUInt16Item>(XATTR_FILL_FIRST - 3) |
| #define | RPTUI_ID_END TypedWhichId<SfxUInt16Item>(XATTR_FILL_FIRST - 2) |
| #define | RPTUI_ID_BRUSH TypedWhichId<SvxBrushItem>(XATTR_FILL_FIRST - 1) |
| #define | RPTUI_ID_METRIC TypedWhichId<SfxUInt16Item>(XATTR_FILL_LAST) |
| Note that we deliberately overlap an existing item id, so that we can have contiguous item ids for the static defaults. More... | |
| #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 &) |
| #define MAX_ROWS_FOR_PREVIEW 20 |
Definition at line 143 of file ReportController.cxx.
| #define PROPERTY_ID_ZOOMVALUE 1 |
Definition at line 251 of file ReportController.cxx.
| #define RPTUI_ID_BRUSH TypedWhichId<SvxBrushItem>(XATTR_FILL_FIRST - 1) |
Definition at line 152 of file ReportController.cxx.
| #define RPTUI_ID_END TypedWhichId<SfxUInt16Item>(XATTR_FILL_FIRST - 2) |
Definition at line 151 of file ReportController.cxx.
| #define RPTUI_ID_LRSPACE TypedWhichId<SvxLRSpaceItem>(XATTR_FILL_FIRST - 8) |
Definition at line 145 of file ReportController.cxx.
| #define RPTUI_ID_METRIC TypedWhichId<SfxUInt16Item>(XATTR_FILL_LAST) |
Note that we deliberately overlap an existing item id, so that we can have contiguous item ids for the static defaults.
Definition at line 155 of file ReportController.cxx.
| #define RPTUI_ID_PAGE TypedWhichId<SvxPageItem>(XATTR_FILL_FIRST - 6) |
Definition at line 147 of file ReportController.cxx.
| #define RPTUI_ID_PAGE_MODE TypedWhichId<SfxUInt16Item>(XATTR_FILL_FIRST - 4) |
Definition at line 149 of file ReportController.cxx.
| #define RPTUI_ID_SIZE TypedWhichId<SvxSizeItem>(XATTR_FILL_FIRST - 5) |
Definition at line 148 of file ReportController.cxx.
| #define RPTUI_ID_START TypedWhichId<SfxUInt16Item>(XATTR_FILL_FIRST - 3) |
Definition at line 150 of file ReportController.cxx.
| #define RPTUI_ID_ULSPACE TypedWhichId<SvxULSpaceItem>(XATTR_FILL_FIRST - 7) |
Definition at line 146 of file ReportController.cxx.
| IMPL_LINK | ( | OReportController | , |
| OnCreateHdl | , | ||
| OAddFieldWindow & | , | ||
| _rAddFieldDlg | , | ||
| void | |||
| ) |
Definition at line 1733 of file ReportController.cxx.
| IMPL_LINK_NOARG | ( | OReportController | , |
| OnClipboardChanged | , | ||
| TransferableDataHelper * | , | ||
| void | |||
| ) |
Definition at line 2314 of file ReportController.cxx.
| IMPL_LINK_NOARG | ( | OReportController | , |
| OnExecuteReport | , | ||
| void * | , | ||
| void | |||
| ) |
Definition at line 3088 of file ReportController.cxx.
|
static |
Definition at line 2253 of file ReportController.cxx.
Referenced by rptui::OReportController::groupChange().
|
static |
Definition at line 214 of file ReportController.cxx.
References aMap, CURRENT_WINDOW, VCLUnoHelper::GetInterface(), and REPORTCONTROLFORMAT.
Referenced by rptui::OReportController::Execute(), and rptui::OReportController::impl_setPropertyAtControls_throw().
| SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_OReportController_get_implementation | ( | css::uno::XComponentContext * | context, |
| css::uno::Sequence< css::uno::Any > const & | |||
| ) |
Definition at line 4356 of file ReportController.cxx.