LibreOffice Module sc (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ScCellRangesBase Class Reference

#include <cellsuno.hxx>

Inheritance diagram for ScCellRangesBase:
[legend]
Collaboration diagram for ScCellRangesBase:
[legend]

Public Member Functions

 ScCellRangesBase (ScDocShell *pDocSh, const ScRange &rR)
 
 ScCellRangesBase (ScDocShell *pDocSh, const ScRangeList &rR)
 
virtual ~ScCellRangesBase () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void RefChanged ()
 
ScDocShellGetDocShell () const
 
ScDocumentGetDocument () const
 
const ScRangeListGetRangeList () 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
 
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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Protected Member Functions

const ScMarkDataGetMarkData ()
 
virtual const SfxItemPropertyMapGetItemPropertyMap ()
 
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)
 

Private Member Functions

 DECL_LINK (ValueListenerHdl, const SfxHint &, void)
 
void PaintGridRanges_Impl ()
 
ScRangeListRef GetLimitedChartRanges_Impl (sal_Int32 nDataColumns, sal_Int32 nDataRows) const
 
void ForceChartListener_Impl ()
 
std::unique_ptr< ScMemChartCreateMemChart_Impl () const
 
const ScPatternAttrGetCurrentAttrsFlat ()
 
const ScPatternAttrGetCurrentAttrsDeep ()
 
SfxItemSetGetCurrentDataSet (bool bNoDflt=false)
 
void ForgetMarkData ()
 
void ForgetCurrentAttrs ()
 
css::uno::Reference< css::sheet::XSheetCellRanges > QueryDifferences_Impl (const css::table::CellAddress &aCompare, bool bColumnDiff)
 
css::uno::Reference< css::uno::XInterface > Find_Impl (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc, const ScAddress *pLastPos)
 

Private Attributes

css::uno::WeakReference< css::uno::XInterface > m_wThis
 
const SfxItemPropertySetpPropSet
 
ScDocShellpDocShell
 
std::unique_ptr< ScLinkListenerpValueListener
 
std::unique_ptr< ScPatternAttrpCurrentFlat
 
std::unique_ptr< ScPatternAttrpCurrentDeep
 
std::unique_ptr< SfxItemSetpCurrentDataSet
 
std::unique_ptr< SfxItemSetpNoDfltCurrentDataSet
 
std::unique_ptr< ScMarkDatapMarkData
 
ScRangeList aRanges
 
sal_Int64 nObjectId
 
bool bChartColAsHdr
 
bool bChartRowAsHdr
 
bool bCursorOnly
 
bool bGotDataChangedHint
 
XModifyListenerArr_Impl aValueListeners
 

Friends

class ScTabViewObj
 
class ScTableSheetObj
 
class ooo::vba::excel::ScVbaCellRangeAccess
 

Detailed Description

Definition at line 158 of file cellsuno.hxx.

Constructor & Destructor Documentation

ScCellRangesBase::ScCellRangesBase ( ScDocShell pDocSh,
const ScRange rR 
)
ScCellRangesBase::ScCellRangesBase ( ScDocShell pDocSh,
const ScRangeList rR 
)
ScCellRangesBase::~ScCellRangesBase ( )
overridevirtual

unregister XChartDataChangeEventListener ?? (ChartCollection will then hold this object as well!)

Definition at line 1450 of file cellsuno.cxx.

References ForgetCurrentAttrs(), ForgetMarkData(), ScDocShell::GetDocument(), pDocShell, pValueListener, and ScDocument::RemoveUnoObject().

Member Function Documentation

void SAL_CALL ScCellRangesBase::addChartDataChangeEventListener ( const css::uno::Reference< css::chart::XChartDataChangeEventListener > &  aListener)
overridevirtual
void SAL_CALL ScCellRangesBase::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual
void SAL_CALL ScCellRangesBase::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 2670 of file cellsuno.cxx.

void SAL_CALL ScCellRangesBase::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 2533 of file cellsuno.cxx.

References aRanges, and ScRangeList::empty().

void ScCellRangesBase::AddRange ( const ScRange rRange,
const bool  bMergeRanges 
)
void SAL_CALL ScCellRangesBase::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 2553 of file cellsuno.cxx.

void SAL_CALL ScCellRangesBase::clearContents ( sal_Int32  nContentFlags)
overridevirtual
double SAL_CALL ScCellRangesBase::computeFunction ( css::sheet::GeneralFunction  nFunction)
overridevirtual
std::unique_ptr< ScMemChart > ScCellRangesBase::CreateMemChart_Impl ( ) const
private
uno::Reference< util::XReplaceDescriptor > SAL_CALL ScCellRangesBase::createReplaceDescriptor ( )
overridevirtual

Definition at line 3908 of file cellsuno.cxx.

uno::Reference< util::XSearchDescriptor > SAL_CALL ScCellRangesBase::createSearchDescriptor ( )
overridevirtual

Definition at line 3787 of file cellsuno.cxx.

ScCellRangesBase::DECL_LINK ( ValueListenerHdl  ,
const SfxHint ,
void   
)
private
void SAL_CALL ScCellRangesBase::decrementIndent ( )
overridevirtual
uno::Reference< uno::XInterface > ScCellRangesBase::Find_Impl ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc,
const ScAddress pLastPos 
)
private
uno::Reference< container::XIndexAccess > SAL_CALL ScCellRangesBase::findAll ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc)
overridevirtual
uno::Reference< uno::XInterface > SAL_CALL ScCellRangesBase::findFirst ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc)
overridevirtual

Definition at line 3878 of file cellsuno.cxx.

References Find_Impl().

uno::Reference< uno::XInterface > SAL_CALL ScCellRangesBase::findNext ( const css::uno::Reference< css::uno::XInterface > &  xStartAt,
const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc 
)
overridevirtual

Definition at line 3885 of file cellsuno.cxx.

References Find_Impl(), GetDocShell(), GetRangeList(), pDocShell, and ScRangeList::size().

void SAL_CALL ScCellRangesBase::firePropertiesChangeEvent ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 2681 of file cellsuno.cxx.

void ScCellRangesBase::ForceChartListener_Impl ( )
private
void ScCellRangesBase::ForgetCurrentAttrs ( )
private

Definition at line 1469 of file cellsuno.cxx.

References pCurrentDataSet, pCurrentDeep, pCurrentFlat, and pNoDfltCurrentDataSet.

Referenced by Notify(), RefChanged(), and ~ScCellRangesBase().

void ScCellRangesBase::ForgetMarkData ( )
private

Definition at line 1481 of file cellsuno.cxx.

References pMarkData.

Referenced by RefChanged(), and ~ScCellRangesBase().

uno::Sequence< OUString > SAL_CALL ScCellRangesBase::getColumnDescriptions ( )
overridevirtual

Definition at line 3142 of file cellsuno.cxx.

References aSeq, CreateMemChart_Impl(), and nColCount.

const ScPatternAttr * ScCellRangesBase::GetCurrentAttrsDeep ( )
private
const ScPatternAttr * ScCellRangesBase::GetCurrentAttrsFlat ( )
private
SfxItemSet * ScCellRangesBase::GetCurrentDataSet ( bool  bNoDflt = false)
private
uno::Sequence< uno::Sequence< double > > SAL_CALL ScCellRangesBase::getData ( )
overridevirtual

Definition at line 2961 of file cellsuno.cxx.

References CreateMemChart_Impl(), and nColCount.

uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL ScCellRangesBase::getDirectPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual
ScDocShell* ScCellRangesBase::GetDocShell ( ) const
inline

Definition at line 242 of file cellsuno.hxx.

Referenced by ScTableSheetObj::addRanges(), ScTableSheetObj::apply(), ScCellRangeObj::applySubTotals(), ScCellRangeObj::autoFormat(), ScTableSheetObj::autoOutline(), ScTableSheetObj::clearArrows(), ScTableSheetObj::clearOutline(), ScCellCursorObj::collapseToCurrentArray(), ScCellCursorObj::collapseToCurrentRegion(), ScCellCursorObj::collapseToMergedArea(), ScCellCursorObj::collapseToSize(), ScVbaRange::Columns(), ScTableSheetObj::copyRange(), ScTableSheetObj::createCursor(), ScTableSheetObj::createCursorByRange(), ScCellRangeObj::createFilterDescriptor(), ScCellRangeObj::createFilterDescriptorByObject(), ScCellRangeObj::createImportDescriptor(), ScCellRangeObj::createSortDescriptor(), ScCellRangeObj::createSubTotalDescriptor(), ScCellRangeObj::doImport(), ScCellCursorObj::expandToEntireColumns(), ScCellCursorObj::expandToEntireRows(), ScCellRangeObj::fillAuto(), ScModelObj::FillRenderMarkData(), ScCellRangeObj::fillSeries(), ScCellRangeObj::filter(), findNext(), ScCellObj::getAnnotation(), ScTableSheetObj::getAnnotations(), ScCellRangeObj::getArrayFormula(), ScCellRangeObj::getArrayTokens(), ScCellRangesObj::getByName(), ScCellRangeObj::GetCellByPosition_Impl(), ScCellRangeObj::getCellFormatRanges(), ScCellRangeObj::getCellRangeByName(), ScCellRangeObj::getCellRangeByPosition(), ScCellRangesObj::getCells(), ScVbaChartObjects::getChartObjectNames(), ScTableSheetObj::getCharts(), ScTableSheetObj::getColumnPageBreaks(), ScCellRangeObj::getColumns(), ScCellObj::GetContentType_Impl(), ScCellRangeObj::getDataArray(), ScTableSheetObj::getDataPilotTables(), getDocShellFromIf(), ooo::vba::excel::GetDocShellFromRange(), ScTableSheetObj::getDrawPage(), ScCellRangesObj::getElementNames(), ScVbaRange::getEntireColumnOrRow(), ScCellObj::getError(), ScTableSheetObj::getEvents(), ScCellRangeObj::getFormulaArray(), ScCellRangeObj::getIsMerged(), ScTableSheetObj::getIsScenario(), ScTableSheetObj::getLinkMode(), ScTableSheetObj::getLinkSheetName(), ScTableSheetObj::getLinkUrl(), ScTableSheetObj::getName(), ScCellRangesObj::GetObjectByIndex_Impl(), ScCellRangeObj::GetOnePropertyValue(), ScTableSheetObj::GetOnePropertyValue(), ScTableColumnObj::GetOnePropertyValue(), ScTableRowObj::GetOnePropertyValue(), ScCellObj::GetOutputString_Impl(), ScTableSheetObj::getPivotCharts(), ScTableSheetObj::getPrintAreas(), ScTableSheetObj::getPrintTitleColumns(), ScTableSheetObj::getPrintTitleRows(), ScCellRangesObj::getRangeAddresses(), ScCellRangesObj::getRangeAddressesAsString(), ScTableSheetObj::getRanges(), ScCellObj::GetResultType_Impl(), ScTableSheetObj::getRowPageBreaks(), ScCellRangeObj::getRows(), ScTableSheetObj::getScenarioComment(), ScTableSheetObj::getScenarios(), ScTransferObj::GetSourceDocShell(), ScCellRangeObj::getSpreadsheet(), ScCellObj::getTextFields(), ScTableSheetObj::getTitleColumns(), ScTableSheetObj::getTitleRows(), ScCellObj::getTokens(), ScCellObj::getType(), ScCellRangeObj::getUniqueCellFormatRanges(), ScCellObj::GetUnoText(), ScCellObj::GetValue_Impl(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoEndOfUsedArea(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoOffset(), ScCellCursorObj::gotoPrevious(), ScCellCursorObj::gotoStart(), ScCellCursorObj::gotoStartOfUsedArea(), ScTableSheetObj::group(), ScCellRangesObj::hasByName(), ScTableSheetObj::hideDependents(), ScTableSheetObj::hideDetail(), ScTableSheetObj::hidePrecedents(), ScCellObj::InputEnglishString(), ScCellRangesObj::insertByName(), ScTableSheetsObj::insertByName(), ScTableSheetObj::insertCells(), ScCellObj::insertTextContent(), ScTableSheetObj::isProtected(), ScTableSheetObj::link(), ScCellRangeObj::merge(), ScTableSheetObj::moveRange(), ScVbaRange::Offset(), ScTableSheetObj::PrintAreaUndo_Impl(), ScTableSheetObj::protect(), ScTableSheetObj::removeAllManualPageBreaks(), ScCellRangesObj::removeByName(), ScTableSheetObj::removeRange(), ScCellRangeObj::removeSubTotals(), ScTableSheetsObj::replaceByName(), ScVbaRange::Rows(), ScTabViewObj::select(), ScVbaRange::Select(), ScTabViewObj::setActiveSheet(), ScCellRangeObj::SetArrayFormula_Impl(), ScCellRangeObj::setArrayTokens(), ScCellRangeObj::setDataArray(), ScTableSheetObj::setExternalName(), ScCellRangeObj::setFormulaArray(), ScCellObj::setFormulaResult(), ScCellObj::setFormulaString(), ScTableSheetObj::setName(), ScTableSheetObj::SetOnePropertyValue(), ScTableColumnObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScTableSheetObj::setPrintAreas(), ScTableSheetObj::setPrintTitleColumns(), ScTableSheetObj::setPrintTitleRows(), ScTableSheetObj::setScenarioComment(), ScCellObj::SetString_Impl(), ScCellRangeObj::setTableOperation(), ScTableSheetObj::setTitleColumns(), ScTableSheetObj::setTitleRows(), ScCellObj::setTokens(), ScCellObj::SetValue_Impl(), ScTableSheetObj::showDependents(), ScTableSheetObj::showDetail(), ScTableSheetObj::showErrors(), ScTableSheetObj::showInvalid(), ScTableSheetObj::showLevel(), ScTableSheetObj::showPrecedents(), ScCellRangeObj::sort(), ScTableSheetObj::ungroup(), and ScTableSheetObj::unprotect().

ScDocument * ScCellRangesBase::GetDocument ( ) const
virtual OUString SAL_CALL ScCellRangesBase::getImplementationName ( )
overridevirtual
const SfxItemPropertyMap & ScCellRangesBase::GetItemPropertyMap ( )
protectedvirtual
ScRangeListRef ScCellRangesBase::GetLimitedChartRanges_Impl ( sal_Int32  nDataColumns,
sal_Int32  nDataRows 
) const
private
const ScMarkData * ScCellRangesBase::GetMarkData ( )
protected
double SAL_CALL ScCellRangesBase::getNotANumber ( )
overridevirtual

Definition at line 3268 of file cellsuno.cxx.

beans::PropertyState ScCellRangesBase::GetOnePropertyState ( sal_uInt16  nItemWhich,
const SfxItemPropertySimpleEntry pEntry 
)
protected
void ScCellRangesBase::GetOnePropertyValue ( const SfxItemPropertySimpleEntry pEntry,
css::uno::Any &   
)
protectedvirtual
Exceptions
css::uno::RuntimeException

loop through all ranges

Reimplemented in ScTableRowObj, ScTableColumnObj, ScTableSheetObj, ScCellObj, and ScCellRangeObj.

Definition at line 2385 of file cellsuno.cxx.

References aRanges, ScHelperFunctions::AssignTableBorder2ToAny(), ScHelperFunctions::AssignTableBorderToAny(), ScRange::aStart, ATTR_BORDER(), ATTR_BORDER_INNER(), ATTR_CONDITIONAL(), ATTR_INDENT(), ATTR_LANGUAGE_FORMAT(), ATTR_ROTATE_VALUE(), ATTR_STACKED(), ATTR_VALIDDATA(), ATTR_VALUE_FORMAT(), bChartColAsHdr, bChartRowAsHdr, ScStyleObj::CreateEmptyNumberingRules(), ScStyleNameConversion::DisplayToProgrammaticName(), o3tl::sorted_vector< Value, Compare, Find, class >::empty(), ScRangeList::empty(), ScRangeList::Format(), ScRangeList::front(), SfxItemSet::Get(), GetCurrentAttrsDeep(), GetCurrentAttrsFlat(), GetCurrentDataSet(), ScDocShell::GetDocument(), ScDocument::GetFormatTable(), ScPatternAttr::GetItem(), ScPatternAttr::GetKey(), GetMarkData(), SfxStyleSheetBase::GetName(), SfxItemPropertySet::getPropertyValue(), ScDocument::GetSelectionFrame(), ScDocument::GetSelectionStyle(), ScDocument::GetSheetLimits(), ScDocument::GetStorageGrammar(), GetValue, IsScItemWid(), formula::FormulaGrammar::mapAPItoGrammar(), nIndex, SfxItemPropertySimpleEntry::nWID, pDocShell, pPropSet, SvxOrientationItem::QueryValue(), RANGE_ABS_3D, SC_WID_UNO_ABSNAME, SC_WID_UNO_CELLSTYL, SC_WID_UNO_CHCOLHDR, SC_WID_UNO_CHROWHDR, SC_WID_UNO_CONDFMT, SC_WID_UNO_CONDLOC, SC_WID_UNO_CONDXML, SC_WID_UNO_FORMATID, SC_WID_UNO_NUMRULES, SC_WID_UNO_TBLBORD, SC_WID_UNO_TBLBORD2, SC_WID_UNO_VALIDAT, SC_WID_UNO_VALILOC, SC_WID_UNO_VALIXML, ScMarkData::SetMarkArea(), ScAddress::Tab(), and sc::TwipsToHMM().

Referenced by getDirectPropertyValuesTolerant(), ScCellRangeObj::GetOnePropertyValue(), getPropertyValue(), getPropertyValues(), and getPropertyValuesTolerant().

uno::Any SAL_CALL ScCellRangesBase::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual
uno::Reference< beans::XPropertySetInfo > SAL_CALL ScCellRangesBase::getPropertySetInfo ( )
overridevirtual
beans::PropertyState SAL_CALL ScCellRangesBase::getPropertyState ( const OUString &  PropertyName)
overridevirtual
uno::Sequence< beans::PropertyState > SAL_CALL ScCellRangesBase::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual
uno::Any SAL_CALL ScCellRangesBase::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
uno::Sequence< uno::Any > SAL_CALL ScCellRangesBase::getPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual
uno::Sequence< beans::GetPropertyTolerantResult > SAL_CALL ScCellRangesBase::getPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual
const ScRangeList& ScCellRangesBase::GetRangeList ( ) const
inline
uno::Sequence< OUString > SAL_CALL ScCellRangesBase::getRowDescriptions ( )
overridevirtual

Definition at line 3073 of file cellsuno.cxx.

References aSeq, and CreateMemChart_Impl().

virtual css::uno::Sequence< OUString > SAL_CALL ScCellRangesBase::getSupportedServiceNames ( )
overridevirtual
void SAL_CALL ScCellRangesBase::incrementIndent ( )
overridevirtual
void ScCellRangesBase::InitInsertRange ( ScDocShell pDocSh,
const ScRange rR 
)
bool ScCellRangesBase::IsCursorOnly ( ) const
inline

Definition at line 254 of file cellsuno.hxx.

Referenced by ScModelObj::FillRenderMarkData().

sal_Bool SAL_CALL ScCellRangesBase::isNotANumber ( double  nNumber)
overridevirtual

Definition at line 3274 of file cellsuno.cxx.

void ScCellRangesBase::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual
void ScCellRangesBase::PaintGridRanges_Impl ( )
private
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryColumnDifferences ( const css::table::CellAddress &  aCompare)
overridevirtual

Definition at line 3635 of file cellsuno.cxx.

References QueryDifferences_Impl().

uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryContentCells ( sal_Int16  nContentFlags)
overridevirtual
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryDependents ( sal_Bool  bRecursive)
overridevirtual
uno::Reference< sheet::XSheetCellRanges > ScCellRangesBase::QueryDifferences_Impl ( const css::table::CellAddress &  aCompare,
bool  bColumnDiff 
)
private
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryEmptyCells ( )
overridevirtual
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryFormulaCells ( sal_Int32  nResultFlags)
overridevirtual
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryIntersection ( const css::table::CellRangeAddress &  aRange)
overridevirtual
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryPrecedents ( sal_Bool  bRecursive)
overridevirtual
uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryRowDifferences ( const css::table::CellAddress &  aCompare)
overridevirtual

Definition at line 3642 of file cellsuno.cxx.

References QueryDifferences_Impl().

uno::Reference< sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryVisibleCells ( )
overridevirtual
void ScCellRangesBase::RefChanged ( )
virtual
void SAL_CALL ScCellRangesBase::removeChartDataChangeEventListener ( const css::uno::Reference< css::chart::XChartDataChangeEventListener > &  aListener)
overridevirtual
void SAL_CALL ScCellRangesBase::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

Definition at line 3303 of file cellsuno.cxx.

References aRanges, aValueListeners, ScRangeList::empty(), n, nCount, and pValueListener.

void SAL_CALL ScCellRangesBase::removePropertiesChangeListener ( const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener)
overridevirtual

Definition at line 2676 of file cellsuno.cxx.

void SAL_CALL ScCellRangesBase::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 2543 of file cellsuno.cxx.

References aRanges, and ScRangeList::empty().

void SAL_CALL ScCellRangesBase::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 2559 of file cellsuno.cxx.

sal_Int32 SAL_CALL ScCellRangesBase::replaceAll ( const css::uno::Reference< css::util::XSearchDescriptor > &  xDesc)
overridevirtual
void SAL_CALL ScCellRangesBase::setColumnDescriptions ( const css::uno::Sequence< OUString > &  aColumnDescriptions)
overridevirtual
void ScCellRangesBase::SetCursorOnly ( bool  bSet)

Definition at line 1720 of file cellsuno.cxx.

References bCursorOnly.

Referenced by ScTabViewObj::getSelection().

void SAL_CALL ScCellRangesBase::setData ( const css::uno::Sequence< css::uno::Sequence< double > > &  aData)
overridevirtual
void ScCellRangesBase::SetNewRange ( const ScRange rNew)
void ScCellRangesBase::SetNewRanges ( const ScRangeList rNew)
void ScCellRangesBase::SetOnePropertyValue ( const SfxItemPropertySimpleEntry pEntry,
const css::uno::Any &  aValue 
)
protectedvirtual
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

But we can't recognize this case here -> an extra flag in PropertyMap entry, or something like that??? fetch the item directly from its position in the range?

docfunc

docfunc

Reimplemented in ScTableRowObj, ScTableColumnObj, ScTableSheetObj, ScCellObj, and ScCellRangeObj.

Definition at line 2171 of file cellsuno.cxx.

References ScDocument::AddValidationEntry(), ScDocFunc::ApplyAttributes(), ScHelperFunctions::ApplyBorder(), ScDocFunc::ApplyStyle(), aRanges, ScRange::aStart, aStr, ATTR_BORDER(), ATTR_BORDER_INNER(), ATTR_PATTERN_END(), ATTR_PATTERN_START(), ATTR_VALIDDATA(), bChartColAsHdr, bChartRowAsHdr, SfxItemSet::ClearInvalidItems(), SfxItemSet::ClearItem(), ScTableValidationObj::CreateValidationData(), EE_CHAR_ESCAPEMENT(), ScRangeList::empty(), ScHelperFunctions::FillBoxItems(), ScTableConditionalFormat::FillFormat(), ScRangeList::front(), ScUnoHelpFunctions::GetBoolFromAny(), ScDocument::GetCondFormList(), ScTableConditionalFormat::getCount(), GetCurrentAttrsDeep(), ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetEditPool(), ScDocument::GetEnginePool(), SfxSetItem::GetItemSet(), GetMarkData(), ScDocument::GetPool(), ScRefCellValue::getString(), formula::FormulaGrammar::GRAM_UNSPECIFIED, Grid, i, IsScItemWid(), lcl_SetCellProperty(), formula::FormulaGrammar::mapAPItoGrammar(), n, nIndex, nValue, SfxItemPropertySimpleEntry::nWID, pDocShell, ScDocShell::PostPaint(), ScStyleNameConversion::ProgrammaticToDisplayName(), SfxItemSet::Put(), ScDocument::RemoveCondFormatData(), ScDocFunc::ReplaceConditionalFormat(), SC_WID_UNO_CELLSTYL, SC_WID_UNO_CHCOLHDR, SC_WID_UNO_CHROWHDR, SC_WID_UNO_CONDFMT, SC_WID_UNO_CONDLOC, SC_WID_UNO_CONDXML, SC_WID_UNO_TBLBORD, SC_WID_UNO_TBLBORD2, SC_WID_UNO_VALIDAT, SC_WID_UNO_VALILOC, SC_WID_UNO_VALIXML, ScDocShell::SetDocumentModified(), ScDocument::SetEditText(), EditEngine::SetEditTextObjectPool(), ScRangeList::size(), and ScAddress::Tab().

Referenced by ScCellRangeObj::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScTableColumnObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), setPropertyValue(), setPropertyValues(), and setPropertyValuesTolerant().

void SAL_CALL ScCellRangesBase::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual
void SAL_CALL ScCellRangesBase::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
void SAL_CALL ScCellRangesBase::setPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual
uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL ScCellRangesBase::setPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual
void SAL_CALL ScCellRangesBase::setRowDescriptions ( const css::uno::Sequence< OUString > &  aRowDescriptions)
overridevirtual
virtual sal_Bool SAL_CALL ScCellRangesBase::supportsService ( const OUString &  ServiceName)
overridevirtual

Friends And Related Function Documentation

Definition at line 177 of file cellsuno.hxx.

friend class ScTableSheetObj
friend

Definition at line 176 of file cellsuno.hxx.

Referenced by ScCellRangeObj::getSpreadsheet().

friend class ScTabViewObj
friend

Definition at line 175 of file cellsuno.hxx.

Member Data Documentation

ScRangeList ScCellRangesBase::aRanges
private
XModifyListenerArr_Impl ScCellRangesBase::aValueListeners
private

Definition at line 195 of file cellsuno.hxx.

Referenced by addModifyListener(), Notify(), RefChanged(), and removeModifyListener().

bool ScCellRangesBase::bChartColAsHdr
private
bool ScCellRangesBase::bChartRowAsHdr
private
bool ScCellRangesBase::bCursorOnly
private

Definition at line 193 of file cellsuno.hxx.

Referenced by SetCursorOnly().

bool ScCellRangesBase::bGotDataChangedHint
private

Definition at line 194 of file cellsuno.hxx.

Referenced by Notify().

css::uno::WeakReference<css::uno::XInterface> ScCellRangesBase::m_wThis
private

Definition at line 180 of file cellsuno.hxx.

Referenced by Notify(), and ScCellRangesBase().

sal_Int64 ScCellRangesBase::nObjectId
private

Definition at line 190 of file cellsuno.hxx.

Referenced by Notify(), and ScCellRangesBase().

std::unique_ptr<SfxItemSet> ScCellRangesBase::pCurrentDataSet
private

Definition at line 186 of file cellsuno.hxx.

Referenced by ForgetCurrentAttrs(), and GetCurrentDataSet().

std::unique_ptr<ScPatternAttr> ScCellRangesBase::pCurrentDeep
private

Definition at line 185 of file cellsuno.hxx.

Referenced by ForgetCurrentAttrs(), and GetCurrentAttrsDeep().

std::unique_ptr<ScPatternAttr> ScCellRangesBase::pCurrentFlat
private

Definition at line 184 of file cellsuno.hxx.

Referenced by ForgetCurrentAttrs(), and GetCurrentAttrsFlat().

ScDocShell* ScCellRangesBase::pDocShell
private
std::unique_ptr<ScMarkData> ScCellRangesBase::pMarkData
private

Definition at line 188 of file cellsuno.hxx.

Referenced by ForgetMarkData(), and GetMarkData().

std::unique_ptr<SfxItemSet> ScCellRangesBase::pNoDfltCurrentDataSet
private

Definition at line 187 of file cellsuno.hxx.

Referenced by ForgetCurrentAttrs(), and GetCurrentDataSet().

const SfxItemPropertySet* ScCellRangesBase::pPropSet
private
std::unique_ptr<ScLinkListener> ScCellRangesBase::pValueListener
private

The documentation for this class was generated from the following files: