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
 
sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rIdentifier) override
 

Static Public Member Functions

static css::uno::Reference< css::text::XTextContent > CreateXLineBreak (SwFormatLineBreak *pLineBreakFormat)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

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 35 of file unolinebreak.hxx.

Constructor & Destructor Documentation

◆ SwXLineBreak() [1/2]

SwXLineBreak::SwXLineBreak ( SwFormatLineBreak rFormat)
private

Definition at line 99 of file unolinebreak.cxx.

◆ SwXLineBreak() [2/2]

SwXLineBreak::SwXLineBreak ( )
private

Definition at line 104 of file unolinebreak.cxx.

References m_pImpl.

Referenced by CreateXLineBreak().

◆ ~SwXLineBreak()

SwXLineBreak::~SwXLineBreak ( )
overrideprivate

Definition at line 109 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 191 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 262 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 276 of file unolinebreak.cxx.

References SAL_WARN.

◆ attach()

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

◆ CreateXLineBreak()

uno::Reference< text::XTextContent > SwXLineBreak::CreateXLineBreak ( SwFormatLineBreak pLineBreakFormat)
static

◆ dispose()

void SAL_CALL SwXLineBreak::dispose ( void  )
override

Definition at line 185 of file unolinebreak.cxx.

References SAL_WARN.

◆ getAnchor()

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

Definition at line 178 of file unolinebreak.cxx.

References m_pImpl.

◆ getImplementationName()

OUString SAL_CALL SwXLineBreak::getImplementationName ( )
override

Definition at line 132 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 233 of file unolinebreak.cxx.

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

◆ getSomething()

sal_Int64 SAL_CALL SwXLineBreak::getSomething ( const css::uno::Sequence< sal_Int8 > &  rIdentifier)
override

Definition at line 290 of file unolinebreak.cxx.

◆ getSupportedServiceNames()

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

Definition at line 139 of file unolinebreak.cxx.

◆ getUnoTunnelId()

const uno::Sequence< sal_Int8 > & SwXLineBreak::getUnoTunnelId ( )
static

Definition at line 295 of file unolinebreak.cxx.

References comphelper::UnoIdInit::getSeq().

◆ removeEventListener()

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

Definition at line 196 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 269 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 283 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 209 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 134 of file unolinebreak.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pImpl

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

Definition at line 40 of file unolinebreak.hxx.

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


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