nsPaperSizePS Class Reference

#include <nsPaperPS.h>

List of all members.

Public Member Functions

 nsPaperSizePS ()
 --------------------------------------------------- Constructor
PRBool AtEnd ()
 ---------------------------------------------------
void First ()
 --------------------------------------------------- Position the cursor at the beginning of the paper size list.
void Next ()
 --------------------------------------------------- Advance the cursor to the next item.
PRBool Find (const char *aName)
 --------------------------------------------------- Point the cursor to the entry with the given paper name.
const char * Name ()
 ---------------------------------------------------
float Width_mm ()
 ---------------------------------------------------
float Height_mm ()
 ---------------------------------------------------
PRBool IsMetric ()
 ---------------------------------------------------

Constructor & Destructor Documentation

nsPaperSizePS::nsPaperSizePS (  )  [inline]

--------------------------------------------------- Constructor


Member Function Documentation

PRBool nsPaperSizePS::AtEnd (  )  [inline]

---------------------------------------------------

Returns:
PR_TRUE if the cursor points past the last item.
PRBool nsPaperSizePS::Find ( const char *  aName  ) 

--------------------------------------------------- Point the cursor to the entry with the given paper name.

Returns:
PR_TRUE if pointing to a valid entry.
void nsPaperSizePS::First (  )  [inline]

--------------------------------------------------- Position the cursor at the beginning of the paper size list.

Returns:
VOID
float nsPaperSizePS::Height_mm (  )  [inline]

---------------------------------------------------

Returns:
the height of the page in millimeters
PRBool nsPaperSizePS::IsMetric (  )  [inline]

---------------------------------------------------

Returns:
PR_TRUE if the paper should be presented to the user in metric units.
const char* nsPaperSizePS::Name (  )  [inline]

---------------------------------------------------

Returns:
a pointer to the name of the current paper size
void nsPaperSizePS::Next (  )  [inline]

--------------------------------------------------- Advance the cursor to the next item.

Returns:
VOID
float nsPaperSizePS::Width_mm (  )  [inline]

---------------------------------------------------

Returns:
the width of the page in millimeters

The documentation for this class was generated from the following file:

Generated on 3 May 2010 for Mozilla by  doxygen 1.6.1