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

#include <unoparagraph.hxx>

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

Classes

class  Impl
 

Public Member Functions

const SwTextNodeGetTextNode () const
 
bool IsDescriptor () const
 
bool SelectPaM (SwPaM &rPaM)
 make rPaM select the paragraph More...
 
void attachToText (SwXText &rParent, SwTextNode &rTextNode)
 for SwXText More...
 
virtual ::sfx2::Metadatable * GetCoreObject () override
 
virtual css::uno::Reference< css::frame::XModel > GetModel () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &rPropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &rPropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &rPropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &rPropertyName) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &rPropertyNames, 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 > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::uno::Sequence< css::beans::SetPropertyTolerantFailed > SAL_CALL setPropertyValuesTolerant (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rValues) override
 
virtual css::uno::Sequence< css::beans::GetPropertyTolerantResult > SAL_CALL getPropertyValuesTolerant (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > SAL_CALL getDirectPropertyValuesTolerant (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createContentEnumeration (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual void SAL_CALL attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor () override
 
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 &rString) override
 
rtl::Reference< SwXTextPortionEnumerationcreateTextFieldsEnumeration ()
 tries to return less data, but may return more than just text fields More...
 

Static Public Member Functions

static rtl::Reference< SwXParagraphCreateXParagraph (SwDoc &rDoc, SwTextNode *pTextNode, css::uno::Reference< css::text::XText > const &xParentText=nullptr, const sal_Int32 nSelStart=-1, const sal_Int32 nSelEnd=- 1)
 

Private Member Functions

virtual ~SwXParagraph () override
 
 SwXParagraph (css::uno::Reference< css::text::XText > const &xParent, SwTextNode &rTextNode, const sal_Int32 nSelStart, const sal_Int32 nSelEnd)
 
 SwXParagraph ()
 descriptor More...
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 

Detailed Description

Definition at line 62 of file unoparagraph.hxx.

Constructor & Destructor Documentation

◆ ~SwXParagraph()

SwXParagraph::~SwXParagraph ( )
overrideprivatevirtual

Definition at line 230 of file unoparagraph.cxx.

◆ SwXParagraph() [1/2]

SwXParagraph::SwXParagraph ( css::uno::Reference< css::text::XText > const &  xParent,
SwTextNode rTextNode,
const sal_Int32  nSelStart,
const sal_Int32  nSelEnd 
)
private

◆ SwXParagraph() [2/2]

SwXParagraph::SwXParagraph ( )
private

descriptor

Definition at line 216 of file unoparagraph.cxx.

Referenced by CreateXParagraph().

Member Function Documentation

◆ addEventListener()

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

Definition at line 1246 of file unoparagraph.cxx.

References m_pImpl.

◆ addPropertiesChangeListener()

void SAL_CALL SwXParagraph::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 603 of file unoparagraph.cxx.

◆ addPropertyChangeListener()

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

Definition at line 884 of file unoparagraph.cxx.

◆ addVetoableChangeListener()

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

Definition at line 900 of file unoparagraph.cxx.

◆ attach()

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

Definition at line 1207 of file unoparagraph.cxx.

◆ attachToText()

void SwXParagraph::attachToText ( SwXText rParent,
SwTextNode rTextNode 
)

◆ createContentEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL SwXParagraph::createContentEnumeration ( const OUString &  rServiceName)
overridevirtual

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL SwXParagraph::createEnumeration ( )
overridevirtual

Definition at line 1263 of file unoparagraph.cxx.

References m_pImpl.

◆ createTextFieldsEnumeration()

rtl::Reference< SwXTextPortionEnumeration > SwXParagraph::createTextFieldsEnumeration ( )

tries to return less data, but may return more than just text fields

Definition at line 1278 of file unoparagraph.cxx.

References m_pImpl.

◆ CreateXParagraph()

rtl::Reference< SwXParagraph > SwXParagraph::CreateXParagraph ( SwDoc rDoc,
SwTextNode pTextNode,
css::uno::Reference< css::text::XText > const &  xParentText = nullptr,
const sal_Int32  nSelStart = -1,
const sal_Int32  nSelEnd = - 1 
)
static

◆ dispose()

void SAL_CALL SwXParagraph::dispose ( void  )
overridevirtual

◆ firePropertiesChangeEvent()

void SAL_CALL SwXParagraph::firePropertiesChangeEvent ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 616 of file unoparagraph.cxx.

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL SwXParagraph::getAnchor ( )
overridevirtual

Definition at line 1216 of file unoparagraph.cxx.

References m_pImpl.

◆ getAvailableServiceNames()

uno::Sequence< OUString > SAL_CALL SwXParagraph::getAvailableServiceNames ( )
overridevirtual

Definition at line 1415 of file unoparagraph.cxx.

◆ GetCoreObject()

sfx2::Metadatable * SwXParagraph::GetCoreObject ( )
override

Definition at line 1422 of file unoparagraph.cxx.

References m_pImpl.

◆ getDirectPropertyValuesTolerant()

uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXParagraph::getDirectPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

Definition at line 734 of file unoparagraph.cxx.

References m_pImpl.

◆ getElementType()

uno::Type SAL_CALL SwXParagraph::getElementType ( )
overridevirtual

Definition at line 1289 of file unoparagraph.cxx.

References cppu::UnoType< typename T >::get().

◆ getEnd()

uno::Reference< text::XTextRange > SAL_CALL SwXParagraph::getEnd ( )
overridevirtual

Definition at line 1326 of file unoparagraph.cxx.

References SwPaM::End(), getText(), and m_pImpl.

◆ getImplementationName()

OUString SAL_CALL SwXParagraph::getImplementationName ( )
overridevirtual

Definition at line 300 of file unoparagraph.cxx.

◆ GetModel()

uno::Reference< frame::XModel > SwXParagraph::GetModel ( )
overridevirtual

◆ getPropertyDefault()

uno::Any SAL_CALL SwXParagraph::getPropertyDefault ( const OUString &  rPropertyName)
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXParagraph::getPropertySetInfo ( )
overridevirtual

Definition at line 347 of file unoparagraph.cxx.

References m_pImpl.

◆ getPropertyState()

beans::PropertyState SAL_CALL SwXParagraph::getPropertyState ( const OUString &  rPropertyName)
overridevirtual

Definition at line 1021 of file unoparagraph.cxx.

References lcl_SwXParagraph_getPropertyState(), and m_pImpl.

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SAL_CALL SwXParagraph::getPropertyStates ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

◆ getPropertyValue()

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

Definition at line 365 of file unoparagraph.cxx.

References m_pImpl.

◆ getPropertyValues()

uno::Sequence< uno::Any > SAL_CALL SwXParagraph::getPropertyValues ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

Definition at line 577 of file unoparagraph.cxx.

References cppu::getCaughtException(), and m_pImpl.

◆ getPropertyValuesTolerant()

uno::Sequence< beans::GetPropertyTolerantResult > SAL_CALL SwXParagraph::getPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

Definition at line 718 of file unoparagraph.cxx.

References m_pImpl.

◆ getStart()

uno::Reference< text::XTextRange > SAL_CALL SwXParagraph::getStart ( )
overridevirtual

Definition at line 1309 of file unoparagraph.cxx.

References getText(), m_pImpl, and SwPaM::Start().

◆ getString()

OUString SAL_CALL SwXParagraph::getString ( )
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SwXParagraph::getSupportedServiceNames ( )
overridevirtual

Definition at line 312 of file unoparagraph.cxx.

◆ getText()

uno::Reference< text::XText > SAL_CALL SwXParagraph::getText ( )
overridevirtual

Definition at line 1301 of file unoparagraph.cxx.

References m_pImpl.

Referenced by getEnd(), and getStart().

◆ GetTextNode()

const SwTextNode * SwXParagraph::GetTextNode ( ) const

◆ hasElements()

sal_Bool SAL_CALL SwXParagraph::hasElements ( )
overridevirtual

Definition at line 1294 of file unoparagraph.cxx.

References GetTextNode().

◆ IsDescriptor()

bool SwXParagraph::IsDescriptor ( ) const

Definition at line 239 of file unoparagraph.cxx.

References m_pImpl.

Referenced by SwXText::insertTextContentAfter(), and SwXText::insertTextContentBefore().

◆ removeEventListener()

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

Definition at line 1254 of file unoparagraph.cxx.

References m_pImpl.

◆ removePropertiesChangeListener()

void SAL_CALL SwXParagraph::removePropertiesChangeListener ( const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener)
overridevirtual

Definition at line 610 of file unoparagraph.cxx.

◆ removePropertyChangeListener()

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

Definition at line 892 of file unoparagraph.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 908 of file unoparagraph.cxx.

◆ SelectPaM()

bool SwXParagraph::SelectPaM ( SwPaM rPaM)

◆ setPropertyToDefault()

void SAL_CALL SwXParagraph::setPropertyToDefault ( const OUString &  rPropertyName)
overridevirtual

◆ setPropertyValue()

void SAL_CALL SwXParagraph::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
overridevirtual

Definition at line 357 of file unoparagraph.cxx.

References m_pImpl.

◆ setPropertyValues()

void SAL_CALL SwXParagraph::setPropertyValues ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rValues 
)
overridevirtual

Definition at line 404 of file unoparagraph.cxx.

References m_pImpl.

◆ setPropertyValuesTolerant()

uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL SwXParagraph::setPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rValues 
)
overridevirtual

◆ setString()

void SAL_CALL SwXParagraph::setString ( const OUString &  rString)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL SwXParagraph::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 306 of file unoparagraph.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pImpl

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

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