Public Member Functions | Private Member Functions | Private Attributes

IE_Exp_DocRangeListener Class Reference

#include <ie_exp_DocRangeListener.h>

Inheritance diagram for IE_Exp_DocRangeListener:

List of all members.

Public Member Functions

 IE_Exp_DocRangeListener (PD_DocumentRange *pDocRange, PD_Document *pOutDoc)
virtual ~IE_Exp_DocRangeListener ()
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 *, const PX_ChangeRecord *)
virtual bool insertStrux (fl_ContainerLayout *, const PX_ChangeRecord *, pf_Frag_Strux *, PL_ListenerId, void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew))
virtual bool signal (UT_uint32)
virtual PLListenerType getType () const
void assembleAtts (const char **inAtts, const char **inProps, const char **&outAtts)
void freeAtts (const char ***allAtts)

Private Member Functions

PD_DocumentgetDoc (void) const

Private Attributes

bool m_bFirstSection
bool m_bFirstBlock
PT_AttrPropIndex m_iLastAP

Constructor & Destructor Documentation

IE_Exp_DocRangeListener::IE_Exp_DocRangeListener ( PD_DocumentRange pDocRange,
PD_Document pOutDoc 

This nifty little class allows a docrange to be exported into blank document. We can then export the content of this document to any of our supported formats. This allows us to export any selection into any document format. We can then place this content on the clipbaord for other application to read.

References PD_Document::appendStyle(), PD_Document::createDataItem(), PD_Document::enumDataItems(), PD_Document::getAllUsedStyles(), PP_AttrProp::getAttributes(), PD_Document::getAttrProp(), getDoc(), PD_Style::getIndexAP(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_pSourceDoc, and szName.

virtual IE_Exp_DocRangeListener::~IE_Exp_DocRangeListener (  )  [inline, virtual]

Member Function Documentation

void IE_Exp_DocRangeListener::assembleAtts ( const char **  inAtts,
const char **  inProps,
const char **&  sAtts 
virtual bool IE_Exp_DocRangeListener::change ( fl_ContainerLayout ,
const PX_ChangeRecord  
) [inline, virtual]

Implements PL_Listener.

void IE_Exp_DocRangeListener::freeAtts ( const char ***  allAtts  ) 

References gchar.

Referenced by populate(), and populateStrux().

PD_Document * IE_Exp_DocRangeListener::getDoc ( void   )  const [private]
virtual PLListenerType IE_Exp_DocRangeListener::getType ( void   )  const [inline, virtual]

Reimplemented from PL_Listener.

virtual bool IE_Exp_DocRangeListener::insertStrux ( fl_ContainerLayout ,
const PX_ChangeRecord ,
pf_Frag_Strux ,
PL_ListenerId  ,
void(*)(pf_Frag_Strux *sdhNew,PL_ListenerId lid,fl_ContainerLayout *sfhNew)   
) [inline, virtual]

Implements PL_Listener.

virtual bool IE_Exp_DocRangeListener::signal ( UT_uint32   )  [inline, virtual]

Implements PL_Listener.

Member Data Documentation

The documentation for this class was generated from the following files: