LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Friends | List of all members
SwXTextFrame Class Referencefinal

#include <unoframe.hxx>

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

Public Member Functions

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::XText > SAL_CALL getText () 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
 
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 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 > &aListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
- Public Member Functions inherited from SwXText
 SwXText (SwDoc *const pDoc, const CursorType eType)
 
const SwDocGetDoc () const
 
SwDocGetDoc ()
 
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 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::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 SwXFrame
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &Name_) 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 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::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual css::awt::Point SAL_CALL getPosition () override
 
virtual void SAL_CALL setPosition (const css::awt::Point &aPosition) override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual void SAL_CALL setSize (const css::awt::Size &aSize) override
 
virtual OUString SAL_CALL getShapeType () override
 
void attachToRange (const css::uno::Reference< css::text::XTextRange > &xTextRange)
 
const SwFrameFormatGetFrameFormat () const
 
SwFrameFormatGetFrameFormat ()
 
FlyCntType GetFlyCntType () const
 
bool IsDescriptor () const
 
void ResetDescriptor ()
 
void SetSelection (SwPaM &rCopySource)
 
template<class Interface , class NameLookupIsHard >
uno::Reference< InterfaceCreateXFrame (SwDoc &rDoc, SwFrameFormat *const pFrameFormat)
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Static Public Member Functions

static SW_DLLPUBLIC css::uno::Reference< css::text::XTextFrame > CreateXTextFrame (SwDoc &rDoc, SwFrameFormat *pFrameFormat)
 
- Static Public Member Functions inherited from SwXText
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from SwXFrame
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
static SW_DLLPUBLIC SdrObjectGetOrCreateSdrObject (SwFlyFrameFormat &rFormat)
 

Private Member Functions

virtual const SwStartNodeGetStartNode () const override
 
virtual css::uno::Reference< css::text::XTextCursor > CreateCursor () override
 
virtual ~SwXTextFrame () override
 
 SwXTextFrame (SwDoc *pDoc)
 
 SwXTextFrame (SwFrameFormat &rFormat)
 

Friends

class SwXFrame
 

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 SwXFrame
virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
virtual ~SwXFrame () override
 
 SwXFrame (FlyCntType eSet, const SfxItemPropertySet *pPropSet, SwDoc *pDoc)
 
 SwXFrame (SwFrameFormat &rFrameFormat, FlyCntType eSet, const SfxItemPropertySet *pPropSet)
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
- Static Protected Member Functions inherited from SwXFrame
template<class Interface , class Impl >
static css::uno::Reference< InterfaceCreateXFrame (SwDoc &rDoc, SwFrameFormat *const pFrameFormat)
 
- Protected Attributes inherited from SwXFrame
css::uno::Reference< css::beans::XPropertySetmxStyleData
 
css::uno::Reference< css::container::XNameAccess > mxStyleFamily
 

Detailed Description

Definition at line 176 of file unoframe.hxx.

Constructor & Destructor Documentation

SwXTextFrame::~SwXTextFrame ( )
overrideprivatevirtual

Definition at line 3149 of file unoframe.cxx.

SwXTextFrame::SwXTextFrame ( SwDoc pDoc)
private

Definition at line 3136 of file unoframe.cxx.

References Frame.

SwXTextFrame::SwXTextFrame ( SwFrameFormat rFormat)
private

Definition at line 3142 of file unoframe.cxx.

References Frame.

Member Function Documentation

void SAL_CALL SwXTextFrame::acquire ( )
throw (
)
overridevirtual

Definition at line 3159 of file unoframe.cxx.

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

Reimplemented from SwXFrame.

Definition at line 3322 of file unoframe.cxx.

References SwXFrame::addEventListener().

void SwXTextFrame::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3305 of file unoframe.cxx.

References SwXFrame::attach().

Referenced by SwXText::convertToTextFrame().

uno::Reference< text::XTextCursor > SwXTextFrame::CreateCursor ( )
overrideprivatevirtual
Exceptions
css::uno::RuntimeException

Reimplemented from SwXText.

Definition at line 3214 of file unoframe.cxx.

References createTextCursor().

uno::Reference< container::XEnumeration > SwXTextFrame::createEnumeration ( )
overridevirtual
uno::Reference< text::XTextCursor > SwXTextFrame::createTextCursor ( )
overridevirtual
uno::Reference< text::XTextCursor > SwXTextFrame::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  aTextPosition)
overridevirtual
uno::Reference< text::XTextFrame > SwXTextFrame::CreateXTextFrame ( SwDoc rDoc,
SwFrameFormat pFrameFormat 
)
static
void SwXTextFrame::dispose ( void  )
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3316 of file unoframe.cxx.

References SwXFrame::dispose().

uno::Reference< text::XTextRange > SwXTextFrame::getAnchor ( )
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3310 of file unoframe.cxx.

References SwXFrame::getAnchor().

uno::Type SwXTextFrame::getElementType ( )
overridevirtual

Definition at line 3295 of file unoframe.cxx.

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

uno::Reference< container::XNameReplace > SAL_CALL SwXTextFrame::getEvents ( )
overridevirtual

Definition at line 3352 of file unoframe.cxx.

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

Definition at line 3188 of file unoframe.cxx.

OUString SwXTextFrame::getImplementationName ( )
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3332 of file unoframe.cxx.

uno::Any SwXTextFrame::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
sal_Int64 SAL_CALL SwXTextFrame::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3357 of file unoframe.cxx.

References SwXFrame::getSomething(), and SwXText::getSomething().

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

Reimplemented from SwXFrame.

Definition at line 3342 of file unoframe.cxx.

References SwXFrame::getSupportedServiceNames().

uno::Reference< text::XText > SwXTextFrame::getText ( )
overridevirtual

Reimplemented from SwXText.

Definition at line 3193 of file unoframe.cxx.

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

Reimplemented from SwXText.

Definition at line 3179 of file unoframe.cxx.

References comphelper::concatSequences(), and SwXText::getTypes().

sal_Bool SwXTextFrame::hasElements ( )
overridevirtual

Definition at line 3300 of file unoframe.cxx.

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

Reimplemented from SwXText.

Definition at line 3169 of file unoframe.cxx.

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

void SAL_CALL SwXTextFrame::release ( )
throw (
)
overridevirtual

Definition at line 3164 of file unoframe.cxx.

void SwXTextFrame::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3327 of file unoframe.cxx.

References SwXFrame::removeEventListener().

sal_Bool SwXTextFrame::supportsService ( const OUString &  ServiceName)
overridevirtual

Reimplemented from SwXFrame.

Definition at line 3337 of file unoframe.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class SwXFrame
friend

Definition at line 180 of file unoframe.hxx.


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