Lines Matching refs:uno
104 static void getNewSpreadsheetName (rtl::OUString &aNewName, rtl::OUString aOldName, uno::Reference … in getNewSpreadsheetName()
107 …II_USTRINGPARAM( "getNewSpreadsheetName() xSpreadDoc is null" ) ), uno::Reference< uno::XInterface… in getNewSpreadsheetName()
119 static void removeAllSheets( uno::Reference <sheet::XSpreadsheetDocument>& xSpreadDoc, rtl::OUStrin… in removeAllSheets()
122 …NSTASCII_USTRINGPARAM( "removeAllSheets() xSpreadDoc is null" ) ), uno::Reference< uno::XInterface… in removeAllSheets()
123 uno::Reference<sheet::XSpreadsheets> xSheets = xSpreadDoc->getSheets(); in removeAllSheets()
124 uno::Reference <container::XIndexAccess> xIndex( xSheets, uno::UNO_QUERY ); in removeAllSheets()
128 uno::Reference<container::XNameContainer> xNameContainer(xSheets,uno::UNO_QUERY_THROW); in removeAllSheets()
131 uno::Reference< sheet::XSpreadsheet > xSheet(xIndex->getByIndex(i), uno::UNO_QUERY); in removeAllSheets()
132 uno::Reference< container::XNamed > xNamed( xSheet, uno::UNO_QUERY_THROW ); in removeAllSheets()
139 uno::Reference< sheet::XSpreadsheet > xSheet(xIndex->getByIndex(0), uno::UNO_QUERY); in removeAllSheets()
140 uno::Reference< container::XNamed > xNamed( xSheet, uno::UNO_QUERY_THROW ); in removeAllSheets()
148 static uno::Reference<frame::XModel>
151 uno::Reference<frame::XModel> xModel; in openNewDoc()
154 …uno::Reference< beans::XPropertySet > xProps( ::comphelper::getProcessServiceFactory(), uno::UNO_Q… in openNewDoc()
155 …uno::Reference< uno::XComponentContext > xContext( xProps->getPropertyValue( rtl::OUString( RTL_C… in openNewDoc()
156 uno::Reference<lang::XMultiComponentFactory > xServiceManager( in openNewDoc()
157 xContext->getServiceManager(), uno::UNO_QUERY_THROW ); in openNewDoc()
159 uno::Reference <frame::XComponentLoader > xComponentLoader( in openNewDoc()
162 xContext ), uno::UNO_QUERY_THROW ); in openNewDoc()
164 uno::Reference<lang::XComponent > xComponent( xComponentLoader->loadComponentFromURL( in openNewDoc()
167 uno::Sequence < ::com::sun::star::beans::PropertyValue >() ) ); in openNewDoc()
168 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( xComponent, uno::UNO_QUERY_THROW ); in openNewDoc()
173 xModel.set(xSpreadDoc,uno::UNO_QUERY_THROW); in openNewDoc()
175 catch ( uno::Exception & /*e*/ ) in openNewDoc()
181 ScVbaWorksheet::ScVbaWorksheet( const uno::Reference< XHelperInterface >& xParent, const uno::Refer… in ScVbaWorksheet()
185 ScVbaWorksheet::ScVbaWorksheet(const uno::Reference< XHelperInterface >& xParent, const uno::Refere… in ScVbaWorksheet()
186 const uno::Reference< sheet::XSpreadsheet >& xSheet, in ScVbaWorksheet()
187 …const uno::Reference< frame::XModel >& xModel ) throw (uno::RuntimeException) : WorksheetImpl_BASE… in ScVbaWorksheet()
191 ScVbaWorksheet::ScVbaWorksheet( uno::Sequence< uno::Any> const & args, in ScVbaWorksheet()
192 …uno::Reference< uno::XComponentContext> const & xContext ) throw ( lang::IllegalArgumentException … in ScVbaWorksheet()
200 uno::Reference< sheet::XSpreadsheetDocument > xSpreadDoc( mxModel, uno::UNO_QUERY_THROW ); in ScVbaWorksheet()
201 …uno::Reference< container::XNameAccess > xNameAccess( xSpreadDoc->getSheets(), uno::UNO_QUERY_THRO… in ScVbaWorksheet()
202 mxSheet.set( xNameAccess->getByName( sSheetName ), uno::UNO_QUERY_THROW ); in ScVbaWorksheet()
210 ScVbaWorksheet::getName() throw (uno::RuntimeException) in getName()
212 uno::Reference< container::XNamed > xNamed( getSheet(), uno::UNO_QUERY_THROW ); in getName()
217 ScVbaWorksheet::setName(const ::rtl::OUString &rName ) throw (uno::RuntimeException) in setName()
219 uno::Reference< container::XNamed > xNamed( getSheet(), uno::UNO_QUERY_THROW ); in setName()
224 ScVbaWorksheet::getVisible() throw (uno::RuntimeException) in getVisible()
226 uno::Reference< beans::XPropertySet > xProps( getSheet(), uno::UNO_QUERY_THROW ); in getVisible()
234 ScVbaWorksheet::setVisible( sal_Int32 nVisible ) throw (uno::RuntimeException) in setVisible()
253 throw uno::RuntimeException(); in setVisible()
255 uno::Reference< beans::XPropertySet > xProps( getSheet(), uno::UNO_QUERY_THROW ); in setVisible()
256 …xProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "IsVisible" ) ), uno::Any( b… in setVisible()
260 ScVbaWorksheet::getIndex() throw (uno::RuntimeException) in getIndex()
266 ScVbaWorksheet::getEnableSelection() throw (uno::RuntimeException) in getEnableSelection()
268 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( getModel(), uno::UNO_QUERY_THROW ); in getEnableSelection()
272 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW ); in getEnableSelection()
289 throw uno::RuntimeException(::rtl::OUString( in getEnableSelection()
291 uno::Reference< XInterface >() ); in getEnableSelection()
297 ScVbaWorksheet::setEnableSelection( sal_Int32 nSelection ) throw (uno::RuntimeException) in setEnableSelection()
306 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( getModel(), uno::UNO_QUERY_THROW ); in setEnableSelection()
310 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW ); in setEnableSelection()
332 throw uno::RuntimeException(::rtl::OUString( in setEnableSelection()
334 uno::Reference< XInterface >() ); in setEnableSelection()
338 uno::Reference< beans::XPropertySet > ScVbaWorksheet::getFirstDBRangeProperties() throw (uno::Runti… in getFirstDBRangeProperties()
340 uno::Reference< beans::XPropertySet > xModelProps( mxModel, uno::UNO_QUERY_THROW ); in getFirstDBRangeProperties()
341 uno::Reference< container::XIndexAccess > xDBRangesIA( xModelProps->getPropertyValue( in getFirstDBRangeProperties()
342 … ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DatabaseRanges" ) ) ), uno::UNO_QUERY_THROW ); in getFirstDBRangeProperties()
346 …uno::Reference< sheet::XCellRangeReferrer > xDBRange( xDBRangesIA->getByIndex( nIndex ), uno::UNO_… in getFirstDBRangeProperties()
348 …uno::Reference< sheet::XCellRangeAddressable > xRangeAddr( xDBRange->getReferredCells(), uno::UNO_… in getFirstDBRangeProperties()
350 return uno::Reference< beans::XPropertySet >( xDBRange, uno::UNO_QUERY_THROW ); in getFirstDBRangeProperties()
352 return uno::Reference< beans::XPropertySet >(); in getFirstDBRangeProperties()
355 sal_Bool SAL_CALL ScVbaWorksheet::getAutoFilterMode() throw (uno::RuntimeException) in getAutoFilterMode()
357 uno::Reference< beans::XPropertySet > xDBRangeProps = getFirstDBRangeProperties(); in getAutoFilterMode()
365 void SAL_CALL ScVbaWorksheet::setAutoFilterMode( sal_Bool bAutoFilterMode ) throw (uno::RuntimeExce… in setAutoFilterMode()
367 uno::Reference< beans::XPropertySet > xDBRangeProps = getFirstDBRangeProperties(); in setAutoFilterMode()
369 …ertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "AutoFilter" ) ), uno::Any( bAutoFilterMo… in setAutoFilterMode()
372 uno::Reference< excel::XRange >
373 ScVbaWorksheet::getUsedRange() throw (uno::RuntimeException) in getUsedRange()
375 uno::Reference< sheet::XSheetCellRange > xSheetCellRange(getSheet(), uno::UNO_QUERY_THROW ); in getUsedRange()
376 …uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor( getSheet()->createCursorByRange( xShee… in getUsedRange()
377 uno::Reference<sheet::XUsedAreaCursor> xUsedCursor(xSheetCellCursor,uno::UNO_QUERY_THROW); in getUsedRange()
380 uno::Reference< table::XCellRange > xRange( xSheetCellCursor, uno::UNO_QUERY); in getUsedRange()
384 uno::Reference< excel::XOutline >
385 ScVbaWorksheet::Outline( ) throw (uno::RuntimeException) in Outline()
387 uno::Reference<sheet::XSheetOutline> xOutline(getSheet(),uno::UNO_QUERY_THROW); in Outline()
391 uno::Reference< excel::XPageSetup >
392 ScVbaWorksheet::PageSetup( ) throw (uno::RuntimeException) in PageSetup()
397 uno::Any
398 ScVbaWorksheet::HPageBreaks( const uno::Any& aIndex ) throw (uno::RuntimeException) in HPageBreaks()
400 uno::Reference< sheet::XSheetPageBreak > xSheetPageBreak(getSheet(),uno::UNO_QUERY_THROW); in HPageBreaks()
401 …uno::Reference< excel::XHPageBreaks > xHPageBreaks( new ScVbaHPageBreaks( this, mxContext, xSheetP… in HPageBreaks()
403 return xHPageBreaks->Item( aIndex, uno::Any()); in HPageBreaks()
404 return uno::makeAny( xHPageBreaks ); in HPageBreaks()
407 uno::Any
408 ScVbaWorksheet::VPageBreaks( const uno::Any& aIndex ) throw ( uno::RuntimeException ) in VPageBreaks()
410 uno::Reference< sheet::XSheetPageBreak > xSheetPageBreak( getSheet(), uno::UNO_QUERY_THROW ); in VPageBreaks()
411 …uno::Reference< excel::XVPageBreaks > xVPageBreaks( new ScVbaVPageBreaks( this, mxContext, xSheetP… in VPageBreaks()
413 return xVPageBreaks->Item( aIndex, uno::Any()); in VPageBreaks()
414 return uno::makeAny( xVPageBreaks ); in VPageBreaks()
418 ScVbaWorksheet::getStandardWidth() throw (uno::RuntimeException) in getStandardWidth()
424 ScVbaWorksheet::getStandardHeight() throw (uno::RuntimeException) in getStandardHeight()
430 ScVbaWorksheet::getProtectionMode() throw (uno::RuntimeException) in getProtectionMode()
436 ScVbaWorksheet::getProtectContents()throw (uno::RuntimeException) in getProtectContents()
438 uno::Reference<util::XProtectable > xProtectable(getSheet(), uno::UNO_QUERY_THROW); in getProtectContents()
443 ScVbaWorksheet::getProtectDrawingObjects() throw (uno::RuntimeException) in getProtectDrawingObjects()
449 ScVbaWorksheet::getProtectScenarios() throw (uno::RuntimeException) in getProtectScenarios()
455 ScVbaWorksheet::Activate() throw (uno::RuntimeException) in Activate()
457 uno::Reference< sheet::XSpreadsheetView > xSpreadsheet( in Activate()
458 getModel()->getCurrentController(), uno::UNO_QUERY_THROW ); in Activate()
463 ScVbaWorksheet::Select() throw (uno::RuntimeException) in Select()
469 ScVbaWorksheet::Move( const uno::Any& Before, const uno::Any& After ) throw (uno::RuntimeException) in Move()
471 uno::Reference<excel::XWorksheet> xSheet; in Move()
476 uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor = getSheet()->createCursor( ); in Move()
477 uno::Reference<sheet::XUsedAreaCursor> xUsedCursor(xSheetCellCursor,uno::UNO_QUERY_THROW); in Move()
478 uno::Reference< table::XCellRange > xRange1( xSheetCellCursor, uno::UNO_QUERY); in Move()
480 uno::Reference<excel::XRange> xRange = new ScVbaRange( this, mxContext, xRange1); in Move()
484 uno::Reference<frame::XModel> xModel = openNewDoc(aCurrSheetName); in Move()
493 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( getModel(), uno::UNO_QUERY_THROW ); in Move()
500 uno::Reference<sheet::XSpreadsheets> xSheets = xSpreadDoc->getSheets(); in Move()
506 ScVbaWorksheet::Copy( const uno::Any& Before, const uno::Any& After ) throw (uno::RuntimeException) in Copy()
508 uno::Reference<excel::XWorksheet> xSheet; in Copy()
512 uno::Reference< sheet::XSheetCellCursor > xSheetCellCursor = getSheet()->createCursor( ); in Copy()
513 uno::Reference<sheet::XUsedAreaCursor> xUsedCursor(xSheetCellCursor,uno::UNO_QUERY_THROW); in Copy()
514 uno::Reference< table::XCellRange > xRange1( xSheetCellCursor, uno::UNO_QUERY); in Copy()
515 uno::Reference<excel::XRange> xRange = new ScVbaRange( this, mxContext, xRange1); in Copy()
519 uno::Reference<frame::XModel> xModel = openNewDoc(aCurrSheetName); in Copy()
527 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( getModel(), uno::UNO_QUERY ); in Copy()
535 uno::Reference<sheet::XSpreadsheets> xSheets = xSpreadDoc->getSheets(); in Copy()
543 ScVbaWorksheet::Paste( const uno::Any& Destination, const uno::Any& /*Link*/ ) throw (uno::RuntimeE… in Paste()
546 uno::Reference<excel::XRange> xRange( Destination, uno::UNO_QUERY ); in Paste()
553 ScVbaWorksheet::Delete() throw (uno::RuntimeException) in Delete()
555 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( getModel(), uno::UNO_QUERY_THROW ); in Delete()
564 uno::Reference<sheet::XSpreadsheets> xSheets = xSpreadDoc->getSheets(); in Delete()
565 uno::Reference<container::XNameContainer> xNameContainer(xSheets,uno::UNO_QUERY_THROW); in Delete()
571 uno::Reference< excel::XWorksheet >
572 ScVbaWorksheet::getSheetAtOffset(SCTAB offset) throw (uno::RuntimeException) in getSheetAtOffset()
574 uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( getModel(), uno::UNO_QUERY_THROW ); in getSheetAtOffset()
575 uno::Reference <sheet::XSpreadsheets> xSheets( xSpreadDoc->getSheets(), uno::UNO_QUERY_THROW ); in getSheetAtOffset()
576 uno::Reference <container::XIndexAccess> xIndex( xSheets, uno::UNO_QUERY_THROW ); in getSheetAtOffset()
580 return uno::Reference< excel::XWorksheet >(); in getSheetAtOffset()
582 uno::Reference< sheet::XSpreadsheet > xSheet(xIndex->getByIndex(nIdx), uno::UNO_QUERY_THROW); in getSheetAtOffset()
587 uno::Reference< excel::XWorksheet >
588 ScVbaWorksheet::getNext() throw (uno::RuntimeException) in getNext()
593 uno::Reference< excel::XWorksheet >
594 ScVbaWorksheet::getPrevious() throw (uno::RuntimeException) in getPrevious()
601 …uno::Any& Password, const uno::Any& /*DrawingObjects*/, const uno::Any& /*Contents*/, const uno::A… in Protect()
605 uno::Reference<util::XProtectable > xProtectable(getSheet(), uno::UNO_QUERY_THROW); in Protect()
612 ScVbaWorksheet::Unprotect( const uno::Any& Password ) throw (uno::RuntimeException) in Unprotect()
614 uno::Reference<util::XProtectable > xProtectable(getSheet(), uno::UNO_QUERY_THROW); in Unprotect()
621 ScVbaWorksheet::Calculate() throw (uno::RuntimeException) in Calculate()
623 uno::Reference <sheet::XCalculatable> xReCalculate(getModel(), uno::UNO_QUERY_THROW); in Calculate()
627 uno::Reference< excel::XRange >
628 ScVbaWorksheet::Range( const ::uno::Any& Cell1, const ::uno::Any& Cell2 ) throw (uno::RuntimeExcept… in Range()
630 uno::Reference< excel::XRange > xSheetRange( new ScVbaRange( this, mxContext in Range()
631 , uno::Reference< table::XCellRange >( getSheet(), uno::UNO_QUERY_THROW ) ) ); in Range()
636 …st uno::Any& /*CustomDictionary*/,const uno::Any& /*IgnoreUppercase*/,const uno::Any& /*AlwaysSugg… in CheckSpelling()
640 uno::Reference< frame::XModel > xModel( getModel() ); in CheckSpelling()
644 uno::Reference< excel::XRange >
645 ScVbaWorksheet::getSheetRange() throw (uno::RuntimeException) in getSheetRange()
647 uno::Reference< table::XCellRange > xRange( getSheet(),uno::UNO_QUERY_THROW ); in getSheetRange()
648 return uno::Reference< excel::XRange >( new ScVbaRange( this, mxContext, xRange ) ); in getSheetRange()
653 uno::Reference< excel::XRange >
654 ScVbaWorksheet::Cells( const ::uno::Any &nRow, const ::uno::Any &nCol ) in Cells()
655 throw (uno::RuntimeException) in Cells()
659 uno::Reference< table::XCellRange > xRange( getSheet(), uno::UNO_QUERY_THROW ); in Cells()
663 uno::Reference< excel::XRange >
664 ScVbaWorksheet::Rows(const uno::Any& aIndex ) throw (uno::RuntimeException) in Rows()
669 uno::Reference< excel::XRange >
670 ScVbaWorksheet::Columns( const uno::Any& aIndex ) throw (uno::RuntimeException) in Columns()
675 uno::Any SAL_CALL
676 ScVbaWorksheet::ChartObjects( const uno::Any& Index ) throw (uno::RuntimeException) in ChartObjects()
680 uno::Reference< table::XTableChartsSupplier > xChartSupplier( getSheet(), uno::UNO_QUERY_THROW ); in ChartObjects()
681 uno::Reference< table::XTableCharts > xTableCharts = xChartSupplier->getCharts(); in ChartObjects()
683 uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( mxSheet, uno::UNO_QUERY_THROW ); in ChartObjects()
688 uno::Reference< XCollection > xColl( mxCharts, uno::UNO_QUERY_THROW ); in ChartObjects()
689 return xColl->Item( Index, uno::Any() ); in ChartObjects()
692 return uno::makeAny( mxCharts ); in ChartObjects()
696 uno::Any SAL_CALL
697 ScVbaWorksheet::PivotTables( const uno::Any& Index ) throw (uno::RuntimeException) in PivotTables()
699 uno::Reference< css::sheet::XSpreadsheet > xSheet = getSheet(); in PivotTables()
700 uno::Reference< sheet::XDataPilotTablesSupplier > xTables(xSheet, uno::UNO_QUERY_THROW ) ; in PivotTables()
701 …uno::Reference< container::XIndexAccess > xIndexAccess( xTables->getDataPilotTables(), uno::UNO_QU… in PivotTables()
703 uno::Reference< XCollection > xColl( new ScVbaPivotTables( this, mxContext, xIndexAccess ) ); in PivotTables()
705 return xColl->Item( Index, uno::Any() ); in PivotTables()
706 return uno::makeAny( xColl ); in PivotTables()
709 uno::Any SAL_CALL
710 ScVbaWorksheet::Comments( const uno::Any& Index ) throw (uno::RuntimeException) in Comments()
712 uno::Reference< css::sheet::XSpreadsheet > xSheet = getSheet(); in Comments()
713 uno::Reference< sheet::XSheetAnnotationsSupplier > xAnnosSupp( xSheet, uno::UNO_QUERY_THROW ); in Comments()
714 …uno::Reference< sheet::XSheetAnnotations > xAnnos( xAnnosSupp->getAnnotations(), uno::UNO_QUERY_TH… in Comments()
715 uno::Reference< container::XIndexAccess > xIndexAccess( xAnnos, uno::UNO_QUERY_THROW ); in Comments()
716 …uno::Reference< XCollection > xColl( new ScVbaComments( this, mxContext, mxModel, xIndexAccess ) … in Comments()
718 return xColl->Item( Index, uno::Any() ); in Comments()
719 return uno::makeAny( xColl ); in Comments()
722 uno::Any SAL_CALL
723 ScVbaWorksheet::Hyperlinks( const uno::Any& aIndex ) throw (uno::RuntimeException) in Hyperlinks()
730 …return uno::Reference< XCollection >( mxHlinks, uno::UNO_QUERY_THROW )->Item( aIndex, uno::Any() ); in Hyperlinks()
731 return uno::Any( mxHlinks ); in Hyperlinks()
734 uno::Any SAL_CALL
735 ScVbaWorksheet::Names( const css::uno::Any& aIndex ) throw (uno::RuntimeException) in Names()
740 uno::Reference< beans::XPropertySet > xProps( mxModel, uno::UNO_QUERY_THROW ); in Names()
741 …uno::Reference< sheet::XNamedRanges > xNamedRanges( xProps->getPropertyValue( rtl::OUString( RTL_… in Names()
742 uno::Reference< XCollection > xNames( new ScVbaNames( this, mxContext, xNamedRanges, mxModel ) ); in Names()
744 return uno::Any( xNames->Item( aIndex, uno::Any() ) ); in Names()
745 return uno::Any( xNames ); in Names()
748 uno::Any SAL_CALL
749 ScVbaWorksheet::OLEObjects( const uno::Any& Index ) throw (uno::RuntimeException) in OLEObjects()
751 uno::Reference< sheet::XSpreadsheet > xSpreadsheet( getSheet(), uno::UNO_QUERY_THROW ); in OLEObjects()
752 …uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( xSpreadsheet, uno::UNO_QUERY_THROW… in OLEObjects()
753 …uno::Reference< drawing::XDrawPage > xDrawPage( xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY_T… in OLEObjects()
754 uno::Reference< container::XIndexAccess > xIndexAccess( xDrawPage, uno::UNO_QUERY_THROW ); in OLEObjects()
756 …uno::Reference< excel::XOLEObjects >xOleObjects( new ScVbaOLEObjects( this, mxContext, xIndexAcces… in OLEObjects()
758 return xOleObjects->Item( Index, uno::Any() ); in OLEObjects()
759 return uno::Any( xOleObjects ); in OLEObjects()
762 uno::Any SAL_CALL
763 ScVbaWorksheet::Shapes( const uno::Any& aIndex ) throw (uno::RuntimeException) in Shapes()
765 uno::Reference< sheet::XSpreadsheet > xSpreadsheet( getSheet(), uno::UNO_QUERY_THROW ); in Shapes()
766 …uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( xSpreadsheet, uno::UNO_QUERY_THROW… in Shapes()
767 …uno::Reference< drawing::XShapes > xShapes( xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY_THROW… in Shapes()
768 uno::Reference< container::XIndexAccess > xIndexAccess( xShapes, uno::UNO_QUERY_THROW ); in Shapes()
770 …uno::Reference< msforms::XShapes> xVbaShapes( new ScVbaShapes( this, mxContext, xIndexAccess, getM… in Shapes()
772 return xVbaShapes->Item( aIndex, uno::Any() ); in Shapes()
773 return uno::makeAny( xVbaShapes ); in Shapes()
776 uno::Any SAL_CALL
777 ScVbaWorksheet::Buttons( const uno::Any& rIndex ) throw (uno::RuntimeException) in Buttons()
784 return mxButtons->Item( rIndex, uno::Any() ); in Buttons()
785 return uno::Any( uno::Reference< XCollection >( mxButtons.get() ) ); in Buttons()
788 uno::Any SAL_CALL
789 ScVbaWorksheet::CheckBoxes( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in CheckBoxes()
791 throw uno::RuntimeException(); in CheckBoxes()
794 uno::Any SAL_CALL
795 ScVbaWorksheet::DropDowns( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in DropDowns()
797 throw uno::RuntimeException(); in DropDowns()
800 uno::Any SAL_CALL
801 ScVbaWorksheet::GroupBoxes( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in GroupBoxes()
803 throw uno::RuntimeException(); in GroupBoxes()
806 uno::Any SAL_CALL
807 ScVbaWorksheet::Labels( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in Labels()
809 throw uno::RuntimeException(); in Labels()
812 uno::Any SAL_CALL
813 ScVbaWorksheet::ListBoxes( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in ListBoxes()
815 throw uno::RuntimeException(); in ListBoxes()
818 uno::Any SAL_CALL
819 ScVbaWorksheet::OptionButtons( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in OptionButtons()
821 throw uno::RuntimeException(); in OptionButtons()
824 uno::Any SAL_CALL
825 ScVbaWorksheet::ScrollBars( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in ScrollBars()
827 throw uno::RuntimeException(); in ScrollBars()
830 uno::Any SAL_CALL
831 ScVbaWorksheet::Spinners( const uno::Any& /*rIndex*/ ) throw (uno::RuntimeException) in Spinners()
833 throw uno::RuntimeException(); in Spinners()
837 ScVbaWorksheet::ShowDataForm( ) throw (uno::RuntimeException) in ShowDataForm()
840 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW ); in ShowDataForm()
851 …throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno:… in ShowDataForm()
855 uno::Any SAL_CALL
856 ScVbaWorksheet::Evaluate( const ::rtl::OUString& Name ) throw (uno::RuntimeException) in Evaluate()
861 uno::Any aVoid; in Evaluate()
862 return uno::Any( Range( uno::Any( Name ), aVoid ) ); in Evaluate()
866 uno::Reference< beans::XIntrospectionAccess > SAL_CALL
867 ScVbaWorksheet::getIntrospection( ) throw (uno::RuntimeException) in getIntrospection()
869 return uno::Reference< beans::XIntrospectionAccess >(); in getIntrospection()
872 uno::Any SAL_CALL
873 …uno::Sequence< uno::Any >& /*aParams*/, uno::Sequence< ::sal_Int16 >& /*aOutParamIndex*/, uno::Seq… in invoke()
878 throw uno::RuntimeException(); // unsupported operation in invoke()
882 …me, const uno::Any& aValue ) throw (beans::UnknownPropertyException, script::CannotConvertExceptio… in setValue()
884 setDefaultPropByIntrospection( uno::makeAny( getValue( aPropertyName ) ), aValue ); in setValue()
886 uno::Any SAL_CALL
887 …nst ::rtl::OUString& aPropertyName ) throw (beans::UnknownPropertyException, uno::RuntimeException) in getValue()
889 …uno::Reference< drawing::XControlShape > xControlShape( getControlShape( aPropertyName ), uno::UNO… in getValue()
891 …uno::Reference<lang::XMultiComponentFactory > xServiceManager( mxContext->getServiceManager(), uno… in getValue()
892 …uno::Reference< XControlProvider > xControlProvider( xServiceManager->createInstanceWithContext( r… in getValue()
893 …uno::Reference< msforms::XControl > xControl( xControlProvider->createControl( xControlShape, get… in getValue()
894 return uno::makeAny( xControl ); in getValue()
898 ScVbaWorksheet::hasMethod( const ::rtl::OUString& /*aName*/ ) throw (uno::RuntimeException) in hasMethod()
903 uno::Reference< container::XNameAccess >
906 uno::Reference< container::XNameAccess > xFormControls; in getFormControls()
909 uno::Reference< sheet::XSpreadsheet > xSpreadsheet( getSheet(), uno::UNO_QUERY_THROW ); in getFormControls()
910 …uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( xSpreadsheet, uno::UNO_QUERY_THROW… in getFormControls()
911 …uno::Reference< form::XFormsSupplier > xFormSupplier( xDrawPageSupplier->getDrawPage(), uno::UNO_… in getFormControls()
912 …uno::Reference< container::XIndexAccess > xIndexAccess( xFormSupplier->getForms(), uno::UNO_QUERY_… in getFormControls()
917 xFormControls.set( xIndexAccess->getByIndex(0), uno::UNO_QUERY ); in getFormControls()
920 catch( uno::Exception& ) in getFormControls()
927 ScVbaWorksheet::hasProperty( const ::rtl::OUString& aName ) throw (uno::RuntimeException) in hasProperty()
929 uno::Reference< container::XNameAccess > xFormControls( getFormControls() ); in hasProperty()
935 uno::Any
947 …uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( getSheet(), uno::UNO_QUERY_THROW ); in getControlShape()
948 …uno::Reference< container::XIndexAccess > xIndexAccess( xDrawPageSupplier->getDrawPage(), uno::UNO… in getControlShape()
953 uno::Any aUnoObj = xIndexAccess->getByIndex( index ); in getControlShape()
955 uno::Reference< drawing::XControlShape > xControlShape( aUnoObj, uno::UNO_QUERY ); in getControlShape()
958 … uno::Reference< container::XNamed > xNamed( xControlShape->getControl(), uno::UNO_QUERY_THROW ); in getControlShape()
965 return uno::Any(); in getControlShape()
976 …lation( ::sal_Bool bEnableCalculation ) throw ( script::BasicErrorException, uno::RuntimeException) in setEnableCalculation()
978 uno::Reference <sheet::XCalculatable> xCalculatable(getModel(), uno::UNO_QUERY_THROW); in setEnableCalculation()
982 ScVbaWorksheet::getEnableCalculation( ) throw (css::script::BasicErrorException, css::uno::Runtime… in getEnableCalculation()
984 uno::Reference <sheet::XCalculatable> xCalculatable(getModel(), uno::UNO_QUERY_THROW); in getEnableCalculation()
988 uno::Sequence< rtl::OUString >
991 static uno::Sequence< rtl::OUString > aServiceNames; in getServiceNames()
1001 ScVbaWorksheet::getCodeName() throw (css::uno::RuntimeException) in getCodeName()
1003 uno::Reference< beans::XPropertySet > xSheetProp( mxSheet, uno::UNO_QUERY_THROW ); in getCodeName()
1008 ScVbaWorksheet::getSheetID() throw (uno::RuntimeException) in getSheetID()
1010 uno::Reference< sheet::XCellRangeAddressable > xAddressable( mxSheet, uno::UNO_QUERY_THROW ); in getSheetID()
1015 …uno::Any& From, const uno::Any& To, const uno::Any& Copies, const uno::Any& Preview, const uno::An… in PrintOut()
1033 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW ); in PrintOut()