Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: fldbltin.h
Link against:

Class MFieldNumPagesInfo

MFieldNumPagesInfo

Support

Supported from 5.0

Description

Specifies the mixin protocol for evaluating a number of pages field (see class CNumPagesField). It declares a single pure virtual function, UpdateFieldNumPages(). You should implement this function in a concrete derived class, then pass an object of the derived class to the number of pages field (using CNumPagesField::SetNumPagesInfo()) before the field can be evaluated.

Defined in MFieldNumPagesInfo:
UpdateFieldNumPages()


UpdateFieldNumPages()

virtual TInt UpdateFieldNumPages()const;

Description

Implementations of this function should return the number of pages in the current document.

Return value

TInt

The total number of pages.