LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwTextAPIObject Class Reference

#include <textapi.hxx>

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

Public Member Functions

 SwTextAPIObject (std::unique_ptr< SwTextAPIEditSource > p)
 
virtual ~SwTextAPIObject () override throw ()
 
void DisposeEditSource ()
 
std::unique_ptr< OutlinerParaObjectCreateText ()
 
void SetString (const OUString &rText)
 
void SetText (OutlinerParaObject const &rText)
 
OUString GetText () const
 
- Public Member Functions inherited from SvxUnoText
 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
 
- Public Member Functions inherited from SvxUnoTextBase
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
 
- 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
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 

Private Attributes

std::unique_ptr< SwTextAPIEditSourcepSource
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxUnoText
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from SvxUnoTextBase
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_Static ()
 
- 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 SvxUnoTextBase
 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
 
- 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 50 of file textapi.hxx.

Constructor & Destructor Documentation

SwTextAPIObject::SwTextAPIObject ( std::unique_ptr< SwTextAPIEditSource p)

Definition at line 61 of file textapi.cxx.

References Reference, and text().

SwTextAPIObject::~SwTextAPIObject ( )
throw (
)
overridevirtual

Definition at line 67 of file textapi.cxx.

References pSource.

Member Function Documentation

std::unique_ptr<OutlinerParaObject> SwTextAPIObject::CreateText ( )
inline

Definition at line 57 of file textapi.hxx.

void SwTextAPIObject::DisposeEditSource ( )
inline

Definition at line 56 of file textapi.hxx.

OUString SwTextAPIObject::GetText ( ) const
inline

Definition at line 60 of file textapi.hxx.

void SwTextAPIObject::SetString ( const OUString &  rText)
inline

Definition at line 58 of file textapi.hxx.

void SwTextAPIObject::SetText ( OutlinerParaObject const &  rText)
inline

Definition at line 59 of file textapi.hxx.

Member Data Documentation

std::unique_ptr<SwTextAPIEditSource> SwTextAPIObject::pSource
private

Definition at line 52 of file textapi.hxx.

Referenced by ~SwTextAPIObject().


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