#include <IPageNumberPrefs.h>
|
| enum | { kDefaultIID = IID_IPAGENUMBERPREFS } |
| |
Stores session preferences relating how UI widgets display page numbers. This is a UI-only setting that doesn't affect how page number characters in text stories are computed/displayed.
- See Also
- kWorkspaceBoss
- kSetPageNumberPrefsCmdCmdBoss
- IPageList.h
- ISection.h
- ISectionList.h
- Widgets.fh, PageNumEditBoxWidget, PageNumEditBoxWidget, and PageNumPlusMasterEditBoxWidget
| virtual bool16 IPageNumberPrefs::GetOrdinalNumbering | ( | | ) | const |
| pure virtual |
Return the value used for page numbering widgets.
- Parameters
- Returns
- kTrue for oridinal numbering, kFalse for standard/section numbering.
| virtual void IPageNumberPrefs::SetOrdinalNumbering | ( | bool16 | on | ) | |
| pure virtual |
Set value for ordinal numbering (kTrue) or standard/section numbering (kFalse). When ordinal numbering is on, page number and page range widgets will display 1 for first page of document, 2 for second page, etc. When standard numbering is used, the first page number will use its page number as determined by what section it is in.
- Parameters
| bool16 | on, kTrue for ordinal, kFalse for section numbering (the default). |