|
|
|
Location:
faxstore.h
Link against: FaxStrm.lib
CReadFaxPages
Supported from 5.0
Reads individual pages from a fax file.
The class provides functions to get the number of fax pages in a fax store, the number of scan lines per page, information about the scan line compression and resolution, and the sender Id. It is then possible to iterate through the store by page and by scan line to obtain the fax page.
In pre-v5.1 releases of Symbian OS, the import library was faxst2.lib.
|
Defined in CReadFaxPages:
CurrentPageInfo(), GetEncodedScanLineL(), GetScanLineL(), NewL(), NumPages(), SeekScanLineL(), SetPageL(), ~CReadFaxPages()
Inherited from CBase:
operator new()
static CReadFaxPages* NewL(CStreamStore& aStore,TStreamId aStreamId);
Creates a CReadFaxPages object, which offers the
public API for reading fax pages from a stream store.
This function is called by CReadFaxFile when
opening a fax file.
|
|
|
~CReadFaxPages();
Destructor
Closes the stream, and frees all resources owned by the object, prior to its destruction.
TInt NumPages() const;
Gets the number of pages in the store.
|
void SetPageL(TInt aNum);
Sets a selected page to be the current page, and resets the current scan line to the first scan line in the page.
|
TFaxPageInfo CurrentPageInfo() const;
Gets the information for the current fax page, where the
current page was set in a previous call to the SetPageL()
function.
|
void SeekScanLineL(TInt anIndex);
Sets the specified scan line as the current scan line.
|
TInt GetScanLineL(TDes8& aScanLine);
Gets the raw scan line specified in a previous call to the
SeekScanLineL() function.
|
|
void GetEncodedScanLineL(TDes8& anEncodedScanLine);
Gets the encoded scan line specified in a previous call to the
SeekScanLineL() function.
|