LibreOffice Module sw (master) 1
|
SwXRedlineText provides an XText which may be used to write directly into a redline node. More...
#include <unoredline.hxx>
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< SwXTextCursor > | createXTextCursor () override |
virtual rtl::Reference< SwXTextCursor > | createXTextCursorByRange (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 SwStartNode * | GetStartNode () const |
SwXText (SwDoc *const pDoc, const CursorType eType) | |
const SwDoc * | GetDoc () const |
SwDoc * | GetDoc () |
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< SwXTextCursor > | createXTextCursorByRange (const ::css::uno::Reference< ::css::text::XTextRange > &aTextPosition)=0 |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursor () override final |
virtual rtl::Reference< SwXTextCursor > | createXTextCursor ()=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 SwStartNode * | GetStartNode () 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 |
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.
SwXRedlineText::SwXRedlineText | ( | SwDoc * | pDoc, |
const SwNodeIndex & | aNodeIndex | ||
) |
Definition at line 47 of file unoredline.cxx.
|
inlineoverridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 46 of file unoredline.hxx.
|
overridevirtual |
Definition at line 141 of file unoredline.cxx.
References SwXParagraphEnumeration::Create(), fnMoveForward, SwXText::GetDoc(), GoInNode(), m_aNodeIndex, SwPaM::Move(), Redline, and SwPaM::Start().
|
overridevirtual |
Implements SwXText.
Definition at line 93 of file unoredline.cxx.
References SwNode::EndOfSectionNode(), SwNode::FindTableNode(), fnMoveForward, SwXText::GetDoc(), SwDoc::GetNodes(), GetStartNode(), GoInNode(), SwNodes::GoNext(), m_aNodeIndex, Redline, and SwNormalStartNode.
Referenced by createXTextCursorByRange().
|
overridevirtual |
|
overridevirtual |
Definition at line 150 of file unoredline.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 88 of file unoredline.cxx.
|
overrideprivatevirtual |
Reimplemented from SwXText.
Definition at line 53 of file unoredline.cxx.
References SwNodeIndex::GetNode(), SwNode::GetStartNode(), and m_aNodeIndex.
Referenced by createXTextCursor().
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 80 of file unoredline.cxx.
References cppu::OTypeCollection::getTypes(), and SwXText::getTypes().
|
overridevirtual |
Definition at line 155 of file unoredline.cxx.
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 58 of file unoredline.cxx.
References uno::Any::hasValue(), and SwXText::queryInterface().
|
inlineoverridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 47 of file unoredline.hxx.
|
private |
Definition at line 39 of file unoredline.hxx.
Referenced by createEnumeration(), createXTextCursor(), and GetStartNode().