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 OUString(
"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 OUString(
"com.sun.star.form.component.DatabaseImageControl"),
116 SdrObjKind::ReportDesignImageControl);
118 case SdrObjKind::ReportDesignFormattedField:
122 OUString(
"com.sun.star.form.component.FormattedField"),
123 SdrObjKind::ReportDesignFormattedField);
125 case SdrObjKind::ReportDesignHorizontalFixedLine:
126 case SdrObjKind::ReportDesignVerticalFixedLine:
130 OUString(
"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)
319OObjectBase::~OObjectBase()
324 m_xReportComponent.clear();
327uno::Reference< report::XSection> OObjectBase::getSection()
const
329 uno::Reference< report::XSection> xSection;
337uno::Reference< beans::XPropertySet> OObjectBase::getAwtComponent()
339 return uno::Reference< beans::XPropertySet>();
342void OObjectBase::StartListening()
344 OSL_ENSURE(!isListening(),
"OUnoObject::StartListening: already listening!");
346 if ( !isListening() && m_xReportComponent.is() )
348 m_bIsListening =
true;
350 if ( !m_xPropertyChangeListener.is() )
354 m_xReportComponent->addPropertyChangeListener( OUString() , m_xPropertyChangeListener );
359void OObjectBase::EndListening()
361 OSL_ENSURE(!m_xReportComponent.is() || isListening(),
"OUnoObject::EndListening: not listening currently!");
363 if ( isListening() && m_xReportComponent.is() )
366 if ( m_xPropertyChangeListener.is() )
371 m_xReportComponent->removePropertyChangeListener( OUString() , m_xPropertyChangeListener );
373 catch(
const uno::Exception &)
378 m_xPropertyChangeListener.clear();
380 m_bIsListening =
false;
387 if ( pPage && !_rRect.
IsEmpty() )
389 const uno::Reference<report::XSection>& xSection = pPage->
getSection();
392 if ( xSection.is() && ( newHeight > xSection->getHeight() ) )
393 xSection->setHeight( newHeight );
400void OObjectBase::_propertyChange(
const beans::PropertyChangeEvent& )
404bool OObjectBase::supportsService(
const OUString& _sServiceName )
const
407 Reference< lang::XServiceInfo > xServiceInfo( m_xReportComponent , UNO_QUERY );
409 if ( xServiceInfo.is() )
416uno::Reference< drawing::XShape > OObjectBase::getUnoShapeOf(
SdrObject& _rSdrObject )
418 uno::Reference< drawing::XShape > xShape( _rSdrObject.
getWeakUnoShape() );
422 xShape = _rSdrObject.SdrObject::getUnoShape();
426 m_xKeepShapeAlive = xShape;
430OCustomShape::OCustomShape(
432 const uno::Reference< report::XReportComponent>& _xComponent)
434 ,OObjectBase(_xComponent)
436 setUnoShape( uno::Reference< drawing::XShape >(_xComponent,uno::UNO_QUERY_THROW) );
437 m_bIsListening =
true;
440OCustomShape::OCustomShape(
442 const OUString& _sComponentName)
444 ,OObjectBase(_sComponentName)
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 const OUString& _sComponentName,
551 const OUString& rModelName,
554 ,OObjectBase(_sComponentName)
555 ,m_nObjectType(_nObjectType)
557 ,m_bSetDefaultLabel(false)
559 if ( !rModelName.isEmpty() )
566 ,OObjectBase(rSource.getServiceName())
567 ,m_nObjectType(rSource.m_nObjectType)
569 ,m_bSetDefaultLabel(rSource.m_bSetDefaultLabel)
577 if ( xSource.is() && xDest.is() )
585 const uno::Reference< report::XReportComponent>& _xComponent,
586 const OUString& rModelName,
589 ,OObjectBase(_xComponent)
590 ,m_nObjectType(_nObjectType)
592 ,m_bSetDefaultLabel(false)
594 setUnoShape( uno::Reference< drawing::XShape >( _xComponent, uno::UNO_QUERY_THROW ) );
596 if ( !rModelName.isEmpty() )
610 if ( xFormatted.is() )
613 xModelProps->setPropertyValue(
"TreatAsNumber",
Any(
false ) );
630 return SdrInventor::ReportDesign;
641 if ( m_bIsListening )
644 OObjectBase::EndListening();
646 bool bPositionFixed =
false;
648 if ( m_xReportComponent.is() )
650 bool bUndoMode =
false;
661 int nNewX = m_xReportComponent->getPositionX() + rSize.
Width();
662 m_xReportComponent->setPositionX(nNewX);
663 int nNewY = m_xReportComponent->getPositionY() + rSize.
Height();
664 if (nNewY < 0 && !bUndoMode)
667 bPositionFixed =
true;
670 m_xReportComponent->setPositionY(nNewY);
680 OObjectBase::StartListening();
692 OObjectBase::EndListening();
698 OObjectBase::StartListening();
705 OObjectBase::EndListening();
708 SetPropsFromRect(rRect);
711 OObjectBase::StartListening();
732 OUString aDefaultName =
"HERE WE HAVE TO INSERT OUR NAME!";
755 OObjectBase::_propertyChange(evt);
762 if ( xControlModel.is() )
764 OObjectBase::EndListening();
769 catch(uno::Exception&)
772 OObjectBase::StartListening();
778 if ( xControlModel.is() && xControlModel->getPropertySetInfo()->hasPropertyByName(
PROPERTY_NAME) )
782 evt.OldValue >>= aOldName;
786 evt.NewValue >>= aNewName;
788 if ( aNewName != aOldName )
791 OObjectBase::EndListening();
792 if ( m_xMediator.is() )
793 m_xMediator->stopListening();
796 xControlModel->setPropertyValue(
PROPERTY_NAME, evt.NewValue );
798 catch(uno::Exception&)
801 if ( m_xMediator.is() )
802 m_xMediator->startListening();
803 OObjectBase::StartListening();
811 if ( m_xMediator.is() )
816 if(!m_xReportComponent.is())
820 m_xReportComponent.set(
getUnoShape(),uno::UNO_QUERY);
837 m_xReportComponent->setPropertyValue(
842 catch(
const uno::Exception&)
848 if(!m_xMediator.is() && m_xReportComponent.is())
852 if(xControlModel.is())
862 OObjectBase::StartListening();
873 return OObjectBase::getUnoShapeOf( *
this );
890 const uno::Reference< report::XReportComponent>& _xComponent,
893 ,OObjectBase(_xComponent)
897 setUnoShape( uno::Reference< drawing::XShape >( _xComponent, uno::UNO_QUERY_THROW ) );
898 m_bIsListening =
true;
903 const OUString& _sComponentName,
906 ,OObjectBase(_sComponentName)
910 m_bIsListening =
true;
913static uno::Reference< chart2::data::XDatabaseDataProvider >
lcl_getDataProvider(
const uno::Reference < embed::XEmbeddedObject >& _xObj);
917 ,OObjectBase(rSource.getServiceName())
918 ,m_nType(rSource.m_nType)
919 ,m_bOnlyOnce(rSource.m_bOnlyOnce)
921 m_bIsListening =
true;
929 if ( xSource.is() && xDest.is() )
946 return SdrInventor::ReportDesign;
957 if ( m_bIsListening )
960 OObjectBase::EndListening();
962 bool bPositionFixed =
false;
964 if ( m_xReportComponent.is() )
966 bool bUndoMode =
false;
977 int nNewX = m_xReportComponent->getPositionX() + rSize.
Width();
983 m_xReportComponent->setPositionX(nNewX);
984 int nNewY = m_xReportComponent->getPositionY() + rSize.
Height();
985 if (nNewY < 0 && !bUndoMode)
988 bPositionFixed =
true;
991 m_xReportComponent->setPositionY(nNewY);
1001 OObjectBase::StartListening();
1013 OObjectBase::EndListening();
1019 OObjectBase::StartListening();
1026 OObjectBase::EndListening();
1029 SetPropsFromRect(rRect);
1032 OObjectBase::StartListening();
1044 if ( !m_xReportComponent.is() )
1045 m_xReportComponent.set(
getUnoShape(),uno::UNO_QUERY);
1056 return m_xReportComponent;
1062 uno::Reference< drawing::XShape> xShape = OObjectBase::getUnoShapeOf( *
this );
1063 if ( !m_xReportComponent.is() )
1067 m_xReportComponent.set(xShape,uno::UNO_QUERY);
1076 m_xReportComponent.clear();
1080static uno::Reference< chart2::data::XDatabaseDataProvider >
lcl_getDataProvider(
const uno::Reference < embed::XEmbeddedObject >& _xObj)
1082 uno::Reference< chart2::data::XDatabaseDataProvider > xSource;
1083 uno::Reference< embed::XComponentSupplier > xCompSupp(_xObj);
1086 uno::Reference< chart2::XChartDocument> xChartDoc( xCompSupp->getComponent(), uno::UNO_QUERY );
1087 if ( xChartDoc.is() )
1089 xSource.set(xChartDoc->getDataProvider(),uno::UNO_QUERY);
1098 return new OOle2Obj(rTargetModel, *
this);
1105 uno::Reference < embed::XEmbeddedObject > xObj =
GetObjRef();
1106 uno::Reference< chart2::data::XDataReceiver > xReceiver;
1107 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj );
1109 xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY );
1110 OSL_ASSERT( xReceiver.is());
1111 if( xReceiver.is() )
1113 uno::Reference< lang::XMultiServiceFactory> xFac(_xModel,uno::UNO_QUERY);
1114 uno::Reference< chart2::data::XDatabaseDataProvider > xDataProvider( xFac->createInstance(
"com.sun.star.chart2.data.DataProvider"),uno::UNO_QUERY);
1115 xReceiver->attachDataProvider( xDataProvider );
1118 catch(
const uno::Exception &)
1129 uno::Reference < embed::XEmbeddedObject > xObj =
GetObjRef();
1133 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj );
1134 if( xCompSupp.is() )
1136 uno::Reference< beans::XPropertySet > xChartProps( xCompSupp->getComponent(), uno::UNO_QUERY );
1137 if ( xChartProps.is() )
1138 xChartProps->setPropertyValue(
"NullDate",
1139 uno::Any(util::DateTime(0,0,0,0,30,12,1899,
false)));
1145 uno::Reference < embed::XEmbeddedObject > xObj =
GetObjRef();
1146 uno::Reference< chart2::data::XDataReceiver > xReceiver;
1147 uno::Reference< embed::XComponentSupplier > xCompSupp( xObj );
1149 xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY );
1150 OSL_ASSERT( xReceiver.is());
1151 if( !xReceiver.is() )
1155 uno::Reference< frame::XModel > xChartModel( xReceiver, uno::UNO_QUERY );
1156 if( xChartModel.is() )
1157 xChartModel->lockControllers();
1166 aArgs.
put(
"CellRangeRepresentation",
uno::Any( OUString(
"all" ) ) );
1168 aArgs.
put(
"FirstCellAsLabel",
uno::Any(
true ) );
1169 aArgs.
put(
"DataRowSource",
uno::Any( chart::ChartDataRowSource_COLUMNS ) );
1172 if( xChartModel.is() )
1173 xChartModel->unlockControllers();
1176uno::Reference< style::XStyle>
getUsedStyle(
const uno::Reference< report::XReportDefinition>& _xReport)
1178 uno::Reference<container::XNameAccess> xStyles = _xReport->getStyleFamilies();
1179 uno::Reference<container::XNameAccess> xPageStyles(xStyles->getByName(
"PageStyles"),uno::UNO_QUERY);
1181 uno::Reference< style::XStyle> xReturn;
1182 const uno::Sequence< OUString>
aSeq = xPageStyles->getElementNames();
1183 for(
const OUString& rName :
aSeq)
1185 uno::Reference< style::XStyle> xStyle(xPageStyles->getByName(rName),uno::UNO_QUERY);
1186 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()
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
OUnoObject(SdrModel &rSdrModel, const OUString &_sComponentName, const OUString &rModelName, SdrObjKind _nObjectType)
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)
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