|
LibreOffice Module reportdesign (master) 1
|
#include <sal/config.h>#include <vector>#include <string_view>#include <officecfg/Office/Common.hxx>#include <ReportDefinition.hxx>#include <Functions.hxx>#include <Groups.hxx>#include <ReportComponent.hxx>#include <ReportHelperImpl.hxx>#include <RptDef.hxx>#include <RptModel.hxx>#include <Section.hxx>#include <Tools.hxx>#include <UndoEnv.hxx>#include <strings.hrc>#include <core_resource.hxx>#include <strings.hxx>#include <com/sun/star/beans/PropertyAttribute.hpp>#include <com/sun/star/beans/XMultiPropertyStates.hpp>#include <com/sun/star/chart2/data/DatabaseDataProvider.hpp>#include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp>#include <com/sun/star/document/DocumentProperties.hpp>#include <com/sun/star/document/IndexedPropertyValues.hpp>#include <com/sun/star/document/EventObject.hpp>#include <com/sun/star/document/XEventListener.hpp>#include <com/sun/star/document/XExporter.hpp>#include <com/sun/star/document/XFilter.hpp>#include <com/sun/star/document/XImporter.hpp>#include <com/sun/star/embed/Aspects.hpp>#include <com/sun/star/embed/ElementModes.hpp>#include <com/sun/star/embed/EmbedMapUnits.hpp>#include <com/sun/star/embed/XTransactedObject.hpp>#include <com/sun/star/embed/StorageFactory.hpp>#include <com/sun/star/frame/Desktop.hpp>#include <com/sun/star/io/IOException.hpp>#include <com/sun/star/io/XSeekable.hpp>#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>#include <com/sun/star/lang/XSingleServiceFactory.hpp>#include <com/sun/star/report/GroupKeepTogether.hpp>#include <com/sun/star/report/ReportPrintOption.hpp>#include <com/sun/star/sdb/CommandType.hpp>#include <com/sun/star/style/GraphicLocation.hpp>#include <com/sun/star/style/NumberingType.hpp>#include <com/sun/star/style/PageStyleLayout.hpp>#include <com/sun/star/style/XStyle.hpp>#include <com/sun/star/table/BorderLine2.hpp>#include <com/sun/star/table/ShadowFormat.hpp>#include <com/sun/star/task/InteractionHandler.hpp>#include <com/sun/star/task/XStatusIndicator.hpp>#include <com/sun/star/ui/UIConfigurationManager.hpp>#include <com/sun/star/util/CloseVetoException.hpp>#include <com/sun/star/util/NumberFormatsSupplier.hpp>#include <com/sun/star/xml/AttributeData.hpp>#include <com/sun/star/xml/sax/Writer.hpp>#include <comphelper/broadcasthelper.hxx>#include <comphelper/documentconstants.hxx>#include <comphelper/genericpropertyset.hxx>#include <comphelper/indexedpropertyvalues.hxx>#include <unotools/mediadescriptor.hxx>#include <comphelper/namecontainer.hxx>#include <comphelper/namedvaluecollection.hxx>#include <comphelper/numberedcollection.hxx>#include <comphelper/proparrhlp.hxx>#include <comphelper/propertysetinfo.hxx>#include <comphelper/propertystatecontainer.hxx>#include <comphelper/seqstream.hxx>#include <comphelper/sequence.hxx>#include <comphelper/servicehelper.hxx>#include <comphelper/storagehelper.hxx>#include <comphelper/uno3.hxx>#include <comphelper/interfacecontainer3.hxx>#include <connectivity/CommonTools.hxx>#include <connectivity/dbtools.hxx>#include <cppuhelper/exc_hlp.hxx>#include <cppuhelper/implbase.hxx>#include <cppuhelper/interfacecontainer.h>#include <cppuhelper/supportsservice.hxx>#include <comphelper/types.hxx>#include <dbaccess/dbaundomanager.hxx>#include <editeng/paperinf.hxx>#include <framework/titlehelper.hxx>#include <o3tl/safeint.hxx>#include <svl/itempool.hxx>#include <svl/undo.hxx>#include <svx/svdlayer.hxx>#include <svx/unofill.hxx>#include <svx/xmleohlp.hxx>#include <svx/xmlgrhlp.hxx>#include <comphelper/diagnose_ex.hxx>#include <vcl/svapp.hxx>Go to the source code of this file.
Classes | |
| struct | reportdesign::OReportDefinitionImpl |
Namespaces | |
| namespace | reportdesign |
Typedefs | |
| typedef ::comphelper::OPropertyStateContainer | reportdesign::OStyle_PBASE |
| typedef ::comphelper::OPropertyArrayUsageHelper< OStyle > | reportdesign::OStyle_PABASE |
| typedef ::cppu::WeakImplHelper< style::XStyle, beans::XMultiPropertyStates > | reportdesign::TStyleBASE |
| typedef ::cppu::WeakImplHelper< container::XNameContainer, container::XIndexAccess > | reportdesign::TStylesBASE |
Functions | |
| static void | reportdesign::lcl_setModelReadOnly (const uno::Reference< embed::XStorage > &_xStorage, std::shared_ptr< rptui::OReportModel > const &_rModel) |
| static void | reportdesign::lcl_stripLoadArguments (utl::MediaDescriptor &_rDescriptor, uno::Sequence< beans::PropertyValue > &_rArgs) |
| static void | reportdesign::lcl_extractAndStartStatusIndicator (const utl::MediaDescriptor &_rDescriptor, uno::Reference< task::XStatusIndicator > &_rxStatusIndicator, uno::Sequence< uno::Any > &_rCallArgs) |
Variables | |
| constexpr OUStringLiteral | SC_UNO_PAGE_LEFTBORDER = u"LeftBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_RIGHTBORDER = u"RightBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_BOTTBORDER = u"BottomBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_TOPBORDER = u"TopBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_LEFTBRDDIST = u"LeftBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_RIGHTBRDDIST = u"RightBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_BOTTBRDDIST = u"BottomBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_TOPBRDDIST = u"TopBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_BORDERDIST = u"BorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_SHADOWFORM = u"ShadowFormat" |
| constexpr OUStringLiteral | SC_UNO_PAGE_PAPERTRAY = u"PrinterPaperTray" |
| constexpr OUStringLiteral | SC_UNO_PAGE_SCALEVAL = u"PageScale" |
| constexpr OUStringLiteral | SC_UNO_PAGE_SCALETOPAG = u"ScaleToPages" |
| constexpr OUStringLiteral | SC_UNO_PAGE_SCALETOX = u"ScaleToPagesX" |
| constexpr OUStringLiteral | SC_UNO_PAGE_SCALETOY = u"ScaleToPagesY" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRBACKCOL = u"HeaderBackColor" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRBACKTRAN = u"HeaderBackTransparent" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRGRFFILT = u"HeaderBackGraphicFilter" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRGRFLOC = u"HeaderBackGraphicLocation" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRGRF = u"HeaderBackGraphic" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRLEFTBOR = u"HeaderLeftBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRRIGHTBOR = u"HeaderRightBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRBOTTBOR = u"HeaderBottomBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRTOPBOR = u"HeaderTopBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRLEFTBDIS = u"HeaderLeftBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRRIGHTBDIS = u"HeaderRightBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRBOTTBDIS = u"HeaderBottomBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRTOPBDIS = u"HeaderTopBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRBRDDIST = u"HeaderBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRSHADOW = u"HeaderShadowFormat" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRLEFTMAR = u"HeaderLeftMargin" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRRIGHTMAR = u"HeaderRightMargin" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRBODYDIST = u"HeaderBodyDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRHEIGHT = u"HeaderHeight" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRON = u"HeaderIsOn" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRDYNAMIC = u"HeaderIsDynamicHeight" |
| constexpr OUStringLiteral | SC_UNO_PAGE_HDRSHARED = u"HeaderIsShared" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FIRSTHDRSHARED = u"FirstPageHeaderIsShared" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRBACKCOL = u"FooterBackColor" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRBACKTRAN = u"FooterBackTransparent" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRGRFFILT = u"FooterBackGraphicFilter" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRGRFLOC = u"FooterBackGraphicLocation" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRGRF = u"FooterBackGraphic" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRLEFTBOR = u"FooterLeftBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRRIGHTBOR = u"FooterRightBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRBOTTBOR = u"FooterBottomBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRTOPBOR = u"FooterTopBorder" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRLEFTBDIS = u"FooterLeftBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRRIGHTBDIS = u"FooterRightBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRBOTTBDIS = u"FooterBottomBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRTOPBDIS = u"FooterTopBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRBRDDIST = u"FooterBorderDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRSHADOW = u"FooterShadowFormat" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRLEFTMAR = u"FooterLeftMargin" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRRIGHTMAR = u"FooterRightMargin" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRBODYDIST = u"FooterBodyDistance" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRHEIGHT = u"FooterHeight" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRON = u"FooterIsOn" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRDYNAMIC = u"FooterIsDynamicHeight" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FTRSHARED = u"FooterIsShared" |
| constexpr OUStringLiteral | SC_UNO_PAGE_FIRSTFTRSHARED = u"FirstPageFooterIsShared" |
|
private |
Definition at line 2223 of file ReportDefinition.cxx.
|
private |
Definition at line 2224 of file ReportDefinition.cxx.
|
private |
Definition at line 241 of file ReportDefinition.cxx.
|
private |
Definition at line 2225 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 125 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 119 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 123 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 177 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 154 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 155 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 156 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 172 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 166 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 162 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 168 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 175 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 159 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 157 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 158 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 173 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 164 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 160 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 170 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 174 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 165 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 161 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 171 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 169 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 176 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 167 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 163 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 132 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 133 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 149 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 143 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 139 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 145 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 152 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 136 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 134 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 135 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 150 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 141 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 137 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 147 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 151 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 142 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 138 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 148 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 146 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 153 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 144 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 140 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 117 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 121 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 127 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 118 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 122 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 129 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 130 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 131 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 128 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 126 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 120 of file ReportDefinition.cxx.
|
constexpr |
Definition at line 124 of file ReportDefinition.cxx.