LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXRedlinePortion Class Referencefinal

#include <unoport.hxx>

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

Public Member Functions

 SwXRedlinePortion (SwRangeRedline const &rRedline, SwUnoCursor const *pPortionCursor, css::uno::Reference< css::text::XText > const &xParent, bool const bIsStart)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &rPropertyName) override
 
- Public Member Functions inherited from SwXTextPortion
 SwXTextPortion (const SwUnoCursor *pPortionCursor, css::uno::Reference< css::text::XText > xParent, SwTextPortionType eType)
 
 SwXTextPortion (const SwUnoCursor *pPortionCursor, css::uno::Reference< css::text::XText > xParent, SwFrameFormat &rFormat)
 
 SwXTextPortion (const SwUnoCursor *pPortionCursor, SwTextRuby const &rAttr, css::uno::Reference< css::text::XText > xParent, bool bIsEnd)
 
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 OUString SAL_CALL getString () override
 
virtual void SAL_CALL setString (const OUString &aString) override
 
virtual css::uno::Sequence< css::beans::SetPropertyTolerantFailed > SAL_CALL setPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::beans::GetPropertyTolerantResult > SAL_CALL getPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > SAL_CALL getDirectPropertyValuesTolerant (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createContentEnumeration (const OUString &aServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
void SetRefMark (css::uno::Reference< css::text::XTextContent > const &xMark)
 
void SetTOXMark (css::uno::Reference< css::text::XTextContent > const &xMark)
 
void SetBookmark (css::uno::Reference< css::text::XTextContent > const &xMark)
 
void SetFootnote (css::uno::Reference< css::text::XFootnote > const &xNote)
 
void SetTextField (css::uno::Reference< css::text::XTextField > const &xField)
 
void SetMeta (css::uno::Reference< css::text::XTextContent > const &xMeta)
 
void SetLineBreak (css::uno::Reference< css::text::XTextContent > const &xLineBreak)
 
void SetContentControl (const css::uno::Reference< css::text::XTextContent > &xContentControl)
 
void SetCollapsed (bool bSet)
 
SwTextPortionType GetTextPortionType () const
 
SwUnoCursorGetCursor () const
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Static Public Member Functions

static css::uno::Any GetPropertyValue (std::u16string_view PropertyName, SwRangeRedline const &rRedline)
 
static css::uno::Sequence< css::beans::PropertyValue > CreateRedlineProperties (SwRangeRedline const &rRedline, bool const bIsStart)
 

Private Member Functions

bool Validate ()
 
virtual ~SwXRedlinePortion () override
 
void GetPropertyValue (css::uno::Any &rVal, const SfxItemPropertyMapEntry &rEntry, SwUnoCursor *pUnoCursor, std::unique_ptr< SfxItemSet > &pSet)
 

Private Attributes

SwRangeRedline const & m_rRedline
 

Additional Inherited Members

- Protected Member Functions inherited from SwXTextPortion
void SetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues)
 
css::uno::Sequence< css::uno::Any > GetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames)
 
void GetPropertyValue (css::uno::Any &rVal, const SfxItemPropertyMapEntry &rEntry, SwUnoCursor *pUnoCursor, std::unique_ptr< SfxItemSet > &pSet)
 
css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > GetPropertyValuesTolerant_Impl (const css::uno::Sequence< OUString > &rPropertyNames, bool bDirectValuesOnly)
 
virtual ~SwXTextPortion () override
 
virtual void Notify (const SfxHint &rHint) override
 

Detailed Description

Definition at line 277 of file unoport.hxx.

Constructor & Destructor Documentation

◆ ~SwXRedlinePortion()

SwXRedlinePortion::~SwXRedlinePortion ( )
overrideprivatevirtual

Definition at line 170 of file unoredline.cxx.

◆ SwXRedlinePortion()

SwXRedlinePortion::SwXRedlinePortion ( SwRangeRedline const &  rRedline,
SwUnoCursor const *  pPortionCursor,
css::uno::Reference< css::text::XText > const &  xParent,
bool const  bIsStart 
)

Definition at line 160 of file unoredline.cxx.

References SwPaM::HasMark(), m_rRedline, and SwXTextPortion::SetCollapsed().

Member Function Documentation

◆ CreateRedlineProperties()

uno::Sequence< beans::PropertyValue > SwXRedlinePortion::CreateRedlineProperties ( SwRangeRedline const &  rRedline,
bool const  bIsStart 
)
static

◆ getImplementationId()

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

Definition at line 241 of file unoredline.cxx.

◆ getPropertyValue()

uno::Any SwXRedlinePortion::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual

◆ GetPropertyValue() [1/2]

void SwXTextPortion::GetPropertyValue ( css::uno::Any &  rVal,
const SfxItemPropertyMapEntry rEntry,
SwUnoCursor pUnoCursor,
std::unique_ptr< SfxItemSet > &  pSet 
)
private

Definition at line 146 of file unoport.cxx.

◆ GetPropertyValue() [2/2]

uno::Any SwXRedlinePortion::GetPropertyValue ( std::u16string_view  PropertyName,
SwRangeRedline const &  rRedline 
)
static

◆ Validate()

bool SwXRedlinePortion::Validate ( )
private

Member Data Documentation

◆ m_rRedline

SwRangeRedline const& SwXRedlinePortion::m_rRedline
private

Definition at line 280 of file unoport.hxx.

Referenced by getPropertyValue(), SwXRedlinePortion(), and Validate().


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