LibreOffice Module dtrans (master)  1
Macros | Functions
testcnttype.cxx File Reference
#include <cppuhelper/servicefactory.hxx>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/datatransfer/XMimeContentType.hpp>
#include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <osl/diagnose.h>
#include <stdio.h>
#include <vector>
Include dependency graph for testcnttype.cxx:

Go to the source code of this file.

Macros

#define TEST_CLIPBOARD
 
#define RDB_SYSPATH   "d:\\projects\\src621\\dtrans\\wntmsci7\\bin\\applicat.rdb"
 

Functions

void ShutdownServiceMgr (Reference< XMultiServiceFactory > &SrvMgr)
 
sal_Bool readCntTypesFromFileIntoVector (char *fname, vector< string > &vecData)
 
sal_Bool processCntTypesAndWriteResultIntoFile (char *fname, vector< string > &vecData, Reference< XMimeContentTypeFactory > cnttypeFactory)
 
int SAL_CALL main (int nArgc, char *argv[])
 

Macro Definition Documentation

#define RDB_SYSPATH   "d:\\projects\\src621\\dtrans\\wntmsci7\\bin\\applicat.rdb"

Definition at line 38 of file testcnttype.cxx.

Referenced by main().

#define TEST_CLIPBOARD

Definition at line 37 of file testcnttype.cxx.

Function Documentation

int SAL_CALL main ( int  nArgc,
char *  argv[] 
)
sal_Bool processCntTypesAndWriteResultIntoFile ( char *  fname,
vector< string > &  vecData,
Reference< XMimeContentTypeFactory >  cnttypeFactory 
)

Definition at line 85 of file testcnttype.cxx.

References i, rData, sal_False, and sal_True.

Referenced by main().

sal_Bool readCntTypesFromFileIntoVector ( char *  fname,
vector< string > &  vecData 
)

Definition at line 62 of file testcnttype.cxx.

References sal_False, and sal_True.

Referenced by main().

void ShutdownServiceMgr ( Reference< XMultiServiceFactory > &  SrvMgr)

Definition at line 49 of file testcnttype.cxx.

References xComponent.

Referenced by main().