LibreOffice Module sc (master)
1
|
#include <textuno.hxx>
Public Member Functions | |
ScDrawTextCursor (const css::uno::Reference< css::text::XText > &xParent, const SvxUnoTextBase &rText) | |
virtual | ~ScDrawTextCursor () noexcept override |
ScDrawTextCursor (ScDrawTextCursor const &)=default | |
ScDrawTextCursor (ScDrawTextCursor &&)=default | |
ScDrawTextCursor & | operator= (ScDrawTextCursor const &)=delete |
ScDrawTextCursor & | operator= (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 |
![]() | |
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 |
![]() | |
const ESelection & | GetSelection () const noexcept |
void | SetSelection (const ESelection &rSelection) noexcept |
void | CollapseToStart () noexcept |
void | CollapseToEnd () noexcept |
bool | IsCollapsed () noexcept |
bool | GoLeft (sal_Int32 nCount, bool Expand) noexcept |
bool | GoRight (sal_Int32 nCount, bool Expand) noexcept |
void | GotoStart (bool Expand) noexcept |
void | GotoEnd (bool Expand) noexcept |
const SvxItemPropertySet * | getPropertySet () const noexcept |
SvxEditSource * | GetEditSource () 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 | |
css::uno::Reference< css::text::XText > | xParentText |
Additional Inherited Members | |
![]() | |
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 () |
![]() | |
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 bool | _getOnePropertyStates (const SfxItemSet *pSet, const SfxItemPropertyMapEntry *pMap, css::beans::PropertyState &rState) |
![]() | |
std::unique_ptr< SvxEditSource > | mpEditSource |
ESelection | maSelection |
Definition at line 268 of file textuno.hxx.
ScDrawTextCursor::ScDrawTextCursor | ( | const css::uno::Reference< css::text::XText > & | xParent, |
const SvxUnoTextBase & | rText | ||
) |
Referenced by getEnd(), and getStart().
|
overridevirtualnoexcept |
Definition at line 649 of file textuno.cxx.
|
default |
|
default |
|
overridevirtual |
use other object for range than cursor?
Reimplemented from SvxUnoTextCursor.
Definition at line 677 of file textuno.cxx.
References SvxUnoTextRangeBase::GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, and ScDrawTextCursor().
|
overridevirtual |
use other object for range than cursor?
Reimplemented from SvxUnoTextCursor.
Definition at line 661 of file textuno.cxx.
References SvxUnoTextRangeBase::GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, and ScDrawTextCursor().
|
overridevirtual |
Reimplemented from SvxUnoTextCursor.
Definition at line 655 of file textuno.cxx.
References xParentText.
|
delete |
|
delete |
|
private |
Definition at line 271 of file textuno.hxx.
Referenced by getText().