|
|
|
Location:
cfaxio.h
Link against: FaxIO.lib
CFaxHeaderLines
Supported from 5.0
Read/write fax header line data
Allows applications to read and write information from the fax header line data file: including the header line template, a font bitmap, and character offset information. This data can be used to generate a fax header line — which contains send-time information — in real time.
This class is not intended for user derivation.
In pre-v5.1 releases of Symbian OS, this class was defined in faxstore.h and had an import library faxst2.lib.
|
Defined in CFaxHeaderLines:
NewL(), NewLC(), ReadFaxHeaderInfoL(), ReadRawFontLineL(), ReadRawHeaderLineL(), WriteFaxHeaderInfoL(), WriteRawFontLineL(), WriteRawHeaderLineL(), iOurFaxHeaderInfoPckg, ~CFaxHeaderLines()
Inherited from CBase:
operator new()
static CFaxHeaderLines* NewL();
Constructs a CFaxHeaderLines object, which is used
to read and write the fax header line data file.
|
|
static CFaxHeaderLines* NewLC();
Constructs a CFaxHeaderLines object, which is used
to read and write the fax header line data file.
As is usual in Symbian OS, the only difference between this
function and NewL() is that this variant pushes the object to the
cleanup stack.
|
|
~CFaxHeaderLines();
Closes the open header line data file and shuts down the file server session.
A new fax header data file — C:\System\faxhead.dat — should
be created every time the user identity or phone number changes. The
WriteFaxHeaderInfoL() must be invoked first, as it creates/opens
the file and adds the font and character offset information to it.
WriteRawFontLineL() should then be invoked to add the header line
template scan lines, and WriteRawHeaderLineL() should be called to
add the font bitmap scan lines.
void WriteFaxHeaderInfoL(TFaxHeaderInfo &aFaxHeaderInfo);
Creates and opens the fax header data file, and then writes font and character offset information to it.
The font and character offset information is used by the fax server to determine at which position the font bitmap characters should be inserted in the header line template — to create the send-time header line for a page.
|
void WriteRawFontLineL(const TInt alineNumber,TRawScanLine& aUncompressedDataLine);
Writes header line font bitmap scan lines to the header line data file.
It should be called to add every scan line in the font bitmap.
|
void WriteRawHeaderLineL(const TInt alineNumber,TRawScanLine& aUncompressedDataLine);
Writes the header line template's scan lines to the header line data file. It should be called to add every scan line in the template.
|
The ReadFaxHeaderInfoL() is invoked first, as it
opens the file and reads the font and character offset information.
ReadRawFontLineL() and ReadRawHeaderLineL() are then
be called to get the header line template and the font bitmap.
The fax header data file — C:\System\faxhead.dat — is read by the fax server, and used to create a new fax header line every time a page is sent.
void ReadFaxHeaderInfoL(TFaxHeaderInfo &aFaxHeaderInfo);
Opens the fax header data file, and then reads font and character offset information from it.
The font and character offset information is used by the fax server to determine at which position the font bitmap characters should be inserted in the header line template — to create the send time header line for a page.
|
void ReadRawFontLineL(const TInt alineNumber,TRawScanLine &aUncompressedDataLine);
Reads the font bitmap's scan lines from the header line data file.
It should be called to read every scan line in the bitmap.
In normal operation the function is called by the fax server prior to sending a page.
|
void ReadRawHeaderLineL(const TInt alineNumber,TRawScanLine &aUncompressedDataLine);
Reads the header line template's scan lines from the header line data file. It should be called to read every scan line in the template.
In normal operation the function is called by the fax server prior to sending a page.
|
TFaxHeaderInfoPckg iOurFaxHeaderInfoPckg
The fax header information package.