LibreOffice Module editeng (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SvxUnoTextBase Class Reference

#include <unotext.hxx>

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

Public Member Functions

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 css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_Static ()
 

Protected Member Functions

 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
 

Private Attributes

css::uno::Reference< css::text::XText > xParentText
 

Detailed Description

Definition at line 423 of file unotext.hxx.

Constructor & Destructor Documentation

◆ SvxUnoTextBase() [1/3]

SvxUnoTextBase::SvxUnoTextBase ( const SvxItemPropertySet _pSet)
protected

Definition at line 1671 of file unotext.cxx.

◆ SvxUnoTextBase() [2/3]

SvxUnoTextBase::SvxUnoTextBase ( const SvxEditSource pSource,
const SvxItemPropertySet _pSet,
css::uno::Reference< css::text::XText > const &  xParent 
)
protected

◆ SvxUnoTextBase() [3/3]

SvxUnoTextBase::SvxUnoTextBase ( const SvxUnoTextBase rText)
protected

Definition at line 1685 of file unotext.cxx.

References text(), and xParentText.

◆ ~SvxUnoTextBase()

SvxUnoTextBase::~SvxUnoTextBase ( )
overrideprotectedvirtualnoexcept

Definition at line 1696 of file unotext.cxx.

Member Function Documentation

◆ appendTextPortion()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::appendTextPortion ( const OUString &  Text,
const css::uno::Sequence< css::beans::PropertyValue > &  CharacterAndParagraphProperties 
)
overridevirtual

◆ copyText()

void SvxUnoTextBase::copyText ( const css::uno::Reference< css::text::XTextCopy > &  xSource)
overridevirtual

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL SvxUnoTextBase::createEnumeration ( )
overridevirtual

Definition at line 1980 of file unotext.cxx.

References EE_PARA_MAX_COUNT, and GetSelection().

◆ createTextCursor()

uno::Reference< text::XTextCursor > SAL_CALL SvxUnoTextBase::createTextCursor ( )
overridevirtual

Definition at line 1763 of file unotext.cxx.

◆ createTextCursorByRange()

uno::Reference< text::XTextCursor > SAL_CALL SvxUnoTextBase::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  aTextPosition)
overridevirtual

Definition at line 1769 of file unotext.cxx.

References createTextCursorBySelection().

◆ createTextCursorBySelection()

uno::Reference< text::XTextCursor > SvxUnoTextBase::createTextCursorBySelection ( const ESelection rSel)

Definition at line 1754 of file unotext.cxx.

Referenced by createTextCursorByRange().

◆ finishParagraph()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::finishParagraph ( const css::uno::Sequence< css::beans::PropertyValue > &  CharacterAndParagraphProperties)
overridevirtual

◆ finishParagraphInsert()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::finishParagraphInsert ( const css::uno::Sequence< css::beans::PropertyValue > &  CharacterAndParagraphProperties,
const css::uno::Reference< css::text::XTextRange > &  xInsertPosition 
)
overridevirtual

Definition at line 2082 of file unotext.cxx.

◆ getElementType()

uno::Type SAL_CALL SvxUnoTextBase::getElementType ( )
overridevirtual

Definition at line 2000 of file unotext.cxx.

References cppu::UnoType< typename T >::get().

◆ getEnd()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::getEnd ( )
overridevirtual

Definition at line 1963 of file unotext.cxx.

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextBase::getImplementationId ( )
overridevirtual

Reimplemented in SvxUnoText.

Definition at line 1749 of file unotext.cxx.

◆ getImplementationName()

OUString SAL_CALL SvxUnoTextBase::getImplementationName ( )
overridevirtual

Definition at line 2228 of file unotext.cxx.

◆ getStart()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::getStart ( )
overridevirtual

Definition at line 1958 of file unotext.cxx.

◆ getString()

OUString SAL_CALL SvxUnoTextBase::getString ( )
overridevirtual

Definition at line 1968 of file unotext.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SvxUnoTextBase::getSupportedServiceNames ( )
overridevirtual

Definition at line 2233 of file unotext.cxx.

References getSupportedServiceNames_Static().

◆ getSupportedServiceNames_Static()

uno::Sequence< OUString > SAL_CALL SvxUnoTextBase::getSupportedServiceNames_Static ( )
static

Definition at line 2238 of file unotext.cxx.

References comphelper::concatSequences(), and u.

Referenced by getSupportedServiceNames().

◆ getText()

uno::Reference< text::XText > SAL_CALL SvxUnoTextBase::getText ( )
overridevirtual

Definition at line 1944 of file unotext.cxx.

References GetSelection().

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL SvxUnoTextBase::getTypes ( )
overridevirtual

Reimplemented in SvxUnoText.

Definition at line 1728 of file unotext.cxx.

References cppu::UnoType< typename T >::get().

Referenced by SvxUnoText::getTypes().

◆ hasElements()

sal_Bool SAL_CALL SvxUnoTextBase::hasElements ( )
overridevirtual

Definition at line 2005 of file unotext.cxx.

References SvxTextForwarder::GetParagraphCount().

◆ insertControlCharacter()

void SAL_CALL SvxUnoTextBase::insertControlCharacter ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Int16  nControlCharacter,
sal_Bool  bAbsorb 
)
overridevirtual

◆ insertString()

void SAL_CALL SvxUnoTextBase::insertString ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const OUString &  aString,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 1785 of file unotext.cxx.

References GetSelection().

Referenced by insertControlCharacter().

◆ insertTextContent()

void SAL_CALL SvxUnoTextBase::insertTextContent ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const css::uno::Reference< css::text::XTextContent > &  xContent,
sal_Bool  bAbsorb 
)
overridevirtual

◆ insertTextPortion()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextBase::insertTextPortion ( const OUString &  Text,
const css::uno::Sequence< css::beans::PropertyValue > &  CharacterAndParagraphProperties,
const css::uno::Reference< css::text::XTextRange > &  rTextRange 
)
overridevirtual

◆ moveTextRange()

void SAL_CALL SvxUnoTextBase::moveTextRange ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Int16  nParagraphs 
)
overridevirtual

Definition at line 2020 of file unotext.cxx.

◆ queryAggregation()

uno::Any SAL_CALL SvxUnoTextBase::queryAggregation ( const css::uno::Type &  rType)
virtual
Exceptions
css::uno::RuntimeException

Reimplemented in SvxUnoText.

Definition at line 1701 of file unotext.cxx.

References QUERYINT.

Referenced by SvxUnoText::queryAggregation().

◆ removeTextContent()

void SAL_CALL SvxUnoTextBase::removeTextContent ( const css::uno::Reference< css::text::XTextContent > &  xContent)
overridevirtual

Definition at line 1938 of file unotext.cxx.

◆ setString()

void SAL_CALL SvxUnoTextBase::setString ( const OUString &  aString)
overridevirtual

Definition at line 1973 of file unotext.cxx.

Referenced by copyText().

Member Data Documentation

◆ xParentText

css::uno::Reference< css::text::XText > SvxUnoTextBase::xParentText
private

Definition at line 430 of file unotext.hxx.

Referenced by SvxUnoTextBase().


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