 class  Printer
  class  Printer  class for printing and postscript generation.
|  enum | OutputType | 
|   | Printer (Config *c, Document *d) constructor. | 
|  virtual | ~Printer () | 
|  void | Print () print document as postscript to current printer. | 
|  void | ShowPrintPreview () show print preview in separate window. | 
|  void | ExportAs () show popup dialog for exporting to file. | 
|  void | ShowPrinterQueue () show dialog containing printer queue incl.'lprm' option. | 
|  void | Name () popup dialog for new printer name. | 
|  void | Copies () popup dialog for new number of copies. | 
|  void | PrintCommand () popup dialog for setting printer command. | 
|  void | PrinterQueueCommand () popup dialog for setting printer queue command. | 
|  void | PrinterRemoveCommand () popup dialog for setting printer remove command. | 
|  void | PreviewCommand () popup dialog for setting preview command. | 
|  void | SetName (const string *name) | 
|  void | SetCopies (int copies) | 
|  void | SetPrintCommand (const string *command) | 
|  void | SetPageOrientation (int num) set page orientation to portrait or landscape. | 
|  void | SetPageNumbering (bool b) set page numbering on/off. | 
|  int | GetPageOrientation () | 
|  void | SetShowPageBoundary (bool set) set showing of page boundary. | 
|  void | ShowInfo (int type) | 
|  void | SetPageSize (PageSize::Type ps) set pagesize to num. | 
|  PageSize::Type | GetPageSize () return page-size (A4 etc). | 
|  void | GetPageSize (double &width, double &height) return page size (pixels). | 
|  void | GetSizePages (Point &topLeft, Point &bottomRight) get area of used pages. | 
|  void | SetBannerPage (int num) set bannerpage to num. | 
|  int | GetBannerPage () return page-size (DEF\_BANNER etc). | 
|  bool | SavePostScript (const string *file, bool TcmBanner) actually save as postscript to the file. | 
|  bool | SaveEPS (const string *file) actually save as encapsulated postscript to the file. | 
|  bool | SaveFig (const string *file, bool latexfonts=False) actually save as Fig format to the file. | 
|  bool | SavePNG (const string *file) actually save as PNG format to the file. | 
|  void | DoSaveAsPS (const string *file) | 
|  void | DoSaveAsEPS (const string *file) | 
|  void | DoSaveAsFigTex (const string *file) | 
|  void | DoSaveAsFigPS (const string *file) | 
|  void | DoSaveAsPNG (const string *file) | 
|  void | UpdateFSFiles () | 
|  void | SetPreviewCommand (const string *newCommand) | 
|  void | SetDefaultFont (int f, int s, int p) | 
|  void | SetPrintColors (bool b) | 
|  void | SetDuplex (bool b) | 
|  void | SetTumble (bool b) | 
|  void | Draw () draw page boundaries, page numbers, header and footer. | 
|  void | Undraw () | 
|  FileSelectionDialog* | GetFileSelectionDialog () | 
|  PromptDialog* | GetPromptDialog () | 
|  ScaleDialog* | GetScaleDialog () | 
|  Config* | GetConfig () | 
|  void | SetStatus (const string *msg) | 
|  void | SetStatus (const char *msg) | 
|  void | SetViewer (Viewer *v) | 
|  void | Save (OutputFile *f) Save page attributes to file. | 
|  bool | Load (InputFile *f, double format) Load page attributes from file. | 
|  bool | Check (InputFile *f, double format) Check but not load page attributes from file. | 
class for printing and postscript generation.
 Printer(Config *c, Document *d)
  Printer(Config *c, Document *d)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 virtual  ~Printer()
 virtual  ~Printer()
 enum  OutputType
  enum  OutputType
 void  Print()
 void  Print()
 void  ShowPrintPreview()
 void  ShowPrintPreview()
 void  ExportAs()
 void  ExportAs()
 void  ShowPrinterQueue()
 void  ShowPrinterQueue()
 void  Name()
 void  Name()
 void  Copies()
 void  Copies()
 void  PrintCommand()
 void  PrintCommand()
 void  PrinterQueueCommand()
 void  PrinterQueueCommand()
 void  PrinterRemoveCommand()
 void  PrinterRemoveCommand()
 void  PreviewCommand()
 void  PreviewCommand()
 void  SetName(const string *name)
 void  SetName(const string *name)
 void  SetCopies(int copies)
 void  SetCopies(int copies)
 void  SetPrintCommand(const string *command)
 void  SetPrintCommand(const string *command)
 void  SetPageOrientation(int num)
 void  SetPageOrientation(int num)
 void  SetPageNumbering(bool b)
 void  SetPageNumbering(bool b)
 int  GetPageOrientation()
 int  GetPageOrientation()
 void  SetShowPageBoundary(bool set)
 void  SetShowPageBoundary(bool set)
 void  ShowInfo(int type)
 void  ShowInfo(int type)
 void  SetPageSize(PageSize::Type ps)
 void  SetPageSize(PageSize::Type ps)
 PageSize::Type  GetPageSize()
 PageSize::Type  GetPageSize()
 void  GetPageSize(double &width, double &height)
 void  GetPageSize(double &width, double &height)
 void  GetSizePages(Point &topLeft, Point &bottomRight)
 void  GetSizePages(Point &topLeft, Point &bottomRight)
 void  SetBannerPage(int num)
 void  SetBannerPage(int num)
 int  GetBannerPage()
 int  GetBannerPage()
 bool  SavePostScript(const string *file, bool TcmBanner)
 bool  SavePostScript(const string *file, bool TcmBanner)
 bool  SaveEPS(const string *file)
 bool  SaveEPS(const string *file)
 bool  SaveFig(const string *file, bool latexfonts=False)
 bool  SaveFig(const string *file, bool latexfonts=False)
 bool  SavePNG(const string *file)
 bool  SavePNG(const string *file)
 void  DoSaveAsPS(const string *file)
 void  DoSaveAsPS(const string *file)
 void  DoSaveAsEPS(const string *file)
 void  DoSaveAsEPS(const string *file)
 void  DoSaveAsFigTex(const string *file)
 void  DoSaveAsFigTex(const string *file)
 void  DoSaveAsFigPS(const string *file)
 void  DoSaveAsFigPS(const string *file)
 void  DoSaveAsPNG(const string *file)
 void  DoSaveAsPNG(const string *file)
 void  UpdateFSFiles()
 void  UpdateFSFiles()
 void  SetPreviewCommand(const string *newCommand)
 void  SetPreviewCommand(const string *newCommand)
 void  SetDefaultFont(int f, int s, int p)
 void  SetDefaultFont(int f, int s, int p)
 void  SetPrintColors(bool b)
 void  SetPrintColors(bool b)
 void  SetDuplex(bool b)
 void  SetDuplex(bool b)
 void  SetTumble(bool b)
 void  SetTumble(bool b)
 void  Draw()
 void  Draw()
 void  Undraw()
 void  Undraw()
 FileSelectionDialog*  GetFileSelectionDialog()
 FileSelectionDialog*  GetFileSelectionDialog()
 PromptDialog*  GetPromptDialog()
 PromptDialog*  GetPromptDialog()
 ScaleDialog*  GetScaleDialog()
 ScaleDialog*  GetScaleDialog()
 Config*  GetConfig()
 Config*  GetConfig()
 void  SetStatus(const string *msg)
 void  SetStatus(const string *msg)
 void  SetStatus(const char *msg)
 void  SetStatus(const char *msg)
 void  SetViewer(Viewer *v)
 void  SetViewer(Viewer *v)
 void  Save(OutputFile *f)
 void  Save(OutputFile *f)
 bool  Load(InputFile *f, double format)
 bool  Load(InputFile *f, double format)
 bool  Check(InputFile *f, double format)
 bool  Check(InputFile *f, double format)
alphabetic index hierarchy of classes
 
this page has been generated automatically by doc++
(c)opyright by  Malte  Zöckler,  Roland Wunderling 
contact:  doc++@zib.de