Kitlist  1.1.0
Variables
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. More...
 
const int HEADER_SPACING = 10
 The spacing between the header and the body. More...
 
const int FOOTER_SPACING = 10
 The spacing between the footer and the body. More...
 
const int BORDER_SPACING = 10
 The space above and below the horizontal lines at the top and bottom of each page. More...
 
const Glib::ustring FOOTER_TEXT = _("Page %1 of %2")
 Text used to print page number in footer - Page x of n. More...
 

Variable Documentation

◆ BORDER_SPACING

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().

◆ FOOTER_SPACING

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().

◆ FOOTER_TEXT

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().

◆ HEADER_SPACING

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().

◆ PAGE_TOLERANCE

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-2021 Frank Dean