19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBASELECTION_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBASELECTION_HXX
22#include <ooo/vba/word/XSelection.hpp>
23#include <ooo/vba/word/XRange.hpp>
25#include <com/sun/star/text/XTextViewCursor.hpp>
26#include <com/sun/star/text/XTextTable.hpp>
27#include <ooo/vba/word/XParagraphFormat.hpp>
28#include <ooo/vba/word/XFind.hpp>
29#include <ooo/vba/word/XFont.hpp>
30#include <ooo/vba/word/XHeaderFooter.hpp>
38 css::uno::Reference< css::frame::XModel >
mxModel;
53 css::uno::Reference< css::text::XTextTable >
GetXTextTable()
const;
61 SwVbaSelection(
const css::uno::Reference< ooo::vba::XHelperInterface >& rParent,
const css::uno::Reference< css::uno::XComponentContext >& rContext, css::uno::Reference< css::frame::XModel > xModel );
65 virtual OUString SAL_CALL
getText()
override;
66 virtual void SAL_CALL
setText(
const OUString& rText )
override;
67 virtual css::uno::Reference< ooo::vba::word::XRange > SAL_CALL
getRange()
override;
68 virtual void SAL_CALL
HomeKey(
const css::uno::Any& _unit,
const css::uno::Any& _extend )
override;
69 virtual void SAL_CALL
EndKey(
const css::uno::Any& _unit,
const css::uno::Any& _extend )
override;
70 virtual void SAL_CALL
TypeText(
const OUString& rText )
override;
71 virtual void SAL_CALL
Delete(
const css::uno::Any& _unit,
const css::uno::Any& _count )
override;
72 virtual void SAL_CALL
MoveRight(
const css::uno::Any& _unit,
const css::uno::Any& _count,
const css::uno::Any& _extend )
override;
73 virtual void SAL_CALL
MoveLeft(
const css::uno::Any& _unit,
const css::uno::Any& _count,
const css::uno::Any& _extend )
override;
74 virtual void SAL_CALL
MoveDown(
const css::uno::Any& _unit,
const css::uno::Any& _count,
const css::uno::Any& _extend )
override;
75 virtual void SAL_CALL
MoveUp(
const css::uno::Any& _unit,
const css::uno::Any& _count,
const css::uno::Any& _extend )
override;
80 virtual css::uno::Reference< ooo::vba::word::XParagraphFormat > SAL_CALL
getParagraphFormat()
override;
81 virtual void SAL_CALL
setParagraphFormat(
const css::uno::Reference< ooo::vba::word::XParagraphFormat >& rParagraphFormat )
override;
82 virtual css::uno::Reference< ooo::vba::word::XFind > SAL_CALL
getFind()
override;
83 virtual css::uno::Any SAL_CALL
getStyle()
override;
84 virtual void SAL_CALL
setStyle(
const css::uno::Any& _xStyle )
override;
85 virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL
getFont()
override;
87 virtual css::uno::Reference< ooo::vba::word::XRange > SAL_CALL
GoTo(
const css::uno::Any& _what,
const css::uno::Any& _which,
const css::uno::Any& _count,
const css::uno::Any& _name )
override;
89 virtual void SAL_CALL
setLanguageID( ::sal_Int32 _languageid )
override;
90 virtual css::uno::Any SAL_CALL
Information( sal_Int32 _type )
override;
91 virtual void SAL_CALL
InsertBreak(
const css::uno::Any& _breakType )
override;
92 virtual css::uno::Any SAL_CALL
Tables(
const css::uno::Any& aIndex )
override;
93 virtual css::uno::Any SAL_CALL
Fields(
const css::uno::Any& aIndex )
override;
94 virtual css::uno::Reference< ooo::vba::word::XHeaderFooter > SAL_CALL
getHeaderFooter()
override;
95 virtual css::uno::Any SAL_CALL
ShapeRange( )
override;
96 virtual ::sal_Int32 SAL_CALL
getStart()
override;
97 virtual void SAL_CALL
setStart( ::sal_Int32 _start )
override;
98 virtual ::sal_Int32 SAL_CALL
getEnd()
override;
99 virtual void SAL_CALL
setEnd( ::sal_Int32 _end )
override;
100 virtual void SAL_CALL
SelectRow()
override;
102 virtual css::uno::Any SAL_CALL
Rows(
const css::uno::Any& aIndex )
override;
103 virtual css::uno::Any SAL_CALL
Columns(
const css::uno::Any& aIndex )
override;
104 virtual css::uno::Any SAL_CALL
Cells(
const css::uno::Any& aIndex )
override;
105 virtual void SAL_CALL
Copy( )
override;
107 virtual void SAL_CALL
Paste( )
override;
108 virtual void SAL_CALL
Collapse(
const css::uno::Any& Direction )
override;
110 virtual sal_Bool SAL_CALL
InRange(
const css::uno::Reference< ::ooo::vba::word::XRange >&
Range )
override;
112 virtual css::uno::Any SAL_CALL
Paragraphs(
const css::uno::Any& aIndex )
override;
virtual css::uno::Any SAL_CALL Paragraphs(const css::uno::Any &aIndex) override
virtual void SAL_CALL Collapse(const css::uno::Any &Direction) override
virtual void SAL_CALL SelectColumn() override
virtual void SAL_CALL WholeStory() override
virtual void SAL_CALL InsertParagraphBefore() override
css::uno::Reference< css::frame::XModel > mxModel
virtual css::uno::Reference< ooo::vba::word::XHeaderFooter > SAL_CALL getHeaderFooter() override
virtual void SAL_CALL setStart(::sal_Int32 _start) override
virtual void SAL_CALL MoveDown(const css::uno::Any &_unit, const css::uno::Any &_count, const css::uno::Any &_extend) override
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual void SAL_CALL Copy() override
virtual void SAL_CALL setText(const OUString &rText) override
virtual void SAL_CALL Paste() override
virtual css::uno::Any SAL_CALL Fields(const css::uno::Any &aIndex) override
virtual css::uno::Reference< ooo::vba::word::XParagraphFormat > SAL_CALL getParagraphFormat() override
virtual ::sal_Int32 SAL_CALL getLanguageID() override
virtual css::uno::Reference< ooo::vba::word::XRange > SAL_CALL getRange() override
virtual void SAL_CALL CopyAsPicture() override
virtual void SAL_CALL TypeText(const OUString &rText) override
virtual css::uno::Reference< ooo::vba::word::XRange > SAL_CALL GoTo(const css::uno::Any &_what, const css::uno::Any &_which, const css::uno::Any &_count, const css::uno::Any &_name) override
void Move(const css::uno::Any &_unit, const css::uno::Any &_count, const css::uno::Any &_extend, ooo::vba::word::E_DIRECTION eDirection)
virtual ~SwVbaSelection() override
virtual ::sal_Int32 SAL_CALL getEnd() override
virtual void SAL_CALL TypeParagraph() override
virtual void SAL_CALL setParagraphFormat(const css::uno::Reference< ooo::vba::word::XParagraphFormat > &rParagraphFormat) override
virtual css::uno::Any SAL_CALL getStyle() override
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
virtual sal_Bool SAL_CALL InRange(const css::uno::Reference< ::ooo::vba::word::XRange > &Range) override
virtual void SAL_CALL EndKey(const css::uno::Any &_unit, const css::uno::Any &_extend) override
virtual css::uno::Any SAL_CALL Information(sal_Int32 _type) override
virtual void SAL_CALL HomeKey(const css::uno::Any &_unit, const css::uno::Any &_extend) override
virtual css::uno::Any SAL_CALL Rows(const css::uno::Any &aIndex) override
virtual void SAL_CALL SplitTable() override
virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL getFont() override
virtual css::uno::Reference< ooo::vba::word::XFind > SAL_CALL getFind() override
css::uno::Reference< css::text::XTextTable > GetXTextTable() const
virtual css::uno::Any SAL_CALL Cells(const css::uno::Any &aIndex) override
virtual void SAL_CALL InsertBreak(const css::uno::Any &_breakType) override
virtual void SAL_CALL SelectRow() override
virtual void SAL_CALL MoveLeft(const css::uno::Any &_unit, const css::uno::Any &_count, const css::uno::Any &_extend) override
virtual css::uno::Any SAL_CALL ShapeRange() override
virtual void SAL_CALL TypeBackspace() override
virtual void SAL_CALL setStyle(const css::uno::Any &_xStyle) override
virtual css::uno::Any SAL_CALL Columns(const css::uno::Any &aIndex) override
css::uno::Reference< css::text::XTextRange > GetSelectedRange()
virtual void SAL_CALL setLanguageID(::sal_Int32 _languageid) override
virtual OUString getServiceImplName() override
virtual css::uno::Any SAL_CALL Tables(const css::uno::Any &aIndex) override
virtual void SAL_CALL setEnd(::sal_Int32 _end) override
SwVbaSelection(const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::frame::XModel > xModel)
void NextCell(sal_Int32 nCount, ooo::vba::word::E_DIRECTION eDirection)
void GetSelectedCellRange(OUString &sTLName, OUString &sBRName)
virtual void SAL_CALL Delete(const css::uno::Any &_unit, const css::uno::Any &_count) override
virtual void SAL_CALL InsertParagraphAfter() override
virtual void SAL_CALL MoveUp(const css::uno::Any &_unit, const css::uno::Any &_count, const css::uno::Any &_extend) override
virtual void SAL_CALL InsertParagraph() override
virtual OUString SAL_CALL getText() override
virtual void SAL_CALL MoveRight(const css::uno::Any &_unit, const css::uno::Any &_count, const css::uno::Any &_extend) override
virtual ::sal_Int32 SAL_CALL getStart() override
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XSelection > SwVbaSelection_BASE