30#include <com/sun/star/style/XStyle.hpp>
31#include <com/sun/star/awt/TextAlign.hpp>
32#include <com/sun/star/beans/XPropertySet.hpp>
33#include <com/sun/star/embed/XComponentSupplier.hpp>
34#include <com/sun/star/embed/XEmbeddedObject.hpp>
35#include <com/sun/star/lang/XServiceInfo.hpp>
36#include <com/sun/star/report/XFixedLine.hpp>
37#include <com/sun/star/chart/ChartDataRowSource.hpp>
38#include <com/sun/star/chart2/data/XDataReceiver.hpp>
39#include <com/sun/star/chart2/data/XDatabaseDataProvider.hpp>
40#include <com/sun/star/chart2/XChartDocument.hpp>
41#include <com/sun/star/style/ParagraphAdjust.hpp>
42#include <com/sun/star/report/XFormattedField.hpp>
48#include <PropertyForward.hxx>
59using namespace container;
60using namespace report;
62SdrObjKind OObjectBase::getObjectType(
const uno::Reference< report::XReportComponent>& _xComponent)
64 uno::Reference< lang::XServiceInfo > xServiceInfo( _xComponent , uno::UNO_QUERY );
65 OSL_ENSURE(xServiceInfo.is(),
"Who deletes the XServiceInfo interface!");
67 return SdrObjKind::NONE;
70 return SdrObjKind::ReportDesignFixedText;
73 uno::Reference< report::XFixedLine> xFixedLine(_xComponent,uno::UNO_QUERY);
74 return xFixedLine->getOrientation() ? SdrObjKind::ReportDesignHorizontalFixedLine : SdrObjKind::ReportDesignVerticalFixedLine;
77 return SdrObjKind::ReportDesignImageControl;
79 return SdrObjKind::ReportDesignFormattedField;
80 if ( xServiceInfo->supportsService(
"com.sun.star.drawing.OLE2Shape") )
81 return SdrObjKind::OLE2;
83 return SdrObjKind::CustomShape;
85 return SdrObjKind::ReportDesignSubReport;
86 return SdrObjKind::OLE2;
91 const uno::Reference< report::XReportComponent>& _xComponent)
97 case SdrObjKind::ReportDesignFixedText:
102 "com.sun.star.form.component.FixedText",
103 SdrObjKind::ReportDesignFixedText);
106 uno::Reference<beans::XPropertySet> xControlModel(pUnoObj->GetUnoControlModel(),uno::UNO_QUERY);
107 if ( xControlModel.is() )
111 case SdrObjKind::ReportDesignImageControl:
115 "com.sun.star.form.component.DatabaseImageControl",
116 SdrObjKind::ReportDesignImageControl);
118 case SdrObjKind::ReportDesignFormattedField:
122 "com.sun.star.form.component.FormattedField",
123 SdrObjKind::ReportDesignFormattedField);
125 case SdrObjKind::ReportDesignHorizontalFixedLine:
126 case SdrObjKind::ReportDesignVerticalFixedLine:
130 "com.sun.star.awt.UnoControlFixedLineModel",
133 case SdrObjKind::CustomShape:
139 bool bOpaque =
false;
143 catch(
const uno::Exception&)
148 case SdrObjKind::ReportDesignSubReport:
149 case SdrObjKind::OLE2:
156 OSL_FAIL(
"Unknown object id");
161 pNewObj->SetDoNotInsertIntoPageAutomatically(
true );
171 virtual css::uno::Any operator() (
const OUString& _sPropertyName,
const css::uno::Any& lhs)
const override
176 sal_Int16 nTextAlign = 0;
178 style::ParagraphAdjust eAdjust;
181 case awt::TextAlign::LEFT:
182 eAdjust = style::ParagraphAdjust_LEFT;
184 case awt::TextAlign::CENTER:
185 eAdjust = style::ParagraphAdjust_CENTER;
187 case awt::TextAlign::RIGHT:
188 eAdjust = style::ParagraphAdjust_RIGHT;
191 OSL_FAIL(
"Illegal text alignment value!");
198 sal_Int16 nTextAlign = 0;
199 sal_Int16 eParagraphAdjust = 0;
200 lhs >>= eParagraphAdjust;
201 switch(
static_cast<style::ParagraphAdjust
>(eParagraphAdjust))
203 case style::ParagraphAdjust_LEFT:
204 case style::ParagraphAdjust_BLOCK:
205 nTextAlign = awt::TextAlign::LEFT;
207 case style::ParagraphAdjust_CENTER:
208 nTextAlign = awt::TextAlign::CENTER;
210 case style::ParagraphAdjust_RIGHT:
211 nTextAlign = awt::TextAlign::RIGHT;
214 OSL_FAIL(
"Illegal text alignment value!");
228 case SdrObjKind::ReportDesignImageControl:
232 auto aNoConverter = std::make_shared<AnyConverter>();
242 case SdrObjKind::ReportDesignFixedText:
246 auto aNoConverter = std::make_shared<AnyConverter>();
258 auto aParaAdjust = std::make_shared<ParaAdjust>();
264 case SdrObjKind::ReportDesignFormattedField:
268 auto aNoConverter = std::make_shared<AnyConverter>();
279 auto aParaAdjust = std::make_shared<ParaAdjust>();
286 case SdrObjKind::CustomShape:
290 auto aNoConverter = std::make_shared<AnyConverter>();
303 return s_aEmptyNameMap;
307OObjectBase::OObjectBase(
const uno::Reference< report::XReportComponent>& _xComponent)
308:m_bIsListening(false)
310 m_xReportComponent = _xComponent;
313OObjectBase::OObjectBase(OUString _sComponentName)
314:m_sComponentName(
std::move(_sComponentName))
315,m_bIsListening(false)
317 assert(!m_sComponentName.isEmpty());
320OObjectBase::~OObjectBase()
325 m_xReportComponent.clear();
328uno::Reference< report::XSection> OObjectBase::getSection()
const
330 uno::Reference< report::XSection> xSection;
338uno::Reference< beans::XPropertySet> OObjectBase::getAwtComponent()
340 return uno::Reference< beans::XPropertySet>();
343void OObjectBase::StartListening()
345 OSL_ENSURE(!isListening(),
"OUnoObject::StartListening: already listening!");
347 if ( !isListening() && m_xReportComponent.is() )
349 m_bIsListening =
true;
351 if ( !m_xPropertyChangeListener.is() )
355 m_xReportComponent->addPropertyChangeListener( OUString() , m_xPropertyChangeListener );
360void OObjectBase::EndListening()
362 OSL_ENSURE(!m_xReportComponent.is() || isListening(),
"OUnoObject::EndListening: not listening currently!");
364 if ( isListening() && m_xReportComponent.is() )
367 if ( m_xPropertyChangeListener.is() )
372 m_xReportComponent->removePropertyChangeListener( OUString() , m_xPropertyChangeListener );
374 catch(
const uno::Exception &)
379 m_xPropertyChangeListener.clear();
381 m_bIsListening =
false;
388 if ( pPage && !_rRect.
IsEmpty() )
390 const uno::Reference<report::XSection>& xSection = pPage->
getSection();
393 if ( xSection.is() && ( newHeight > xSection->getHeight() ) )
394 xSection->setHeight( newHeight );
401void OObjectBase::_propertyChange(
const beans::PropertyChangeEvent& )
405bool OObjectBase::supportsService(
const OUString& _sServiceName )
const
408 Reference< lang::XServiceInfo > xServiceInfo( m_xReportComponent , UNO_QUERY );
410 if ( xServiceInfo.is() )
417uno::Reference< drawing::XShape > OObjectBase::getUnoShapeOf(
SdrObject& _rSdrObject )
419 uno::Reference< drawing::XShape > xShape( _rSdrObject.
getWeakUnoShape() );
423 xShape = _rSdrObject.SdrObject::getUnoShape();
427 m_xKeepShapeAlive = xShape;
431OCustomShape::OCustomShape(
433 const uno::Reference< report::XReportComponent>& _xComponent)
435 ,OObjectBase(_xComponent)
437 setUnoShape( uno::Reference< drawing::XShape >(_xComponent,uno::UNO_QUERY_THROW) );
438 m_bIsListening =
true;
441OCustomShape::OCustomShape(
446 m_bIsListening =
true;
456 return SdrObjKind::CustomShape;
461 return SdrInventor::ReportDesign;
471 if ( m_bIsListening )
473 m_bIsListening =
false;
475 if ( m_xReportComponent.is() )
479 m_xReportComponent->setPositionX(m_xReportComponent->getPositionX() + rSize.
Width());
480 m_xReportComponent->setPositionY(m_xReportComponent->getPositionY() + rSize.
Height());
486 m_bIsListening =
true;
502 SetPropsFromRect(rRect);
513 if ( !m_xReportComponent.is() )
514 m_xReportComponent.set(
getUnoShape(),uno::UNO_QUERY);
525 return m_xReportComponent;
531 uno::Reference<drawing::XShape> xShape = OObjectBase::getUnoShapeOf( *
this );
532 if ( !m_xReportComponent.is() )
536 m_xReportComponent.set(xShape,uno::UNO_QUERY);
545 m_xReportComponent.clear();
550 switch (_nObjectType)
552 case SdrObjKind::ReportDesignFixedText:
554 case SdrObjKind::ReportDesignImageControl:
556 case SdrObjKind::ReportDesignFormattedField:
558 case SdrObjKind::ReportDesignVerticalFixedLine:
559 case SdrObjKind::ReportDesignHorizontalFixedLine:
561 case SdrObjKind::CustomShape:
563 case SdrObjKind::ReportDesignSubReport:
565 case SdrObjKind::OLE2:
566 return "com.sun.star.chart2.ChartDocument";
570 assert(
false &&
"Unknown object id");
575 const OUString& rModelName,
579 ,m_nObjectType(_nObjectType)
581 ,m_bSetDefaultLabel(false)
583 if ( !rModelName.isEmpty() )
591 ,m_nObjectType(rSource.m_nObjectType)
593 ,m_bSetDefaultLabel(rSource.m_bSetDefaultLabel)
601 if ( xSource.is() && xDest.is() )
609 const uno::Reference< report::XReportComponent>& _xComponent,
610 const OUString& rModelName,
613 ,OObjectBase(_xComponent)
614 ,m_nObjectType(_nObjectType)
616 ,m_bSetDefaultLabel(false)
618 setUnoShape( uno::Reference< drawing::XShape >( _xComponent, uno::UNO_QUERY_THROW ) );
620 if ( !rModelName.isEmpty() )
634 if ( xFormatted.is() )
637 xModelProps->setPropertyValue(
"TreatAsNumber",
Any(
false ) );
654 return SdrInventor::ReportDesign;
665 if ( m_bIsListening )
668 OObjectBase::EndListening();
670 bool bPositionFixed =
false;
672 if ( m_xReportComponent.is() )
674 bool bUndoMode =
false;
685 int nNewX = m_xReportComponent->getPositionX() + rSize.
Width();
686 m_xReportComponent->setPositionX(nNewX);
687 int nNewY = m_xReportComponent->getPositionY() + rSize.
Height();
688 if (nNewY < 0 && !bUndoMode)
691 bPositionFixed =
true;
694 m_xReportComponent->setPositionY(nNewY);
704 OObjectBase::StartListening();
716 OObjectBase::EndListening();
722 OObjectBase::StartListening();
729 OObjectBase::EndListening();
732 SetPropsFromRect(rRect);
735 OObjectBase::StartListening();
756 OUString aDefaultName =
"HERE WE HAVE TO INSERT OUR NAME!";
779 OObjectBase::_propertyChange(evt);
786 if ( xControlModel.is() )
788 OObjectBase::EndListening();
793 catch(uno::Exception&)
796 OObjectBase::StartListening();
802 if ( xControlModel.is() && xControlModel->getPropertySetInfo()->hasPropertyByName(
PROPERTY_NAME) )
806 evt.OldValue >>= aOldName;
810 evt.NewValue >>= aNewName;
812 if ( aNewName != aOldName )
815 OObjectBase::EndListening();
816 if ( m_xMediator.is() )
817 m_xMediator->stopListening();
820 xControlModel->setPropertyValue(
PROPERTY_NAME, evt.NewValue );
822 catch(uno::Exception&)
825 if ( m_xMediator.is() )
826 m_xMediator->startListening();
827 OObjectBase::StartListening();
835 if ( m_xMediator.is() )
840 if(!m_xReportComponent.is())
844 m_xReportComponent.set(
getUnoShape(),uno::UNO_QUERY);
861 m_xReportComponent->setPropertyValue(
866 catch(
const uno::Exception&)
872 if(!m_xMediator.is() && m_xReportComponent.is())
876 if(xControlModel.is())
886 OObjectBase::StartListening();
897 return OObjectBase::getUnoShapeOf( *
this );
914 const uno::Reference< report::XReportComponent>& _xComponent,
917 ,OObjectBase(_xComponent)
921 setUnoShape( uno::Reference< drawing::XShape >( _xComponent, uno::UNO_QUERY_THROW ) );
922 m_bIsListening =
true;
933 m_bIsListening =
true;
936static uno::Reference< chart2::data::XDatabaseDataProvider >
lcl_getDataProvider(
const uno::Reference < embed::XEmbeddedObject >& _xObj);
940 ,OObjectBase(rSource.getServiceName())
941 ,m_nType(rSource.m_nType)
942 ,m_bOnlyOnce(rSource.m_bOnlyOnce)
944 m_bIsListening =
true;
952 if ( xSource.is() && xDest.is() )
969 return SdrInventor::ReportDesign;
980 if ( m_bIsListening )
983 OObjectBase::EndListening();
985 bool bPositionFixed =
false;
987 if ( m_xReportComponent.is() )
989 bool bUndoMode =
false;
1000 int nNewX = m_xReportComponent->getPositionX() + rSize.
Width();
1006 m_xReportComponent->setPositionX(nNewX);
1007 int nNewY = m_xReportComponent->getPositionY() + rSize.
Height();
1008 if (nNewY < 0 && !bUndoMode)
1011 bPositionFixed =
true;
1014 m_xReportComponent->setPositionY(nNewY);
1024 OObjectBase::StartListening();
1036 OObjectBase::EndListening();
1042 OObjectBase::StartListening();
1049 OObjectBase::EndListening();
1052 SetPropsFromRect(rRect);
1055 OObjectBase::StartListening();
1067 if ( !m_xReportComponent.is() )
1068 m_xReportComponent.set(
getUnoShape(),uno::UNO_QUERY);
1079 return m_xReportComponent;
1085 uno::Reference< drawing::XShape> xShape = OObjectBase::getUnoShapeOf( *
this );
1086 if ( !m_xReportComponent.is() )
1090 m_xReportComponent.set(xShape,uno::UNO_QUERY);
1099 m_xReportComponent.clear();
1103static uno::Reference< chart2::data::XDatabaseDataProvider >
lcl_getDataProvider(
const uno::Reference < embed::XEmbeddedObject >& _xObj)
1105 uno::Reference< chart2::data::XDatabaseDataProvider > xSource;
1106 uno::Reference< embed::XComponentSupplier > xCompSupp(_xObj);
1109 uno::Reference< chart2::XChartDocument> xChartDoc( xCompSupp->getComponent(), uno::UNO_QUERY );
1110 if ( xChartDoc.is() )
1112 xSource.set(xChartDoc->getDataProvider(),uno::UNO_QUERY);
1121 return new OOle2Obj(rTargetModel, *
this);
1128 uno::Reference < embed::XEmbeddedObject > xObj =
GetObjRef();
1129 uno::Reference< chart2::data::XDataReceiver > xReceiver;
1130 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj );
1132 xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY );
1133 OSL_ASSERT( xReceiver.is());
1134 if( xReceiver.is() )
1136 uno::Reference< lang::XMultiServiceFactory> xFac(_xModel,uno::UNO_QUERY);
1137 uno::Reference< chart2::data::XDatabaseDataProvider > xDataProvider( xFac->createInstance(
"com.sun.star.chart2.data.DataProvider"),uno::UNO_QUERY);
1138 xReceiver->attachDataProvider( xDataProvider );
1141 catch(
const uno::Exception &)
1152 uno::Reference < embed::XEmbeddedObject > xObj =
GetObjRef();
1156 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj );
1157 if( xCompSupp.is() )
1159 uno::Reference< beans::XPropertySet > xChartProps( xCompSupp->getComponent(), uno::UNO_QUERY );
1160 if ( xChartProps.is() )
1161 xChartProps->setPropertyValue(
"NullDate",
1162 uno::Any(util::DateTime(0,0,0,0,30,12,1899,
false)));
1168 uno::Reference < embed::XEmbeddedObject > xObj =
GetObjRef();
1169 uno::Reference< chart2::data::XDataReceiver > xReceiver;
1170 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj );
1172 xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY );
1173 OSL_ASSERT( xReceiver.is());
1174 if( !xReceiver.is() )
1178 uno::Reference< frame::XModel > xChartModel( xReceiver, uno::UNO_QUERY );
1179 if( xChartModel.is() )
1180 xChartModel->lockControllers();
1189 aArgs.
put(
"CellRangeRepresentation",
uno::Any( OUString(
"all" ) ) );
1191 aArgs.
put(
"FirstCellAsLabel",
uno::Any(
true ) );
1192 aArgs.
put(
"DataRowSource",
uno::Any( chart::ChartDataRowSource_COLUMNS ) );
1195 if( xChartModel.is() )
1196 xChartModel->unlockControllers();
1199uno::Reference< style::XStyle>
getUsedStyle(
const uno::Reference< report::XReportDefinition>& _xReport)
1201 uno::Reference<container::XNameAccess> xStyles = _xReport->getStyleFamilies();
1202 uno::Reference<container::XNameAccess> xPageStyles(xStyles->getByName(
"PageStyles"),uno::UNO_QUERY);
1204 uno::Reference< style::XStyle> xReturn;
1205 const uno::Sequence< OUString>
aSeq = xPageStyles->getElementNames();
1206 for(
const OUString& rName :
aSeq)
1208 uno::Reference< style::XStyle> xStyle(xPageStyles->getByName(rName),uno::UNO_QUERY);
1209 if ( xStyle->isInUse() )
virtual const tools::Rectangle & GetSnapRect() const override
void AddUndo(std::unique_ptr< SdrUndoAction > pUndo)
virtual void NbcMove(const Size &rSiz) override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual void setUnoShape(const css::uno::Reference< css::drawing::XShape > &rxUnoShape) override
const css::uno::WeakReference< css::drawing::XShape > & getWeakUnoShape() const
virtual void setUnoShape(const css::uno::Reference< css::drawing::XShape > &_rxUnoShape)
SdrModel & getSdrModelFromSdrObject() const
SdrPage * getSdrPageFromSdrObject() const
css::uno::Reference< css::embed::XEmbeddedObject > const & GetObjRef() const
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual void NbcMove(const Size &rSize) override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual void NbcMove(const Size &rSiz) override
virtual const tools::Rectangle & GetLogicRect() const override
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
const css::uno::Reference< css::awt::XControlModel > & GetUnoControlModel() const
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
const OUString & getUnoControlModelTypeName() const
constexpr tools::Long Height() const
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
bool put(const OUString &_rValueName, const VALUE_TYPE &_rValue)
css::uno::Sequence< css::beans::PropertyValue > getPropertyValues() const
static rtl::Reference< OCustomShape > Create(SdrModel &rSdrModel, const css::uno::Reference< css::report::XReportComponent > &_xComponent)
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
virtual css::uno::Reference< css::beans::XPropertySet > getAwtComponent() override
virtual ~OCustomShape() override
virtual SdrInventor GetObjInventor() const override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual SdrObjKind GetObjIdentifier() const override
virtual void NbcMove(const Size &rSize) override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual SdrPage * GetImplPage() const override
virtual css::uno::Reference< css::drawing::XShape > getUnoShape() override
virtual void setUnoShape(const css::uno::Reference< css::drawing::XShape > &rxUnoShape) override
OOle2Obj(SdrModel &rSdrModel, const css::uno::Reference< css::report::XReportComponent > &_xComponent, SdrObjKind _nType)
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual css::uno::Reference< css::drawing::XShape > getUnoShape() override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual SdrObjKind GetObjIdentifier() const override
virtual ~OOle2Obj() override
virtual void initializeOle() override
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
virtual css::uno::Reference< css::beans::XPropertySet > getAwtComponent() override
virtual void NbcMove(const Size &rSize) override
virtual void setUnoShape(const css::uno::Reference< css::drawing::XShape > &rxUnoShape) override
void initializeChart(const css::uno::Reference< css::frame::XModel > &_xModel)
virtual SdrPage * GetImplPage() const override
void impl_createDataProvider_nothrow(const css::uno::Reference< css::frame::XModel > &_xModel)
virtual SdrInventor GetObjInventor() const override
static rtl::Reference< OOle2Obj > Create(SdrModel &rSdrModel, const css::uno::Reference< css::report::XReportComponent > &_xComponent, SdrObjKind _nType)
OXUndoEnvironment & GetUndoEnv()
css::uno::Reference< css::report::XReportDefinition > getReportDefinition() const
returns the XReportDefinition which the OReportModel belongs to
const css::uno::Reference< css::report::XSection > & getSection() const
virtual void setUnoShape(const css::uno::Reference< css::drawing::XShape > &rxUnoShape) override
virtual ~OUnoObject() override
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
virtual css::uno::Reference< css::drawing::XShape > getUnoShape() override
void impl_initializeModel_nothrow()
OUnoObject(SdrModel &rSdrModel, const OUString &rModelName, SdrObjKind _nObjectType)
virtual SdrInventor GetObjInventor() const override
virtual void NbcMove(const Size &rSize) override
virtual css::uno::Reference< css::beans::XPropertySet > getAwtComponent() override
virtual SdrObjKind GetObjIdentifier() const override
static OUString GetDefaultName(const OUnoObject *_pObj)
virtual void _propertyChange(const css::beans::PropertyChangeEvent &evt) override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
void CreateMediator(bool _bReverse=false)
creates the m_xMediator when it doesn't already exist.
virtual SdrPage * GetImplPage() const override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
Create an object ob OUndoEnvLock locks the undo possibility As long as in the OUndoEnvLock scope,...
void AddElement(const css::uno::Reference< css::uno::XInterface > &Element)
static bool TryRunningState(const css::uno::Reference< css::embed::XEmbeddedObject > &)
#define TOOLS_WARN_EXCEPTION(area, stream)
#define DBG_UNHANDLED_EXCEPTION(...)
Sequence< sal_Int8 > aSeq
void copyProperties(const Reference< XPropertySet > &_rxSource, const Reference< XPropertySet > &_rxDest)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
static OUString ObjectTypeToServiceName(SdrObjKind _nObjectType)
uno::Reference< style::XStyle > getUsedStyle(const uno::Reference< report::XReportDefinition > &_xReport)
std::map< OUString, TPropertyConverter > TPropertyNamePair
constexpr SdrLayerID RPT_LAYER_FRONT(0)
const TPropertyNamePair & getPropertyNameMap(SdrObjKind _nObjectId)
returns the property name map for the given property id
static uno::Reference< chart2::data::XDatabaseDataProvider > lcl_getDataProvider(const uno::Reference< embed::XEmbeddedObject > &_xObj)
constexpr SdrLayerID RPT_LAYER_BACK(1)
::std::pair< OUString, std::shared_ptr< AnyConverter > > TPropertyConverter
SwNodeOffset abs(const SwNodeOffset &a)
constexpr OUStringLiteral PROPERTY_CHARFONTHEIGHT
constexpr OUStringLiteral PROPERTY_LABEL
constexpr OUStringLiteral PROPERTY_NAME
constexpr OUStringLiteral PROPERTY_FONTHEIGHT
constexpr OUStringLiteral PROPERTY_VERTICALALIGN
constexpr OUStringLiteral RID_STR_CLASS_FIXEDTEXT
constexpr OUStringLiteral PROPERTY_CHARCOLOR
constexpr OUStringLiteral RID_STR_CLASS_FORMATTEDFIELD
constexpr OUStringLiteral PROPERTY_BACKGROUNDCOLOR
constexpr OUStringLiteral SERVICE_FIXEDLINE
constexpr OUStringLiteral PROPERTY_CONTROLBORDERCOLOR
constexpr OUStringLiteral PROPERTY_CONTROLBORDER
constexpr OUStringLiteral PROPERTY_ALIGN
constexpr OUStringLiteral SERVICE_IMAGECONTROL
constexpr OUStringLiteral PROPERTY_FONTRELIEF
constexpr OUStringLiteral PROPERTY_CHARUNDERLINECOLOR
constexpr OUStringLiteral SERVICE_FIXEDTEXT
constexpr OUStringLiteral PROPERTY_FONTEMPHASISMARK
constexpr OUStringLiteral SERVICE_FORMATTEDFIELD
constexpr OUStringLiteral PROPERTY_TEXTCOLOR
constexpr OUStringLiteral SERVICE_SHAPE
constexpr OUStringLiteral PROPERTY_PARAADJUST
constexpr OUStringLiteral SERVICE_REPORTDEFINITION
constexpr OUStringLiteral PROPERTY_CHARSTRIKEOUT
constexpr OUStringLiteral PROPERTY_CHARRELIEF
constexpr OUStringLiteral PROPERTY_TEXTLINECOLOR
constexpr OUStringLiteral PROPERTY_FONTSTRIKEOUT
constexpr OUStringLiteral PROPERTY_OPAQUE
constexpr OUStringLiteral PROPERTY_BORDERCOLOR
constexpr OUStringLiteral RID_STR_CLASS_IMAGECONTROL
constexpr OUStringLiteral PROPERTY_BORDER
constexpr OUStringLiteral PROPERTY_MULTILINE
constexpr OUStringLiteral PROPERTY_CONTROLBACKGROUND
constexpr OUStringLiteral PROPERTY_CONTROLTEXTEMPHASISMARK
constexpr OUStringLiteral RID_STR_CLASS_FIXEDLINE