LibreOffice Module sw (master)
1
|
#include <textapi.hxx>
Public Member Functions | |
SwTextAPIObject (std::unique_ptr< SwTextAPIEditSource > p) | |
virtual | ~SwTextAPIObject () override throw () |
void | DisposeEditSource () |
std::unique_ptr< OutlinerParaObject > | CreateText () |
void | SetString (const OUString &rText) |
void | SetText (OutlinerParaObject const &rText) |
OUString | GetText () const |
![]() | |
SvxUnoText (const SvxItemPropertySet *_pSet) | |
SvxUnoText (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet, css::uno::Reference< css::text::XText > const &xParent) | |
SvxUnoText (const SvxUnoText &rText) | |
virtual | ~SvxUnoText () override |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) 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 css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
![]() | |
css::uno::Reference< css::text::XTextCursor > | createTextCursorBySelection (const ESelection &rSel) |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursor () override |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override |
virtual void SAL_CALL | insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override |
virtual void SAL_CALL | removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &aString) override |
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 |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | moveTextRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nParagraphs) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | finishParagraph (const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | finishParagraphInsert (const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &xInsertPosition) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | appendTextPortion (const OUString &Text, const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | insertTextPortion (const OUString &Text, const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &rTextRange) override |
virtual void SAL_CALL | copyText (const css::uno::Reference< css::text::XTextCopy > &xSource) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
![]() | |
const ESelection & | GetSelection () 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 SvxItemPropertySet * | getPropertySet () const |
SvxEditSource * | GetEditSource () 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 |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
Private Attributes | |
std::unique_ptr< SwTextAPIEditSource > | m_pSource |
Additional Inherited Members | |
![]() | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
![]() | |
static css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames_Static () |
![]() | |
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 () |
![]() | |
SvxUnoTextBase (const SvxItemPropertySet *_pSet) | |
SvxUnoTextBase (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet, css::uno::Reference< css::text::XText > const &xParent) | |
SvxUnoTextBase (const SvxUnoTextBase &rText) | |
virtual | ~SvxUnoTextBase () override |
![]() | |
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 (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 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 bool | _getOnePropertyStates (const SfxItemSet *pSet, const SfxItemPropertySimpleEntry *pMap, css::beans::PropertyState &rState) |
![]() | |
std::unique_ptr< SvxEditSource > | mpEditSource |
ESelection | maSelection |
Definition at line 50 of file textapi.hxx.
SwTextAPIObject::SwTextAPIObject | ( | std::unique_ptr< SwTextAPIEditSource > | p | ) |
Definition at line 61 of file textapi.cxx.
|
overridevirtual |
Definition at line 67 of file textapi.cxx.
References m_pSource.
|
inline |
Definition at line 57 of file textapi.hxx.
|
inline |
Definition at line 56 of file textapi.hxx.
|
inline |
Definition at line 60 of file textapi.hxx.
|
inline |
Definition at line 58 of file textapi.hxx.
|
inline |
Definition at line 59 of file textapi.hxx.
|
private |
Definition at line 52 of file textapi.hxx.
Referenced by ~SwTextAPIObject().