ARB
Functions
AWT_asciiprint.cxx File Reference
#include "awt_asciiprint.hxx"
#include "awt.hxx"
#include <aw_window.hxx>
#include <aw_root.hxx>
#include <aw_question.hxx>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <arbdbt.h>
Include dependency graph for AWT_asciiprint.cxx:

Go to the source code of this file.

Functions

static double awt_aps_get_xy_ratio (AW_root *awr)
 
static int awt_aps_get_default_lines_per_page (AW_root *awr)
 
static void awt_aps_calc_pages_needed (AW_root *awr)
 
static void awt_aps_set_magnification_to_fit_xpage (AW_root *awr)
 
static void awt_aps_set_magnification_to_fit_ypage (AW_root *awr)
 
static void awt_aps_set_magnification_to_fit_xpage (AW_window *aww)
 
static void awt_aps_set_magnification_to_fit_ypage (AW_window *aww)
 
static void awt_aps_text_changed (AW_root *awr)
 
static void write_file (const char *filename, const char *file)
 
static charprintFile (AW_root *awr)
 
static void awt_aps_go (AW_window *aww)
 
static void cutExt (char *name, const char *removeExt)
 
static charcorrect_extension (const char *name, const char *newExt)
 
static void aps_correct_filename (AW_root *aw_root)
 
void AWT_create_ascii_print_window (AW_root *awr, const char *text_to_print, const char *title)
 
void AWT_show_file (AW_root *awr, const char *filename)
 

Function Documentation

static double awt_aps_get_xy_ratio ( AW_root awr)
static
static int awt_aps_get_default_lines_per_page ( AW_root awr)
static
static void awt_aps_calc_pages_needed ( AW_root awr)
static
static void awt_aps_set_magnification_to_fit_xpage ( AW_root awr)
static
static void awt_aps_set_magnification_to_fit_ypage ( AW_root awr)
static
static void awt_aps_set_magnification_to_fit_xpage ( AW_window aww)
static
static void awt_aps_set_magnification_to_fit_ypage ( AW_window aww)
static
static void awt_aps_text_changed ( AW_root awr)
static
static void write_file ( const char filename,
const char file 
)
static

Definition at line 145 of file AWT_asciiprint.cxx.

References aw_message(), aw_question(), and GBS_global_string().

Referenced by awt_aps_go().

static char* printFile ( AW_root awr)
static
static void awt_aps_go ( AW_window aww)
static
static void cutExt ( char name,
const char removeExt 
)
static

Definition at line 321 of file AWT_asciiprint.cxx.

Referenced by correct_extension().

static char* correct_extension ( const char name,
const char newExt 
)
static

Definition at line 327 of file AWT_asciiprint.cxx.

References ARB_strdup(), cutExt(), and result.

Referenced by aps_correct_filename().

static void aps_correct_filename ( AW_root aw_root)
static
void AWT_create_ascii_print_window ( AW_root awr,
const char text_to_print,
const char title 
)
void AWT_show_file ( AW_root awr,
const char filename 
)

Definition at line 484 of file AWT_asciiprint.cxx.

References aw_message(), AWT_create_ascii_print_window(), GB_await_error(), and GB_read_file().

Referenced by ARB_main().