|
LibreOffice Module sc (master) 1
|
#include <chartuno.hxx>
Public Member Functions | |
| ScChartObj (ScDocShell *pDocSh, SCTAB nT, OUString aN) | |
| virtual | ~ScChartObj () override |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| virtual sal_Bool SAL_CALL | getHasColumnHeaders () override |
| virtual void SAL_CALL | setHasColumnHeaders (sal_Bool bHasColumnHeaders) override |
| virtual sal_Bool SAL_CALL | getHasRowHeaders () override |
| virtual void SAL_CALL | setHasRowHeaders (sal_Bool bHasRowHeaders) override |
| virtual css::uno::Sequence< css::table::CellRangeAddress > SAL_CALL | getRanges () override |
| virtual void SAL_CALL | setRanges (const css::uno::Sequence< css::table::CellRangeAddress > &aRanges) override |
| virtual css::uno::Reference< css::lang::XComponent > SAL_CALL | getEmbeddedObject () override |
| virtual OUString SAL_CALL | getName () override |
| virtual void SAL_CALL | setName (const OUString &aName) 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 |
| virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
Public Member Functions inherited from comphelper::OPropertyContainer | |
| virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
| OPropertyArrayUsageHelper () | |
| virtual | ~OPropertyArrayUsageHelper () |
| ::cppu::IPropertyArrayHelper * | getArrayHelper () |
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 | |
| void | Update_Impl (const ScRangeListRef &rRanges, bool bColHeaders, bool bRowHeaders) |
| void | GetData_Impl (ScRangeListRef &rRanges, bool &rColHeaders, bool &rRowHeaders) const |
| virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
| virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
| virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
| virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
Private Attributes | |
| ScDocShell * | pDocShell |
| SCTAB | nTab |
| OUString | aChartName |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::OPropertyContainer | |
| OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper) | |
| virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
| virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
| virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
| virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
| virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
| virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
Protected Member Functions inherited from comphelper::OPropertyContainerHelper | |
| OPropertyContainerHelper () | |
| ~OPropertyContainerHelper () | |
| void | registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType) |
| void | registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType) |
| void | registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue) |
| void | revokeProperty (sal_Int32 _nHandle) |
| bool | isRegisteredProperty (sal_Int32 _nHandle) const |
| bool | isRegisteredProperty (const OUString &_rName) const |
| bool | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) |
| void | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) |
| void | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const |
| void | describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const |
| const css::beans::Property & | getProperty (const OUString &_rName) const |
| virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const=0 |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
| static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
| static std::mutex & | theMutex () |
Protected Attributes inherited from cppu::BaseMutex | |
| mutable::osl::Mutex | m_aMutex |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
| static sal_Int32 | s_nRefCount |
| ::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 101 of file chartuno.hxx.
| ScChartObj::ScChartObj | ( | ScDocShell * | pDocSh, |
| SCTAB | nT, | ||
| OUString | aN | ||
| ) |
Definition at line 408 of file chartuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), m_aMutex, pDocShell, PROP_HANDLE_RELATED_CELLRANGES, and comphelper::OPropertyContainerHelper::registerPropertyNoMember().
|
overridevirtual |
Definition at line 423 of file chartuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overrideprivatevirtual |
Implements comphelper::OPropertyArrayUsageHelper< class TYPE >.
Definition at line 596 of file chartuno.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
private |
Definition at line 441 of file chartuno.cxx.
References aChartName, aPropName, ScDocument::GetAddressConvention(), ScUnoHelpFunctions::GetBoolFromAny(), ScDocument::GetChartByName(), ScDocShell::GetDocument(), ScUnoHelpFunctions::GetEnumFromAny(), and pDocShell.
Referenced by getHasRowHeaders(), getRanges(), setHasColumnHeaders(), setHasRowHeaders(), and setRanges().
|
overridevirtual |
Definition at line 705 of file chartuno.cxx.
References aChartName, sc::tools::CELL_RANGE, sc::tools::findChartsByName(), nTab, pDocShell, pObject, and svt::EmbeddedObjectRef::TryRunningState().
|
overrideprivatevirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 554 of file chartuno.cxx.
References aChartName, ScUnoConversion::FillApiRange(), ScChartListenerCollection::findByName(), ScDocument::GetChartListenerCollection(), ScDocShell::GetDocument(), ScChartListener::GetRangeList(), i, tools::SvRef< typename T >::is(), nCount, nHandle, pDocShell, and PROP_HANDLE_RELATED_CELLRANGES.
|
overridevirtual |
Definition at line 613 of file chartuno.cxx.
|
overridevirtual |
Definition at line 632 of file chartuno.cxx.
References GetData_Impl().
|
overridevirtual |
|
overrideprivate |
Definition at line 517 of file chartuno.cxx.
References comphelper::OPropertyArrayUsageHelper< class TYPE >::getArrayHelper().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 721 of file chartuno.cxx.
References aChartName.
|
overridevirtual |
Definition at line 734 of file chartuno.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 651 of file chartuno.cxx.
References ScRange::aEnd, aSeq, ScRange::aStart, ScAddress::Col(), GetData_Impl(), i, tools::SvRef< typename T >::is(), nCount, ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
|
overridevirtual |
update reference
Reimplemented from SfxListener.
Definition at line 431 of file chartuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overrideprivatevirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 522 of file chartuno.cxx.
References aChartName, ScChartListenerCollection::ChangeListening(), ScUnoConversion::FillScRange(), ScDocument::GetChartListenerCollection(), ScDocShell::GetDocument(), nHandle, pDocShell, and PROP_HANDLE_RELATED_CELLRANGES.
|
overridevirtual |
Definition at line 622 of file chartuno.cxx.
References GetData_Impl(), and Update_Impl().
|
overridevirtual |
Definition at line 641 of file chartuno.cxx.
References GetData_Impl(), and Update_Impl().
|
overridevirtual |
Definition at line 727 of file chartuno.cxx.
|
overridevirtual |
Definition at line 683 of file chartuno.cxx.
References GetData_Impl(), tools::SvRef< typename T >::is(), ScRangeList::push_back(), and Update_Impl().
|
overridevirtual |
|
private |
Definition at line 499 of file chartuno.cxx.
References aChartName, SfxUndoManager::AddUndoAction(), ScDocShell::GetDocument(), ScDocShell::GetUndoManager(), ScDocument::IsUndoEnabled(), pDocShell, and ScDocument::UpdateChartArea().
Referenced by setHasColumnHeaders(), setHasRowHeaders(), and setRanges().
|
private |
Definition at line 110 of file chartuno.hxx.
Referenced by GetData_Impl(), getEmbeddedObject(), getFastPropertyValue(), getName(), setFastPropertyValue_NoBroadcast(), and Update_Impl().
|
private |
Definition at line 109 of file chartuno.hxx.
Referenced by getEmbeddedObject().
|
private |
Definition at line 108 of file chartuno.hxx.
Referenced by GetData_Impl(), getEmbeddedObject(), getFastPropertyValue(), Notify(), ScChartObj(), setFastPropertyValue_NoBroadcast(), Update_Impl(), and ~ScChartObj().