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, css::uno::Reference< css::frame::XModel > xModel)
 
virtual ~SwVbaView () override
 
sal_Bool SAL_CALL getShowAll () override
 
void SAL_CALL setShowAll (sal_Bool bSet) 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< typename... 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, 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
 

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 29 of file vbaview.hxx.

Constructor & Destructor Documentation

◆ SwVbaView()

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

Definition at line 47 of file vbaview.cxx.

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

◆ ~SwVbaView()

SwVbaView::~SwVbaView ( )
overridevirtual

Definition at line 60 of file vbaview.cxx.

Member Function Documentation

◆ getHFTextRange()

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

Definition at line 253 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, mxViewCursor, and nType.

Referenced by setSeekView().

◆ getSeekView()

sal_Int32 SAL_CALL SwVbaView::getSeekView ( )
override

◆ getServiceImplName()

OUString SwVbaView::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > SwVbaView::getServiceNames ( )
overridevirtual

◆ getShowAll()

sal_Bool SwVbaView::getShowAll ( )
override

Definition at line 64 of file vbaview.cxx.

References mxViewSettings.

◆ getSplitSpecial()

sal_Int32 SAL_CALL SwVbaView::getSplitSpecial ( )
override

Definition at line 191 of file vbaview.cxx.

◆ getTableGridLines()

sal_Bool SAL_CALL SwVbaView::getTableGridLines ( )
overridevirtual

Definition at line 203 of file vbaview.cxx.

References mxViewSettings.

◆ getType()

sal_Int32 SAL_CALL SwVbaView::getType ( )
override

Definition at line 217 of file vbaview.cxx.

References mxViewSettings.

◆ setSeekView()

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

◆ setShowAll()

void SwVbaView::setShowAll ( sal_Bool  bSet)
override

Definition at line 71 of file vbaview.cxx.

References mxViewSettings.

◆ setSplitSpecial()

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

Definition at line 197 of file vbaview.cxx.

◆ setTableGridLines()

void SAL_CALL SwVbaView::setTableGridLines ( sal_Bool  _tablegridlines)
overridevirtual

Definition at line 211 of file vbaview.cxx.

References mxViewSettings.

◆ setType()

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

Member Data Documentation

◆ mxModel

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

Definition at line 32 of file vbaview.hxx.

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

◆ mxViewCursor

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

Definition at line 33 of file vbaview.hxx.

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

◆ mxViewSettings

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

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