nsIImportFieldMap

IID:0e376da3-e289-4d14-bdec-867764585eb7
Inherits From:nsISupports

Properties

readonly PRInt32 mapSize

readonly PRInt32 numMozFields

PRBool skipFirstRecord


Methods

void DefaultFieldMap ( PRInt32 size ) PRBool GetFieldActive ( PRInt32 index ) PRUnichar* GetFieldDescription ( PRInt32 index ) PRInt32 GetFieldMap ( PRInt32 index ) PRUnichar* GetFieldValue ( nsIAbCard card , PRInt32 fieldNum ) PRUnichar* GetFieldValueByDescription ( nsIAbCard card , PRUnichar* fieldDesc ) void SetFieldActive ( PRInt32 index , PRBool active ) void SetFieldMap ( PRInt32 index , PRInt32 fieldNum ) void SetFieldMapByDescription ( PRInt32 index , PRUnichar* fieldDesc ) void SetFieldMapSize ( PRInt32 size ) void SetFieldValue ( nsIAddrDatabase database , nsIMdbRow row , PRInt32 fieldNum , PRUnichar* value ) void SetFieldValueByDescription ( nsIAddrDatabase database , nsIMdbRow row , PRUnichar* fieldDesc , PRUnichar* value )

void DefaultFieldMap ( PRInt32 size )

Arguments:
size

PRBool GetFieldActive ( PRInt32 index )

Arguments:
index

PRUnichar* GetFieldDescription ( PRInt32 index )

Arguments:
index

PRInt32 GetFieldMap ( PRInt32 index )

Arguments:
index

PRUnichar* GetFieldValue ( nsIAbCard card , PRInt32 fieldNum )

Arguments:
card
fieldNum

PRUnichar* GetFieldValueByDescription ( nsIAbCard card , PRUnichar* fieldDesc )

Arguments:
card
fieldDesc

void SetFieldActive ( PRInt32 index , PRBool active )

Arguments:
index
active

void SetFieldMap ( PRInt32 index , PRInt32 fieldNum )

Arguments:
index
fieldNum

void SetFieldMapByDescription ( PRInt32 index , PRUnichar* fieldDesc )

Arguments:
index
fieldDesc

void SetFieldMapSize ( PRInt32 size )

Arguments:
size

void SetFieldValue ( nsIAddrDatabase database , nsIMdbRow row , PRInt32 fieldNum , PRUnichar* value )

Arguments:
database
row
fieldNum
value

void SetFieldValueByDescription ( nsIAddrDatabase database , nsIMdbRow row , PRUnichar* fieldDesc , PRUnichar* value )

Arguments:
database
row
fieldDesc
value

References

This interface is passed as an argument to the following methods:

nsIImportAddressBooks.ImportAddressBook, nsIImportAddressBooks.InitFieldMap

This interface is returned from the following methods:

nsIImportService.CreateNewFieldMap

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com