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

#include <swserv.hxx>

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

Public Member Functions

 SwServerObject (::sw::mark::IMark &rBookmark)
 
 SwServerObject (SwTableNode &rTableNd)
 
 SwServerObject (SwSectionNode &rSectNd)
 
virtual ~SwServerObject () override
 
virtual bool GetData (css::uno::Any &rData, const OUString &rMimeType, bool bSynchron=false) override
 
void SendDataChanged (const SwPosition &rPos)
 
void SendDataChanged (const SwPaM &rRange)
 
bool IsLinkInServer (const SwBaseLink *) const
 
void SetNoServer ()
 
void SetDdeBookmark (::sw::mark::IMark &rBookmark)
 
- Public Member Functions inherited from sfx2::SvLinkSource
 SvLinkSource ()
 
virtual ~SvLinkSource () override
 
bool HasDataLinks () const
 
void Closed ()
 
sal_uInt64 GetUpdateTimeout () const
 
void SetUpdateTimeout (sal_uInt64 nTimeMs)
 
void DataChanged (const OUString &rMimeType, const css::uno::Any &rVal)
 
void SendDataChanged ()
 
void NotifyDataChanged ()
 
virtual bool Connect (SvBaseLink *)
 
virtual bool GetData (css::uno::Any &rData, const OUString &rMimeType, bool bSynchron=false)
 
virtual bool IsPending () const
 
virtual bool IsDataComplete () const
 
virtual void Edit (weld::Window *, SvBaseLink *, const Link< const OUString &, void > &rEndEditHdl)
 
void AddDataAdvise (SvBaseLink *, const OUString &rMimeType, sal_uInt16 nAdviceMode)
 
void RemoveAllDataAdvise (SvBaseLink const *)
 
void AddConnectAdvise (SvBaseLink *)
 
void RemoveConnectAdvise (SvBaseLink const *)
 
StreamToLoadFrom getStreamToLoadFrom ()
 
void setStreamToLoadFrom (const css::uno::Reference< css::io::XInputStream > &xInputStream, bool bIsReadOnly)
 
void clearStreamToLoadFrom ()
 

Private Types

enum  ServerModes {
  BOOKMARK_SERVER ,
  TABLE_SERVER ,
  SECTION_SERVER ,
  NONE_SERVER
}
 

Private Attributes

enum SwServerObject::ServerModes m_eType
 
union {
   ::sw::mark::IMark *   pBkmk
 
   SwTableNode *   pTableNd
 
   SwSectionNode *   pSectNd
 
m_CNTNT_TYPE
 

Detailed Description

Definition at line 31 of file swserv.hxx.

Member Enumeration Documentation

◆ ServerModes

Enumerator
BOOKMARK_SERVER 
TABLE_SERVER 
SECTION_SERVER 
NONE_SERVER 

Definition at line 35 of file swserv.hxx.

Constructor & Destructor Documentation

◆ SwServerObject() [1/3]

SwServerObject::SwServerObject ( ::sw::mark::IMark rBookmark)
inline

Definition at line 43 of file swserv.hxx.

References m_CNTNT_TYPE.

◆ SwServerObject() [2/3]

SwServerObject::SwServerObject ( SwTableNode rTableNd)
inline

Definition at line 48 of file swserv.hxx.

References m_CNTNT_TYPE.

◆ SwServerObject() [3/3]

SwServerObject::SwServerObject ( SwSectionNode rSectNd)
inline

Definition at line 53 of file swserv.hxx.

References m_CNTNT_TYPE.

◆ ~SwServerObject()

SwServerObject::~SwServerObject ( )
overridevirtual

Definition at line 36 of file swserv.cxx.

Member Function Documentation

◆ GetData()

bool SwServerObject::GetData ( css::uno::Any &  rData,
const OUString &  rMimeType,
bool  bSynchron = false 
)
overridevirtual

◆ IsLinkInServer()

bool SwServerObject::IsLinkInServer ( const SwBaseLink pChkLnk) const

◆ SendDataChanged() [1/2]

void SwServerObject::SendDataChanged ( const SwPaM rRange)

◆ SendDataChanged() [2/2]

void SwServerObject::SendDataChanged ( const SwPosition rPos)

◆ SetDdeBookmark()

void SwServerObject::SetDdeBookmark ( ::sw::mark::IMark rBookmark)

◆ SetNoServer()

void SwServerObject::SetNoServer ( )

Member Data Documentation

◆ 

union { ... } SwServerObject::m_CNTNT_TYPE

◆ m_eType

enum SwServerObject::ServerModes SwServerObject::m_eType
private

◆ pBkmk

::sw::mark::IMark* SwServerObject::pBkmk

Definition at line 37 of file swserv.hxx.

◆ pSectNd

SwSectionNode* SwServerObject::pSectNd

Definition at line 39 of file swserv.hxx.

◆ pTableNd

SwTableNode* SwServerObject::pTableNd

Definition at line 38 of file swserv.hxx.


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