PrintBase CATPrintFileGenerator

Usage: you can derive this class.


public class CATPrintFileGenerator

Class to create generators with driver dynamic-loading.


Constructor and Destructor Index


o CATPrintFileGenerator(CATString&)
Constructs a CATPrintFileGenerator of a given language.
o ~CATPrintFileGenerator()

Method Index


o Attach(CATPrintStream&)
Attaches the generator to the specified stream.
o Begin(CATPrintParameters&)
o Begin(CATPrintParameters&,CATUnicodeString&)
o End()
o IsMultipageSupported()
return true if the Generator support multipage generation

Data Member Index


o _out
Stream attachs to the generator.

Constructor and Destructor


o CATPrintFileGenerator
public CATPrintFileGenerator( const iLanguage)
Constructs a CATPrintFileGenerator of a given language.
Parameters:
iLanguage
The language of the file.
The available languages used in CATIA are:
  • For Windows:
    • "CGM",
    • "RASTER",
    • "EMF" (Windows Metafile),
    • "EPS" (Generic PostScript).
  • For UNIX:
    • "CGM",
    • "RASTER",
    • "EPS" (Generic PostScript),
    • "HPGL2" (Generic HP-GL/2 RTL),
    • "HP1000GL2" (HP DesignJet 1000 Series),
    • "OCE",
    • "GBR" (Gerber).
o ~CATPrintFileGenerator
public virtual ~CATPrintFileGenerator()

Methods


o Attach
public virtual Attach( iStream)
Attaches the generator to the specified stream.
Parameters:
iStream
The stream attached to the generator.
= iStream
o Begin
public Begin( const iParameters)
o Begin
public Begin( const iParameters,
const iPageTitle)
o End
public End()
o IsMultipageSupported
public virtual IsMultipageSupported()
return true if the Generator support multipage generation

Data Members


o _out
  protected ostream_withassign& _out
Stream attachs to the generator. This variable is set in the method

This object is included in the file: CATPrintFileGenerator.h
If needed, your Imakefile.mk should include the module: CATPrintBase

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.