LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScDrawTextCursor Class Referencefinal

#include <textuno.hxx>

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

Public Member Functions

 ScDrawTextCursor (const css::uno::Reference< css::text::XText > &xParent, const SvxUnoTextBase &rText)
 
virtual ~ScDrawTextCursor () override throw ()
 
 ScDrawTextCursor (ScDrawTextCursor const &)=default
 
 ScDrawTextCursor (ScDrawTextCursor &&)=default
 
ScDrawTextCursoroperator= (ScDrawTextCursor const &)=delete
 
ScDrawTextCursoroperator= (ScDrawTextCursor &&)=delete
 
virtual css::uno::Reference< css::text::XText > SAL_CALL getText () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd () override
 
- Public Member Functions inherited from SvxUnoTextCursor
 SvxUnoTextCursor (const SvxUnoTextBase &rText)
 
 SvxUnoTextCursor (const SvxUnoTextCursor &rCursor)
 
virtual ~SvxUnoTextCursor () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override
 
virtual void SAL_CALL release () override
 
virtual OUString SAL_CALL getString () override
 
virtual void SAL_CALL setString (const OUString &aString) override
 
virtual void SAL_CALL collapseToStart () override
 
virtual void SAL_CALL collapseToEnd () override
 
virtual sal_Bool SAL_CALL isCollapsed () override
 
virtual sal_Bool SAL_CALL goLeft (sal_Int16 nCount, sal_Bool bExpand) override
 
virtual sal_Bool SAL_CALL goRight (sal_Int16 nCount, sal_Bool bExpand) override
 
virtual void SAL_CALL gotoStart (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoEnd (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) 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 SvxUnoTextRangeBase
const ESelectionGetSelection () const
 
void SetSelection (const ESelection &rSelection)
 
void CollapseToStart ()
 
void CollapseToEnd ()
 
bool IsCollapsed ()
 
bool GoLeft (sal_Int16 nCount, bool Expand)
 
bool GoRight (sal_Int16 nCount, bool Expand)
 
void GotoStart (bool Expand)
 
void GotoEnd (bool Expand)
 
const SvxItemPropertySetgetPropertySet () const
 
SvxEditSourceGetEditSource () const
 
void attachField (std::unique_ptr< SvxFieldData > pData)
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual void SAL_CALL setAllPropertiesToDefault () override
 
virtual void SAL_CALL setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual ::sal_Int16 SAL_CALL compareRegionStarts (const css::uno::Reference< css::text::XTextRange > &xR1, const css::uno::Reference< css::text::XTextRange > &xR2) override
 
virtual ::sal_Int16 SAL_CALL compareRegionEnds (const css::uno::Reference< css::text::XTextRange > &xR1, const css::uno::Reference< css::text::XTextRange > &xR2) override
 

Private Attributes

css::uno::Reference< css::text::XText > xParentText
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxUnoTextRangeBase
static bool SetPropertyValueHelper (const SfxItemPropertySimpleEntry *pMap, const css::uno::Any &aValue, SfxItemSet &rNewSet, const ESelection *pSelection=nullptr, SvxEditSource *pEditSource=nullptr)
 
static bool GetPropertyValueHelper (SfxItemSet const &rSet, const SfxItemPropertySimpleEntry *pMap, css::uno::Any &aAny, const ESelection *pSelection=nullptr, SvxEditSource *pEditSource=nullptr)
 
static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
- Protected Member Functions inherited from SvxUnoTextRangeBase
void _setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue, sal_Int32 nPara=-1)
 
css::uno::Any _getPropertyValue (const OUString &PropertyName, sal_Int32 nPara=-1)
 
void _setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues, sal_Int32 nPara=-1)
 
css::uno::Sequence< css::uno::Any > _getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, sal_Int32 nPara=-1)
 
css::beans::PropertyState _getPropertyState (const SfxItemPropertySimpleEntry *pMap, sal_Int32 nPara=-1)
 
css::beans::PropertyState _getPropertyState (const OUString &PropertyName, sal_Int32 nPara=-1)
 
css::uno::Sequence< css::beans::PropertyState > _getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName, sal_Int32 nPara=-1)
 
void _setPropertyToDefault (const OUString &PropertyName, sal_Int32 nPara=-1)
 
void _setPropertyToDefault (SvxTextForwarder *pForwarder, const SfxItemPropertySimpleEntry *pMap, sal_Int32 nPara)
 
void SetEditSource (SvxEditSource *_pEditSource)
 
void getPropertyValue (const SfxItemPropertySimpleEntry *pMap, css::uno::Any &rAny, const SfxItemSet &rSet)
 
void setPropertyValue (const SfxItemPropertySimpleEntry *pMap, const css::uno::Any &rValue, const ESelection &rSelection, const SfxItemSet &rOldSet, SfxItemSet &rNewSet)
 
 SvxUnoTextRangeBase (const SvxItemPropertySet *_pSet)
 
 SvxUnoTextRangeBase (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet)
 
 SvxUnoTextRangeBase (const SvxUnoTextRangeBase &rRange)
 
virtual ~SvxUnoTextRangeBase ()
 
- Static Protected Member Functions inherited from SvxUnoTextRangeBase
static bool _getOnePropertyStates (const SfxItemSet *pSet, const SfxItemPropertySimpleEntry *pMap, css::beans::PropertyState &rState)
 
- Protected Attributes inherited from SvxUnoTextRangeBase
std::unique_ptr< SvxEditSourcempEditSource
 
ESelection maSelection
 

Detailed Description

Definition at line 269 of file textuno.hxx.

Constructor & Destructor Documentation

ScDrawTextCursor::ScDrawTextCursor ( const css::uno::Reference< css::text::XText > &  xParent,
const SvxUnoTextBase rText 
)

Referenced by getEnd(), and getStart().

ScDrawTextCursor::~ScDrawTextCursor ( )
throw (
)
overridevirtual

Definition at line 663 of file textuno.cxx.

ScDrawTextCursor::ScDrawTextCursor ( ScDrawTextCursor const &  )
default
ScDrawTextCursor::ScDrawTextCursor ( ScDrawTextCursor &&  )
default

Member Function Documentation

uno::Reference< text::XTextRange > SAL_CALL ScDrawTextCursor::getEnd ( )
overridevirtual
uno::Reference< text::XTextRange > SAL_CALL ScDrawTextCursor::getStart ( )
overridevirtual
uno::Reference< text::XText > SAL_CALL ScDrawTextCursor::getText ( )
overridevirtual

Reimplemented from SvxUnoTextCursor.

Definition at line 669 of file textuno.cxx.

References xParentText.

ScDrawTextCursor& ScDrawTextCursor::operator= ( ScDrawTextCursor const &  )
delete
ScDrawTextCursor& ScDrawTextCursor::operator= ( ScDrawTextCursor &&  )
delete

Member Data Documentation

css::uno::Reference< css::text::XText > ScDrawTextCursor::xParentText
private

Definition at line 272 of file textuno.hxx.

Referenced by getText().


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