MFieldFileNameInfo Class Reference

class MFieldFileNameInfo

Specifies the mixin protocol for evaluating a filename field.

You should implement the UpdateFieldFileName() function in a concrete derived class, then pass an object of the derived class to the filename field (using CFileNameField::SetFileNameInfo()) before the field can be evaluated.

Public Member Functions
TInt UpdateFieldFileName(TPtr &)

Member Functions Documentation

UpdateFieldFileName(TPtr &)

TInt UpdateFieldFileName(TPtr &aValueText)const [pure virtual]

Implementations of this function should set aValueText to the current document's filename, if the buffer is large enough. If not, the function should return the length which is required to hold the filename.

Parameters

TPtr & aValueTextDescriptor which on return contains the document's filename.