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

UNO API wrapper around an SwFormatLineBreak, exposed as the com.sun.star.text.LineBreak service. More...

#include <unolinebreak.hxx>

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

Classes

class  Impl
 The inner part SwXLineBreak, which is deleted with a locked SolarMutex. More...
 

Public Member Functions

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
void SAL_CALL setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override
 
css::uno::Any SAL_CALL getPropertyValue (const OUString &rPropertyName) override
 
void SAL_CALL addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
void SAL_CALL removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
void SAL_CALL addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
void SAL_CALL removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
void SAL_CALL attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor () override
 
void SAL_CALL dispose () override
 
void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 

Static Public Member Functions

static rtl::Reference< SwXLineBreakCreateXLineBreak (SwFormatLineBreak *pLineBreakFormat)
 

Private Member Functions

 SwXLineBreak (SwFormatLineBreak &rFormat)
 
 SwXLineBreak ()
 
 ~SwXLineBreak () override
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 

Detailed Description

UNO API wrapper around an SwFormatLineBreak, exposed as the com.sun.star.text.LineBreak service.

Definition at line 34 of file unolinebreak.hxx.

Constructor & Destructor Documentation

◆ SwXLineBreak() [1/2]

SwXLineBreak::SwXLineBreak ( SwFormatLineBreak rFormat)
private

Definition at line 97 of file unolinebreak.cxx.

◆ SwXLineBreak() [2/2]

SwXLineBreak::SwXLineBreak ( )
private

Definition at line 102 of file unolinebreak.cxx.

References m_pImpl.

Referenced by CreateXLineBreak().

◆ ~SwXLineBreak()

SwXLineBreak::~SwXLineBreak ( )
overrideprivate

Definition at line 107 of file unolinebreak.cxx.

Member Function Documentation

◆ addEventListener()

void SAL_CALL SwXLineBreak::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
override

Definition at line 186 of file unolinebreak.cxx.

◆ addPropertyChangeListener()

void SAL_CALL SwXLineBreak::addPropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
override

Definition at line 257 of file unolinebreak.cxx.

References SAL_WARN.

◆ addVetoableChangeListener()

void SAL_CALL SwXLineBreak::addVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
override

Definition at line 271 of file unolinebreak.cxx.

References SAL_WARN.

◆ attach()

void SAL_CALL SwXLineBreak::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
override

◆ CreateXLineBreak()

rtl::Reference< SwXLineBreak > SwXLineBreak::CreateXLineBreak ( SwFormatLineBreak pLineBreakFormat)
static

◆ dispose()

void SAL_CALL SwXLineBreak::dispose ( void  )
override

Definition at line 180 of file unolinebreak.cxx.

References SAL_WARN.

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL SwXLineBreak::getAnchor ( )
override

Definition at line 173 of file unolinebreak.cxx.

References m_pImpl.

◆ getImplementationName()

OUString SAL_CALL SwXLineBreak::getImplementationName ( )
override

Definition at line 127 of file unolinebreak.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXLineBreak::getPropertySetInfo ( )
override

◆ getPropertyValue()

uno::Any SAL_CALL SwXLineBreak::getPropertyValue ( const OUString &  rPropertyName)
override

Definition at line 228 of file unolinebreak.cxx.

References sw::GetDefaultTextContentValue(), m_pImpl, and UNO_NAME_CLEAR.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SwXLineBreak::getSupportedServiceNames ( )
override

Definition at line 134 of file unolinebreak.cxx.

◆ removeEventListener()

void SAL_CALL SwXLineBreak::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
override

Definition at line 191 of file unolinebreak.cxx.

◆ removePropertyChangeListener()

void SAL_CALL SwXLineBreak::removePropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
override

Definition at line 264 of file unolinebreak.cxx.

References SAL_WARN.

◆ removeVetoableChangeListener()

void SAL_CALL SwXLineBreak::removeVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
override

Definition at line 278 of file unolinebreak.cxx.

References SAL_WARN.

◆ setPropertyValue()

void SAL_CALL SwXLineBreak::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
override

Definition at line 204 of file unolinebreak.cxx.

References m_pImpl, and UNO_NAME_CLEAR.

◆ supportsService()

sal_Bool SAL_CALL SwXLineBreak::supportsService ( const OUString &  rServiceName)
override

Definition at line 129 of file unolinebreak.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pImpl

::sw::UnoImplPtr<Impl> SwXLineBreak::m_pImpl
private

Definition at line 39 of file unolinebreak.hxx.

Referenced by attach(), getAnchor(), getPropertyValue(), and setPropertyValue().


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