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

#include <unofootnote.hxx>

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

Classes

class  Impl
 

Public Member Functions

virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () 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::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 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 OUString SAL_CALL getLabel () override
 
virtual void SAL_CALL setLabel (const OUString &rLabel) override
 
virtual rtl::Reference< SwXTextCursorcreateXTextCursor () override
 
virtual rtl::Reference< SwXTextCursorcreateXTextCursorByRange (const ::css::uno::Reference< ::css::text::XTextRange > &aTextPosition) override
 
- Public Member Functions inherited from SwXText
virtual const SwStartNodeGetStartNode () const
 
 SwXText (SwDoc *const pDoc, const CursorType eType)
 
const SwDocGetDoc () const
 
SwDocGetDoc ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () 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::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
 
virtual void SAL_CALL insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override
 
virtual void SAL_CALL insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange (const ::css::uno::Reference< ::css::text::XTextRange > &aTextPosition) override final
 
virtual rtl::Reference< SwXTextCursorcreateXTextCursorByRange (const ::css::uno::Reference< ::css::text::XTextRange > &aTextPosition)=0
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor () override final
 
virtual rtl::Reference< SwXTextCursorcreateXTextCursor ()=0
 
virtual void SAL_CALL insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override
 
virtual void SAL_CALL removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL finishParagraph (const css::uno::Sequence< css::beans::PropertyValue > &rCharacterAndParagraphProperties) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL finishParagraphInsert (const css::uno::Sequence< css::beans::PropertyValue > &rCharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &xInsertPosition) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL appendTextPortion (const OUString &rText, const css::uno::Sequence< css::beans::PropertyValue > &rCharacterAndParagraphProperties) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL insertTextPortion (const OUString &rText, const css::uno::Sequence< css::beans::PropertyValue > &rCharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &rTextRange) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL appendTextContent (const css::uno::Reference< css::text::XTextContent > &xTextContent, const css::uno::Sequence< css::beans::PropertyValue > &rCharacterAndParagraphProperties) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL insertTextContentWithProperties (const css::uno::Reference< css::text::XTextContent > &xTextContent, const css::uno::Sequence< css::beans::PropertyValue > &rCharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &xInsertPosition) override
 
virtual css::uno::Reference< css::text::XTextContent > SAL_CALL convertToTextFrame (const css::uno::Reference< css::text::XTextRange > &xStart, const css::uno::Reference< css::text::XTextRange > &xEnd, const css::uno::Sequence< css::beans::PropertyValue > &xFrameProperties) override
 
virtual css::uno::Reference< css::text::XTextTable > SAL_CALL convertToTable (css::uno::Sequence< css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::text::XTextRange > > > > const &rTableRanges, css::uno::Sequence< css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > > const &rCellProperties, css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > const &rRowProperties, css::uno::Sequence< css::beans::PropertyValue > const &rTableProperties) override
 
virtual void SAL_CALL copyText (const css::uno::Reference< css::text::XTextCopy > &xSource) override
 
sal_Int16 SAL_CALL compareRegionStarts (const css::uno::Reference< css::text::XTextRange > &xR1, const css::uno::Reference< css::text::XTextRange > &xR2) override
 
sal_Int16 SAL_CALL compareRegionEnds (const css::uno::Reference< css::text::XTextRange > &xR1, const css::uno::Reference< css::text::XTextRange > &xR2) override
 
virtual void SAL_CALL insertTextContentBefore (const css::uno::Reference< css::text::XTextContent > &xNewContent, const css::uno::Reference< css::text::XTextContent > &xSuccessor) override
 
virtual void SAL_CALL insertTextContentAfter (const css::uno::Reference< css::text::XTextContent > &xNewContent, const css::uno::Reference< css::text::XTextContent > &xPredecessor) override
 
virtual void SAL_CALL removeTextContentBefore (const css::uno::Reference< css::text::XTextContent > &xSuccessor) override
 
virtual void SAL_CALL removeTextContentAfter (const css::uno::Reference< css::text::XTextContent > &xPredecessor) override
 

Static Public Member Functions

static rtl::Reference< SwXFootnoteCreateXFootnote (SwDoc &rDoc, SwFormatFootnote *pFootnoteFormat, bool isEndnote=false)
 

Private Member Functions

virtual const SwStartNodeGetStartNode () const override
 
virtual ~SwXFootnote () override
 
 SwXFootnote (SwDoc &rDoc, SwFormatFootnote &rFormat)
 
 SwXFootnote (const bool bEndnote)
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 

Friends

class SwXFootnotes
 

Additional Inherited Members

- Protected Member Functions inherited from SwXText
bool IsValid () const
 
void Invalidate ()
 
void SetDoc (SwDoc *const pDoc)
 
virtual ~SwXText ()
 

Detailed Description

Definition at line 42 of file unofootnote.hxx.

Constructor & Destructor Documentation

◆ ~SwXFootnote()

SwXFootnote::~SwXFootnote ( )
overrideprivatevirtual

Definition at line 137 of file unoftn.cxx.

◆ SwXFootnote() [1/2]

SwXFootnote::SwXFootnote ( SwDoc rDoc,
SwFormatFootnote rFormat 
)
private

Definition at line 131 of file unoftn.cxx.

References m_pImpl.

Referenced by CreateXFootnote().

◆ SwXFootnote() [2/2]

SwXFootnote::SwXFootnote ( const bool  bEndnote)
private

Definition at line 125 of file unoftn.cxx.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL SwXFootnote::acquire ( )
inlineoverridevirtualnoexcept

Definition at line 67 of file unofootnote.hxx.

◆ addEventListener()

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

Definition at line 358 of file unoftn.cxx.

References m_pImpl.

◆ addPropertyChangeListener()

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

Reimplemented from SwXText.

Definition at line 509 of file unoftn.cxx.

◆ addVetoableChangeListener()

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

Reimplemented from SwXText.

Definition at line 525 of file unoftn.cxx.

◆ attach()

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

◆ createEnumeration()

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

◆ CreateXFootnote()

rtl::Reference< SwXFootnote > SwXFootnote::CreateXFootnote ( SwDoc rDoc,
SwFormatFootnote pFootnoteFormat,
bool  isEndnote = false 
)
static

◆ createXTextCursor()

rtl::Reference< SwXTextCursor > SwXFootnote::createXTextCursor ( )
overridevirtual

◆ createXTextCursorByRange()

rtl::Reference< SwXTextCursor > SwXFootnote::createXTextCursorByRange ( const ::css::uno::Reference< ::css::text::XTextRange > &  aTextPosition)
overridevirtual

◆ dispose()

void SAL_CALL SwXFootnote::dispose ( void  )
overridevirtual

◆ getAnchor()

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

Definition at line 337 of file unoftn.cxx.

References SwXText::GetDoc(), and m_pImpl.

◆ getElementType()

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

Definition at line 444 of file unoftn.cxx.

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

◆ getImplementationId()

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

Definition at line 207 of file unoftn.cxx.

◆ getImplementationName()

OUString SAL_CALL SwXFootnote::getImplementationName ( )
overridevirtual

Definition at line 167 of file unoftn.cxx.

◆ getLabel()

OUString SAL_CALL SwXFootnote::getLabel ( )
overridevirtual

Definition at line 221 of file unoftn.cxx.

References SwFormatFootnote::GetNumStr(), and m_pImpl.

◆ getPropertySetInfo()

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

◆ getPropertyValue()

uno::Any SAL_CALL SwXFootnote::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual

◆ GetStartNode()

const SwStartNode * SwXFootnote::GetStartNode ( ) const
overrideprivatevirtual

◆ getSupportedServiceNames()

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

Definition at line 190 of file unoftn.cxx.

References g_nServicesEndnote(), g_nServicesFootnote(), g_ServicesFootnote, and m_pImpl.

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL SwXFootnote::getTypes ( )
overridevirtual

Reimplemented from SwXText.

Definition at line 199 of file unoftn.cxx.

References aTypes, and SwXText::getTypes().

◆ hasElements()

sal_Bool SAL_CALL SwXFootnote::hasElements ( )
overridevirtual

Definition at line 449 of file unoftn.cxx.

◆ queryInterface()

uno::Any SAL_CALL SwXFootnote::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from SwXText.

Definition at line 213 of file unoftn.cxx.

References SwXText::queryInterface().

◆ release()

virtual void SAL_CALL SwXFootnote::release ( )
inlineoverridevirtualnoexcept

Definition at line 68 of file unofootnote.hxx.

◆ removeEventListener()

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

Definition at line 367 of file unoftn.cxx.

References m_pImpl.

◆ removePropertyChangeListener()

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

Reimplemented from SwXText.

Definition at line 517 of file unoftn.cxx.

◆ removeVetoableChangeListener()

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

Reimplemented from SwXText.

Definition at line 533 of file unoftn.cxx.

◆ setLabel()

void SAL_CALL SwXFootnote::setLabel ( const OUString &  rLabel)
overridevirtual

◆ setPropertyValue()

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

Reimplemented from SwXText.

Definition at line 465 of file unoftn.cxx.

◆ supportsService()

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

Definition at line 184 of file unoftn.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

◆ SwXFootnotes

friend class SwXFootnotes
friend

Definition at line 46 of file unofootnote.hxx.

Member Data Documentation

◆ m_pImpl

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

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