LibreOffice Module writerfilter (master) 1
|
Reference to a resource that generates events and sends them to a handler. More...
#include <resourcemodel.hxx>
Public Types | |
typedef tools::SvRef< Reference< T > > | Pointer_t |
Pointer to reference. More... | |
Public Member Functions | |
virtual void | resolve (T &rHandler)=0 |
Resolves the reference. More... | |
Reference ()=default | |
Reference (Reference const &)=default | |
Reference (Reference &&)=default | |
Reference & | operator= (Reference const &)=default |
Reference & | operator= (Reference &&)=default |
![]() | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Protected Member Functions | |
~Reference () override | |
![]() | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Reference to a resource that generates events and sends them to a handler.
The reference can be resolved, i.e. the resource generates its events. The events must be suitable for the handler type given by the template parameter.
Example:
A Word document can be represented as a stream of events. Event types in a Word document are text, properties, tables, starts and ends of groups. These can be handled by a stream handler (
Definition at line 79 of file resourcemodel.hxx.
typedef tools::SvRef<Reference<T> > writerfilter::Reference< T >::Pointer_t |
Pointer to reference.
Definition at line 88 of file resourcemodel.hxx.
|
default |
|
default |
|
default |
|
inlineoverrideprotected |
Definition at line 107 of file resourcemodel.hxx.
|
default |
|
default |
|
pure virtual |
Resolves the reference.
The events of the references target resource are generated and send to a handler.
rHandler | handler which receives the events |
Implemented in writerfilter::ooxml::OOXMLBinaryObjectReference, writerfilter::ooxml::OOXMLPropertySet, writerfilter::rtftok::RTFReferenceProperties, writerfilter::rtftok::RTFDocument, writerfilter::rtftok::RTFDocumentImpl, writerfilter::ooxml::OOXMLDocumentImpl, writerfilter::ooxml::OOXMLDocument, writerfilter::rtftok::RTFReferenceTable, and writerfilter::ooxml::OOXMLTable.
Referenced by writerfilter::dmapper::GraphicImport::lcl_sprm().