36#include <com/sun/star/drawing/XShape.hpp>
37#include <com/sun/star/lang/NoSupportException.hpp>
46#include <unonames.hxx>
63 return aShapeMap_Impl;
70 { SvMacroItemId::NONE,
nullptr }
72 return aMacroDescriptionsImpl;
83 pShapePropertySet(nullptr),
84 pShapePropertyState(nullptr),
101 xShape.set(uno::Reference<drawing::XShape>(
mxShapeAgg, uno::UNO_QUERY ));
127 uno::Any aRet = ScShapeObj_Base::queryInterface( rType );
143 OWeakObject::acquire();
148 OWeakObject::release();
158 uno::Reference<beans::XPropertySet> xProp;
172 uno::Reference<beans::XPropertyState> xState;
179static uno::Reference<lang::XComponent>
lcl_GetComponent(
const uno::Reference<uno::XAggregation>& xAgg )
181 uno::Reference<lang::XComponent> xRet;
187static uno::Reference<text::XText>
lcl_GetText(
const uno::Reference<uno::XAggregation>& xAgg )
189 uno::Reference<text::XText> xRet;
195static uno::Reference<text::XSimpleText>
lcl_GetSimpleText(
const uno::Reference<uno::XAggregation>& xAgg )
197 uno::Reference<text::XSimpleText> xRet;
203static uno::Reference<text::XTextRange>
lcl_GetTextRange(
const uno::Reference<uno::XAggregation>& xAgg )
205 uno::Reference<text::XTextRange> xRet;
224 uno::Reference<beans::XPropertySetInfo> xAggInfo(
pShapePropertySet->getPropertySetInfo());
225 const uno::Sequence<beans::Property> aPropSeq(xAggInfo->getProperties());
238 rNum =
static_cast<SCTAB>(
i);
245static bool lcl_GetCaptionPoint(
const uno::Reference< drawing::XShape >& xShape, awt::Point& rCaptionPoint )
247 bool bReturn =
false;
248 OUString
sType(xShape->getShapeType());
249 bool bCaptionShape(
sType ==
"com.sun.star.drawing.CaptionShape" );
252 uno::Reference < beans::XPropertySet > xShapeProp (xShape, uno::UNO_QUERY);
255 xShapeProp->getPropertyValue(
"CaptionPoint") >>= rCaptionPoint;
263 awt::Point& rUnoPoint, awt::Size& rUnoSize, awt::Point& rCaptionPoint )
266 rUnoPoint = xShape->getPosition();
270 rUnoSize = xShape->getSize();
271 rUnoPoint.X += rUnoSize.Width;
274 if (rCaptionPoint.X > 0 && rCaptionPoint.X > rUnoSize.Width)
275 rUnoPoint.X += rCaptionPoint.X - rUnoSize.Width;
276 if (rCaptionPoint.Y < 0)
277 rUnoPoint.Y += rCaptionPoint.Y;
285 if (rCaptionPoint.X < 0)
286 rUnoPoint.X += rCaptionPoint.X;
287 if (rCaptionPoint.Y < 0)
288 rUnoPoint.Y += rCaptionPoint.Y;
297 awt::Size& rUnoSize, awt::Point& rCaptionPoint)
299 awt::Point aUnoPoint;
300 rRange =
lcl_GetAnchorCell(xShape, pDoc, nTab, aUnoPoint, rUnoSize, rCaptionPoint);
303 aUnoPoint.X -= aPoint.X();
304 aUnoPoint.Y -= aPoint.Y();
314 uno::Reference<sheet::XCellRangeAddressable> xRangeAdd(aValue, uno::UNO_QUERY);
316 throw lang::IllegalArgumentException(
"only XCell or XSpreadsheet objects allowed",
static_cast<cppu::OWeakObject*
>(
this), 0);
331 if (
auto pDocSh =
dynamic_cast<ScDocShell*
>( pObjSh) )
336 table::CellRangeAddress aAddress = xRangeAdd->getRangeAddress();
337 if (nTab == aAddress.Sheet)
340 static_cast<SCCOL>(aAddress.EndColumn),
static_cast<SCROW>(aAddress.EndRow), aAddress.Sheet ));
341 awt::Point aRelPoint;
342 uno::Reference<drawing::XShape> xShape(
mxShapeAgg, uno::UNO_QUERY );
358 awt::Point aCaptionPoint;
360 aRelPoint =
lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint );
361 awt::Point aUnoPoint(aRelPoint);
363 aUnoPoint.X += aPoint.X();
364 aUnoPoint.Y += aPoint.Y();
366 if ( aUnoPoint.Y > aEndPoint.Y() )
367 aUnoPoint.Y = aEndPoint.Y() - 2;
370 if ( aUnoPoint.X < aEndPoint.X() )
371 aUnoPoint.X = aEndPoint.X() + 2;
372 aUnoPoint.X -= aUnoSize.Width;
374 if (aCaptionPoint.X > 0 && aCaptionPoint.X > aUnoSize.Width)
375 aUnoPoint.X -= aCaptionPoint.X - aUnoSize.Width;
379 if ( aUnoPoint.X > aEndPoint.X() )
380 aUnoPoint.X = aEndPoint.X() - 2;
381 if (aCaptionPoint.X < 0)
382 aUnoPoint.X -= aCaptionPoint.X;
384 if (aCaptionPoint.Y < 0)
385 aUnoPoint.Y -= aCaptionPoint.Y;
387 xShape->setPosition(aUnoPoint);
388 pDocSh->SetModified();
391 if (aAddress.StartRow != aAddress.EndRow)
393 OSL_ENSURE(aAddress.StartRow == 0 && aAddress.EndRow == pDoc->
MaxRow() &&
394 aAddress.StartColumn == 0 && aAddress.EndColumn == pDoc->
MaxCol(),
"here should be a XSpreadsheet");
399 OSL_ENSURE(aAddress.StartRow == aAddress.EndRow &&
400 aAddress.StartColumn == aAddress.EndColumn,
"here should be a XCell");
402 aAnchor.
maStart =
ScAddress(aAddress.StartColumn, aAddress.StartRow, aAddress.Sheet);
446 uno::Reference< uno::XInterface > xImageMapInt(aValue, uno::UNO_QUERY);
449 throw lang::IllegalArgumentException();
484 if (
auto pDocSh =
dynamic_cast<ScDocShell*
>( pObjSh) )
486 uno::Reference<drawing::XShape> xShape(
mxShapeAgg, uno::UNO_QUERY );
491 awt::Point aPoint(xShape->getPosition());
492 awt::Size aSize(xShape->getSize());
493 awt::Point aCaptionPoint;
503 if (aCaptionPoint.X > 0 && aCaptionPoint.X > aSize.Width)
504 nPos -= aCaptionPoint.X - aSize.Width;
508 if (aCaptionPoint.X < 0)
509 nPos -= aCaptionPoint.X;
513 xShape->setPosition(aPoint);
514 pDocSh->SetModified();
521 awt::Point aCaptionPoint;
523 awt::Point aUnoPoint(
lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint ));
530 aUnoPoint.X += aPoint.X();
531 if (aUnoPoint.X < aEndPoint.X())
532 aUnoPoint.X = aEndPoint.X() + 2;
533 aUnoPoint.X -= aUnoSize.Width;
534 if (aCaptionPoint.X > 0 && aCaptionPoint.X > aUnoSize.Width)
535 aUnoPoint.X -= aCaptionPoint.X - aUnoSize.Width;
542 aUnoPoint.X += aPoint.X();
543 if (aUnoPoint.X > aEndPoint.X())
544 aUnoPoint.X = aEndPoint.X() - 2;
545 if (aCaptionPoint.X < 0)
546 aUnoPoint.X -= aCaptionPoint.X;
548 aUnoPoint.Y = xShape->getPosition().Y;
549 xShape->setPosition(aUnoPoint);
550 pDocSh->SetModified();
554 OSL_FAIL(
"unknown anchor type");
584 if (
auto pDocSh =
dynamic_cast<ScDocShell*
>( pObjSh) )
586 uno::Reference<drawing::XShape> xShape(
mxShapeAgg, uno::UNO_QUERY );
591 awt::Point aPoint = xShape->getPosition();
592 awt::Point aCaptionPoint;
595 if (aCaptionPoint.Y < 0)
596 nPos -= aCaptionPoint.Y;
599 xShape->setPosition(aPoint);
600 pDocSh->SetModified();
607 awt::Point aCaptionPoint;
609 awt::Point aUnoPoint(
lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint ));
614 aUnoPoint.Y += aPoint.Y();
615 if (aUnoPoint.Y > aEndPoint.Y())
616 aUnoPoint.Y = aEndPoint.Y() - 2;
617 if (aCaptionPoint.Y < 0)
618 aUnoPoint.Y -= aCaptionPoint.Y;
619 aUnoPoint.X = xShape->getPosition().X;
620 xShape->setPosition(aUnoPoint);
621 pDocSh->SetModified();
625 OSL_FAIL(
"unknown anchor type");
640 if (pObj && (aValue >>= sHyperlink))
648 if( aValue >>= aProt )
649 pObj->SetMoveProtect( aProt );
682 if (
auto pDocSh =
dynamic_cast<ScDocShell*
>( pObjSh) )
684 uno::Reference< uno::XInterface > xAnchor;
698 bool bIsResizeWithCell =
false;
705 aAny <<= bIsResizeWithCell;
709 uno::Reference< uno::XInterface > xImageMap;
722 aAny <<= uno::Reference< container::XIndexContainer >::query( xImageMap );
740 uno::Reference<drawing::XShape> xShape(
mxShapeAgg, uno::UNO_QUERY );
747 awt::Point aCaptionPoint;
749 awt::Point aUnoPoint(
lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint ));
752 aAny <<= aUnoPoint.X;
756 awt::Point aCaptionPoint;
757 awt::Point aUnoPoint(xShape->getPosition());
758 awt::Size aUnoSize(xShape->getSize());
762 aUnoPoint.X -= aUnoSize.Width;
768 if (aCaptionPoint.X > 0 && aCaptionPoint.X > aUnoSize.Width)
769 aUnoPoint.X -= aCaptionPoint.X - aUnoSize.Width;
773 if (aCaptionPoint.X < 0)
774 aUnoPoint.X += aCaptionPoint.X;
777 aAny <<= aUnoPoint.X;
801 uno::Reference<drawing::XShape> xShape(
mxShapeAgg, uno::UNO_QUERY );
808 awt::Point aCaptionPoint;
810 awt::Point aUnoPoint(
lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint ));
812 aAny <<= aUnoPoint.Y;
816 awt::Point aUnoPoint(xShape->getPosition());
817 awt::Point aCaptionPoint;
820 if (aCaptionPoint.Y < 0)
821 aUnoPoint.Y += aCaptionPoint.Y;
823 aAny <<= aUnoPoint.Y;
836 sHlink = pObj->getHyperlink();
843 aProt = pObj->IsMoveProtect();
858 const uno::Reference<beans::XPropertyChangeListener>& aListener)
868 const uno::Reference<beans::XPropertyChangeListener>& aListener)
878 const uno::Reference<beans::XVetoableChangeListener>& aListener)
888 const uno::Reference<beans::XVetoableChangeListener>& aListener)
903 beans::PropertyState eRet = beans::PropertyState_DIRECT_VALUE;
931 const uno::Sequence<OUString>& aPropertyNames )
937 uno::Sequence<beans::PropertyState> aRet(aPropertyNames.getLength());
938 std::transform(aPropertyNames.begin(), aPropertyNames.end(), aRet.getArray(),
939 [
this](
const OUString& rName) -> beans::PropertyState { return getPropertyState(rName); });
981 aAny <<= uno::Reference< container::XIndexContainer >::query( xImageMap );
997 throw lang::IllegalArgumentException();
1004 uno::Reference<text::XTextRange> xRet;
1013 if ( pPage && pDoc )
1016 if (
auto pDocSh =
dynamic_cast<ScDocShell*
>( pObjSh) )
1042 if ( xAggComp.is() )
1043 xAggComp->dispose();
1047 const uno::Reference<lang::XEventListener>& xListener )
1052 if ( xAggComp.is() )
1053 xAggComp->addEventListener(xListener);
1057 const uno::Reference<lang::XEventListener>& xListener )
1062 if ( xAggComp.is() )
1063 xAggComp->removeEventListener(xListener);
1069static void lcl_CopyOneProperty( beans::XPropertySet& rDest, beans::XPropertySet& rSource,
const OUString& aNameStr )
1073 rDest.setPropertyValue( aNameStr, rSource.getPropertyValue( aNameStr ) );
1075 catch (uno::Exception&)
1082 const uno::Reference<text::XTextContent>& xContent,
1087 uno::Reference<text::XTextContent> xEffContent;
1097 xEffContent.set(pDrawField);
1103 xEffContent.set(xContent);
1106 if ( xAggText.is() )
1107 xAggText->insertTextContent( xRange, xEffContent, bAbsorb );
1117 if ( xAggText.is() )
1118 xAggText->removeTextContent( xContent );
1137 return uno::Reference<text::XTextCursor>();
1141 const uno::Reference<text::XTextRange>& aTextPosition )
1150 SvxUnoTextRangeBase* pRange = comphelper::getFromUnoTunnel<SvxUnoTextRangeBase>( aTextPosition );
1151 if ( pText && pRange )
1154 pCursor->SetSelection( pRange->GetSelection() );
1159 return uno::Reference<text::XTextCursor>();
1163 const OUString& aString,
sal_Bool bAbsorb )
1168 if ( !xAggSimpleText.is() )
1169 throw uno::RuntimeException();
1171 xAggSimpleText->insertString( xRange, aString, bAbsorb );
1175 sal_Int16 nControlCharacter,
sal_Bool bAbsorb )
1180 if ( !xAggSimpleText.is() )
1181 throw uno::RuntimeException();
1183 xAggSimpleText->insertControlCharacter( xRange, nControlCharacter, bAbsorb );
1199 if ( !xAggTextRange.is() )
1200 throw uno::RuntimeException();
1202 return xAggTextRange->getStart();
1210 if ( !xAggTextRange.is() )
1211 throw uno::RuntimeException();
1213 return xAggTextRange->getEnd();
1221 if ( !xAggTextRange.is() )
1222 throw uno::RuntimeException();
1224 return xAggTextRange->getString();
1232 if ( !xAggTextRange.is() )
1233 throw uno::RuntimeException();
1235 xAggTextRange->setString( aText );
1252 if ( pPage && pDoc )
1255 if (
auto pDocSh =
dynamic_cast<ScDocShell*
>( pObjSh) )
1273 throw lang::NoSupportException();
1280 uno::Sequence< uno::Type > aBaseTypes( ScShapeObj_Base::getTypes() );
1282 uno::Sequence< uno::Type > aTextTypes;
1286 uno::Reference<lang::XTypeProvider> xBaseProvider;
1289 OSL_ENSURE( xBaseProvider.is(),
"ScShapeObj: No XTypeProvider from aggregated shape!" );
1291 uno::Sequence< uno::Type > aAggTypes;
1292 if( xBaseProvider.is() )
1293 aAggTypes = xBaseProvider->getTypes();
1295 return ::comphelper::concatSequences( aBaseTypes, aTextTypes, aAggTypes );
1300 return css::uno::Sequence<sal_Int8>();
1333 throw container::NoSuchElementException();
1334 uno::Sequence< beans::PropertyValue >
aProperties;
1336 bool isEventType =
false;
1337 for(
const beans::PropertyValue& rProperty : std::as_const(
aProperties) )
1347 if ( rProperty.Value >>= sValue )
1350 OSL_ENSURE( pInfo,
"shape macro info could not be created!" );
1362 uno::Sequence< beans::PropertyValue >
aProperties;
1367 throw container::NoSuchElementException();
1370 if ( pInfo && !pInfo->
GetMacro().isEmpty() )
1404::uno::Reference< container::XNameReplace > SAL_CALL
1412 return "com.sun.star.comp.sc.ScShapeObj";
1422 uno::Reference<lang::XServiceInfo> xSI;
1426 uno::Sequence< OUString > aSupported;
1428 aSupported = xSI->getSupportedServiceNames();
1430 aSupported.realloc( aSupported.getLength() + 1 );
1431 aSupported.getArray()[ aSupported.getLength() - 1 ] =
"com.sun.star.sheet.Shape";
1435 aSupported.realloc( aSupported.getLength() + 1 );
1436 aSupported.getArray()[ aSupported.getLength() - 1 ] =
"com.sun.star.sheet.CellAnnotationShape";
PropertiesInfo aProperties
really derive cell from range?
SC_DLLPUBLIC ScRange GetRange(SCTAB nTab, const tools::Rectangle &rMMRect, bool bHiddenAsZero=true) const
SC_DLLPUBLIC SCCOL MaxCol() const
SC_DLLPUBLIC SCROW MaxRow() const
SC_DLLPUBLIC bool IsNegativePage(SCTAB nTab) const
SfxObjectShell * GetDocumentShell() const
SC_DLLPUBLIC tools::Rectangle GetMMRect(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, bool bHiddenAsZero=true) const
static ScDrawObjData * GetObjDataTab(SdrObject *pObj, SCTAB nTab)
static ScDrawObjData * GetObjData(SdrObject *pObj, bool bCreate=false)
static bool IsNoteCaption(SdrObject *pObj)
Returns true, if the passed object is the caption of a cell note.
ScDocument * GetDocument() const
static ScMacroInfo * GetMacroInfo(SdrObject *pObj, bool bCreate=false)
static void SetPageAnchored(SdrObject &)
static ScAnchorType GetAnchorType(const SdrObject &)
static ScDrawObjData * GetNoteCaptionData(SdrObject *pObj, SCTAB nTab)
Returns the object data, if the passed object is a cell note caption.
static void SetCellAnchored(SdrObject &, const ScDrawObjData &rAnchor)
static void UpdateCellAnchorFromPositionEnd(const SdrObject &rObj, ScDrawObjData &rAnchor, const ScDocument &rDoc, SCTAB nTab, bool bUseLogicRect=true)
const OUString & GetMacro() const
void SetMacro(const OUString &rMacro)
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
css::beans::XPropertySet * pShapePropertySet
static const SvEventDescription * GetSupportedMacroItems()
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() override
SdrObject * GetSdrObject() const noexcept
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
ScShapeObj(css::uno::Reference< css::drawing::XShape > &xShape)
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
void GetShapePropertyState()
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &xParent) override
virtual void SAL_CALL release() noexcept override
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > &aTextPosition) override
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
void GetShapePropertySet()
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
friend class ShapeUnoEventAccessImpl
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL insertString(const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
virtual void SAL_CALL removeTextContent(const css::uno::Reference< css::text::XTextContent > &xContent) override
css::uno::Reference< css::beans::XPropertySetInfo > mxPropSetInfo
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL dispose() override
virtual void SAL_CALL insertTextContent(const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual ~ScShapeObj() override
css::beans::XPropertyState * pShapePropertyState
virtual void SAL_CALL insertControlCharacter(const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual OUString SAL_CALL getString() override
virtual void SAL_CALL setString(const OUString &aString) override
css::uno::Reference< css::uno::XAggregation > mxShapeAgg
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
const SdrPage * GetPage(sal_uInt16 nPgNum) const
sal_uInt16 GetPageCount() const
static SdrObject * getSdrObjectFromXShape(const css::uno::Reference< css::uno::XInterface > &xInt)
void AppendUserData(std::unique_ptr< SdrObjUserData > pData)
virtual const tools::Rectangle & GetCurrentBoundRect() const
SdrModel & getSdrModelFromSdrObject() const
SdrPage * getSdrPageFromSdrObject() const
void setHyperlink(const OUString &sHyperlink)
virtual uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual sal_Bool SAL_CALL hasElements() override
virtual uno::Type SAL_CALL getElementType() override
virtual uno::Any SAL_CALL getByName(const OUString &aName) override
ScMacroInfo * getInfo(bool bCreate)
ShapeUnoEventAccessImpl(ScShapeObj *pShape)
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual void SAL_CALL replaceByName(const OUString &aName, const uno::Any &aElement) override
void SetImageMap(const ImageMap &rIMap)
static SvxIMapInfo * GetIMapInfo(const SdrObject *pObject)
const ImageMap & GetImageMap() const
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
css::uno::Type const & get()
inline ::Point VCLPoint(const css::awt::Point &rAWTPoint)
#define TOOLS_WARN_EXCEPTION(area, stream)
Sequence< sal_Int8 > aSeq
css::beans::PropertyValue makePropertyValue(const OUString &rName, T &&rValue)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
static void lcl_CopyOneProperty(beans::XPropertySet &rDest, beans::XPropertySet &rSource, const OUString &aNameStr)
static uno::Reference< text::XTextRange > lcl_GetTextRange(const uno::Reference< uno::XAggregation > &xAgg)
static uno::Reference< text::XSimpleText > lcl_GetSimpleText(const uno::Reference< uno::XAggregation > &xAgg)
constexpr OUStringLiteral SC_EVENTACC_ONCLICK
constexpr OUStringLiteral SC_EVENTACC_EVENTTYPE
static ScRange lcl_GetAnchorCell(const uno::Reference< drawing::XShape > &xShape, const ScDocument *pDoc, SCTAB nTab, awt::Point &rUnoPoint, awt::Size &rUnoSize, awt::Point &rCaptionPoint)
static uno::Reference< lang::XComponent > lcl_GetComponent(const uno::Reference< uno::XAggregation > &xAgg)
static bool lcl_GetCaptionPoint(const uno::Reference< drawing::XShape > &xShape, awt::Point &rCaptionPoint)
static uno::Reference< text::XText > lcl_GetText(const uno::Reference< uno::XAggregation > &xAgg)
constexpr OUStringLiteral SC_EVENTACC_SCRIPT
ScMacroInfo * ScShapeObj_getShapeHyperMacroInfo(const ScShapeObj *pShape, bool bCreate=false)
static awt::Point lcl_GetRelativePos(const uno::Reference< drawing::XShape > &xShape, const ScDocument *pDoc, SCTAB nTab, ScRange &rRange, awt::Size &rUnoSize, awt::Point &rCaptionPoint)
static bool lcl_GetPageNum(const SdrPage *pPage, SdrModel &rModel, SCTAB &rNum)
static o3tl::span< const SfxItemPropertyMapEntry > lcl_GetShapeMap()
SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMap_createInstance()
SVT_DLLPUBLIC bool SvUnoImageMap_fillImageMap(const css::uno::Reference< css::uno::XInterface > &xImageMap, ImageMap &rMap)
constexpr OUStringLiteral SC_UNONAME_HYPERLINK
constexpr OUStringLiteral SC_UNONAME_HORIPOS
constexpr OUStringLiteral SC_UNONAME_MOVEPROTECT
constexpr OUStringLiteral SC_UNONAME_REPR
constexpr OUStringLiteral SC_UNONAME_ANCHOR
constexpr OUStringLiteral SC_UNONAME_VERTPOS
constexpr OUStringLiteral SC_UNONAME_URL
constexpr OUStringLiteral SC_UNONAME_IMAGEMAP
constexpr OUStringLiteral SC_UNONAME_TARGET
constexpr OUStringLiteral SC_UNONAME_RESIZE_WITH_CELL