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

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 () 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 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 > &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
 SwXText (SwDoc *const pDoc, const CursorType eType)
 
const SwDocGetDoc () const
 
SwDocGetDoc ()
 
virtual css::uno::Reference< css::text::XTextCursor > CreateCursor ()
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rIdentifier) 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 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::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 aNodeIndex
 

Additional Inherited Members

- Static Public Member Functions inherited from SwXText
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- 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 ( SwDoc pDoc,
const SwNodeIndex aNodeIndex 
)

Definition at line 51 of file unoredline.cxx.

References Redline.

Member Function Documentation

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

Reimplemented from cppu::OWeakObject.

Definition at line 46 of file unoredline.hxx.

uno::Reference< container::XEnumeration > SwXRedlineText::createEnumeration ( )
overridevirtual
uno::Reference< text::XTextCursor > SwXRedlineText::createTextCursor ( )
overridevirtual
uno::Reference< text::XTextCursor > SwXRedlineText::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  aTextPosition)
overridevirtual

Definition at line 139 of file unoredline.cxx.

References createTextCursor().

uno::Type SwXRedlineText::getElementType ( )
overridevirtual

Definition at line 157 of file unoredline.cxx.

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

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

Definition at line 92 of file unoredline.cxx.

const SwStartNode * SwXRedlineText::GetStartNode ( ) const
overrideprivatevirtual

Reimplemented from SwXText.

Definition at line 57 of file unoredline.cxx.

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

Referenced by createTextCursor().

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

Reimplemented from SwXText.

Definition at line 84 of file unoredline.cxx.

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

sal_Bool SwXRedlineText::hasElements ( )
overridevirtual

Definition at line 162 of file unoredline.cxx.

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

Reimplemented from cppu::OWeakObject.

Definition at line 62 of file unoredline.cxx.

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

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

Reimplemented from cppu::OWeakObject.

Definition at line 47 of file unoredline.hxx.

Member Data Documentation

SwNodeIndex SwXRedlineText::aNodeIndex
private

Definition at line 39 of file unoredline.hxx.

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


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