LibreOffice Module sc (master) 1
|
#include <vbaworksheets.hxx>
Public Member Functions | |
ScVbaWorksheets (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xSheets, css::uno::Reference< css::frame::XModel > xModel) | |
ScVbaWorksheets (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XEnumerationAccess > &xEnum, css::uno::Reference< css::frame::XModel > xModel) | |
bool | isSelectedSheets () const |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any SAL_CALL | getVisible () override |
virtual void SAL_CALL | setVisible (const css::uno::Any &_visible) override |
virtual css::uno::Any SAL_CALL | Add (const css::uno::Any &Before, const css::uno::Any &After, const css::uno::Any &Count, const css::uno::Any &Type) override |
virtual void SAL_CALL | Delete () override |
virtual void SAL_CALL | PrintOut (const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &Copies, const css::uno::Any &Preview, const css::uno::Any &ActivePrinter, const css::uno::Any &PrintToFile, const css::uno::Any &Collate, const css::uno::Any &PrToFileName) override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource) override |
virtual void SAL_CALL | Select (const css::uno::Any &Replace) override |
virtual void SAL_CALL | Copy (const css::uno::Any &Before, const css::uno::Any &After) override |
virtual void SAL_CALL | PrintPreview (const css::uno::Any &EnableChanges) override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &Index2) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from CollTestImplHelper< typename... Ifc > | |
CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false) | |
Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false) | |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &) override |
OUString SAL_CALL | getDefaultMethodName () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override=0 |
virtual css::uno::Type SAL_CALL | getElementType () override=0 |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource)=0 |
Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... > | |
InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual OUString | getServiceImplName ()=0 |
virtual css::uno::Sequence< OUString > | getServiceNames ()=0 |
virtual ::sal_Int32 SAL_CALL | getCreator () override |
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL | getParent () override |
virtual css::uno::Any SAL_CALL | Application () 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 |
Static Public Member Functions | |
static bool | nameExists (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xSpreadDoc, std::u16string_view name, SCTAB &nTab) |
Private Attributes | |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::sheet::XSpreadsheets > | m_xSheets |
Additional Inherited Members | |
Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
virtual css::uno::Any | getItemByStringIndex (const OUString &sIndex) |
virtual css::uno::Any | getItemByIntIndex (const sal_Int32 nIndex) |
void | UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess) |
Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::Reference< css::container::XIndexAccess > | m_xIndexAccess |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
bool | mbIgnoreCase |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 34 of file vbaworksheets.hxx.
ScVbaWorksheets::ScVbaWorksheets | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::container::XIndexAccess > & | xSheets, | ||
css::uno::Reference< css::frame::XModel > | xModel | ||
) |
Referenced by Item().
ScVbaWorksheets::ScVbaWorksheets | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::container::XEnumerationAccess > & | xEnum, | ||
css::uno::Reference< css::frame::XModel > | xModel | ||
) |
|
overridevirtual |
Definition at line 210 of file vbaworksheets.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::Application(), Before, Count, ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::getItemByStringIndex(), uno::Any::hasValue(), i, isSelectedSheets(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xNameAccess, m_xSheets, nCount, nType, and result.
|
overridevirtual |
Definition at line 384 of file vbaworksheets.cxx.
References Before, ScVbaWorksheet::createSheetCopy(), ScVbaWorksheet::createSheetCopyInNewDoc(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::getCount(), uno::Any::hasValue(), and Item().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 191 of file vbaworksheets.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::getParent(), ooo::vba::excel::getUnoSheetModuleObj(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, and mxModel.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 179 of file vbaworksheets.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, m_xSheets, InheritedHelperInterfaceImpl< Ifc... >::mxContext, and mxModel.
Referenced by getVisible(), and setVisible().
|
overridevirtual |
Definition at line 284 of file vbaworksheets.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::getCount(), and Item().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 173 of file vbaworksheets.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 451 of file vbaworksheets.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 457 of file vbaworksheets.cxx.
|
overridevirtual |
Definition at line 321 of file vbaworksheets.cxx.
References bVisible, and createEnumeration().
bool ScVbaWorksheets::isSelectedSheets | ( | ) | const |
Definition at line 299 of file vbaworksheets.cxx.
References m_xSheets.
Referenced by Add(), and PrintOut().
|
overridevirtual |
Reimplemented from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 426 of file vbaworksheets.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::getParent(), ScVbaWorksheet::getSheet(), getTypeConverter(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::Item(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxModel, ScVbaWorksheets(), and xConverter.
Referenced by Copy(), Delete(), PrintPreview(), and Select().
|
static |
css::lang::IllegalArgumentException | |
css::uno::RuntimeException |
Definition at line 466 of file vbaworksheets.cxx.
References i, name, and nCount.
Referenced by ScVbaWorksheet::createSheetCopy(), ScVbaWorksheet::Delete(), ScVbaWorksheet::getEnableSelection(), getNewSpreadsheetName(), ScVbaWorksheet::getProtectDrawingObjects(), ScVbaWorksheet::getSheetAtOffset(), ScVbaWorksheet::Move(), ScVbaWorksheet::setEnableSelection(), and ScVbaWindow::setZoom().
|
overridevirtual |
Definition at line 305 of file vbaworksheets.cxx.
References Copies, ooo::vba::excel::getBestViewShell(), isSelectedSheets(), mxModel, Preview, PrintOutHelper(), and To.
|
overridevirtual |
Definition at line 487 of file vbaworksheets.cxx.
References ScPreview::DataChanged(), dispatchExecute(), SfxViewShell::Get(), ooo::vba::excel::getBestViewShell(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::getCount(), ScViewData::GetDocument(), ScPreview::GetFirstPage(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), ScViewData::GetMarkData(), ScPreviewShell::GetPreview(), ScPreview::GetSelectedTabs(), ScVbaWorksheet::getSheetID(), ScDocument::GetSheetLimits(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), SfxFrame::IsInPlace(), Item(), mxModel, ScMarkData::SelectTable(), ScPreview::SetPageNo(), ScMarkData::SetSelectedTabs(), ScPreview::SetSelectedTabs(), and WaitUntilPreviewIsClosed().
|
overridevirtual |
Definition at line 354 of file vbaworksheets.cxx.
References ooo::vba::excel::getBestViewShell(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::getCount(), ScViewData::GetMarkData(), ScVbaWorksheet::getSheetID(), ScTabView::GetViewData(), Item(), mxModel, Replace, ScMarkData::SelectOneTable(), and ScMarkData::SelectTable().
|
overridevirtual |
Definition at line 338 of file vbaworksheets.cxx.
References createEnumeration().
|
private |
Definition at line 37 of file vbaworksheets.hxx.
Referenced by Add(), createEnumeration(), and isSelectedSheets().
|
private |
Definition at line 36 of file vbaworksheets.hxx.
Referenced by createCollectionObject(), createEnumeration(), Item(), PrintOut(), PrintPreview(), and Select().