LibreOffice Module sc (master) 1
|
#include <chartuno.hxx>
Public Member Functions | |
ScChartsObj (ScDocShell *pDocSh, SCTAB nT) | |
virtual | ~ScChartsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | addNewByName (const OUString &aName, const css::awt::Rectangle &aRect, const css::uno::Sequence< css::table::CellRangeAddress > &aRanges, sal_Bool bColumnHeaders, sal_Bool bRowHeaders) override |
virtual void SAL_CALL | removeByName (const OUString &aName) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
rtl::Reference< ScChartObj > | GetObjectByIndex_Impl (tools::Long nIndex) const |
rtl::Reference< ScChartObj > | GetObjectByName_Impl (const OUString &aName) const |
Private Attributes | |
ScDocShell * | pDocShell |
SCTAB | nTab |
Definition at line 42 of file chartuno.hxx.
ScChartsObj::ScChartsObj | ( | ScDocShell * | pDocSh, |
SCTAB | nT | ||
) |
Definition at line 60 of file chartuno.cxx.
|
overridevirtual |
Definition at line 67 of file chartuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
error/exception, if empty/invalid ???
Definition at line 138 of file chartuno.cxx.
References SdrModel::AddUndo(), aName, comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), ScDocument::GetAddressConvention(), ScDocument::GetChartListenerCollection(), ScDocShell::GetDocument(), SfxObjectShell::GetEmbeddedObjectContainer(), ScDocShell::GetModel(), ScDrawLayer::GetNamedObject(), SdrModel::GetPage(), tools::Rectangle::GetSize(), Size::Height(), ScChartListenerCollection::insert(), SdrObjList::InsertObject(), ScDocument::IsLayoutRTL(), OutputDevice::LogicToLogic(), ScDocShell::MakeDrawLayer(), nTab, pDocShell, ScRangeList::push_back(), RANGE_ABS_3D, Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SO3_SCH_CLASSID, ScChartListener::StartListeningTo(), VCLUnoHelper::UnoEmbed2VCLMapUnit(), Size::Width(), Point::X(), and Point::Y().
|
overridevirtual |
Definition at line 289 of file chartuno.cxx.
|
overridevirtual |
Definition at line 325 of file chartuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 346 of file chartuno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
Definition at line 297 of file chartuno.cxx.
References ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SdrModel::GetPage(), ScDocument::IsChart(), nCount, SdrObjListIter::Next(), nTab, pDocShell, and pObject.
Referenced by getElementNames(), and hasElements().
|
overridevirtual |
Definition at line 356 of file chartuno.cxx.
References aName, aSeq, getCount(), ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SfxObjectShell::GetEmbeddedObjectContainer(), comphelper::EmbeddedObjectContainer::GetEmbeddedObjectName(), SdrModel::GetPage(), ScDocument::IsChart(), nCount, SdrObjListIter::Next(), nPos, nTab, pDocShell, and pObject.
|
overridevirtual |
Definition at line 335 of file chartuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 85 of file chartuno.cxx.
References aName, ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SfxObjectShell::GetEmbeddedObjectContainer(), comphelper::EmbeddedObjectContainer::GetEmbeddedObjectName(), SdrModel::GetPage(), ScDocument::IsChart(), SdrObjListIter::Next(), nIndex, nPos, nTab, pDocShell, and pObject.
Referenced by getByIndex().
|
private |
Definition at line 127 of file chartuno.cxx.
References aName, sc::tools::CELL_RANGE, sc::tools::findChartsByName(), nTab, pDocShell, and sc::tools::PIVOT_TABLE.
Referenced by getByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 400 of file chartuno.cxx.
References aName, sc::tools::CELL_RANGE, sc::tools::findChartsByName(), nTab, and pDocShell.
|
overridevirtual |
Definition at line 340 of file chartuno.cxx.
References getCount().
|
overridevirtual |
update reference
Reimplemented from SfxListener.
Definition at line 75 of file chartuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Notify etc.???
Definition at line 269 of file chartuno.cxx.
References SdrModel::AddUndo(), aName, sc::tools::CELL_RANGE, sc::tools::findChartsByName(), ScDocument::GetChartListenerCollection(), ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SdrObject::GetOrdNum(), SdrModel::GetPage(), nTab, pDocShell, ScChartListenerCollection::removeByName(), and SdrObjList::RemoveObject().
|
overridevirtual |
|
private |
Definition at line 51 of file chartuno.hxx.
Referenced by addNewByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), and removeByName().
|
private |
Definition at line 50 of file chartuno.hxx.
Referenced by addNewByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), Notify(), removeByName(), and ~ScChartsObj().