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 IE_EXP_PDOCRANGELISTENER_H
00022 #define IE_EXP_PDOCRANGELISTENER_H
00023
00024 #include "ut_types.h"
00025 #include "pt_Types.h"
00026 #include "pd_Document.h"
00027 class PX_ChangeRecord;
00028
00029 #ifdef __sgi
00030
00031
00032
00033 #include <sys/signal.h>
00034 #endif
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 class ABI_EXPORT IE_Exp_DocRangeListener: public PL_Listener
00046 {
00047 public:
00048 IE_Exp_DocRangeListener( PD_DocumentRange * pDocRange, PD_Document * pOutDoc);
00049 virtual ~IE_Exp_DocRangeListener(){}
00050
00051 virtual bool populate(fl_ContainerLayout* sfh,
00052 const PX_ChangeRecord * pcr);
00053
00054 virtual bool populateStrux(pf_Frag_Strux* sdh,
00055 const PX_ChangeRecord * pcr,
00056 fl_ContainerLayout* * psfh);
00057
00058 virtual bool change(fl_ContainerLayout* ,
00059 const PX_ChangeRecord * )
00060 {return true;}
00061
00062 virtual bool insertStrux(fl_ContainerLayout* ,
00063 const PX_ChangeRecord * ,
00064 pf_Frag_Strux* ,
00065 PL_ListenerId ,
00066 void (* )(pf_Frag_Strux* sdhNew,
00067 PL_ListenerId lid,
00068 fl_ContainerLayout* sfhNew))
00069 { return true;}
00070
00071 virtual bool signal(UT_uint32 )
00072 { return true;}
00073 virtual PLListenerType getType() const
00074 {
00075 return PTL_UNKNOWN;
00076 }
00077 static void assembleAtts(const PP_PropertyVector & inAtts, const PP_PropertyVector & inProps, PP_PropertyVector & outAtts);
00078
00079 private:
00080 PD_Document * getDoc(void) const;
00081 PD_Document * m_pOutDocument;
00082 bool m_bFirstSection;
00083 bool m_bFirstBlock;
00084 PD_Document * m_pSourceDoc;
00085 PT_AttrPropIndex m_iLastAP;
00086 };
00087 #endif