Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ABICOLLABSERVICE_EXPORT_H
00022 #define ABICOLLABSERVICE_EXPORT_H
00023
00024 #include "ut_types.h"
00025 #include "pt_Types.h"
00026 #include "px_ChangeRecord.h"
00027 #include "ut_stack.h"
00028 #include "stdio.h"
00029 #include "xav_Listener.h"
00030 #include "pl_Listener.h"
00031 #include "ut_string_class.h"
00032
00033 class FL_DocLayout;
00034 class PD_Document;
00035 class UT_Stack;
00036 class PX_ChangeRecord;
00037 class ChangeAdjust;
00038 class ServiceAccountHandler;
00039
00040 class AbiCollabService_Export : public PL_DocChangeListener
00041 {
00042 public:
00043 AbiCollabService_Export(PD_Document* pDoc, ServiceAccountHandler* pService );
00044 virtual ~AbiCollabService_Export(void);
00045
00046 virtual bool populate(fl_ContainerLayout* sfh,
00047 const PX_ChangeRecord* pcr);
00048
00049 virtual bool populateStrux(pf_Frag_Strux* sdh,
00050 const PX_ChangeRecord* pcr,
00051 fl_ContainerLayout** psfh);
00052
00053 virtual bool change(fl_ContainerLayout* sfh,
00054 const PX_ChangeRecord* pcr);
00055
00056
00057 virtual void deferNotifications(void);
00058 virtual void processDeferredNotifications(void);
00059
00060 virtual bool insertStrux(fl_ContainerLayout* sfh,
00061 const PX_ChangeRecord* pcr,
00062 pf_Frag_Strux* sdh,
00063 PL_ListenerId lid,
00064 void (*pfnBindHandles)(pf_Frag_Strux* sdhNew,
00065 PL_ListenerId lid,
00066 fl_ContainerLayout* sfhNew));
00067
00068 virtual bool signal(UT_uint32 iSignal);
00069
00070 virtual PLListenerType getType() const { return PTL_CollabServiceExport; }
00071 virtual void setNewDocument(PD_Document * pDoc);
00072 virtual void removeDocument(void);
00073 PD_Document * getDocument(void)
00074 { return m_pDoc;}
00075 private:
00076 PD_Document* m_pDoc;
00077 ServiceAccountHandler * m_pService;
00078 };
00079
00080 #endif