Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes

IE_MailMerge Class Reference

#include <ie_mailmerge.h>

Inheritance diagram for IE_MailMerge:
IE_MailMerge_Delimiter_Listener IE_MailMerge_XML_Listener

List of all members.

Classes

class  IE_MailMerge_Listener

Public Member Functions

virtual ~IE_MailMerge ()
virtual UT_Error mergeFile (const char *szFilename)=0
virtual UT_Error getHeaders (const char *szFilename, UT_Vector &out_vec)=0
void setListener (IE_MailMerge_Listener *listener)
const UT_GenericStringMap
< UT_UTF8String * > & 
getCurrentMapping () const

Static Public Member Functions

static IEMergeType fileTypeForContents (const char *szBuf, UT_uint32 iNumbytes)
static IEMergeType fileTypeForSuffix (const char *szSuffix)
static IEMergeType fileTypeForDescription (const char *szSuffix)
static IEMergeType fileTypeForSuffixes (const char *suffixList)
static IE_MergeSniffersnifferForFileType (IEMergeType ieft)
static const char * suffixesForFileType (IEMergeType ieft)
static const char * descriptionForFileType (IEMergeType ieft)
static UT_Error constructMerger (const char *szFilename, IEMergeType ieft, IE_MailMerge **ppie, IEMergeType *pieft=NULL)
static bool enumerateDlgLabels (UT_uint32 ndx, const char **pszDesc, const char **pszSuffixList, IEMergeType *ft)
static UT_uint32 getMergerCount (void)
static void registerMerger (IE_MergeSniffer *sniffer)
static void unregisterMerger (IE_MergeSniffer *sniffer)
static void unregisterAllMergers ()

Protected Member Functions

 IE_MailMerge ()
bool fireMergeSet ()
void addMergePair (const UT_UTF8String &key, const UT_UTF8String &value)

Private Attributes

IE_MailMerge_Listenerm_pListener
UT_GenericStringMap
< UT_UTF8String * > 
m_map

Constructor & Destructor Documentation

IE_MailMerge::~IE_MailMerge (  )  [virtual]
IE_MailMerge::IE_MailMerge (  )  [protected]

Member Function Documentation

void IE_MailMerge::addMergePair ( const UT_UTF8String key,
const UT_UTF8String value 
) [protected]
const char * IE_MailMerge::descriptionForFileType ( IEMergeType  ieft  )  [static]
bool IE_MailMerge::enumerateDlgLabels ( UT_uint32  ndx,
const char **  pszDesc,
const char **  pszSuffixList,
IEMergeType ft 
) [static]
IEMergeType IE_MailMerge::fileTypeForContents ( const char *  szBuf,
UT_uint32  iNumbytes 
) [static]
IEMergeType IE_MailMerge::fileTypeForDescription ( const char *  szSuffix  )  [static]
IEMergeType IE_MailMerge::fileTypeForSuffixes ( const char *  suffixList  )  [static]
const UT_GenericStringMap<UT_UTF8String *>& IE_MailMerge::getCurrentMapping (  )  const [inline]
virtual UT_Error IE_MailMerge::getHeaders ( const char *  szFilename,
UT_Vector out_vec 
) [pure virtual]
void IE_MailMerge::registerMerger ( IE_MergeSniffer sniffer  )  [static]
void IE_MailMerge::setListener ( IE_MailMerge_Listener listener  ) 
IE_MergeSniffer * IE_MailMerge::snifferForFileType ( IEMergeType  ieft  )  [static]
const char * IE_MailMerge::suffixesForFileType ( IEMergeType  ieft  )  [static]
void IE_MailMerge::unregisterAllMergers (  )  [static]

References DELETEP, m_sniffers, and size.

Referenced by IE_MailMerge_UnRegisterXP().

void IE_MailMerge::unregisterMerger ( IE_MergeSniffer sniffer  )  [static]

Member Data Documentation


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