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

#include <textapi.hxx>

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

Public Member Functions

 SwTextAPIObject (std::unique_ptr< SwTextAPIEditSource > p)
 
virtual ~SwTextAPIObject () noexcept override
 
void DisposeEditSource ()
 
std::optional< OutlinerParaObjectCreateText ()
 
void SetString (const OUString &rText)
 
void SetText (OutlinerParaObject const &rText)
 
OUString GetText () const
 
- Public Member Functions inherited from SvxUnoText
 SvxUnoText (const SvxItemPropertySet *_pSet) noexcept
 
 SvxUnoText (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet, css::uno::Reference< css::text::XText > const &xParent) noexcept
 
 SvxUnoText (const SvxUnoText &rText) noexcept
 
virtual ~SvxUnoText () noexcept 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 () noexcept override
 
virtual void SAL_CALL release () noexcept 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::Any SAL_CALL queryAggregation (const css::uno::Type &rType)
 
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
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 

Private Attributes

std::unique_ptr< SwTextAPIEditSourcem_pSource
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxUnoText
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId () noexcept
 
- Static Public Member Functions inherited from SvxUnoTextBase
static css::uno::Sequence< OUString > SAL_CALL 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 () noexcept override
 

Detailed Description

Definition at line 51 of file textapi.hxx.

Constructor & Destructor Documentation

◆ SwTextAPIObject()

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

Definition at line 66 of file textapi.cxx.

References p, Reference, and text().

◆ ~SwTextAPIObject()

SwTextAPIObject::~SwTextAPIObject ( )
overridevirtualnoexcept

Definition at line 72 of file textapi.cxx.

References m_pSource.

Member Function Documentation

◆ CreateText()

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

Definition at line 58 of file textapi.hxx.

References m_pSource.

◆ DisposeEditSource()

void SwTextAPIObject::DisposeEditSource ( )
inline

Definition at line 57 of file textapi.hxx.

References m_pSource.

◆ GetText()

OUString SwTextAPIObject::GetText ( ) const
inline

Definition at line 61 of file textapi.hxx.

References m_pSource.

◆ SetString()

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

Definition at line 59 of file textapi.hxx.

References m_pSource.

◆ SetText()

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

Definition at line 60 of file textapi.hxx.

References m_pSource.

Member Data Documentation

◆ m_pSource

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

Definition at line 53 of file textapi.hxx.

Referenced by CreateText(), DisposeEditSource(), GetText(), SetString(), SetText(), and ~SwTextAPIObject().


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