• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

AbiCollabService_Export.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2005 by Martin Sevior
00003  * Copyright (C) 2006,2007 by Marc Maurer <uwog@uwog.net>
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301 USA.
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 /* ABICOLLABSERVICE_EXPORT_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1