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

#include <textuno.hxx>

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

Public Member Functions

 ScHeaderFooterTextCursor (rtl::Reference< ScHeaderFooterTextObj > const &rText)
 
virtual ~ScHeaderFooterTextCursor () noexcept override
 
 ScHeaderFooterTextCursor (ScHeaderFooterTextCursor const &)=default
 
 ScHeaderFooterTextCursor (ScHeaderFooterTextCursor &&)=default
 
ScHeaderFooterTextCursoroperator= (ScHeaderFooterTextCursor const &)=delete
 
ScHeaderFooterTextCursoroperator= (ScHeaderFooterTextCursor &&)=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) noexcept
 
 SvxUnoTextCursor (const SvxUnoTextCursor &rCursor) noexcept
 
virtual ~SvxUnoTextCursor () noexcept 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 () noexcept override
 
virtual void SAL_CALL release () noexcept 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 noexcept
 
void SetSelection (const ESelection &rSelection) noexcept
 
void CollapseToStart () noexcept
 
void CollapseToEnd () noexcept
 
bool IsCollapsed () noexcept
 
bool GoLeft (sal_Int16 nCount, bool Expand) noexcept
 
bool GoRight (sal_Int16 nCount, bool Expand) noexcept
 
void GotoStart (bool Expand) noexcept
 
void GotoEnd (bool Expand) noexcept
 
const SvxItemPropertySetgetPropertySet () const noexcept
 
SvxEditSourceGetEditSource () const noexcept
 
void attachField (std::unique_ptr< SvxFieldData > pData) noexcept
 
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

rtl::Reference< ScHeaderFooterTextObjrTextObj
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxUnoTextRangeBase
static bool SetPropertyValueHelper (const SfxItemPropertyMapEntry *pMap, const css::uno::Any &aValue, SfxItemSet &rNewSet, const ESelection *pSelection=nullptr, SvxEditSource *pEditSource=nullptr)
 
static bool GetPropertyValueHelper (SfxItemSet const &rSet, const SfxItemPropertyMapEntry *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 SfxItemPropertyMapEntry *pMap, sal_Int32 nPara=-1)
 
css::beans::PropertyState _getPropertyState (std::u16string_view 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 SfxItemPropertyMapEntry *pMap, sal_Int32 nPara)
 
void SetEditSource (SvxEditSource *_pEditSource) noexcept
 
void getPropertyValue (const SfxItemPropertyMapEntry *pMap, css::uno::Any &rAny, const SfxItemSet &rSet)
 
void setPropertyValue (const SfxItemPropertyMapEntry *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 () noexcept
 
- Static Protected Member Functions inherited from SvxUnoTextRangeBase
static bool _getOnePropertyStates (const SfxItemSet *pSet, const SfxItemPropertyMapEntry *pMap, css::beans::PropertyState &rState)
 
- Protected Attributes inherited from SvxUnoTextRangeBase
std::unique_ptr< SvxEditSourcempEditSource
 
ESelection maSelection
 

Detailed Description

Definition at line 242 of file textuno.hxx.

Constructor & Destructor Documentation

ScHeaderFooterTextCursor::ScHeaderFooterTextCursor ( rtl::Reference< ScHeaderFooterTextObj > const &  rText)

Definition at line 594 of file textuno.cxx.

Referenced by getEnd(), and getStart().

ScHeaderFooterTextCursor::~ScHeaderFooterTextCursor ( )
overridevirtualnoexcept

Definition at line 599 of file textuno.cxx.

ScHeaderFooterTextCursor::ScHeaderFooterTextCursor ( ScHeaderFooterTextCursor const &  )
default
ScHeaderFooterTextCursor::ScHeaderFooterTextCursor ( ScHeaderFooterTextCursor &&  )
default

Member Function Documentation

uno::Reference< text::XTextRange > SAL_CALL ScHeaderFooterTextCursor::getEnd ( )
overridevirtual

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 625 of file textuno.cxx.

References SvxUnoTextRangeBase::GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, and ScHeaderFooterTextCursor().

uno::Reference< text::XTextRange > SAL_CALL ScHeaderFooterTextCursor::getStart ( )
overridevirtual

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 609 of file textuno.cxx.

References SvxUnoTextRangeBase::GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, and ScHeaderFooterTextCursor().

uno::Reference< text::XText > SAL_CALL ScHeaderFooterTextCursor::getText ( )
overridevirtual

Reimplemented from SvxUnoTextCursor.

Definition at line 603 of file textuno.cxx.

References rTextObj.

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

Member Data Documentation

rtl::Reference<ScHeaderFooterTextObj> ScHeaderFooterTextCursor::rTextObj
private

Definition at line 245 of file textuno.hxx.

Referenced by getText().


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