LibreOffice Module reportdesign (master)  1
Classes | Namespaces | Macros | Typedefs | Functions
ReportDefinition.cxx File Reference
#include <sal/config.h>
#include <vector>
#include <string_view>
#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 <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 <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 <cppuhelper/typeprovider.hxx>
#include <comphelper/types.hxx>
#include <dbaccess/dbaundomanager.hxx>
#include <editeng/paperinf.hxx>
#include <framework/titlehelper.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 <tools/diagnose_ex.h>
#include <unotools/saveopt.hxx>
#include <vcl/svapp.hxx>
Include dependency graph for ReportDefinition.cxx:

Go to the source code of this file.

Classes

struct  reportdesign::OReportDefinitionImpl
 

Namespaces

 reportdesign
 

Macros

#define SC_UNO_PAGE_LEFTBORDER   "LeftBorder"
 
#define SC_UNO_PAGE_RIGHTBORDER   "RightBorder"
 
#define SC_UNO_PAGE_BOTTBORDER   "BottomBorder"
 
#define SC_UNO_PAGE_TOPBORDER   "TopBorder"
 
#define SC_UNO_PAGE_LEFTBRDDIST   "LeftBorderDistance"
 
#define SC_UNO_PAGE_RIGHTBRDDIST   "RightBorderDistance"
 
#define SC_UNO_PAGE_BOTTBRDDIST   "BottomBorderDistance"
 
#define SC_UNO_PAGE_TOPBRDDIST   "TopBorderDistance"
 
#define SC_UNO_PAGE_BORDERDIST   "BorderDistance"
 
#define SC_UNO_PAGE_SHADOWFORM   "ShadowFormat"
 
#define SC_UNO_PAGE_PAPERTRAY   "PrinterPaperTray"
 
#define SC_UNO_PAGE_SCALEVAL   "PageScale"
 
#define SC_UNO_PAGE_SCALETOPAG   "ScaleToPages"
 
#define SC_UNO_PAGE_SCALETOX   "ScaleToPagesX"
 
#define SC_UNO_PAGE_SCALETOY   "ScaleToPagesY"
 
#define SC_UNO_PAGE_HDRBACKCOL   "HeaderBackColor"
 
#define SC_UNO_PAGE_HDRBACKTRAN   "HeaderBackTransparent"
 
#define SC_UNO_PAGE_HDRGRFFILT   "HeaderBackGraphicFilter"
 
#define SC_UNO_PAGE_HDRGRFLOC   "HeaderBackGraphicLocation"
 
#define SC_UNO_PAGE_HDRGRF   "HeaderBackGraphic"
 
#define SC_UNO_PAGE_HDRLEFTBOR   "HeaderLeftBorder"
 
#define SC_UNO_PAGE_HDRRIGHTBOR   "HeaderRightBorder"
 
#define SC_UNO_PAGE_HDRBOTTBOR   "HeaderBottomBorder"
 
#define SC_UNO_PAGE_HDRTOPBOR   "HeaderTopBorder"
 
#define SC_UNO_PAGE_HDRLEFTBDIS   "HeaderLeftBorderDistance"
 
#define SC_UNO_PAGE_HDRRIGHTBDIS   "HeaderRightBorderDistance"
 
#define SC_UNO_PAGE_HDRBOTTBDIS   "HeaderBottomBorderDistance"
 
#define SC_UNO_PAGE_HDRTOPBDIS   "HeaderTopBorderDistance"
 
#define SC_UNO_PAGE_HDRBRDDIST   "HeaderBorderDistance"
 
#define SC_UNO_PAGE_HDRSHADOW   "HeaderShadowFormat"
 
#define SC_UNO_PAGE_HDRLEFTMAR   "HeaderLeftMargin"
 
#define SC_UNO_PAGE_HDRRIGHTMAR   "HeaderRightMargin"
 
#define SC_UNO_PAGE_HDRBODYDIST   "HeaderBodyDistance"
 
#define SC_UNO_PAGE_HDRHEIGHT   "HeaderHeight"
 
#define SC_UNO_PAGE_HDRON   "HeaderIsOn"
 
#define SC_UNO_PAGE_HDRDYNAMIC   "HeaderIsDynamicHeight"
 
#define SC_UNO_PAGE_HDRSHARED   "HeaderIsShared"
 
#define SC_UNO_PAGE_FTRBACKCOL   "FooterBackColor"
 
#define SC_UNO_PAGE_FTRBACKTRAN   "FooterBackTransparent"
 
#define SC_UNO_PAGE_FTRGRFFILT   "FooterBackGraphicFilter"
 
#define SC_UNO_PAGE_FTRGRFLOC   "FooterBackGraphicLocation"
 
#define SC_UNO_PAGE_FTRGRF   "FooterBackGraphic"
 
#define SC_UNO_PAGE_FTRLEFTBOR   "FooterLeftBorder"
 
#define SC_UNO_PAGE_FTRRIGHTBOR   "FooterRightBorder"
 
#define SC_UNO_PAGE_FTRBOTTBOR   "FooterBottomBorder"
 
#define SC_UNO_PAGE_FTRTOPBOR   "FooterTopBorder"
 
#define SC_UNO_PAGE_FTRLEFTBDIS   "FooterLeftBorderDistance"
 
#define SC_UNO_PAGE_FTRRIGHTBDIS   "FooterRightBorderDistance"
 
#define SC_UNO_PAGE_FTRBOTTBDIS   "FooterBottomBorderDistance"
 
#define SC_UNO_PAGE_FTRTOPBDIS   "FooterTopBorderDistance"
 
#define SC_UNO_PAGE_FTRBRDDIST   "FooterBorderDistance"
 
#define SC_UNO_PAGE_FTRSHADOW   "FooterShadowFormat"
 
#define SC_UNO_PAGE_FTRLEFTMAR   "FooterLeftMargin"
 
#define SC_UNO_PAGE_FTRRIGHTMAR   "FooterRightMargin"
 
#define SC_UNO_PAGE_FTRBODYDIST   "FooterBodyDistance"
 
#define SC_UNO_PAGE_FTRHEIGHT   "FooterHeight"
 
#define SC_UNO_PAGE_FTRON   "FooterIsOn"
 
#define SC_UNO_PAGE_FTRDYNAMIC   "FooterIsDynamicHeight"
 
#define SC_UNO_PAGE_FTRSHARED   "FooterIsShared"
 

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)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_OReportDefinition_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Macro Definition Documentation

#define SC_UNO_PAGE_BORDERDIST   "BorderDistance"

Definition at line 123 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_BOTTBORDER   "BottomBorder"

Definition at line 117 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_BOTTBRDDIST   "BottomBorderDistance"

Definition at line 121 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRBACKCOL   "FooterBackColor"

Definition at line 152 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRBACKTRAN   "FooterBackTransparent"

Definition at line 153 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRBODYDIST   "FooterBodyDistance"

Definition at line 169 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRBOTTBDIS   "FooterBottomBorderDistance"

Definition at line 163 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRBOTTBOR   "FooterBottomBorder"

Definition at line 159 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRBRDDIST   "FooterBorderDistance"

Definition at line 165 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRDYNAMIC   "FooterIsDynamicHeight"

Definition at line 172 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRGRF   "FooterBackGraphic"

Definition at line 156 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRGRFFILT   "FooterBackGraphicFilter"

Definition at line 154 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRGRFLOC   "FooterBackGraphicLocation"

Definition at line 155 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRHEIGHT   "FooterHeight"

Definition at line 170 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRLEFTBDIS   "FooterLeftBorderDistance"

Definition at line 161 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRLEFTBOR   "FooterLeftBorder"

Definition at line 157 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRLEFTMAR   "FooterLeftMargin"

Definition at line 167 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRON   "FooterIsOn"

Definition at line 171 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRRIGHTBDIS   "FooterRightBorderDistance"

Definition at line 162 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRRIGHTBOR   "FooterRightBorder"

Definition at line 158 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRRIGHTMAR   "FooterRightMargin"

Definition at line 168 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRSHADOW   "FooterShadowFormat"

Definition at line 166 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRSHARED   "FooterIsShared"

Definition at line 173 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRTOPBDIS   "FooterTopBorderDistance"

Definition at line 164 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_FTRTOPBOR   "FooterTopBorder"

Definition at line 160 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRBACKCOL   "HeaderBackColor"

Definition at line 130 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRBACKTRAN   "HeaderBackTransparent"

Definition at line 131 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRBODYDIST   "HeaderBodyDistance"

Definition at line 147 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRBOTTBDIS   "HeaderBottomBorderDistance"

Definition at line 141 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRBOTTBOR   "HeaderBottomBorder"

Definition at line 137 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRBRDDIST   "HeaderBorderDistance"

Definition at line 143 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRDYNAMIC   "HeaderIsDynamicHeight"

Definition at line 150 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRGRF   "HeaderBackGraphic"

Definition at line 134 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRGRFFILT   "HeaderBackGraphicFilter"

Definition at line 132 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRGRFLOC   "HeaderBackGraphicLocation"

Definition at line 133 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRHEIGHT   "HeaderHeight"

Definition at line 148 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRLEFTBDIS   "HeaderLeftBorderDistance"

Definition at line 139 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRLEFTBOR   "HeaderLeftBorder"

Definition at line 135 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRLEFTMAR   "HeaderLeftMargin"

Definition at line 145 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRON   "HeaderIsOn"

Definition at line 149 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRRIGHTBDIS   "HeaderRightBorderDistance"

Definition at line 140 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRRIGHTBOR   "HeaderRightBorder"

Definition at line 136 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRRIGHTMAR   "HeaderRightMargin"

Definition at line 146 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRSHADOW   "HeaderShadowFormat"

Definition at line 144 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRSHARED   "HeaderIsShared"

Definition at line 151 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRTOPBDIS   "HeaderTopBorderDistance"

Definition at line 142 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_HDRTOPBOR   "HeaderTopBorder"

Definition at line 138 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_LEFTBORDER   "LeftBorder"

Definition at line 115 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_LEFTBRDDIST   "LeftBorderDistance"

Definition at line 119 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_PAPERTRAY   "PrinterPaperTray"

Definition at line 125 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_RIGHTBORDER   "RightBorder"

Definition at line 116 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_RIGHTBRDDIST   "RightBorderDistance"

Definition at line 120 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_SCALETOPAG   "ScaleToPages"

Definition at line 127 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_SCALETOX   "ScaleToPagesX"

Definition at line 128 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_SCALETOY   "ScaleToPagesY"

Definition at line 129 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_SCALEVAL   "PageScale"

Definition at line 126 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_SHADOWFORM   "ShadowFormat"

Definition at line 124 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_TOPBORDER   "TopBorder"

Definition at line 118 of file ReportDefinition.cxx.

#define SC_UNO_PAGE_TOPBRDDIST   "TopBorderDistance"

Definition at line 122 of file ReportDefinition.cxx.

Function Documentation

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* reportdesign_OReportDefinition_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 2659 of file ReportDefinition.cxx.

Variable Documentation

TStyleElements m_aElements

Definition at line 2207 of file ReportDefinition.cxx.

::std::vector<TStyleElements::iterator> m_aElementsPos

Definition at line 2208 of file ReportDefinition.cxx.

awt::Size m_aSize

Definition at line 237 of file ReportDefinition.cxx.

uno::Type m_aType

Definition at line 2209 of file ReportDefinition.cxx.