LibreOffice Module sw (master) 1
|
#include <swserv.hxx>
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 |
Definition at line 31 of file swserv.hxx.
|
private |
Enumerator | |
---|---|
BOOKMARK_SERVER | |
TABLE_SERVER | |
SECTION_SERVER | |
NONE_SERVER |
Definition at line 35 of file swserv.hxx.
|
inline |
Definition at line 43 of file swserv.hxx.
References m_CNTNT_TYPE.
|
inline |
Definition at line 48 of file swserv.hxx.
References m_CNTNT_TYPE.
|
inline |
Definition at line 53 of file swserv.hxx.
References m_CNTNT_TYPE.
|
overridevirtual |
Definition at line 36 of file swserv.cxx.
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 40 of file swserv.cxx.
References SwPosition::Assign(), BOOKMARK_SERVER, fnMoveBackward, fnMoveForward, GetASCWriter(), SvMemoryStream::GetData(), SotExchange::GetFormatIdFromMimeType(), SwPaM::GetPoint(), GetRTFWriter(), tools::SvRef< typename T >::is(), ErrCode::IsError(), m_CNTNT_TYPE, m_eType, SwPaM::Move(), NONE_SERVER, SECTION_SERVER, SwPaM::SetMark(), TABLE_SERVER, SvStream::Tell(), SwWriter::Write(), and SvStream::WriteChar().
Referenced by sw::DocumentLinksAdministrationManager::GetData().
bool SwServerObject::IsLinkInServer | ( | const SwBaseLink * | pChkLnk | ) | const |
Definition at line 181 of file swserv.cxx.
References BOOKMARK_SERVER, sfx2::ClientGraphic, SwNode::EndOfSectionIndex(), SwNodes::GetDoc(), SwDoc::getIDocumentLinksAdministration(), SwNode::GetIndex(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::GetLinks(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwPosition::GetNodes(), IsInRange(), SwBaseLink::IsNoDataFlag(), SwBaseLink::IsRecursion(), m_CNTNT_TYPE, m_eType, n, NONE_SERVER, SECTION_SERVER, SwBaseLink::SetNoDataFlag(), and TABLE_SERVER.
Referenced by SendDataChanged().
void SwServerObject::SendDataChanged | ( | const SwPaM & | rRange | ) |
Definition at line 143 of file swserv.cxx.
References BOOKMARK_SERVER, SwNode::EndOfSectionIndex(), SwNode::GetIndex(), sfx2::SvLinkSource::HasDataLinks(), IsLinkInServer(), m_CNTNT_TYPE, m_eType, NONE_SERVER, SECTION_SERVER, SwPaM::StartEnd(), and TABLE_SERVER.
void SwServerObject::SendDataChanged | ( | const SwPosition & | rPos | ) |
Definition at line 107 of file swserv.cxx.
References BOOKMARK_SERVER, SwNode::EndOfSectionIndex(), SwNode::GetIndex(), SwPosition::GetNodeIndex(), sfx2::SvLinkSource::HasDataLinks(), IsLinkInServer(), m_CNTNT_TYPE, m_eType, NONE_SERVER, SECTION_SERVER, and TABLE_SERVER.
void SwServerObject::SetDdeBookmark | ( | ::sw::mark::IMark & | rBookmark | ) |
Definition at line 263 of file swserv.cxx.
References BOOKMARK_SERVER, m_CNTNT_TYPE, m_eType, and sw::mark::DdeBookmark::SetRefObject().
void SwServerObject::SetNoServer | ( | ) |
Definition at line 249 of file swserv.cxx.
References BOOKMARK_SERVER, m_CNTNT_TYPE, m_eType, NONE_SERVER, and sw::mark::DdeBookmark::SetRefObject().
union { ... } SwServerObject::m_CNTNT_TYPE |
Referenced by GetData(), IsLinkInServer(), SendDataChanged(), SetDdeBookmark(), SetNoServer(), and SwServerObject().
|
private |
Referenced by GetData(), IsLinkInServer(), SendDataChanged(), SetDdeBookmark(), and SetNoServer().
::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.