#include <AbiCollabService_Export.h>
Public Member Functions | |
AbiCollabService_Export (PD_Document *pDoc, ServiceAccountHandler *pService) | |
virtual | ~AbiCollabService_Export (void) |
virtual bool | populate (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
virtual bool | populateStrux (pf_Frag_Strux *sdh, const PX_ChangeRecord *pcr, fl_ContainerLayout **psfh) |
virtual bool | change (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
virtual void | deferNotifications (void) |
virtual void | processDeferredNotifications (void) |
virtual bool | insertStrux (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr, pf_Frag_Strux *sdh, PL_ListenerId lid, void(*pfnBindHandles)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew)) |
virtual bool | signal (UT_uint32 iSignal) |
virtual PLListenerType | getType () const |
virtual void | setNewDocument (PD_Document *pDoc) |
virtual void | removeDocument (void) |
PD_Document * | getDocument (void) |
Private Attributes | |
PD_Document * | m_pDoc |
ServiceAccountHandler * | m_pService |
AbiCollabService_Export::AbiCollabService_Export | ( | PD_Document * | pDoc, | |
ServiceAccountHandler * | pService | |||
) |
AbiCollabService_Export::~AbiCollabService_Export | ( | void | ) | [virtual] |
bool AbiCollabService_Export::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements the "change" method of the document listener class. It takes the supplied change record and makes an XML-like representation of it. Eventually these can either be stored in a file or sent over the internet to a remote AbiWord where it can be translated back.
Implements PL_Listener.
void AbiCollabService_Export::deferNotifications | ( | void | ) | [virtual] |
Don't know if we need this method for abiCollab
Reimplemented from PL_Listener.
PD_Document* AbiCollabService_Export::getDocument | ( | void | ) | [inline] |
References m_pDoc.
Referenced by ServiceAccountHandler::removeExporter().
virtual PLListenerType AbiCollabService_Export::getType | ( | ) | const [inline, virtual] |
Reimplemented from PL_Listener.
bool AbiCollabService_Export::insertStrux | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr, | |||
pf_Frag_Strux * | sdh, | |||
PL_ListenerId | lid, | |||
void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew) | pfnBindHandles | |||
) | [virtual] |
Implements the "insertStrux" method of the document listener class. It takes the supplied change record and makes an XML-like representation of it. Eventually these can either be stored in a file or sent over the internet to a remote AbiWord where it can be translated back.
Implements PL_Listener.
bool AbiCollabService_Export::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
bool AbiCollabService_Export::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
Implements the "populateStrux" method of the document listener class. It takes the supplied change record and makes an XML-like representation of it. Eventually these can either be stored in a file or sent over the internet to a remote AbiWord where it can be translated back.
Implements PL_Listener.
void AbiCollabService_Export::processDeferredNotifications | ( | void | ) | [virtual] |
Don't know if we need this method for abiCollab
Reimplemented from PL_Listener.
void AbiCollabService_Export::removeDocument | ( | void | ) | [virtual] |
This virtual method is called if the attached document is deleted with an attached AbiCollab_Export connected to the document.
Implements PL_DocChangeListener.
References m_pService, ServiceAccountHandler::removeExporter(), and UT_DEBUGMSG.
void AbiCollabService_Export::setNewDocument | ( | PD_Document * | pDoc | ) | [virtual] |
This virtual method is called from the AbiWord main tree upon doing a replace document with an attached AbiCollab_Export connected to the document.
Implements PL_DocChangeListener.
References UT_DEBUGMSG.
bool AbiCollabService_Export::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements the signal() method of the Document listener class.
Implements PL_Listener.
References PD_Document::getAllViews(), XAP_App::getApp(), UT_GenericVector< T >::getNthItem(), AV_View::getParentData(), XAP_Frame::getViewNumber(), PD_Document::isDirty(), m_pDoc, ServiceAccountHandler::m_saveInterceptor, PD_SIGNAL_SAVEDOC, AbiCollabSaveInterceptor::save(), and XAP_App::updateClones().
PD_Document* AbiCollabService_Export::m_pDoc [private] |
Referenced by getDocument(), and signal().
Referenced by removeDocument().