LibreOffice Module sc (master)
1
|
#include <cellsuno.hxx>
Classes | |
struct | Impl |
Public Member Functions | |
ScCellRangesObj (ScDocShell *pDocSh, const ScRangeList &rR) | |
virtual | ~ScCellRangesObj () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () override throw () |
virtual void SAL_CALL | release () override throw () |
virtual void | RefChanged () override |
virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL | getCells () override |
virtual OUString SAL_CALL | getRangeAddressesAsString () override |
virtual css::uno::Sequence< css::table::CellRangeAddress > SAL_CALL | getRangeAddresses () override |
virtual void SAL_CALL | addRangeAddress (const css::table::CellRangeAddress &rRange, sal_Bool bMergeRanges) override |
virtual void SAL_CALL | removeRangeAddress (const css::table::CellRangeAddress &rRange) override |
virtual void SAL_CALL | addRangeAddresses (const css::uno::Sequence< css::table::CellRangeAddress > &rRanges, sal_Bool bMergeRanges) override |
virtual void SAL_CALL | removeRangeAddresses (const css::uno::Sequence< css::table::CellRangeAddress > &rRanges) override |
virtual void SAL_CALL | insertByName (const OUString &aName, const css::uno::Any &aElement) override |
virtual void SAL_CALL | removeByName (const OUString &Name) override |
virtual void SAL_CALL | replaceByName (const OUString &aName, const css::uno::Any &aElement) 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::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () 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::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
![]() | |
ScCellRangesBase (ScDocShell *pDocSh, const ScRange &rR) | |
ScCellRangesBase (ScDocShell *pDocSh, const ScRangeList &rR) | |
virtual | ~ScCellRangesBase () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
ScDocShell * | GetDocShell () const |
ScDocument * | GetDocument () const |
const ScRangeList & | GetRangeList () const |
void | AddRange (const ScRange &rRange, const bool bMergeRanges) |
void | InitInsertRange (ScDocShell *pDocSh, const ScRange &rR) |
void | SetNewRange (const ScRange &rNew) |
void | SetNewRanges (const ScRangeList &rNew) |
void | SetCursorOnly (bool bSet) |
bool | IsCursorOnly () const |
virtual double SAL_CALL | computeFunction (css::sheet::GeneralFunction nFunction) override |
virtual void SAL_CALL | clearContents (sal_Int32 nContentFlags) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual css::uno::Sequence< css::beans::SetPropertyTolerantFailed > SAL_CALL | setPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::beans::GetPropertyTolerantResult > SAL_CALL | getPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > SAL_CALL | getDirectPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
virtual void SAL_CALL | decrementIndent () override |
virtual void SAL_CALL | incrementIndent () override |
virtual void SAL_CALL | addChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override |
virtual void SAL_CALL | removeChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override |
virtual double SAL_CALL | getNotANumber () override |
virtual sal_Bool SAL_CALL | isNotANumber (double nNumber) override |
virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL | getData () override |
virtual void SAL_CALL | setData (const css::uno::Sequence< css::uno::Sequence< double > > &aData) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getRowDescriptions () override |
virtual void SAL_CALL | setRowDescriptions (const css::uno::Sequence< OUString > &aRowDescriptions) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getColumnDescriptions () override |
virtual void SAL_CALL | setColumnDescriptions (const css::uno::Sequence< OUString > &aColumnDescriptions) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryVisibleCells () override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryEmptyCells () override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryContentCells (sal_Int16 nContentFlags) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryFormulaCells (sal_Int32 nResultFlags) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryColumnDifferences (const css::table::CellAddress &aCompare) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryRowDifferences (const css::table::CellAddress &aCompare) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryIntersection (const css::table::CellRangeAddress &aRange) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryDependents (sal_Bool bRecursive) override |
virtual css::uno::Reference< css::sheet::XSheetCellRanges > SAL_CALL | queryPrecedents (sal_Bool bRecursive) override |
virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL | createSearchDescriptor () override |
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL | findAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | findFirst (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | findNext (const css::uno::Reference< css::uno::XInterface > &xStartAt, const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL | createReplaceDescriptor () override |
virtual sal_Int32 SAL_CALL | replaceAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual void SAL_CALL | addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual void SAL_CALL | removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
![]() | |
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 |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Private Member Functions | |
ScCellRangeObj * | GetObjectByIndex_Impl (sal_Int32 nIndex) const |
Private Attributes | |
std::unique_ptr< Impl > | m_pImpl |
Additional Inherited Members | |
![]() | |
const ScMarkData * | GetMarkData () |
virtual const SfxItemPropertyMap & | GetItemPropertyMap () |
css::beans::PropertyState | GetOnePropertyState (sal_uInt16 nItemWhich, const SfxItemPropertySimpleEntry *pEntry) |
virtual void | GetOnePropertyValue (const SfxItemPropertySimpleEntry *pEntry, css::uno::Any &) |
virtual void | SetOnePropertyValue (const SfxItemPropertySimpleEntry *pEntry, const css::uno::Any &aValue) |
Definition at line 381 of file cellsuno.hxx.
ScCellRangesObj::ScCellRangesObj | ( | ScDocShell * | pDocSh, |
const ScRangeList & | rR | ||
) |
Definition at line 4004 of file cellsuno.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 4010 of file cellsuno.cxx.
|
overridevirtual |
Definition at line 4033 of file cellsuno.cxx.
|
overridevirtual |
Definition at line 4130 of file cellsuno.cxx.
References ScCellRangesBase::AddRange().
|
overridevirtual |
Definition at line 4196 of file cellsuno.cxx.
References ScCellRangesBase::AddRange().
|
overridevirtual |
Definition at line 4503 of file cellsuno.cxx.
|
overridevirtual |
Definition at line 4518 of file cellsuno.cxx.
References GetObjectByIndex_Impl().
|
overridevirtual |
Definition at line 4426 of file cellsuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScCellRangesBase::GetDocShell(), ScCellRangesBase::GetRangeList(), lcl_FindRangeOrEntry(), and m_pImpl.
|
overridevirtual |
Definition at line 4101 of file cellsuno.cxx.
References ScCellRangesBase::GetDocShell(), and ScCellRangesBase::GetRangeList().
|
overridevirtual |
Definition at line 4511 of file cellsuno.cxx.
References ScCellRangesBase::GetRangeList(), and ScRangeList::size().
|
overridevirtual |
Definition at line 4461 of file cellsuno.cxx.
References aSeq, ScRange::Format(), ScCellRangesBase::GetDocShell(), ScDocShell::GetDocument(), ScCellRangesBase::GetRangeList(), i, lcl_FindEntryName(), m_pImpl, nCount, ScRangeList::size(), TAB_3D, and VALID.
|
overridevirtual |
Definition at line 4529 of file cellsuno.cxx.
References cppu::UnoType< class >::get().
|
overridevirtual |
Definition at line 4056 of file cellsuno.cxx.
|
overridevirtual |
Reimplemented from ScCellRangesBase.
Definition at line 4543 of file cellsuno.cxx.
|
private |
Definition at line 4063 of file cellsuno.cxx.
References ScRange::aEnd, ScRange::aStart, ScCellRangesBase::GetDocShell(), ScCellRangesBase::GetRangeList(), and ScRangeList::size().
Referenced by getByIndex().
|
overridevirtual |
Definition at line 4079 of file cellsuno.cxx.
References aSeq, ScUnoConversion::FillApiRange(), ScCellRangesBase::GetDocShell(), ScCellRangesBase::GetRangeList(), i, nCount, and ScRangeList::size().
|
overridevirtual |
Definition at line 4117 of file cellsuno.cxx.
References ScRangeList::Format(), ScCellRangesBase::GetDocShell(), ScDocShell::GetDocument(), ScCellRangesBase::GetRangeList(), TAB_3D, and VALID.
|
overridevirtual |
Reimplemented from ScCellRangesBase.
Definition at line 4553 of file cellsuno.cxx.
References SCCELLPROPERTIES_SERVICE, SCCHARPROPERTIES_SERVICE, SCPARAPROPERTIES_SERVICE, and SCSHEETCELLRANGES_SERVICE.
|
overridevirtual |
Definition at line 4043 of file cellsuno.cxx.
References aTypes, comphelper::concatSequences(), and cppu::UnoType< class >::get().
|
overridevirtual |
Definition at line 4491 of file cellsuno.cxx.
References ScCellRangesBase::GetDocShell(), ScCellRangesBase::GetRangeList(), lcl_FindRangeOrEntry(), and m_pImpl.
|
overridevirtual |
Definition at line 4535 of file cellsuno.cxx.
References ScRangeList::empty(), and ScCellRangesBase::GetRangeList().
|
overridevirtual |
Type of aElement can be some specific interface instead of XInterface
Definition at line 4231 of file cellsuno.cxx.
References ScCellRangesBase::GetDocShell(), ScCellRangesBase::GetRangeList(), i, ScRangeList::Join(), m_pImpl, n, ScCellRangesBase::SetNewRanges(), and ScRangeList::size().
Referenced by replaceByName().
|
overridevirtual |
Definition at line 4019 of file cellsuno.cxx.
References SC_QUERY_MULTIPLE, and SC_QUERYINTERFACE.
|
overridevirtual |
Reimplemented from ScCellRangesBase.
Definition at line 4014 of file cellsuno.cxx.
References ScCellRangesBase::RefChanged().
|
overridevirtual |
Definition at line 4038 of file cellsuno.cxx.
|
overridevirtual |
error if range was not selected before?
Definition at line 4353 of file cellsuno.cxx.
References ScRange::aStart, ScMarkData::FillRangeListWithMarks(), ScCellRangesBase::GetDocShell(), ScDocShell::GetDocument(), ScCellRangesBase::GetDocument(), ScCellRangesBase::GetRangeList(), ScMarkData::GetTableSelect(), i, lcl_FindRangeByName(), lcl_RemoveNamedEntry(), m_pImpl, ScMarkData::MarkFromRangeList(), n, nCount, nIndex, ScRangeList::Parse(), ScRangeList::push_back(), ScRangeList::RemoveAll(), ScMarkData::SetMultiMarkArea(), ScCellRangesBase::SetNewRanges(), ScRangeList::size(), ScAddress::Tab(), and VALID.
Referenced by replaceByName().
|
overridevirtual |
Definition at line 4151 of file cellsuno.cxx.
References ScCellRangesBase::AddRange(), ScRange::aStart, ScMarkData::FillRangeListWithMarks(), ScCellRangesBase::GetDocument(), ScCellRangesBase::GetRangeList(), ScMarkData::GetTableSelect(), i, ScMarkData::IsAllMarked(), lcl_RemoveNamedEntry(), m_pImpl, ScMarkData::MarkFromRangeList(), ScMarkData::MarkToMulti(), ScRangeList::push_back(), ScMarkData::SetMultiMarkArea(), ScCellRangesBase::SetNewRanges(), ScRangeList::size(), and ScAddress::Tab().
Referenced by removeRangeAddresses().
|
overridevirtual |
Definition at line 4212 of file cellsuno.cxx.
References removeRangeAddress().
|
overridevirtual |
combine?
Definition at line 4416 of file cellsuno.cxx.
References insertByName(), and removeByName().
|
overridevirtual |
Reimplemented from ScCellRangesBase.
Definition at line 4548 of file cellsuno.cxx.
References cppu::supportsService().
|
private |
Definition at line 387 of file cellsuno.hxx.
Referenced by getByName(), getElementNames(), hasByName(), insertByName(), removeByName(), and removeRangeAddress().