LibreOffice Module sc (master) 1
|
#include <sal/config.h>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/sequence.hxx>
#include <svtools/unoevent.hxx>
#include <svtools/unoimap.hxx>
#include <svx/svdobj.hxx>
#include <svx/ImageMapInfo.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/event.hxx>
#include <editeng/unofield.hxx>
#include <toolkit/helper/convert.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <shapeuno.hxx>
#include <cellsuno.hxx>
#include <textuno.hxx>
#include <fielduno.hxx>
#include <docsh.hxx>
#include <drwlayer.hxx>
#include <userdat.hxx>
#include <unonames.hxx>
#include <styleuno.hxx>
Go to the source code of this file.
Classes | |
class | ShapeUnoEventAccessImpl |
Functions | |
static o3tl::span< const SfxItemPropertyMapEntry > | lcl_GetShapeMap () |
ScMacroInfo * | ScShapeObj_getShapeHyperMacroInfo (const ScShapeObj *pShape, bool bCreate=false) |
static uno::Reference< lang::XComponent > | lcl_GetComponent (const uno::Reference< uno::XAggregation > &xAgg) |
static uno::Reference< text::XText > | lcl_GetText (const uno::Reference< uno::XAggregation > &xAgg) |
static uno::Reference< text::XSimpleText > | lcl_GetSimpleText (const uno::Reference< uno::XAggregation > &xAgg) |
static uno::Reference< text::XTextRange > | lcl_GetTextRange (const uno::Reference< uno::XAggregation > &xAgg) |
static bool | lcl_GetPageNum (const SdrPage *pPage, SdrModel &rModel, SCTAB &rNum) |
static bool | lcl_GetCaptionPoint (const uno::Reference< drawing::XShape > &xShape, awt::Point &rCaptionPoint) |
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 awt::Point | lcl_GetRelativePos (const uno::Reference< drawing::XShape > &xShape, const ScDocument *pDoc, SCTAB nTab, ScRange &rRange, awt::Size &rUnoSize, awt::Point &rCaptionPoint) |
static void | lcl_CopyOneProperty (beans::XPropertySet &rDest, beans::XPropertySet &rSource, const OUString &aNameStr) |
Variables | |
constexpr OUStringLiteral | SC_EVENTACC_ONCLICK = u"OnClick" |
constexpr OUStringLiteral | SC_EVENTACC_SCRIPT = u"Script" |
constexpr OUStringLiteral | SC_EVENTACC_EVENTTYPE = u"EventType" |
|
static |
Definition at line 1102 of file shapeuno.cxx.
References TOOLS_WARN_EXCEPTION.
Referenced by ScShapeObj::insertTextContent().
|
static |
Definition at line 265 of file shapeuno.cxx.
References ScDocument::GetRange(), ScDocument::IsNegativePage(), lcl_GetCaptionPoint(), and VCLPoint().
Referenced by lcl_GetRelativePos().
|
static |
Definition at line 248 of file shapeuno.cxx.
References sType.
Referenced by ScShapeObj::getPropertyValue(), lcl_GetAnchorCell(), and ScShapeObj::setPropertyValue().
|
static |
Definition at line 182 of file shapeuno.cxx.
Referenced by ScShapeObj::addEventListener(), ScShapeObj::dispose(), and ScShapeObj::removeEventListener().
Definition at line 235 of file shapeuno.cxx.
References SdrModel::GetPage(), SdrModel::GetPageCount(), i, and nCount.
Referenced by ScShapeObj::getAnchor(), ScShapeObj::getParent(), ScShapeObj::getPropertyValue(), and ScShapeObj::setPropertyValue().
|
static |
Definition at line 299 of file shapeuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::GetMMRect(), ScDocument::IsNegativePage(), lcl_GetAnchorCell(), ScAddress::Row(), ScAddress::Tab(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Point::X(), and Point::Y().
Referenced by ScShapeObj::getPropertyValue(), and ScShapeObj::setPropertyValue().
|
static |
Definition at line 52 of file shapeuno.cxx.
References cppu::UnoType< typename T >::get(), SC_UNONAME_ANCHOR, SC_UNONAME_HORIPOS, SC_UNONAME_HYPERLINK, SC_UNONAME_IMAGEMAP, SC_UNONAME_MOVEPROTECT, SC_UNONAME_RESIZE_WITH_CELL, SC_UNONAME_STYLE, SC_UNONAME_URL, and SC_UNONAME_VERTPOS.
Referenced by ScShapeObj::getPropertySetInfo().
|
static |
Definition at line 198 of file shapeuno.cxx.
Referenced by ScShapeObj::insertControlCharacter(), and ScShapeObj::insertString().
|
static |
Definition at line 190 of file shapeuno.cxx.
Referenced by ScShapeObj::insertTextContent(), and ScShapeObj::removeTextContent().
|
static |
Definition at line 206 of file shapeuno.cxx.
Referenced by ScShapeObj::getEnd(), ScShapeObj::getStart(), ScShapeObj::getString(), and ScShapeObj::setString().
ScMacroInfo * ScShapeObj_getShapeHyperMacroInfo | ( | const ScShapeObj * | pShape, |
bool | bCreate = false |
||
) |
Definition at line 77 of file shapeuno.cxx.
Referenced by ShapeUnoEventAccessImpl::getInfo().
|
constexpr |
Definition at line 1345 of file shapeuno.cxx.
Referenced by ShapeUnoEventAccessImpl::getByName(), and ShapeUnoEventAccessImpl::replaceByName().
|
constexpr |
Definition at line 1343 of file shapeuno.cxx.
Referenced by ShapeUnoEventAccessImpl::getByName(), ShapeUnoEventAccessImpl::getElementNames(), and ShapeUnoEventAccessImpl::hasByName().
|
constexpr |
Definition at line 1344 of file shapeuno.cxx.
Referenced by ShapeUnoEventAccessImpl::getByName(), and ShapeUnoEventAccessImpl::replaceByName().