LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SwFrameEventDescriptor Class Reference

#include <unoevent.hxx>

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

Public Member Functions

 SwFrameEventDescriptor (SwXTextFrame &rFrameRef)
 
 SwFrameEventDescriptor (SwXTextGraphicObject &rGraphicRef)
 
 SwFrameEventDescriptor (SwXTextEmbeddedObject &rObjectRef)
 
virtual ~SwFrameEventDescriptor () override
 
virtual OUString SAL_CALL getImplementationName () override
 
- Public Member Functions inherited from SvEventDescriptor
 SvEventDescriptor (css::uno::XInterface &rParent, const SvEventDescription *pSupportedMacroItems)
 
virtual ~SvEventDescriptor () override
 
- Public Member Functions inherited from SvBaseEventDescriptor
 SvBaseEventDescriptor (const SvEventDescription *pSupportedMacroItems)
 
virtual ~SvBaseEventDescriptor () override
 
virtual void SAL_CALL replaceByName (const OUString &rName, const css::uno::Any &rElement) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &rName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &rName) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Protected Member Functions

virtual void setMacroItem (const SvxMacroItem &rItem) override
 
virtual const SvxMacroItemgetMacroItem () override
 
virtual sal_uInt16 getMacroItemWhich () const override
 
- Protected Member Functions inherited from SvEventDescriptor
virtual void replaceByName (const SvMacroItemId nEvent, const SvxMacro &rMacro) override
 
virtual void getByName (SvxMacro &rMacros, const SvMacroItemId nEvent) override
 
- Protected Member Functions inherited from SvBaseEventDescriptor
SvMacroItemId mapNameToEventID (const OUString &rName) const
 
SvMacroItemId getMacroID (const OUString &rName) const
 

Private Attributes

OUString const sSwFrameEventDescriptor
 
SwXFramerFrame
 

Additional Inherited Members

- Protected Attributes inherited from SvBaseEventDescriptor
const SvEventDescriptionmpSupportedMacroItems
 
sal_Int16 mnMacroItems
 

Detailed Description

Definition at line 54 of file unoevent.hxx.

Constructor & Destructor Documentation

SwFrameEventDescriptor::SwFrameEventDescriptor ( SwXTextFrame rFrameRef)

Definition at line 159 of file unoevent.cxx.

References text().

SwFrameEventDescriptor::SwFrameEventDescriptor ( SwXTextGraphicObject rGraphicRef)

Definition at line 167 of file unoevent.cxx.

References text().

SwFrameEventDescriptor::SwFrameEventDescriptor ( SwXTextEmbeddedObject rObjectRef)

Definition at line 174 of file unoevent.cxx.

References text().

SwFrameEventDescriptor::~SwFrameEventDescriptor ( )
overridevirtual

Definition at line 181 of file unoevent.cxx.

Member Function Documentation

OUString SwFrameEventDescriptor::getImplementationName ( )
overridevirtual

Implements SvBaseEventDescriptor.

Definition at line 200 of file unoevent.cxx.

References sSwFrameEventDescriptor.

const SvxMacroItem & SwFrameEventDescriptor::getMacroItem ( )
overrideprotectedvirtual
sal_uInt16 SwFrameEventDescriptor::getMacroItemWhich ( ) const
overrideprotectedvirtual

Implements SvEventDescriptor.

Definition at line 195 of file unoevent.cxx.

References RES_FRMMACRO.

void SwFrameEventDescriptor::setMacroItem ( const SvxMacroItem rItem)
overrideprotectedvirtual

Implements SvEventDescriptor.

Definition at line 185 of file unoevent.cxx.

References SwXFrame::GetFrameFormat(), rFrame, and SwFormat::SetFormatAttr().

Member Data Documentation

SwXFrame& SwFrameEventDescriptor::rFrame
private

Definition at line 58 of file unoevent.hxx.

Referenced by getMacroItem(), and setMacroItem().

OUString const SwFrameEventDescriptor::sSwFrameEventDescriptor
private

Definition at line 56 of file unoevent.hxx.

Referenced by getImplementationName().


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