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

#include <viewuno.hxx>

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

Public Member Functions

 ScViewPaneBase (ScTabViewShell *pViewSh, sal_uInt16 nP)
 
virtual ~ScViewPaneBase () override
 
ScTabViewShellGetViewShell () const
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual sal_Int32 SAL_CALL getFirstVisibleColumn () override
 
virtual void SAL_CALL setFirstVisibleColumn (sal_Int32 nFirstVisibleColumn) override
 
virtual sal_Int32 SAL_CALL getFirstVisibleRow () override
 
virtual void SAL_CALL setFirstVisibleRow (sal_Int32 nFirstVisibleRow) override
 
virtual css::table::CellRangeAddress SAL_CALL getVisibleRange () override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getReferredCells () override
 
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController (const css::uno::Reference< css::form::XForm > &Form) override
 
virtual sal_Bool SAL_CALL isFormDesignMode () override
 
virtual void SAL_CALL setFormDesignMode (sal_Bool DesignMode) override
 
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl (const css::uno::Reference< css::awt::XControlModel > &xModel) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- 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

css::awt::Rectangle GetVisArea () const
 

Private Attributes

ScTabViewShellpViewShell
 
sal_uInt16 nPane
 

Detailed Description

Definition at line 57 of file viewuno.hxx.

Constructor & Destructor Documentation

ScViewPaneBase::ScViewPaneBase ( ScTabViewShell pViewSh,
sal_uInt16  nP 
)

Definition at line 120 of file viewuno.cxx.

References StartListening.

ScViewPaneBase::~ScViewPaneBase ( )
overridevirtual

Definition at line 128 of file viewuno.cxx.

Member Function Documentation

uno::Reference< awt::XControl > SAL_CALL ScViewPaneBase::getControl ( const css::uno::Reference< css::awt::XControlModel > &  xModel)
overridevirtual

Definition at line 351 of file viewuno.cxx.

References FmFormShell::GetFormControl().

sal_Int32 SAL_CALL ScViewPaneBase::getFirstVisibleColumn ( )
overridevirtual

Exception?

Definition at line 174 of file viewuno.cxx.

References ScViewData::GetActivePart(), ScViewData::GetPosX(), SC_VIEWPANE_ACTIVE, and WhichH().

sal_Int32 SAL_CALL ScViewPaneBase::getFirstVisibleRow ( )
overridevirtual

Exception?

Definition at line 207 of file viewuno.cxx.

References ScViewData::GetActivePart(), ScViewData::GetPosY(), SC_VIEWPANE_ACTIVE, and WhichV().

uno::Reference< form::runtime::XFormController > SAL_CALL ScViewPaneBase::getFormController ( const css::uno::Reference< css::form::XForm > &  Form)
overridevirtual

Definition at line 310 of file viewuno.cxx.

References FmFormShell::GetFormController(), and xController.

uno::Sequence< sal_Int8 > SAL_CALL ScViewPaneBase::getImplementationId ( )
overridevirtual

Reimplemented in ScTabViewObj.

Definition at line 167 of file viewuno.cxx.

virtual OUString SAL_CALL ScViewPaneBase::getImplementationName ( )
overridevirtual

Reimplemented in ScTabViewObj.

uno::Reference< table::XCellRange > SAL_CALL ScViewPaneBase::getReferredCells ( )
overridevirtual

helper function with ScRange?

Definition at line 272 of file viewuno.cxx.

References ScRange::aEnd, ScRange::aStart, ScViewData::GetDocShell(), and ScDocShell::GetViewData().

virtual css::uno::Sequence< OUString > SAL_CALL ScViewPaneBase::getSupportedServiceNames ( )
overridevirtual

Reimplemented in ScTabViewObj.

uno::Sequence< uno::Type > SAL_CALL ScViewPaneBase::getTypes ( )
overridevirtual

Reimplemented in ScTabViewObj.

Definition at line 154 of file viewuno.cxx.

References aTypes, and cppu::UnoType< class >::get().

Referenced by ScTabViewObj::getTypes().

ScTabViewShell* ScViewPaneBase::GetViewShell ( ) const
inline
awt::Rectangle ScViewPaneBase::GetVisArea ( ) const
protected
table::CellRangeAddress SAL_CALL ScViewPaneBase::getVisibleRange ( )
overridevirtual
sal_Bool SAL_CALL ScViewPaneBase::isFormDesignMode ( )
overridevirtual

Definition at line 325 of file viewuno.cxx.

References FmFormShell::IsDesignMode().

void ScViewPaneBase::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 136 of file viewuno.cxx.

References SfxHint::GetId().

uno::Any SAL_CALL ScViewPaneBase::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented in ScTabViewObj, and ScViewPaneObj.

Definition at line 142 of file viewuno.cxx.

References SC_QUERYINTERFACE.

Referenced by ScViewPaneObj::queryInterface(), and ScTabViewObj::queryInterface().

void SAL_CALL ScViewPaneBase::setFirstVisibleColumn ( sal_Int32  nFirstVisibleColumn)
overridevirtual
void SAL_CALL ScViewPaneBase::setFirstVisibleRow ( sal_Int32  nFirstVisibleRow)
overridevirtual
void SAL_CALL ScViewPaneBase::setFormDesignMode ( sal_Bool  DesignMode)
overridevirtual

Definition at line 338 of file viewuno.cxx.

References FmFormShell::SetDesignMode().

virtual sal_Bool SAL_CALL ScViewPaneBase::supportsService ( const OUString &  ServiceName)
overridevirtual

Reimplemented in ScTabViewObj.

Member Data Documentation

sal_uInt16 ScViewPaneBase::nPane
private

Definition at line 66 of file viewuno.hxx.

ScTabViewShell* ScViewPaneBase::pViewShell
private

Definition at line 65 of file viewuno.hxx.

Referenced by GetViewShell().


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