LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::TextApiObject Class Referencefinal

#include <textapi.hxx>

Inheritance diagram for sd::TextApiObject:
[legend]
Collaboration diagram for sd::TextApiObject:
[legend]

Public Member Functions

virtual ~TextApiObject () noexcept override
 
void dispose ()
 
std::optional< OutlinerParaObjectCreateText ()
 
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
 

Static Public Member Functions

static rtl::Reference< TextApiObjectcreate (SdDrawDocument *pDoc)
 
static TextApiObjectgetImplementation (const css::uno::Reference< css::text::XText > &)
 
- 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 ()
 

Private Member Functions

 TextApiObject (std::unique_ptr< TextAPIEditSource > pEditSource)
 

Private Attributes

std::unique_ptr< TextAPIEditSourcempSource
 

Additional Inherited Members

- 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 32 of file textapi.hxx.

Constructor & Destructor Documentation

◆ ~TextApiObject()

sd::TextApiObject::~TextApiObject ( )
overridevirtualnoexcept

Definition at line 141 of file textapi.cxx.

References dispose().

◆ TextApiObject()

sd::TextApiObject::TextApiObject ( std::unique_ptr< TextAPIEditSource pEditSource)
private

Definition at line 135 of file textapi.cxx.

References get(), and Reference.

Referenced by create().

Member Function Documentation

◆ create()

rtl::Reference< TextApiObject > sd::TextApiObject::create ( SdDrawDocument pDoc)
static

Definition at line 146 of file textapi.cxx.

References TextApiObject().

◆ CreateText()

std::optional< OutlinerParaObject > sd::TextApiObject::CreateText ( )

Definition at line 162 of file textapi.cxx.

References mpSource.

Referenced by sd::AnnotationWindow::setAnnotation().

◆ dispose()

void sd::TextApiObject::dispose ( void  )
Exceptions
css::uno::RuntimeException

Definition at line 152 of file textapi.cxx.

References mpSource.

Referenced by ~TextApiObject().

◆ getImplementation()

TextApiObject * sd::TextApiObject::getImplementation ( const css::uno::Reference< css::text::XText > &  xText)
static

Definition at line 182 of file textapi.cxx.

Referenced by sd::getTextApiObject().

◆ GetText()

OUString sd::TextApiObject::GetText ( ) const

Definition at line 177 of file textapi.cxx.

References mpSource.

Referenced by sd::AnnotationManagerImpl::ExecuteReplyToAnnotation().

◆ SetText()

void sd::TextApiObject::SetText ( OutlinerParaObject const &  rText)

Member Data Documentation

◆ mpSource

std::unique_ptr<TextAPIEditSource> sd::TextApiObject::mpSource
private

Definition at line 49 of file textapi.hxx.

Referenced by CreateText(), dispose(), GetText(), and SetText().


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