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 () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () 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::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 css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor () override
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &xTextPosition) override
 
- Public Member Functions inherited from SwXText
 SwXText (SwDoc *const pDoc, const CursorType eType)
 
const SwDocGetDoc () const
 
SwDocGetDoc ()
 
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 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 css::uno::Reference< css::text::XFootnote > CreateXFootnote (SwDoc &rDoc, SwFormatFootnote *pFootnoteFormat, bool isEndnote=false)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from SwXText
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Private Member Functions

virtual const SwStartNodeGetStartNode () const override
 
virtual css::uno::Reference< css::text::XTextCursor > CreateCursor () 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 44 of file unofootnote.hxx.

Constructor & Destructor Documentation

SwXFootnote::~SwXFootnote ( )
overrideprivatevirtual

Definition at line 143 of file unoftn.cxx.

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

Definition at line 137 of file unoftn.cxx.

Referenced by CreateXFootnote().

SwXFootnote::SwXFootnote ( const bool  bEndnote)
private

Definition at line 131 of file unoftn.cxx.

Member Function Documentation

virtual void SAL_CALL SwXFootnote::acquire ( )
throw (
)
inlineoverridevirtual

Definition at line 71 of file unofootnote.hxx.

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

Definition at line 386 of file unoftn.cxx.

References m_pImpl.

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

Reimplemented from SwXText.

Definition at line 548 of file unoftn.cxx.

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

Reimplemented from SwXText.

Definition at line 564 of file unoftn.cxx.

void SAL_CALL SwXFootnote::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual
uno::Reference< text::XTextCursor > SwXFootnote::CreateCursor ( )
overrideprivatevirtual
Exceptions
css::uno::RuntimeException

Reimplemented from SwXText.

Definition at line 416 of file unoftn.cxx.

References createTextCursor().

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

Definition at line 422 of file unoftn.cxx.

References fnMoveForward, Footnote, SwXText::GetDoc(), GoInNode(), and m_pImpl.

Referenced by CreateCursor().

uno::Reference< text::XTextCursor > SAL_CALL SwXFootnote::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  xTextPosition)
overridevirtual
uno::Reference< text::XFootnote > SwXFootnote::CreateXFootnote ( SwDoc rDoc,
SwFormatFootnote pFootnoteFormat,
bool  isEndnote = false 
)
static
void SAL_CALL SwXFootnote::dispose ( void  )
overridevirtual
uno::Reference< text::XTextRange > SAL_CALL SwXFootnote::getAnchor ( )
overridevirtual

Definition at line 365 of file unoftn.cxx.

References SwXText::GetDoc(), and m_pImpl.

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

Definition at line 483 of file unoftn.cxx.

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

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

Definition at line 231 of file unoftn.cxx.

OUString SAL_CALL SwXFootnote::getImplementationName ( )
overridevirtual

Definition at line 191 of file unoftn.cxx.

OUString SAL_CALL SwXFootnote::getLabel ( )
overridevirtual

Definition at line 245 of file unoftn.cxx.

References SwFormatFootnote::GetNumStr(), and m_pImpl.

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXFootnote::getPropertySetInfo ( )
overridevirtual
uno::Any SAL_CALL SwXFootnote::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual
sal_Int64 SAL_CALL SwXFootnote::getSomething ( const css::uno::Sequence< sal_Int8 > &  rIdentifier)
overridevirtual

Reimplemented from SwXText.

Definition at line 184 of file unoftn.cxx.

References SwXText::getSomething().

const SwStartNode * SwXFootnote::GetStartNode ( ) const
overrideprivatevirtual
uno::Sequence< OUString > SAL_CALL SwXFootnote::getSupportedServiceNames ( )
overridevirtual

Definition at line 214 of file unoftn.cxx.

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

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

Reimplemented from SwXText.

Definition at line 223 of file unoftn.cxx.

References SwXText::getTypes().

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

Definition at line 178 of file unoftn.cxx.

References sw::proofreadingiterator::get().

sal_Bool SAL_CALL SwXFootnote::hasElements ( )
overridevirtual

Definition at line 488 of file unoftn.cxx.

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

Reimplemented from SwXText.

Definition at line 237 of file unoftn.cxx.

References cppu::UnoType< class >::get(), and SwXText::queryInterface().

virtual void SAL_CALL SwXFootnote::release ( )
throw (
)
inlineoverridevirtual

Definition at line 72 of file unofootnote.hxx.

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

Definition at line 394 of file unoftn.cxx.

References m_pImpl.

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

Reimplemented from SwXText.

Definition at line 556 of file unoftn.cxx.

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

Reimplemented from SwXText.

Definition at line 572 of file unoftn.cxx.

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

Reimplemented from SwXText.

Definition at line 504 of file unoftn.cxx.

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

Definition at line 208 of file unoftn.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class SwXFootnotes
friend

Definition at line 48 of file unofootnote.hxx.

Member Data Documentation

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

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