Lines Matching refs:Reference

211 uno::Any lcl_makeRange( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< un…  in lcl_makeRange()
213 uno::Reference< table::XCellRange > xCellRange( aAny, uno::UNO_QUERY_THROW ); in lcl_makeRange()
214 …return uno::makeAny( uno::Reference< excel::XRange >( new ScVbaRange( xParent, xContext, xCellRang… in lcl_makeRange()
217Reference< excel::XRange > lcl_makeXRangeFromSheetCellRanges( const uno::Reference< XHelperInterfa… in lcl_makeXRangeFromSheetCellRanges()
219 uno::Reference< excel::XRange > xRange; in lcl_makeXRangeFromSheetCellRanges()
234 uno::Reference< table::XCellRange > xTmpRange( new ScCellRangeObj( pDoc, *aCellRanges.First() ) ); in lcl_makeXRangeFromSheetCellRanges()
239 …uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( pDoc, aCellRanges … in lcl_makeXRangeFromSheetCellRanges()
252 …tring::createFromAscii("General Error creating range - Unknown" ), uno::Reference< uno::XInterface… in getCellRangesBase()
269 …RTL_CONSTASCII_USTRINGPARAM( "Can't access Itemset for range" ) ), uno::Reference< uno::XInterface… in getCurrentDataSet()
279 … uno::Reference< script::vba::XVBAEventProcessor > xVBAEvents = pDoc->GetVbaEventProcessor(); in fireChangeEvent()
283 aArgs[ 0 ] <<= uno::Reference< excel::XRange >( this ); in fireChangeEvent()
295 uno::Reference< XHelperInterface > m_xParent;
296 uno::Reference< table::XCellRange > m_xRange;
297 uno::Reference< uno::XComponentContext > mxContext;
301 …on( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< css::uno::XComponentC… in SingleRangeEnumeration()
319 uno::Reference< XHelperInterface > mxParent;
320 uno::Reference< table::XCellRange > m_xRange;
321 uno::Reference< uno::XComponentContext > mxContext;
324 …cess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentCont… in SingleRangeIndexAccess()
338 …virtual uno::Reference< container::XEnumeration > SAL_CALL createEnumeration() throw (uno::Runtime… in createEnumeration()
350 …Impl( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentCont… in RangesEnumerationImpl()
363 …reas( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentCont… in ScVbaRangeAreas()
366 …virtual uno::Reference< container::XEnumeration > SAL_CALL createEnumeration() throw (uno::Runtime…
379 uno::Reference< container::XEnumeration > SAL_CALL
382 …uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW … in createEnumeration()
394 getDocShellFromIf( const uno::Reference< uno::XInterface >& xIf ) throw ( uno::RuntimeException ) in getDocShellFromIf()
398 …_USTRINGPARAM( "Failed to access underlying uno range object" ) ), uno::Reference< uno::XInterface… in getDocShellFromIf()
403 getDocShellFromRange( const uno::Reference< table::XCellRange >& xRange ) throw ( uno::RuntimeExcep… in getDocShellFromRange()
406 uno::Reference< uno::XInterface > xIf( xRange ); in getDocShellFromRange()
411 getDocShellFromRanges( const uno::Reference< sheet::XSheetCellRangeContainer >& xRanges ) throw ( u… in getDocShellFromRanges()
414 uno::Reference< uno::XInterface > xIf( xRanges ); in getDocShellFromRanges()
418 uno::Reference< frame::XModel > getModelFromXIf( const uno::Reference< uno::XInterface >& xIf ) thr… in getModelFromXIf()
424 uno::Reference< frame::XModel > getModelFromRange( const uno::Reference< table::XCellRange >& xRang… in getModelFromRange()
427 uno::Reference< uno::XInterface > xIf( xRange ); in getModelFromRange()
432 getDocumentFromRange( const uno::Reference< table::XCellRange >& xRange ) in getDocumentFromRange()
436 … "Failed to access underlying docshell from uno range object" ) ), uno::Reference< uno::XInterface… in getDocumentFromRange()
447 uno::Reference< container::XIndexAccess > xIndex( mxRanges, uno::UNO_QUERY_THROW ); in getScDocument()
448 uno::Reference< table::XCellRange > xRange( xIndex->getByIndex( 0 ), uno::UNO_QUERY_THROW ); in getScDocument()
459 uno::Reference< container::XIndexAccess > xIndex( mxRanges, uno::UNO_QUERY_THROW ); in getScDocShell()
460 uno::Reference< table::XCellRange > xRange( xIndex->getByIndex( 0 ), uno::UNO_QUERY_THROW ); in getScDocShell()
466 /*static*/ ScVbaRange* ScVbaRange::getImplementation( const uno::Reference< excel::XRange >& rxRang… in getImplementation()
472 uno::Reference< frame::XModel > ScVbaRange::getUnoModel() throw (uno::RuntimeException) in getUnoModel()
479 /*static*/ uno::Reference< frame::XModel > ScVbaRange::getUnoModel( const uno::Reference< excel::XR… in getUnoModel()
490 …USTRINGPARAM( "Cannot obtain UNO range implementation object" ) ), uno::Reference< uno::XInterface… in getScRangeList()
493 /*static*/ const ScRangeList& ScVbaRange::getScRangeList( const uno::Reference< excel::XRange >& rx… in getScRangeList()
497 …USTRINGPARAM( "Cannot obtain VBA range implementation object" ) ), uno::Reference< uno::XInterface… in getScRangeList()
503 uno::Reference< util::XNumberFormatsSupplier > mxSupplier;
504 uno::Reference< beans::XPropertySet > mxRangeProps;
505 uno::Reference< util::XNumberFormats > mxFormats;
507 NumFormatHelper( const uno::Reference< table::XCellRange >& xRange ) in NumFormatHelper()
513 uno::Reference< beans::XPropertySet > getNumberProps() in getNumberProps()
521 return uno::Reference< beans::XPropertySet > (); in getNumberProps()
544 uno::Reference< uno::XInterface > xIf( mxRangeProps, uno::UNO_QUERY_THROW ); in getNumberFormatString()
558 uno::Reference< beans::XPropertySet > xNumberProps( getNumberProps(), uno::UNO_QUERY_THROW ); in getNumberFormatString()
567 uno::Reference< beans::XPropertySet > xNumberProps = getNumberProps(); in getNumberFormat()
580 uno::Reference< beans::XPropertySet > xNumProps = getNumberProps(); in setNumberFormat()
592 uno::Reference< beans::XPropertySet > xNumberProps = getNumberProps(); in setNumberFormat()
595 uno::Reference<util::XNumberFormatTypes> xTypes( mxFormats, uno::UNO_QUERY ); in setNumberFormat()
626 uno::Reference< uno::XComponentContext > mxContext;
627 uno::Reference< excel::XRange > mxRange;
632 …ColumnsRowEnumeration( const uno::Reference< uno::XComponentContext >& xContext, const uno::Refere… in ColumnsRowEnumeration()
650 uno::Reference< uno::XComponentContext > mxContext;
651 uno::Reference< XCollection > m_xAreas;
655 uno::Reference< table::XCellRange > getArea( sal_Int32 nVBAIndex ) throw ( uno::RuntimeException ) in getArea()
659 …uno::Reference< excel::XRange > xRange( m_xAreas->Item( uno::makeAny(nVBAIndex), uno::Any() ), uno… in getArea()
660 …uno::Reference< table::XCellRange > xCellRange( ScVbaRange::getCellRange( xRange ), uno::UNO_QUERY… in getArea()
666 uno::Reference< table::XCellRange > xRange = getArea( nVBAIndex ); in populateArea()
667 uno::Reference< table::XColumnRowRange > xColumnRowRange(xRange, uno::UNO_QUERY_THROW ); in populateArea()
677 …tion( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentCont… in CellsEnumeration()
694 uno::Reference< table::XCellRange > xRangeArea = getArea( aPos.m_nArea ); in nextElement()
695 …uno::Reference< table::XCellRange > xCellRange( xRangeArea->getCellByPosition( aPos.m_nCol, aPos.… in nextElement()
696 …return uno::makeAny( uno::Reference< excel::XRange >( new ScVbaRange( mxParent, mxContext, xCellRa… in nextElement()
726 virtual bool processValue( const uno::Any& aValue, const uno::Reference< table::XCell >& xCell );
727 virtual void visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xCell );
734 CellValueSetter::visitNode( sal_Int32 /*i*/, sal_Int32 /*j*/, const uno::Reference< table::XCell >&… in visitNode()
740 CellValueSetter::processValue( const uno::Any& aValue, const uno::Reference< table::XCell >& xCell ) in processValue()
751 uno::Reference< table::XCellRange > xRange( xCell, uno::UNO_QUERY_THROW ); in processValue()
776 uno::Reference< text::XTextRange > xTextRange( xCell, uno::UNO_QUERY_THROW ); in processValue()
813 virtual void visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xCell );
824 void CellValueGetter::visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xC… in visitNode()
840 uno::Reference< beans::XPropertySet > xProp( xCell, uno::UNO_QUERY_THROW ); in visitNode()
848 uno::Reference< text::XTextRange > xTextRange(xCell, ::uno::UNO_QUERY_THROW); in visitNode()
857 uno::Reference< table::XCellRange > xRange( xCell, uno::UNO_QUERY_THROW ); in visitNode()
869 uno::Reference< text::XTextRange > xTextRange(xCell, ::uno::UNO_QUERY_THROW); in visitNode()
883 bool processValue( const uno::Any& aValue, const uno::Reference< table::XCell >& xCell ) in processValue()
894 uno::Reference< uno::XInterface > xIf( xCell, uno::UNO_QUERY_THROW ); in processValue()
931 virtual void visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xCell ) in visitNode()
937 uno::Reference< uno::XInterface > xIf( xCell, uno::UNO_QUERY_THROW ); in visitNode()
980 void visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xCell ) in visitNode()
1003 virtual void visitNode( sal_Int32 /*x*/, sal_Int32 y, const uno::Reference< table::XCell >& xCell ) in visitNode()
1028 virtual void visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xCell ) in visitNode()
1041 virtual void process( const uno::Reference< excel::XRange >& xRange ) = 0;
1049 virtual void process( const uno::Reference< excel::XRange >& xRange ) in process()
1060 virtual void process( const uno::Reference< excel::XRange >& xRange ) in process()
1071 virtual void process( const uno::Reference< excel::XRange >& xRange ) in process()
1080 uno::Reference< XCollection > m_Areas;
1082 AreasVisitor( const uno::Reference< XCollection >& rAreas ):m_Areas( rAreas ){} in AreasVisitor()
1091 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in visit()
1100 uno::Reference< table::XCellRange > m_xCellRange;
1103 …RangeHelper( const uno::Reference< table::XCellRange >& xCellRange ) throw (uno::RuntimeException)… in RangeHelper()
1112 uno::Reference< sheet::XSheetCellRange > getSheetCellRange() throw (uno::RuntimeException) in getSheetCellRange()
1114 return uno::Reference< sheet::XSheetCellRange >(m_xCellRange, uno::UNO_QUERY_THROW); in getSheetCellRange()
1116 uno::Reference< sheet::XSpreadsheet > getSpreadSheet() throw (uno::RuntimeException) in getSpreadSheet()
1121 uno::Reference< table::XCellRange > getCellRangeFromSheet() throw (uno::RuntimeException) in getCellRangeFromSheet()
1123 return uno::Reference< table::XCellRange >(getSpreadSheet(), uno::UNO_QUERY_THROW ); in getCellRangeFromSheet()
1126 …uno::Reference< sheet::XCellRangeAddressable > getCellRangeAddressable() throw (uno::RuntimeExcep… in getCellRangeAddressable()
1128 return uno::Reference< sheet::XCellRangeAddressable >(m_xCellRange, ::uno::UNO_QUERY_THROW); in getCellRangeAddressable()
1132 uno::Reference< sheet::XSheetCellCursor > getSheetCellCursor() throw ( uno::RuntimeException ) in getSheetCellCursor()
1134 …return uno::Reference< sheet::XSheetCellCursor >( getSpreadSheet()->createCursorByRange( getSheet… in getSheetCellCursor()
1137 …static uno::Reference< excel::XRange > createRangeFromRange( const uno::Reference< XHelperInterfac… in createRangeFromRange()
1138 …const uno::Reference< table::XCellRange >& xRange, const uno::Reference< sheet::XCellRangeAddressa… in createRangeFromRange()
1141 return uno::Reference< excel::XRange >( new ScVbaRange( xParent, xContext, in createRangeFromRange()
1174 uno::Reference< beans::XPropertySet > xProps( pDocSh->GetModel(), uno::UNO_QUERY_THROW ); in getScRangeListForAddress()
1175 …uno::Reference< container::XNameAccess > xNameAccess( xProps->getPropertyValue( rtl::OUString( RTL… in getScRangeListForAddress()
1199 …uno::Reference< sheet::XNamedRange > xNamed( xNameAccess->getByName( sAddress ), uno::UNO_QUERY_TH… in getScRangeListForAddress()
1227 getRangeForName( const uno::Reference< uno::XComponentContext >& xContext, const rtl::OUString& sNa… in getRangeForName()
1237 uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pDocSh, *aCellRanges.First() ) ); in getRangeForName()
1238 uno::Reference< XHelperInterface > xFixThisParent = excel::getUnoSheetModuleObj( xRange ); in getRangeForName()
1241 …uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( pDocSh, aCellRange… in getRangeForName()
1243 uno::Reference< XHelperInterface > xFixThisParent = excel::getUnoSheetModuleObj( xRanges ); in getRangeForName()
1252 inline table::CellRangeAddress lclGetRangeAddress( const uno::Reference< RangeType >& rxCellRange )… in lclGetRangeAddress()
1254 …return uno::Reference< sheet::XCellRangeAddressable >( rxCellRange, uno::UNO_QUERY_THROW )->getRan… in lclGetRangeAddress()
1257 void lclClearRange( const uno::Reference< table::XCellRange >& rxCellRange ) throw (uno::RuntimeExc… in lclClearRange()
1261 uno::Reference< sheet::XSheetOperation > xSheetOperation( rxCellRange, uno::UNO_QUERY_THROW ); in lclClearRange()
1265 uno::Reference< sheet::XSheetCellRange > lclExpandToMerged( const uno::Reference< table::XCellRange… in lclExpandToMerged()
1267 uno::Reference< sheet::XSheetCellRange > xNewCellRange( rxCellRange, uno::UNO_QUERY_THROW ); in lclExpandToMerged()
1268 …uno::Reference< sheet::XSpreadsheet > xSheet( xNewCellRange->getSpreadsheet(), uno::UNO_SET_THROW … in lclExpandToMerged()
1275 …uno::Reference< sheet::XSheetCellCursor > xCursor( xSheet->createCursorByRange( xNewCellRange ), u… in lclExpandToMerged()
1284 uno::Reference< sheet::XSheetCellRangeContainer > lclExpandToMerged( const uno::Reference< sheet::X… in lclExpandToMerged()
1287 …ng( RTL_CONSTASCII_USTRINGPARAM( "Missing cell ranges object" ) ), uno::Reference< uno::XInterface… in lclExpandToMerged()
1290 …ng( RTL_CONSTASCII_USTRINGPARAM( "Missing cell ranges object" ) ), uno::Reference< uno::XInterface… in lclExpandToMerged()
1295 …uno::Reference< table::XCellRange > xRange( rxCellRanges->getByIndex( nIndex ), uno::UNO_QUERY_THR… in lclExpandToMerged()
1304 void lclExpandAndMerge( const uno::Reference< table::XCellRange >& rxCellRange, bool bMerge ) throw… in lclExpandAndMerge()
1306 …uno::Reference< util::XMergeable > xMerge( lclExpandToMerged( rxCellRange, true ), uno::UNO_QUERY_… in lclExpandAndMerge()
1326 util::TriState lclGetMergedState( const uno::Reference< table::XCellRange >& rxCellRange ) throw (u… in lclGetMergedState()
1333 …uno::Reference< table::XCellRange > xTopLeft( rxCellRange->getCellRangeByPosition( 0, 0, 0, 0 ), u… in lclGetMergedState()
1334 …uno::Reference< sheet::XSheetCellRange > xExpanded( lclExpandToMerged( xTopLeft, false ), uno::UNO… in lclGetMergedState()
1355 css::uno::Reference< excel::XRange >
1357 const uno::Reference< uno::XComponentContext >& xContext, const rtl::OUString& sRangeName, in getRangeObjectForName()
1367 uno::Reference< table::XCellRange > xRangeParam; in getCellRangeAddressForVBARange()
1388 uno::Reference< excel::XRange > xRange; in getCellRangeAddressForVBARange()
1395 …TASCII_USTRINGPARAM("Can't extact CellRangeAddress from type" ) ), uno::Reference< uno::XInterface… in getCellRangeAddressForVBARange()
1400 uno::Reference< XCollection >
1401 …ders( const uno::Reference< excel::XRange >& xParentRange, const uno::Reference<uno::XComponentCon… in lcl_setupBorders()
1403 uno::Reference< XHelperInterface > xParent( xParentRange, uno::UNO_QUERY_THROW ); in lcl_setupBorders()
1406 …NSTASCII_USTRINGPARAM( "Failed to access document from shell" ) ), uno::Reference< uno::XInterface… in lcl_setupBorders()
1408 uno::Reference< XCollection > borders( new ScVbaBorders( xParent, xContext, xRange, aPalette ) ); in lcl_setupBorders()
1412 void lcl_NotifyRangeChanges( const uno::Reference< frame::XModel >& xModel, ScCellRangesBase* pUnoR… in lcl_NotifyRangeChanges()
1426 …uno::Reference< uno::XComponentContext> const & xContext ) throw ( lang::IllegalArgumentException… in ScVbaRange()
1430 uno::Reference< container::XIndexAccess > xIndex; in ScVbaRange()
1442 …ange( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentCont… in ScVbaRange()
1443 : ScVbaRange_BASE( xParent, xContext, uno::Reference< beans::XPropertySet >( xRange, uno::UNO_QUERY… in ScVbaRange()
1448 …:OUString( RTL_CONSTASCII_USTRINGPARAM( "context is not set " ) ), uno::Reference< uno::XInterface… in ScVbaRange()
1450 …l::OUString( RTL_CONSTASCII_USTRINGPARAM( "range is not set " ) ), uno::Reference< uno::XInterface… in ScVbaRange()
1452 …uno::Reference< container::XIndexAccess > xIndex( new SingleRangeIndexAccess( mxParent, mxContext,… in ScVbaRange()
1457 …ange( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentCont… in ScVbaRange()
1458 …E( xParent, xContext, uno::Reference< beans::XPropertySet >( xRanges, uno::UNO_QUERY_THROW ), getM… in ScVbaRange()
1461 uno::Reference< container::XIndexAccess > xIndex( mxRanges, uno::UNO_QUERY_THROW ); in ScVbaRange()
1470 uno::Reference< XCollection >& ScVbaRange::getBorders() in getBorders()
1474 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(1) ), uno::Any() ),… in getBorders()
1475 …m_Borders = lcl_setupBorders( this, mxContext, uno::Reference< table::XCellRange >( xRange->getCel… in getBorders()
1490 uno::Reference< table::XCell > xCell( mxRange->getCellByPosition( j, i ), uno::UNO_QUERY_THROW ); in visitArray()
1502 uno::Reference< table::XColumnRowRange > xColumnRowRange(mxRange, uno::UNO_QUERY_THROW ); in getValue()
1526 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in getValue()
1542 uno::Reference< script::XTypeConverter > xConverter = getTypeConverter( mxContext ); in setValue()
1615 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in ClearContents()
1626 uno::Reference< sheet::XSheetOperation > xSheetOperation(mxRange, uno::UNO_QUERY_THROW); in ClearContents()
1682 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in getFormulaValue()
1728 uno::Reference< table::XColumnRowRange > xColumnRowRange(mxRange, uno::UNO_QUERY_THROW ); in getCount()
1748 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in getRow()
1751 …uno::Reference< sheet::XCellAddressable > xCellAddressable(mxRange->getCellByPosition(0, 0), uno::… in getRow()
1764 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in getColumn()
1767 …uno::Reference< sheet::XCellAddressable > xCellAddressable(mxRange->getCellByPosition(0, 0), uno::… in getColumn()
1780 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in HasFormula()
1792 uno::Reference< uno::XInterface > xIf( mxRange, uno::UNO_QUERY_THROW ); in HasFormula()
1796 …uno::Reference<uno::XInterface> xRanges( pThisRanges->queryFormulaCells( ( sheet::FormulaResult::… in HasFormula()
1817 uno::Reference< XCollection > xCollection( m_Areas, uno::UNO_QUERY_THROW ); in fillSeries()
1820 …uno::Reference< excel::XRange > xRange( xCollection->Item( uno::makeAny( index ), uno::Any() ), un… in fillSeries()
1828 uno::Reference< sheet::XCellSeries > xCellSeries(mxRange, uno::UNO_QUERY_THROW ); in fillSeries()
1872 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in getText()
1875 …uno::Reference< text::XTextRange > xTextRange(mxRange->getCellByPosition(0,0), uno::UNO_QUERY_THRO… in getText()
1879 uno::Reference< excel::XRange >
1907 …uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( pUnoRangesBase->Ge… in Offset()
1911 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pUnoRangesBase->GetDocShell(), *aC… in Offset()
1915 uno::Reference< excel::XRange >
1924 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in CurrentRegion()
1929 uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor = in CurrentRegion()
1932 …uno::Reference< sheet::XCellRangeAddressable > xCellRangeAddressable(xSheetCellCursor, uno::UNO_QU… in CurrentRegion()
1936 uno::Reference< excel::XRange >
1945 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in CurrentArray()
1949 uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor = in CurrentArray()
1952 …uno::Reference< sheet::XCellRangeAddressable > xCellRangeAddressable(xSheetCellCursor, uno::UNO_QU… in CurrentArray()
1965 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in getFormulaArray()
1969 uno::Reference< sheet::XCellRangeFormula> xCellRangeFormula( mxRange, uno::UNO_QUERY_THROW ); in getFormulaArray()
1970 uno::Reference< script::XTypeConverter > xConverter = getTypeConverter( mxContext ); in getFormulaArray()
1985 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in setFormulaArray()
2003 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in Characters()
2009 uno::Reference< text::XTextRange > xTextRange(mxRange, ::uno::UNO_QUERY_THROW ); in Characters()
2027 uno::Reference< XCollection > xCollection( m_Areas, uno::UNO_QUERY_THROW ); in Address()
2031 …uno::Reference< excel::XRange > xRange( xCollection->Item( uno::makeAny( index ), uno::Any() ), un… in Address()
2097 uno::Reference < excel::XFont >
2100 uno::Reference< beans::XPropertySet > xProps(mxRange, ::uno::UNO_QUERY ); in Font()
2107 …NSTASCII_USTRINGPARAM( "Failed to access document from shell" ) ), uno::Reference< uno::XInterface… in Font()
2121 uno::Reference< excel::XRange >
2130 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in Cells()
2140 uno::Reference< excel::XRange >
2141 ScVbaRange::CellsHelper( const uno::Reference< ov::XHelperInterface >& xParent, in CellsHelper()
2142 const uno::Reference< uno::XComponentContext >& xContext, in CellsHelper()
2143 const uno::Reference< css::table::XCellRange >& xRange, in CellsHelper()
2157 uno::Reference< script::XTypeConverter > xConverter = getTypeConverter( xContext ); in CellsHelper()
2168 uno::Reference< script::XTypeConverter > xConverter = getTypeConverter( xContext ); in CellsHelper()
2180 uno::Reference< table::XCellRange > xSheetRange = thisRange.getCellRangeFromSheet(); in CellsHelper()
2183 return uno::Reference< excel::XRange >( new ScVbaRange( xParent, xContext, xRange ) ); in CellsHelper()
2188 uno::Reference< table::XColumnRowRange > xColumnRowRange(xRange, ::uno::UNO_QUERY_THROW); in CellsHelper()
2209 …_USTRINGPARAM( "Failed to access underlying uno range object" ) ), uno::Reference< uno::XInterface… in Select()
2213 uno::Reference< frame::XModel > xModel( pShell->GetModel(), uno::UNO_QUERY_THROW ); in Select()
2214 …uno::Reference< view::XSelectionSupplier > xSelection( xModel->getCurrentController(), uno::UNO_QU… in Select()
2223 …uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_QUERY_T… in Select()
2224 uno::Reference< frame::XFrame > xFrame( xController->getFrame(), uno::UNO_QUERY_THROW ); in Select()
2225 uno::Reference< awt::XWindow > xWin( xFrame->getContainerWindow(), uno::UNO_QUERY_THROW ); in Select()
2242 void setCursor( const SCCOL& nCol, const SCROW& nRow, const uno::Reference< frame::XModel >& xMode… in setCursor()
2258 uno::Reference< table::XCellRange > xCellRange; in Activate()
2261 uno::Reference< container::XIndexAccess > xIndex( mxRanges, uno::UNO_QUERY_THROW ); in Activate()
2268 …uno::Reference< sheet::XCellRangeAddressable > xThisRangeAddress = thisRange.getCellRangeAddressab… in Activate()
2270 uno::Reference< frame::XModel > xModel; in Activate()
2280 …uno::Reference< sheet::XCellRangeAddressable > xRange( xModel->getCurrentSelection(), ::uno::UNO_Q… in Activate()
2282 …uno::Reference< sheet::XSheetCellRanges > xRanges( xModel->getCurrentSelection(), ::uno::UNO_QUERY… in Activate()
2314 uno::Reference< excel::XRange >
2347 …n( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Illegal param" ) ), uno::Reference< uno::XInterface… in Rows()
2350 …rtl::OUString::createFromAscii("Internal failure, illegal param"), uno::Reference< uno::XInterface… in Rows()
2352 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pUnoRangesBase->GetDocShell(), aRa… in Rows()
2361 uno::Reference< excel::XRange >
2394 …n( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Illegal param" ) ), uno::Reference< uno::XInterface… in Columns()
2397 …rtl::OUString::createFromAscii("Internal failure, illegal param"), uno::Reference< uno::XInterface… in Columns()
2400 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pUnoRangesBase->GetDocShell(), aRa… in Columns()
2417 …uno::Reference< sheet::XCellRangeAddressable > xRangeAddr( mxRanges->getByIndex( nIndex ), uno::UN… in setMergeCells()
2428 …uno::Reference< table::XCellRange > xRange( mxRanges->getByIndex( nIndex ), uno::UNO_QUERY_THROW ); in setMergeCells()
2446 …uno::Reference< table::XCellRange > xRange( mxRanges->getByIndex( nIndex ), uno::UNO_QUERY_THROW ); in getMergeCells()
2471 …INGPARAM("That command cannot be used on multiple selections" ) ), uno::Reference< uno::XInterface… in Copy()
2474 uno::Reference< excel::XRange > xRange( Destination, uno::UNO_QUERY_THROW ); in Copy()
2476 uno::Reference< table::XCellRange > xCellRange; in Copy()
2478 uno::Reference< sheet::XSheetCellRange > xSheetCellRange(xCellRange, ::uno::UNO_QUERY_THROW); in Copy()
2479 uno::Reference< sheet::XSpreadsheet > xSheet = xSheetCellRange->getSpreadsheet(); in Copy()
2480 uno::Reference< table::XCellRange > xDest( xSheet, uno::UNO_QUERY_THROW ); in Copy()
2481 uno::Reference< sheet::XCellRangeMovement > xMover( xSheet, uno::UNO_QUERY_THROW); in Copy()
2482 uno::Reference< sheet::XCellAddressable > xDestination( xDest->getCellByPosition( in Copy()
2484 uno::Reference< sheet::XCellRangeAddressable > xSource( mxRange, uno::UNO_QUERY); in Copy()
2489 uno::Reference< frame::XModel > xModel = getModelFromRange( mxRange ); in Copy()
2499 …INGPARAM("That command cannot be used on multiple selections" ) ), uno::Reference< uno::XInterface… in Cut()
2502 uno::Reference< excel::XRange > xRange( Destination, uno::UNO_QUERY_THROW ); in Cut()
2503 uno::Reference< table::XCellRange > xCellRange( xRange->getCellRange(), uno::UNO_QUERY_THROW ); in Cut()
2504 uno::Reference< sheet::XSheetCellRange > xSheetCellRange(xCellRange, ::uno::UNO_QUERY_THROW ); in Cut()
2505 uno::Reference< sheet::XSpreadsheet > xSheet = xSheetCellRange->getSpreadsheet(); in Cut()
2506 uno::Reference< table::XCellRange > xDest( xSheet, uno::UNO_QUERY_THROW ); in Cut()
2507 uno::Reference< sheet::XCellRangeMovement > xMover( xSheet, uno::UNO_QUERY_THROW); in Cut()
2508 uno::Reference< sheet::XCellAddressable > xDestination( xDest->getCellByPosition( in Cut()
2510 uno::Reference< sheet::XCellRangeAddressable > xSource( mxRange, uno::UNO_QUERY); in Cut()
2514 uno::Reference< frame::XModel > xModel = getModelFromRange( mxRange ); in Cut()
2530 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in setNumberFormat()
2549 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in getNumberFormat()
2568 uno::Reference< excel::XRange >
2573 uno::Reference< table::XColumnRowRange > xColumnRowRange(mxRange, ::uno::UNO_QUERY_THROW); in Resize()
2574 uno::Reference< sheet::XSheetCellRange > xSheetRange(mxRange, ::uno::UNO_QUERY_THROW); in Resize()
2575 …uno::Reference< sheet::XSheetCellCursor > xCursor( xSheetRange->getSpreadsheet()->createCursorByRa… in Resize()
2583 …uno::Reference< sheet::XCellRangeAddressable > xCellRangeAddressable(xCursor, ::uno::UNO_QUERY_THR… in Resize()
2584 …uno::Reference< table::XCellRange > xRange( xSheetRange->getSpreadsheet(), ::uno::UNO_QUERY_THROW … in Resize()
2601 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in setWrapText()
2607 uno::Reference< beans::XPropertySet > xProps(mxRange, ::uno::UNO_QUERY_THROW ); in setWrapText()
2621 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in getWrapText()
2636 uno::Reference< beans::XPropertySet > xProps(mxRange, ::uno::UNO_QUERY_THROW ); in getWrapText()
2641 uno::Reference< excel::XInterior > ScVbaRange::Interior( ) throw ( script::BasicErrorException, uno… in Interior()
2643 uno::Reference< beans::XPropertySet > xProps( mxRange, uno::UNO_QUERY_THROW ); in Interior()
2646 uno::Reference< excel::XRange >
2651 uno::Reference< excel::XRange >
2655 uno::Reference< table::XCellRange > xCellRange = mxRange; in Range()
2659 uno::Reference< container::XIndexAccess > xIndex( mxRanges, uno::UNO_QUERY_THROW ); in Range()
2666 uno::Reference< table::XCellRange > xRanges = thisRange.getCellRangeFromSheet(); in Range()
2667 uno::Reference< sheet::XCellRangeAddressable > xAddressable( xRanges, uno::UNO_QUERY_THROW ); in Range()
2669 uno::Reference< table::XCellRange > xReferrer = in Range()
2679 uno::Reference< XInterface >() ); in Range()
2765 /*static*/ uno::Any ScVbaRange::getCellRange( const uno::Reference< excel::XRange >& rxRange ) thro… in getCellRange()
2829 …INGPARAM("That command cannot be used on multiple selections" ) ), uno::Reference< uno::XInterface… in PasteSpecial()
2832 …uno::Reference< frame::XModel > xModel( ( pShell ? pShell->GetModel() : NULL ), uno::UNO_QUERY_THR… in PasteSpecial()
2833 …uno::Reference< view::XSelectionSupplier > xSelection( xModel->getCurrentController(), uno::UNO_QU… in PasteSpecial()
2835 uno::Reference< uno::XInterface > xSel( xModel->getCurrentSelection() ); in PasteSpecial()
2860 uno::Reference< excel::XRange >
2882 …uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( pUnoRangesBase->Ge… in getEntireColumnOrRow()
2886 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pUnoRangesBase->GetDocShell(), *aC… in getEntireColumnOrRow()
2890 uno::Reference< excel::XRange > SAL_CALL
2896 uno::Reference< excel::XRange > SAL_CALL
2902 uno::Reference< excel::XComment > SAL_CALL
2919 uno::Reference< sheet::XSheetCellRange > xCellRange( mxRange, uno::UNO_QUERY_THROW ); in AddComment()
2920 …uno::Reference< sheet::XSheetAnnotationsSupplier > xAnnosSupp( xCellRange->getSpreadsheet(), uno::… in AddComment()
2921 …uno::Reference< sheet::XSheetAnnotations > xAnnos( xAnnosSupp->getAnnotations(), uno::UNO_SET_THRO… in AddComment()
2926 uno::Reference< excel::XComment > SAL_CALL
2931 …uno::Reference< excel::XComment > xComment( new ScVbaComment( this, mxContext, getUnoModel(), mxRa… in getComment()
2938 uno::Reference< beans::XPropertySet >
2939 getRowOrColumnProps( const uno::Reference< table::XCellRange >& xCellRange, bool bRows ) throw ( un… in getRowOrColumnProps()
2941 uno::Reference< table::XColumnRowRange > xColRow( xCellRange, uno::UNO_QUERY_THROW ); in getRowOrColumnProps()
2942 uno::Reference< beans::XPropertySet > xProps; in getRowOrColumnProps()
2957 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(sal_Int32(1)), uno::Any() ), u… in getHidden()
2963 uno::Reference< beans::XPropertySet > xProps = getRowOrColumnProps( mxRange, mbIsRows ); in getHidden()
2965 …RTL_CONSTASCII_USTRINGPARAM( "Failed to get IsVisible property")), uno::Reference< uno::XInterface… in getHidden()
2969 throw uno::RuntimeException( e.Message, uno::Reference< uno::XInterface >() ); in getHidden()
2982 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in setHidden()
2991 uno::Reference< beans::XPropertySet > xProps = getRowOrColumnProps( mxRange, mbIsRows ); in setHidden()
2996 throw uno::RuntimeException( e.Message, uno::Reference< uno::XInterface >() ); in setHidden()
3007 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( index ), uno::Any() ), uno::U… in Replace()
3015 … RTL_CONSTASCII_USTRINGPARAM("Range::Replace, missing params" )) , uno::Reference< uno::XInterface… in Replace()
3026 uno::Reference< util::XReplaceable > xReplace( mxRange, uno::UNO_QUERY ); in Replace()
3029 uno::Reference< util::XReplaceDescriptor > xDescriptor = in Replace()
3045 …ASCII_USTRINGPARAM("Range::Replace, illegal value for LookAt" )) , uno::Reference< uno::XInterface… in Replace()
3061 …_USTRINGPARAM("Range::Replace, illegal value for SearchOrder" )) , uno::Reference< uno::XInterface… in Replace()
3077 uno::Reference< util::XSearchDescriptor > xSearch( xDescriptor, uno::UNO_QUERY ); in Replace()
3079 uno::Reference< container::XIndexAccess > xIndexAccess = xReplace->findAll( xSearch ); in Replace()
3093 uno::Reference< excel::XRange > SAL_CALL
3105 …ng( RTL_CONSTASCII_USTRINGPARAM("Range::Find, missing params" )) , uno::Reference< uno::XInterface… in Find()
3116 …ng( RTL_CONSTASCII_USTRINGPARAM("Range::Find, missing params" )) , uno::Reference< uno::XInterface… in Find()
3126 uno::Reference< util::XSearchable > xSearch( mxRange, uno::UNO_QUERY ); in Find()
3129 uno::Reference< util::XSearchDescriptor > xDescriptor = xSearch->createSearchDescriptor(); in Find()
3133 uno::Reference< excel::XRange > xAfterRange; in Find()
3134 uno::Reference< table::XCellRange > xStartCell; in Find()
3139 …g( RTL_CONSTASCII_USTRINGPARAM("After must be a single cell." )) , uno::Reference< uno::XInterface… in Find()
3140 …uno::Reference< excel::XRange > xCell( Cells( uno::makeAny( xAfterRange->getRow() ), uno::makeAny(… in Find()
3142 …String( RTL_CONSTASCII_USTRINGPARAM("After must be in range." )) , uno::Reference< uno::XInterface… in Find()
3165 …SCII_USTRINGPARAM("Range::Replace, illegal value for LookIn." )) , uno::Reference< uno::XInterface… in Find()
3182 …ASCII_USTRINGPARAM("Range::Replace, illegal value for LookAt" )) , uno::Reference< uno::XInterface… in Find()
3197 …_USTRINGPARAM("Range::Replace, illegal value for SearchOrder" )) , uno::Reference< uno::XInterface… in Find()
3215 …RINGPARAM("Range::Replace, illegal value for SearchDirection" )) , uno::Reference< uno::XInterface… in Find()
3227 …II_USTRINGPARAM("Range::Replace, illegal value for MatchCase" )) , uno::Reference< uno::XInterface… in Find()
3237 …uno::Reference< uno::XInterface > xInterface = xStartCell.is() ? xSearch->findNext( xStartCell, xD… in Find()
3238 uno::Reference< table::XCellRange > xCellRange( xInterface, uno::UNO_QUERY ); in Find()
3241 … uno::Reference< excel::XRange > xResultRange = new ScVbaRange( mxParent, mxContext, xCellRange ); in Find()
3251 return uno::Reference< excel::XRange >(); in Find()
3254 uno::Reference< table::XCellRange > processKey( const uno::Any& Key, uno::Reference< uno::XCompone… in processKey()
3256 uno::Reference< excel::XRange > xKeyRange; in processKey()
3267 …I_USTRINGPARAM("Range::Sort no docshell to calculate key param")), uno::Reference< uno::XInterface… in processKey()
3271 …CII_USTRINGPARAM("Range::Sort illegal type value for key param")), uno::Reference< uno::XInterface… in processKey()
3272 uno::Reference< table::XCellRange > xKey; in processKey()
3289 …RTL_CONSTASCII_USTRINGPARAM("Range::Sort unknown sort property")), uno::Reference< uno::XInterface… in findSortPropertyIndex()
3294 void updateTableSortField( const uno::Reference< table::XCellRange >& xParentRange, in updateTableSortField()
3295 const uno::Reference< table::XCellRange >& xColRowKey, sal_Int16 nOrder, in updateTableSortField()
3325 …l::OUString( RTL_CONSTASCII_USTRINGPARAM( "Illegal Key param" ) ), uno::Reference< uno::XInterface… in updateTableSortField()
3335 …INGPARAM("That command cannot be used on multiple selections" ) ), uno::Reference< uno::XInterface… in Sort()
3343 …NSTASCII_USTRINGPARAM( "Failed to access document from shell" ) ), uno::Reference< uno::XInterface… in Sort()
3360 uno::Reference< table::XColumnRowRange > xColumnRowRange(mxRange, uno::UNO_QUERY_THROW ); in Sort()
3476 uno::Reference< table::XCellRange > xKey1; in Sort()
3477 uno::Reference< table::XCellRange > xKey2; in Sort()
3478 uno::Reference< table::XCellRange > xKey3; in Sort()
3482 …ng(RTL_CONSTASCII_USTRINGPARAM("Range::Sort needs a key1 param")), uno::Reference< uno::XInterface… in Sort()
3489 uno::Reference< util::XSortable > xSort( mxRange, uno::UNO_QUERY_THROW ); in Sort()
3523 uno::Reference< excel::XRange > SAL_CALL
3528 uno::Reference< excel::XRange > xRange( getArea( 0 ), uno::UNO_QUERY_THROW ); in End()
3543 uno::Reference< excel::XApplication > xApplication( Application(), uno::UNO_QUERY_THROW ); in End()
3549 uno::Reference< frame::XModel > xModel = getModelFromRange( mxRange ); in End()
3578 …UString( RTL_CONSTASCII_USTRINGPARAM( ": Invalid ColumnIndex" ) ), uno::Reference< uno::XInterface… in End()
3592 …uno::Reference< excel::XRange > xOldActiveCell( xApplication->getActiveSheet()->Range( uno::makeAn… in End()
3595 uno::Reference< excel::XRange > resultCell; in End()
3607 uno::Reference< sheet::XCellRangeAddressable > xAddressable( mxRange, uno::UNO_QUERY ); in isSingleCellRange()
3616 uno::Reference< excel::XCharacters > SAL_CALL
3620 …GPARAM("Can't create Characters property for multicell range ") ), uno::Reference< uno::XInterface… in characters()
3621 …uno::Reference< text::XSimpleText > xSimple(mxRange->getCellByPosition(0,0) , uno::UNO_QUERY_THROW… in characters()
3624 …NSTASCII_USTRINGPARAM( "Failed to access document from shell" ) ), uno::Reference< uno::XInterface… in characters()
3638 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in Delete()
3659 …l::OUString( RTL_CONSTASCII_USTRINGPARAM ("Illegal parameter ") ), uno::Reference< uno::XInterface… in Delete()
3672 …uno::Reference< sheet::XCellRangeMovement > xCellRangeMove( thisRange.getSpreadSheet(), uno::UNO_Q… in Delete()
3681 uno::Reference< table::XColumnRowRange > xColumnRowRange(mxRange, uno::UNO_QUERY ); in hasElements()
3690 uno::Reference< container::XEnumeration > SAL_CALL
3695 uno::Reference< table::XColumnRowRange > xColumnRowRange(mxRange, uno::UNO_QUERY ); in createEnumeration()
3696 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(1) ), uno::Any() ),… in createEnumeration()
3756 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(1) ), uno::Any() ),… in getColumnWidth()
3764 uno::Reference< frame::XModel > xModel = pShell->GetModel(); in getColumnWidth()
3796 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(index) ), uno::Any(… in setColumnWidth()
3829 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(1) ), uno::Any() ),… in getWidth()
3832 uno::Reference< table::XColumnRowRange > xColRowRange( mxRange, uno::UNO_QUERY_THROW ); in getWidth()
3833 …uno::Reference< container::XIndexAccess > xIndexAccess( xColRowRange->getColumns(), uno::UNO_QUERY… in getWidth()
3838 …uno::Reference< sheet::XCellRangeAddressable > xAddressable( xIndexAccess->getByIndex( index ), un… in getWidth()
3853 uno::Reference< excel::XRange >
3857 … rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("No areas available")), uno::Reference< uno::XInterface… in getArea()
3858 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( ++nIndex ), uno::Any() ), uno… in getArea()
3886 …uno::Reference< excel::XBorder > xBorder( m_Borders->Item( uno::makeAny( nLineType ), uno::Any() )… in BorderAround()
3923 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(1) ), uno::Any() ),… in getRowHeight()
3964 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(index) ), uno::Any(… in setRowHeight()
4000 uno::Reference< frame::XModel > xModel = pShell->GetModel(); in getPageBreak()
4041 uno::Reference< frame::XModel > xModel = pShell->GetModel(); in setPageBreak()
4058 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(1) ), uno::Any() ),… in getHeight()
4062 uno::Reference< table::XColumnRowRange > xColRowRange( mxRange, uno::UNO_QUERY_THROW ); in getHeight()
4063 …uno::Reference< container::XIndexAccess > xIndexAccess( xColRowRange->getRows(), uno::UNO_QUERY_TH… in getHeight()
4068 …uno::Reference< sheet::XCellRangeAddressable > xAddressable( xIndexAccess->getByIndex( index ), un… in getHeight()
4078 uno::Reference< beans::XPropertySet > xProps; in getPosition()
4107 uno::Reference< excel::XWorksheet >
4112 uno::Reference< excel::XWorksheet > xSheet( getParent(), uno::UNO_QUERY ); in getWorksheet()
4115 uno::Reference< table::XCellRange > xRange = mxRange; in getWorksheet()
4119 uno::Reference< container::XIndexAccess > xIndex( mxRanges, uno::UNO_QUERY_THROW ); in getWorksheet()
4125 …xSheet.set( new ScVbaWorksheet( uno::Reference< XHelperInterface >(), mxContext,rHelper.getSpreadS… in getWorksheet()
4132 uno::Reference< excel::XRange >
4133 ScVbaRange::ApplicationRange( const uno::Reference< uno::XComponentContext >& xContext, const css::… in ApplicationRange()
4155 …uno::Reference< beans::XPropertySet > xPropSet( getCurrentExcelDoc(xContext), uno::UNO_QUERY_THROW… in ApplicationRange()
4157 …uno::Reference< container::XNameAccess > xNamed( xPropSet->getPropertyValue( sNamedRanges ), uno::… in ApplicationRange()
4158 uno::Reference< sheet::XCellRangeReferrer > xReferrer; in ApplicationRange()
4169 uno::Reference< table::XCellRange > xRange = xReferrer->getReferredCells(); in ApplicationRange()
4172 …uno::Reference< excel::XRange > xVbRange = new ScVbaRange( excel::getUnoSheetModuleObj( xRange ),… in ApplicationRange()
4177 …uno::Reference< sheet::XSpreadsheetView > xView( getCurrentExcelDoc(xContext)->getCurrentControlle… in ApplicationRange()
4178 uno::Reference< table::XCellRange > xSheetRange( xView->getActiveSheet(), uno::UNO_QUERY_THROW ); in ApplicationRange()
4180 uno::Reference< excel::XRange > xVbSheetRange( pRange ); in ApplicationRange()
4184 uno::Reference< sheet::XDatabaseRanges >
4187 uno::Reference< frame::XModel > xModel; in lcl_GetDataBaseRanges()
4190 uno::Reference< beans::XPropertySet > xModelProps( xModel, uno::UNO_QUERY_THROW ); in lcl_GetDataBaseRanges()
4191 …uno::Reference< sheet::XDatabaseRanges > xDBRanges( xModelProps->getPropertyValue( rtl::OUString( … in lcl_GetDataBaseRanges()
4196 uno::Reference< sheet::XDatabaseRange >
4199 …uno::Reference< container::XIndexAccess > xIndexAccess( lcl_GetDataBaseRanges( pShell ), uno::UNO_… in lcl_GetAutoFiltRange()
4200 uno::Reference< sheet::XDatabaseRange > xDataBaseRange; in lcl_GetAutoFiltRange()
4204 …uno::Reference< sheet::XDatabaseRange > xDBRange( xIndexAccess->getByIndex( index ), uno::UNO_QUER… in lcl_GetAutoFiltRange()
4205 uno::Reference< container::XNamed > xNamed( xDBRange, uno::UNO_QUERY_THROW ); in lcl_GetAutoFiltRange()
4216 uno::Reference< beans::XPropertySet > xProps( xDBRange, uno::UNO_QUERY_THROW ); in lcl_GetAutoFiltRange()
4303 void lcl_setTableFieldsFromCriteria( rtl::OUString& sCriteria1, uno::Reference< beans::XPropertySet… in lcl_setTableFieldsFromCriteria()
4400 …uno::Reference< sheet::XDatabaseRange > xDataBaseRange = lcl_GetAutoFiltRange( pShell, nSheet, sAu… in AutoFilter()
4404 uno::Reference< table::XCellRange > xFilterRange; in AutoFilter()
4408 …throw uno::RuntimeException( STR_ERRORMESSAGE_APPLIESTOSINGLERANGEONLY, uno::Reference< uno::XInte… in AutoFilter()
4414 uno::Reference< excel::XRange > xCurrent( CurrentRegion() ); in AutoFilter()
4419 …UString( RTL_CONSTASCII_USTRINGPARAM("Can't create AutoFilter") ), uno::Reference< uno::XInterface… in AutoFilter()
4447 uno::Reference< sheet::XDatabaseRanges > xDBRanges = lcl_GetDataBaseRanges( pShell ); in AutoFilter()
4459 …STRINGPARAM("Failed to find the autofilter placeholder range" ) ), uno::Reference< uno::XInterface… in AutoFilter()
4461 uno::Reference< beans::XPropertySet > xDBRangeProps( xDataBaseRange, uno::UNO_QUERY_THROW ); in AutoFilter()
4465 …uno::Reference< beans::XPropertySet > xFiltProps( xDataBaseRange->getFilterDescriptor(), uno::UNO_… in AutoFilter()
4499 uno::Reference< sheet::XSheetFilterDescriptor2 > xDesc( in AutoFilter()
4504 uno::Reference< beans::XPropertySet > xDescProps( xDesc, uno::UNO_QUERY_THROW ); in AutoFilter()
4559 …on( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("UnknownOption") ), uno::Reference< uno::XInterface… in AutoFilter()
4580 uno::Reference< beans::XPropertySet > xProps; in AutoFilter()
4610 uno::Reference< beans::XPropertySet > xDBRangeProps( xDataBaseRange, uno::UNO_QUERY_THROW ); in AutoFilter()
4623 uno::Reference< sheet::XSheetFilterDescriptor2 > xSheetFilterDescriptor( in AutoFilter()
4656 …l::OUString( RTL_CONSTASCII_USTRINGPARAM ("Illegal parameter ") ), uno::Reference< uno::XInterface… in Insert()
4668 …uno::Reference< sheet::XCellRangeMovement > xCellRangeMove( thisRange.getSpreadSheet(), uno::UNO_Q… in Insert()
4678 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( getDocShellFromRange( mxRange ) , … in Insert()
4679 …uno::Reference< excel::XRange > xVbaRange( new ScVbaRange( mxParent, mxContext, xRange, mbIsRows, … in Insert()
4692 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32(index) ), uno::Any(… in Autofit()
4738 uno::Reference< excel::XRange > xRange; in TextToColumns()
4743 uno::Reference< uno::XInterface >() ); in TextToColumns()
4758 uno::Reference< uno::XInterface >() ); in TextToColumns()
4768 uno::Reference< uno::XInterface >() ); in TextToColumns()
4777 uno::Reference< uno::XInterface >() ); in TextToColumns()
4786 uno::Reference< uno::XInterface >() ); in TextToColumns()
4795 uno::Reference< uno::XInterface >() ); in TextToColumns()
4803 uno::Reference< uno::XInterface >() ); in TextToColumns()
4811 uno::Reference< uno::XInterface >() ); in TextToColumns()
4823 uno::Reference< uno::XInterface >() ); in TextToColumns()
4828 uno::Reference< uno::XInterface >() ); in TextToColumns()
4837 uno::Reference< uno::XInterface >() ); in TextToColumns()
4845 uno::Reference< uno::XInterface >() ); in TextToColumns()
4859 uno::Reference< excel::XWorksheet > xWorksheet( getParent(), uno::UNO_QUERY_THROW ); in Hyperlinks()
4860 …uno::Reference< excel::XHyperlinks > xSheetHlinks( xWorksheet->Hyperlinks( uno::Any() ), uno::UNO_… in Hyperlinks()
4863 …STRINGPARAM( "Cannot obtain hyperlinks implementation object" ) ), uno::Reference< uno::XInterface… in Hyperlinks()
4869 return uno::Any( uno::Reference< excel::XHyperlinks >( xHlinks.get() ) ); in Hyperlinks()
4872 css::uno::Reference< excel::XValidation > SAL_CALL
4882 sal_Unicode lclGetPrefixChar( const uno::Reference< table::XCell >& rxCell ) throw (uno::RuntimeExc… in lclGetPrefixChar()
4895 sal_Unicode lclGetPrefixChar( const uno::Reference< table::XCellRange >& rxRange ) throw (uno::Runt… in lclGetPrefixChar()
4911 …uno::Reference< table::XCell > xCell( rxRange->getCellByPosition( nCol, nRow ), uno::UNO_SET_THROW… in lclGetPrefixChar()
4922 sal_Unicode lclGetPrefixChar( const uno::Reference< sheet::XSheetCellRangeContainer >& rxRanges ) t… in lclGetPrefixChar()
4925 uno::Reference< container::XEnumerationAccess > xRangesEA( rxRanges, uno::UNO_QUERY_THROW ); in lclGetPrefixChar()
4926 …uno::Reference< container::XEnumeration > xRangesEnum( xRangesEA->createEnumeration(), uno::UNO_SE… in lclGetPrefixChar()
4929 … uno::Reference< table::XCellRange > xRange( xRangesEnum->nextElement(), uno::UNO_QUERY_THROW ); in lclGetPrefixChar()
4968 … RTL_CONSTASCII_USTRINGPARAM( "Unexpected empty Range object" ) ), uno::Reference< uno::XInterface… in getPrefixCharacter()
4977 …NSTASCII_USTRINGPARAM("Can not get Range.ShowDetail attribute ")), uno::Reference< uno::XInterface… in getShowDetail()
4982 uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor = helper.getSheetCellCursor(); in getShowDetail()
4984 …uno::Reference< sheet::XCellRangeAddressable > xCellRangeAddressable(xSheetCellCursor, uno::UNO_QU… in getShowDetail()
5009 …NSTASCII_USTRINGPARAM("Can not set Range.ShowDetail attribute ")), uno::Reference< uno::XInterface… in getShowDetail()
5020 …NSTASCII_USTRINGPARAM("Can not set Range.ShowDetail attribute ")), uno::Reference< uno::XInterface… in setShowDetail()
5025 uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor = helper.getSheetCellCursor(); in setShowDetail()
5027 …uno::Reference< sheet::XCellRangeAddressable > xCellRangeAddressable(xSheetCellCursor, uno::UNO_QU… in setShowDetail()
5037 …uno::Reference< sheet::XSheetOutline > xSheetOutline( helper.getSpreadSheet(), uno::UNO_QUERY_THRO… in setShowDetail()
5045 …NSTASCII_USTRINGPARAM("Can not set Range.ShowDetail attribute ")), uno::Reference< uno::XInterface… in setShowDetail()
5049 uno::Reference< excel::XRange > SAL_CALL
5052 …uno::Reference< sheet::XSheetCellRange > xMergeShellCellRange(mxRange->getCellRangeByPosition(0,0,… in MergeArea()
5053 …uno::Reference< sheet::XSheetCellCursor > xMergeSheetCursor(xMergeShellCellRange->getSpreadsheet()… in MergeArea()
5057 …uno::Reference<sheet::XCellRangeAddressable> xMergeCellAddress(xMergeSheetCursor, uno::UNO_QUERY_T… in MergeArea()
5070 … uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( getScDocShell() , refRange ) ); in MergeArea()
5085 uno::Reference< sheet::XPrintAreas > xPrintAreas; in PrintOut()
5088 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in PrintOut()
5106 uno::Reference< frame::XModel > xModel = pShell->GetModel(); in PrintOut()
5113 ScVbaRange::AutoFill( const uno::Reference< excel::XRange >& Destination, const uno::Any& Type ) t… in AutoFill()
5115 uno::Reference< excel::XRange > xDest( Destination, uno::UNO_QUERY_THROW ); in AutoFill()
5220 …ASCII_USTRINGPARAM( "xlFillFormat not supported for AutoFill" ) ), uno::Reference< uno::XInterface… in AutoFill()
5238 ScVbaRange::GoalSeek( const uno::Any& Goal, const uno::Reference< excel::XRange >& ChangingCell ) t… in GoalSeek()
5245 uno::Reference< sheet::XGoalSeek > xGoalSeek( pDocShell->GetModel(), uno::UNO_QUERY_THROW ); in GoalSeek()
5273 uno::Reference< excel::XRange > SAL_CALL
5280 uno::Reference< excel::XRange > xRange; in Item()
5307 …uno::Reference< sheet::XSheetOutline > xSheetOutline( thisRange.getSpreadSheet(), uno::UNO_QUERY_T… in AutoOutline()
5322 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in ClearOutline()
5329 …uno::Reference< sheet::XSheetOutline > xSheetOutline( thisRange.getSpreadSheet(), uno::UNO_QUERY_T… in ClearOutline()
5343 …uno::Reference< sheet::XSheetOutline > xSheetOutline( thisRange.getSpreadSheet(), uno::UNO_QUERY_T… in groupUnGroup()
5361 void lcl_mergeCellsOfRange( const uno::Reference< table::XCellRange >& xCellRange, sal_Bool _bMerge… in lcl_mergeCellsOfRange()
5363 uno::Reference< util::XMergeable > xMergeable( xCellRange, uno::UNO_QUERY_THROW ); in lcl_mergeCellsOfRange()
5374 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in Merge()
5379 uno::Reference< table::XCellRange > oCellRange; in Merge()
5386 uno::Reference< excel::XRange > oRangeRowsImpl = Rows( uno::Any() ); in Merge()
5403 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in UnMerge()
5416 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32( 1 ) ), uno::Any() … in getStyle()
5419 uno::Reference< beans::XPropertySet > xProps( mxRange, uno::UNO_QUERY_THROW ); in getStyle()
5423 uno::Reference< frame::XModel > xModel( pShell->GetModel() ); in getStyle()
5424 uno::Reference< excel::XStyle > xStyle = new ScVbaStyle( this, mxContext, sStyleName, xModel ); in getStyle()
5432 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32( 1 ) ), uno::Any() … in setStyle()
5436 uno::Reference< beans::XPropertySet > xProps( mxRange, uno::UNO_QUERY_THROW ); in setStyle()
5437 uno::Reference< excel::XStyle > xStyle; in setStyle()
5442 uno::Reference< excel::XRange >
5466 uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( getScDocShell() , refRange ) ); in PreviousNext()
5471 uno::Reference< excel::XRange > SAL_CALL
5476 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32( 1 ) ), uno::Any() … in Next()
5482 uno::Reference< excel::XRange > SAL_CALL
5487 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny( sal_Int32( 1 ) ), uno::Any() … in Previous()
5493 uno::Reference< excel::XRange > SAL_CALL
5524 …uno::Reference< excel::XRange > xRange( m_Areas->Item( uno::makeAny(index), uno::Any() ), uno::UNO… in SpecialCells()
5532 …uno::Reference< excel::XRange > xTmpRange( m_Areas->Item( uno::makeAny( nArea ), uno::Any() ), uno… in SpecialCells()
5550 …uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( getScDocShell(), *aCellRanges.Firs… in SpecialCells()
5553 …uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( getScDocShell(), a… in SpecialCells()
5559 uno::Reference< excel::XRange > xUsedRange = getWorksheet()->getUsedRange(); in SpecialCells()
5601 uno::Reference< excel::XRange >
5604 uno::Reference< excel::XRange > xRange; in SpecialCellsImpl()
5607 uno::Reference< sheet::XCellRangesQuery > xQuery( mxRange, uno::UNO_QUERY_THROW ); in SpecialCellsImpl()
5608 uno::Reference< excel::XRange > oLocRangeImpl; in SpecialCellsImpl()
5609 uno::Reference< sheet::XSheetCellRanges > xLocSheetCellRanges; in SpecialCellsImpl()
5659 uno::Reference< sheet::XSubTotalCalculatable > xSub( mxRange, uno::UNO_QUERY_THROW ); in RemoveSubtotal()
5673 uno::Reference< sheet::XSubTotalCalculatable> xSub(mxRange, uno::UNO_QUERY_THROW ); in Subtotal()
5674 uno::Reference< sheet::XSubTotalDescriptor > xSubDesc = xSub->createSubTotalDescriptor(sal_True); in Subtotal()
5675 uno::Reference< beans::XPropertySet > xSubDescPropertySet( xSubDesc, uno::UNO_QUERY_THROW ); in Subtotal()