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

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.


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, std::vector< std::string > &out_vec)=0
void setListener (IE_MailMerge_Listener *listener)
const std::map< std::string,
std::string > & 
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_MailMergePtr &pie, 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 unregisterAllMergers ()

Protected Member Functions

 IE_MailMerge ()
bool fireMergeSet ()
void addMergePair (const std::string &key, const std::string &value)

Static Private Member Functions

static std::vector
< IE_MergeSniffer * > & 
getSniffers ()

Private Attributes

std::map< std::string,
std::string > 


class IE_MailMerge_TH

Constructor & Destructor Documentation

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

Member Function Documentation

void IE_MailMerge::addMergePair ( const std::string &  key,
const std::string &  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 std::map<std::string, std::string>& IE_MailMerge::getCurrentMapping (  )  const [inline]
virtual UT_Error IE_MailMerge::getHeaders ( const char *  szFilename,
std::vector< std::string > &  out_vec 
) [pure virtual]
std::vector< IE_MergeSniffer * > & IE_MailMerge::getSniffers (  )  [static, private]

References s_sniffers.

virtual UT_Error IE_MailMerge::mergeFile ( const char *  szFilename  )  [pure virtual]
void IE_MailMerge::registerMerger ( IE_MergeSniffer sniffer  )  [static]
void IE_MailMerge::setListener ( IE_MailMerge_Listener listener  ) 

References m_pListener.

IE_MergeSniffer * IE_MailMerge::snifferForFileType ( IEMergeType  ieft  )  [static]
const char * IE_MailMerge::suffixesForFileType ( IEMergeType  ieft  )  [static]
void IE_MailMerge::unregisterAllMergers (  )  [static]

Friends And Related Function Documentation

friend class IE_MailMerge_TH [friend]

Member Data Documentation

std::map<std::string, std::string> IE_MailMerge::m_map [private]

Referenced by addMergePair(), and fireMergeSet().

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