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

#include <editsource.hxx>

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

Public Member Functions

 SvxEditEngineSource (EditEngine *pEditEngine)
 
virtual ~SvxEditEngineSource () override
 
virtual std::unique_ptr< SvxEditSourceClone () const override
 Returns a new reference to the same object. This is a shallow copy. More...
 
virtual SvxTextForwarderGetTextForwarder () override
 Query the text forwarder. More...
 
virtual void UpdateData () override
 Write back data to model. More...
 
- Public Member Functions inherited from SvxEditSource
 SvxEditSource ()=default
 
 SvxEditSource (SvxEditSource const &)=default
 
 SvxEditSource (SvxEditSource &&)=default
 
SvxEditSourceoperator= (SvxEditSource const &)=default
 
SvxEditSourceoperator= (SvxEditSource &&)=default
 
virtual ~SvxEditSource ()
 
virtual std::unique_ptr< SvxEditSourceClone () const =0
 Returns a new reference to the same object. This is a shallow copy. More...
 
virtual SvxTextForwarderGetTextForwarder ()=0
 Query the text forwarder. More...
 
virtual SvxViewForwarderGetViewForwarder ()
 Query the view forwarder. More...
 
virtual SvxEditViewForwarderGetEditViewForwarder (bool bCreate=false)
 Query the edit view forwarder. More...
 
virtual void UpdateData ()=0
 Write back data to model. More...
 
virtual SfxBroadcasterGetBroadcaster () const
 Returns broadcaster the underlying edit engine's events are sent from. More...
 
virtual void addRange (SvxUnoTextRangeBase *pNewRange)
 adds the given SvxUnoTextRangeBase to the text object capsulated by this SvxEditSource. More...
 
virtual void removeRange (SvxUnoTextRangeBase *pOldRange)
 removes the given SvxUnoTextRangeBase from the text object capsulated by this SvxEditSource. More...
 
virtual const SvxUnoTextRangeBaseVecgetRanges () const
 returns a const list of all text ranges that are registered for the underlying text object. More...
 

Private Member Functions

 SvxEditEngineSource (SvxEditEngineSourceImpl *pImpl)
 

Private Attributes

rtl::Reference< SvxEditEngineSourceImplmxImpl
 

Detailed Description

Definition at line 27 of file editsource.hxx.

Constructor & Destructor Documentation

◆ SvxEditEngineSource() [1/2]

SvxEditEngineSource::SvxEditEngineSource ( EditEngine pEditEngine)
explicit

Definition at line 92 of file xmltxtexp.cxx.

Referenced by Clone().

◆ ~SvxEditEngineSource()

SvxEditEngineSource::~SvxEditEngineSource ( )
overridevirtual

Definition at line 102 of file xmltxtexp.cxx.

◆ SvxEditEngineSource() [2/2]

SvxEditEngineSource::SvxEditEngineSource ( SvxEditEngineSourceImpl pImpl)
explicitprivate

Definition at line 97 of file xmltxtexp.cxx.

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxEditSource > SvxEditEngineSource::Clone ( ) const
overridevirtual

Returns a new reference to the same object. This is a shallow copy.

Implements SvxEditSource.

Definition at line 106 of file xmltxtexp.cxx.

References mxImpl, and SvxEditEngineSource().

◆ GetTextForwarder()

SvxTextForwarder * SvxEditEngineSource::GetTextForwarder ( )
overridevirtual

Query the text forwarder.

Returns
the text forwarder, or NULL if the underlying object is dead

Implements SvxEditSource.

Definition at line 111 of file xmltxtexp.cxx.

References mxImpl.

◆ UpdateData()

void SvxEditEngineSource::UpdateData ( )
overridevirtual

Write back data to model.

Implements SvxEditSource.

Definition at line 117 of file xmltxtexp.cxx.

Member Data Documentation

◆ mxImpl

rtl::Reference<SvxEditEngineSourceImpl> SvxEditEngineSource::mxImpl
private

Definition at line 40 of file editsource.hxx.

Referenced by Clone(), and GetTextForwarder().


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