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

SwXRedlineText provides an XText which may be used to write directly into a redline node. More...

#include <unoredline.hxx>

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

Public Member Functions

 SwXRedlineText (SwDoc *pDoc, const SwNodeIndex &aNodeIndex)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) 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 rtl::Reference< SwXTextCursorcreateXTextCursor () override
 
virtual rtl::Reference< SwXTextCursorcreateXTextCursorByRange (const ::css::uno::Reference< ::css::text::XTextRange > &aTextPosition) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Member Functions

virtual const SwStartNodeGetStartNode () const override
 

Private Attributes

SwNodeIndex m_aNodeIndex
 

Additional Inherited Members

- Protected Member Functions inherited from SwXText
bool IsValid () const
 
void Invalidate ()
 
void SetDoc (SwDoc *const pDoc)
 
virtual ~SwXText ()
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

SwXRedlineText provides an XText which may be used to write directly into a redline node.

It got implemented to enable XML import of redlines and should not be used directly via the API.

Definition at line 34 of file unoredline.hxx.

Constructor & Destructor Documentation

◆ SwXRedlineText()

SwXRedlineText::SwXRedlineText ( SwDoc pDoc,
const SwNodeIndex aNodeIndex 
)

Definition at line 47 of file unoredline.cxx.

References aIndex, and Redline.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL SwXRedlineText::acquire ( )
inlineoverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 46 of file unoredline.hxx.

◆ createEnumeration()

uno::Reference< container::XEnumeration > SwXRedlineText::createEnumeration ( )
overridevirtual

◆ createXTextCursor()

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

◆ createXTextCursorByRange()

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

Implements SwXText.

Definition at line 132 of file unoredline.cxx.

References createXTextCursor().

◆ getElementType()

uno::Type SwXRedlineText::getElementType ( )
overridevirtual

Definition at line 150 of file unoredline.cxx.

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

◆ getImplementationId()

uno::Sequence< sal_Int8 > SwXRedlineText::getImplementationId ( )
overridevirtual

Definition at line 88 of file unoredline.cxx.

◆ GetStartNode()

const SwStartNode * SwXRedlineText::GetStartNode ( ) const
overrideprivatevirtual

Reimplemented from SwXText.

Definition at line 53 of file unoredline.cxx.

References SwNodeIndex::GetNode(), SwNode::GetStartNode(), and m_aNodeIndex.

Referenced by createXTextCursor().

◆ getTypes()

uno::Sequence< uno::Type > SwXRedlineText::getTypes ( )
overridevirtual

Reimplemented from SwXText.

Definition at line 80 of file unoredline.cxx.

References cppu::OTypeCollection::getTypes(), and SwXText::getTypes().

◆ hasElements()

sal_Bool SwXRedlineText::hasElements ( )
overridevirtual

Definition at line 155 of file unoredline.cxx.

◆ queryInterface()

uno::Any SwXRedlineText::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 58 of file unoredline.cxx.

References uno::Any::hasValue(), and SwXText::queryInterface().

◆ release()

virtual void SAL_CALL SwXRedlineText::release ( )
inlineoverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 47 of file unoredline.hxx.

Member Data Documentation

◆ m_aNodeIndex

SwNodeIndex SwXRedlineText::m_aNodeIndex
private

Definition at line 39 of file unoredline.hxx.

Referenced by createEnumeration(), createXTextCursor(), and GetStartNode().


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