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 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

Enumerator
BOOKMARK_SERVER 
TABLE_SERVER 
SECTION_SERVER 
NONE_SERVER 

Definition at line 35 of file swserv.hxx.

Constructor & Destructor Documentation

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

Definition at line 43 of file swserv.hxx.

References m_CNTNT_TYPE.

SwServerObject::SwServerObject ( SwTableNode rTableNd)
inline

Definition at line 48 of file swserv.hxx.

References m_CNTNT_TYPE.

SwServerObject::SwServerObject ( SwSectionNode rSectNd)
inline

Definition at line 53 of file swserv.hxx.

References m_CNTNT_TYPE.

SwServerObject::~SwServerObject ( )
overridevirtual

Definition at line 39 of file swserv.cxx.

Member Function Documentation

bool SwServerObject::GetData ( css::uno::Any &  rData,
const OUString &  rMimeType,
bool  bSynchron = false 
)
overridevirtual
bool SwServerObject::IsLinkInServer ( const SwBaseLink pChkLnk) const
void SwServerObject::SendDataChanged ( const SwPosition rPos)
void SwServerObject::SendDataChanged ( const SwPaM rRange)
void SwServerObject::SetDdeBookmark ( ::sw::mark::IMark rBookmark)
void SwServerObject::SetNoServer ( )

Member Data Documentation

union { ... } SwServerObject::m_CNTNT_TYPE
enum SwServerObject::ServerModes SwServerObject::m_eType
private
::sw::mark::IMark* SwServerObject::pBkmk

Definition at line 37 of file swserv.hxx.

SwSectionNode* SwServerObject::pSectNd

Definition at line 39 of file swserv.hxx.

SwTableNode* SwServerObject::pTableNd

Definition at line 38 of file swserv.hxx.


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