LibreOffice Module sw (master) 1
|
#include <unoredline.hxx>
Public Member Functions | |
SwXRedline (SwRangeRedline &rRedline, SwDoc &rDoc) | |
virtual | ~SwXRedline () override |
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::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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 |
const SwRangeRedline * | GetRedline () const |
virtual void | Notify (const SfxHint &) 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 SvtListener | |
SvtListener ()=default | |
SvtListener (const SvtListener &r)=default | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
void | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Notify (const SfxHint &rHint) |
virtual void | Query (QueryBase &rQuery) const |
Private Attributes | |
SwDoc * | m_pDoc |
SwRangeRedline * | m_pRedline |
Additional Inherited Members | |
Protected Member Functions inherited from SwXText | |
bool | IsValid () const |
void | Invalidate () |
void | SetDoc (SwDoc *const pDoc) |
virtual | ~SwXText () |
Definition at line 67 of file unoredline.hxx.
SwXRedline::SwXRedline | ( | SwRangeRedline & | rRedline, |
SwDoc & | rDoc | ||
) |
Definition at line 336 of file unoredline.cxx.
References SwDoc::getIDocumentStylePoolAccess(), IDocumentStylePoolAccess::GetPageDescFromPool(), m_pDoc, Redline, RES_POOLPAGE_STANDARD, and SvtListener::StartListening().
|
overridevirtual |
Definition at line 344 of file unoredline.cxx.
|
inlineoverridevirtualnoexcept |
Definition at line 80 of file unoredline.hxx.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 463 of file unoredline.cxx.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 474 of file unoredline.cxx.
|
overridevirtual |
Definition at line 496 of file unoredline.cxx.
References SwXParagraphEnumeration::Create(), fnMoveForward, SwRangeRedline::GetContentIdx(), SwXText::GetDoc(), GoInNode(), m_pDoc, m_pRedline, SwPaM::Move(), Redline, and SwPaM::Start().
|
overridevirtual |
Implements SwXText.
Definition at line 523 of file unoredline.cxx.
References SwNode::EndOfSectionNode(), SwNode::FindTableNode(), fnMoveForward, SwRangeRedline::GetContentIdx(), SwXText::GetDoc(), SwDoc::GetNodes(), GoInNode(), SwNodes::GoNext(), m_pDoc, m_pRedline, and Redline.
|
overridevirtual |
Implements SwXText.
Definition at line 552 of file unoredline.cxx.
|
overridevirtual |
Definition at line 511 of file unoredline.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 576 of file unoredline.cxx.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 348 of file unoredline.cxx.
References aSwMapProvider, SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertySet::getPropertySetInfo(), and PROPERTY_MAP_REDLINE.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 394 of file unoredline.cxx.
References SwXTextRange::CreateXTextRange(), SwNode::EndOfSectionIndex(), SwRangeRedline::GetContentIdx(), SwSection::GetFormat(), SwTable::GetFrameFormat(), SwNode::GetIndex(), SwPaM::GetMark(), SwPaM::GetMarkNode(), SwNodeIndex::GetNode(), SwNode::GetNodeType(), SwXTextTables::GetObject(), SwXTextSections::GetObject(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwXRedlinePortion::GetPropertyValue(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwTableNode::GetTable(), SwNode::GetTableNode(), SwPaM::HasMark(), m_pDoc, m_pRedline, Section, Table, Text, UNO_NAME_REDLINE_END, UNO_NAME_REDLINE_START, and UNO_NAME_REDLINE_TEXT.
|
inline |
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 568 of file unoredline.cxx.
References comphelper::concatSequences(), and SwXText::getTypes().
|
overridevirtual |
Definition at line 516 of file unoredline.cxx.
References SwRangeRedline::GetContentIdx(), m_pDoc, and m_pRedline.
|
overridevirtual |
Reimplemented from SvtListener.
Definition at line 484 of file unoredline.cxx.
References SfxHint::GetId(), GetRedline(), m_pDoc, and m_pRedline.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 558 of file unoredline.cxx.
References uno::Any::hasValue(), and SwXText::queryInterface().
|
inlineoverridevirtualnoexcept |
Definition at line 81 of file unoredline.hxx.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 469 of file unoredline.cxx.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 479 of file unoredline.cxx.
|
overridevirtual |
Reimplemented from SwXText.
Definition at line 355 of file unoredline.cxx.
References m_pDoc, m_pRedline, SAL_WARN, SwRangeRedline::SetComment(), UNO_NAME_REDLINE_AUTHOR, UNO_NAME_REDLINE_COMMENT, UNO_NAME_REDLINE_DATE_TIME, UNO_NAME_REDLINE_DESCRIPTION, UNO_NAME_REDLINE_SUCCESSOR_DATA, and UNO_NAME_REDLINE_TYPE.
|
private |
Definition at line 72 of file unoredline.hxx.
Referenced by createEnumeration(), createXTextCursor(), getPropertyValue(), hasElements(), Notify(), setPropertyValue(), and SwXRedline().
|
private |
Definition at line 73 of file unoredline.hxx.
Referenced by createEnumeration(), createXTextCursor(), getPropertyValue(), GetRedline(), hasElements(), Notify(), and setPropertyValue().