Class Postscript.

Inherits Garbage

The Postscript class generates output in postscript form. Plain postscript level 1 is used, and all formatting is done on the printer, even wordwrapping.

At the moment, all output uses the same font. That's a bug. Have to fix that.

Postscript::Postscript( const char * f )

Constructs an Postscript output function, opens f for writing and writes the postscript prologue.

void Postscript::addArgument( const String & s )

Outputs s to the destination file, theorecically in italics. Right now it's exactly as addText().

void Postscript::addClass( const String & text, Class * c )

Adds text to the destination file, if possible with the page number where c is documented.

void Postscript::addFunction( const String & text, Function * f )

Adds text to the destination file, if possible with the page number where f is documented.

void Postscript::addText( const String & s )

Outputs s to the destination file, taking care to escape characters correctly, and to start a new paragraph if necessary.

static Postscript * Postscript::current()

Returns a pointer to the current Postscript singleton.

void Postscript::endParagraph()

Ends a paragraph, if one is being output.

void Postscript::output( const String & s )

Writes s to the destination file as-is.

void Postscript::startHeadline( Class * )

As Output::startHeadline().

void Postscript::startHeadline( Function * )

As Output::startHeadline().

void Postscript::startHeadline( Intro * )

As Output::startHeadline()

Postscript::~Postscript()

Destroys the writer and closes the file.

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.