casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::PSDriver::PSInfo Class Reference

PSInfo is used to supply comment fields for the PostScript header and other information that needs to be available when the PSDriver object is created. More...

#include <PSDriver.h>

List of all members.

Public Member Functions

 PSInfo ()
 ~PSInfo ()
void Creator (const char *)
void Creator (const String &)
const StringCreator () const
void For (const char *)
void For (const String &)
const StringFor () const
void Title (const char *)
void Title (const String &)
const StringTitle () const
void Comment (const String &)
void Comment (const char *)
const StringComment () const
void setMargins (const float lm, const float rm, const float tm, const float bm, const Dimension dim=PSDriver::INCHES)
Bool getMargins (float &lm, float &rm, float &tm, float &bm)
 If setMargins has been called, returns True and the margin values.

Private Attributes

String for_
String title_
String creator_
String comment_
float lm_
float rm_
float tm_
float bm_
Bool haveMargins_

Detailed Description

PSInfo is used to supply comment fields for the PostScript header and other information that needs to be available when the PSDriver object is created.

Its use is optional.

Definition at line 161 of file PSDriver.h.


Constructor & Destructor Documentation


Member Function Documentation

void casa::PSDriver::PSInfo::Comment ( const char *  )
const String& casa::PSDriver::PSInfo::Comment ( ) const [inline]

Definition at line 176 of file PSDriver.h.

References comment_.

void casa::PSDriver::PSInfo::Creator ( const char *  )
const String& casa::PSDriver::PSInfo::Creator ( ) const [inline]

Definition at line 167 of file PSDriver.h.

References creator_.

void casa::PSDriver::PSInfo::For ( const char *  )
void casa::PSDriver::PSInfo::For ( const String )
const String& casa::PSDriver::PSInfo::For ( ) const [inline]

Definition at line 170 of file PSDriver.h.

References for_.

Bool casa::PSDriver::PSInfo::getMargins ( float &  lm,
float &  rm,
float &  tm,
float &  bm 
)

If setMargins has been called, returns True and the margin values.

Otherwise, returns False and does not change the arguments.

void casa::PSDriver::PSInfo::setMargins ( const float  lm,
const float  rm,
const float  tm,
const float  bm,
const Dimension  dim = PSDriver::INCHES 
)
void casa::PSDriver::PSInfo::Title ( const char *  )
const String& casa::PSDriver::PSInfo::Title ( ) const [inline]

Definition at line 173 of file PSDriver.h.

References title_.


Member Data Documentation

float casa::PSDriver::PSInfo::bm_ [private]

Definition at line 191 of file PSDriver.h.

Definition at line 190 of file PSDriver.h.

Referenced by Comment().

Definition at line 189 of file PSDriver.h.

Referenced by Creator().

Definition at line 187 of file PSDriver.h.

Referenced by For().

Definition at line 192 of file PSDriver.h.

float casa::PSDriver::PSInfo::lm_ [private]

Definition at line 191 of file PSDriver.h.

float casa::PSDriver::PSInfo::rm_ [private]

Definition at line 191 of file PSDriver.h.

Definition at line 188 of file PSDriver.h.

Referenced by Title().

float casa::PSDriver::PSInfo::tm_ [private]

Definition at line 191 of file PSDriver.h.


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