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

#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::MetadatableGetCoreObject () override
 
virtual css::uno::Reference< css::frame::XModel > GetModel () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rIdentifier) 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
 

Static Public Member Functions

static css::uno::Reference< css::text::XTextContent > 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 const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

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 63 of file unoparagraph.hxx.

Constructor & Destructor Documentation

SwXParagraph::~SwXParagraph ( )
overrideprivatevirtual

Definition at line 215 of file unoparagraph.cxx.

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

descriptor

Definition at line 201 of file unoparagraph.cxx.

Referenced by CreateXParagraph().

Member Function Documentation

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

Definition at line 1234 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 588 of file unoparagraph.cxx.

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

Definition at line 872 of file unoparagraph.cxx.

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

Definition at line 888 of file unoparagraph.cxx.

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

Definition at line 1195 of file unoparagraph.cxx.

void SwXParagraph::attachToText ( SwXText rParent,
SwTextNode rTextNode 
)
uno::Reference< container::XEnumeration > SAL_CALL SwXParagraph::createContentEnumeration ( const OUString &  rServiceName)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL SwXParagraph::createEnumeration ( )
overridevirtual

Definition at line 1249 of file unoparagraph.cxx.

References m_pImpl.

uno::Reference< text::XTextContent > 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
void SAL_CALL SwXParagraph::dispose ( void  )
overridevirtual

Definition at line 1220 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 601 of file unoparagraph.cxx.

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

Definition at line 1205 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 1390 of file unoparagraph.cxx.

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

Definition at line 1397 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 719 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 1263 of file unoparagraph.cxx.

References cppu::UnoType< class >::get().

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

Definition at line 1300 of file unoparagraph.cxx.

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

OUString SAL_CALL SwXParagraph::getImplementationName ( )
overridevirtual

Definition at line 301 of file unoparagraph.cxx.

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

Definition at line 1403 of file unoparagraph.cxx.

References SfxObjectShell::GetModel(), and m_pImpl.

uno::Any SAL_CALL SwXParagraph::getPropertyDefault ( const OUString &  rPropertyName)
overridevirtual
uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXParagraph::getPropertySetInfo ( )
overridevirtual

Definition at line 348 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 1009 of file unoparagraph.cxx.

References lcl_SwXParagraph_getPropertyState(), and m_pImpl.

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

Definition at line 369 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 562 of file unoparagraph.cxx.

References cppu::getCaughtException(), and m_pImpl.

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

Definition at line 703 of file unoparagraph.cxx.

References m_pImpl.

sal_Int64 SAL_CALL SwXParagraph::getSomething ( const css::uno::Sequence< sal_Int8 > &  rIdentifier)
overridevirtual

Definition at line 295 of file unoparagraph.cxx.

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

Definition at line 1283 of file unoparagraph.cxx.

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

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

Definition at line 313 of file unoparagraph.cxx.

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

Definition at line 1275 of file unoparagraph.cxx.

References m_pImpl.

Referenced by getEnd(), and getStart().

const SwTextNode * SwXParagraph::GetTextNode ( ) const
const uno::Sequence< sal_Int8 > & SwXParagraph::getUnoTunnelId ( )
static

Definition at line 289 of file unoparagraph.cxx.

References sw::proofreadingiterator::get().

Referenced by SwXShape::attach(), and SwXTextViewCursor::gotoRange().

sal_Bool SAL_CALL SwXParagraph::hasElements ( )
overridevirtual

Definition at line 1268 of file unoparagraph.cxx.

References GetTextNode().

bool SwXParagraph::IsDescriptor ( ) const

Definition at line 224 of file unoparagraph.cxx.

References m_pImpl.

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

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

Definition at line 1241 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 595 of file unoparagraph.cxx.

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

Definition at line 880 of file unoparagraph.cxx.

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

Definition at line 896 of file unoparagraph.cxx.

bool SwXParagraph::SelectPaM ( SwPaM rPaM)

make rPaM select the paragraph

Definition at line 268 of file unoparagraph.cxx.

References SwPaM::GetMark(), SwPaM::GetPoint(), SwTextNode::GetText(), GetTextNode(), SwPosition::nContent, and SwPaM::SetMark().

Referenced by sw::XTextRangeToSwPaM().

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

Definition at line 358 of file unoparagraph.cxx.

References m_pImpl.

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

Definition at line 414 of file unoparagraph.cxx.

References m_pImpl.

uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL SwXParagraph::setPropertyValuesTolerant ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rValues 
)
overridevirtual
void SAL_CALL SwXParagraph::setString ( const OUString &  rString)
overridevirtual
sal_Bool SAL_CALL SwXParagraph::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 307 of file unoparagraph.cxx.

References cppu::supportsService().

Member Data Documentation

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

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