NAME
Gnome2::Print::Config::Constants - constants for use with Gnom2::Print::Config
SYNOPSIS
use Gnome2::Print; # gets the actual Gnome2::Print::Config objects and methodsuse Gnome2::Print::Config::Constants; # load extra constants
DESCRIPTION
Similarily to Pango, in order to effectively use Gnome2::Print::Config you need a few constants that are not supplied by the type system or by other means.
This module exports all of those extra constants when you load it. They use the fully-prefixed names from the C documentation.
EXPORT
These are some default keys to be used with Gnome2::Print::Config set/get methods:
GNOME_PRINT_KEY_PAPER_SIZEGNOME_PRINT_KEY_PAPER_WIDTHGNOME_PRINT_KEY_PAPER_HEIGHTGNOME_PRINT_KEY_PAPER_ORIENTATIONGNOME_PRINT_KEY_PAPER_ORIENTATION_MATRIXGNOME_PRINT_KEY_PAGE_ORIENTATIONGNOME_PRINT_KEY_PAGE_ORIENTATION_MATRIXGNOME_PRINT_KEY_ORIENTATIONGNOME_PRINT_KEY_LAYOUTGNOME_PRINT_KEY_LAYOUT_WIDTHGNOME_PRINT_KEY_LAYOUT_HEIGHTGNOME_PRINT_KEY_RESOLUTIONGNOME_PRINT_KEY_RESOLUTION_DPIGNOME_PRINT_KEY_RESOLUTION_DPI_XGNOME_PRINT_KEY_RESOLUTION_DPI_YGNOME_PRINT_KEY_NUM_COPIESGNOME_PRINT_KEY_COLLATEGNOME_PRINT_KEY_PAGE_MARGIN_LEFTGNOME_PRINT_KEY_PAGE_MARGIN_RIGHTGNOME_PRINT_KEY_PAGE_MARGIN_TOPGNOME_PRINT_KEY_PAGE_MARGIN_BOTTOMGNOME_PRINT_KEY_PAPER_MARGIN_LEFTGNOME_PRINT_KEY_PAPER_MARGIN_RIGHTGNOME_PRINT_KEY_PAPER_MARGIN_TOPGNOME_PRINT_KEY_PAPER_MARGIN_BOTTOMGNOME_PRINT_KEY_OUTPUT_FILENAMEGNOME_PRINT_KEY_DOCUMENT_NAMEGNOME_PRINT_KEY_PREFERED_UNIT
These keys are also available without importing this module, using Gnome2::Print::Print->key, e.g.:
Gnome2::Print::Config->key_output_filename;
BUGS
This module shouldn't exist, but some parts of the API just aren't clean.
This stuff is hardcoded directly from the headers of libgnomeprint 2.2.3
SEE ALSO
AUTHOR
Emmanuele Bassi <[email protected]>
COPYRIGHT AND LICENSE
Copyright 2003 by Emmanuele Bassi
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.