/home/frank/projects/kitlist/src/printing.cpp File Reference

#include "printing.hpp"
#include <sstream>
#include <glibmm/i18n.h>
#include <config.h>

Go to the source code of this file.

Variables

const int PAGE_TOLERANCE = 40
 Seems calculating page body height is inaccurate.
const int HEADER_SPACING = 10
 The spacing between the header and the body.
const int FOOTER_SPACING = 10
 The spacing between the footer and the body.
const int BORDER_SPACING = 10
 The space above and below the horizontal lines at the top and bottom of each page.
const Glib::ustring FOOTER_TEXT = _("Page %1 of %2")
 Text used to print page number in footer - Page x of n.


Variable Documentation

const int BORDER_SPACING = 10

The space above and below the horizontal lines at the top and bottom of each page.

Definition at line 38 of file printing.cpp.

Referenced by KitPrintOperation::on_begin_print(), and KitPrintOperation::on_draw_page().

const int FOOTER_SPACING = 10

The spacing between the footer and the body.

Definition at line 35 of file printing.cpp.

Referenced by KitPrintOperation::on_begin_print().

const Glib::ustring FOOTER_TEXT = _("Page %1 of %2")

Text used to print page number in footer - Page x of n.

Definition at line 41 of file printing.cpp.

Referenced by KitPrintOperation::new_footer(), and KitPrintOperation::on_begin_print().

const int HEADER_SPACING = 10

The spacing between the header and the body.

Definition at line 32 of file printing.cpp.

Referenced by KitPrintOperation::on_begin_print(), and KitPrintOperation::on_draw_page().

const int PAGE_TOLERANCE = 40

Seems calculating page body height is inaccurate.

Definition at line 29 of file printing.cpp.

Referenced by KitPrintOperation::on_begin_print().


Copyright 2008-2010 Frank Dean