LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwVbaView Class Reference

#include <vbaview.hxx>

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

Public Member Functions

 SwVbaView (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Reference< css::frame::XModel > &rModel)
 
virtual ~SwVbaView () override
 
virtual ::sal_Int32 SAL_CALL getSeekView () override
 
virtual void SAL_CALL setSeekView (::sal_Int32 _seekview) override
 
virtual ::sal_Int32 SAL_CALL getSplitSpecial () override
 
virtual void SAL_CALL setSplitSpecial (::sal_Int32 _splitspecial) override
 
virtual sal_Bool SAL_CALL getTableGridLines () override
 
virtual void SAL_CALL setTableGridLines (sal_Bool _tablegridlines) override
 
virtual ::sal_Int32 SAL_CALL getType () override
 
virtual void SAL_CALL setType (::sal_Int32 _type) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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
 

Private Member Functions

css::uno::Reference< css::text::XTextRange > getHFTextRange (sal_Int32 nType)
 

Private Attributes

css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::text::XTextViewCursor > mxViewCursor
 
css::uno::Reference< css::beans::XPropertySetmxViewSettings
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 30 of file vbaview.hxx.

Constructor & Destructor Documentation

SwVbaView::SwVbaView ( const css::uno::Reference< ooo::vba::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
const css::uno::Reference< css::frame::XModel > &  rModel 
)
Exceptions
css::uno::RuntimeException

Definition at line 51 of file vbaview.cxx.

References mxModel, mxModel, mxViewCursor, mxViewSettings, and xController.

SwVbaView::~SwVbaView ( )
overridevirtual

Definition at line 64 of file vbaview.cxx.

Member Function Documentation

uno::Reference< text::XTextRange > SwVbaView::getHFTextRange ( sal_Int32  nType)
private
Exceptions
css::uno::RuntimeException
css::script::BasicErrorException

Definition at line 245 of file vbaview.cxx.

References DEFAULT_BODY_DISTANCE, ERRCODE_BASIC_BAD_ACTION, ERRCODE_BASIC_INTERNAL_ERROR, ooo::vba::word::getCurrentPageStyle(), ooo::vba::word::getFirstObjectPosition(), mxModel, and mxViewCursor.

Referenced by setSeekView().

sal_Int32 SAL_CALL SwVbaView::getSeekView ( )
override
OUString SwVbaView::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > SwVbaView::getServiceNames ( )
overridevirtual
sal_Int32 SAL_CALL SwVbaView::getSplitSpecial ( )
override

Definition at line 183 of file vbaview.cxx.

sal_Bool SAL_CALL SwVbaView::getTableGridLines ( )
overridevirtual

Definition at line 195 of file vbaview.cxx.

References mxViewSettings.

sal_Int32 SAL_CALL SwVbaView::getType ( )
override

Definition at line 209 of file vbaview.cxx.

References mxViewSettings.

void SAL_CALL SwVbaView::setSeekView ( ::sal_Int32  _seekview)
overridevirtual
void SAL_CALL SwVbaView::setSplitSpecial ( ::sal_Int32  _splitspecial)
overridevirtual

Definition at line 189 of file vbaview.cxx.

void SAL_CALL SwVbaView::setTableGridLines ( sal_Bool  _tablegridlines)
overridevirtual

Definition at line 203 of file vbaview.cxx.

References mxViewSettings.

void SAL_CALL SwVbaView::setType ( ::sal_Int32  _type)
overridevirtual

Member Data Documentation

css::uno::Reference< css::frame::XModel > SwVbaView::mxModel
private

Definition at line 33 of file vbaview.hxx.

Referenced by getHFTextRange(), getSeekView(), setSeekView(), setType(), and SwVbaView().

css::uno::Reference< css::text::XTextViewCursor > SwVbaView::mxViewCursor
private

Definition at line 34 of file vbaview.hxx.

Referenced by getHFTextRange(), getSeekView(), setSeekView(), and SwVbaView().

css::uno::Reference< css::beans::XPropertySet > SwVbaView::mxViewSettings
private

Definition at line 35 of file vbaview.hxx.

Referenced by getTableGridLines(), getType(), setTableGridLines(), setType(), and SwVbaView().


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