1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Support for named paper sizes
7 <!-- ##### SECTION Long_Description ##### -->
9 GtkPaperSize handles paper sizes. It uses the standard called
10 "PWG 5101.1-2002 PWG: Standard for Media Standardized Names"
11 <!-- FIXME link here -->
12 to name the paper sizes (and to get the data for the page sizes).
13 In addition to standard paper sizes, GtkPaperSize allows to
14 construct custom paper sizes with arbitrary dimensions.
17 The #GtkPaperSize object stores not only the dimensions (width
18 and height) of a paper size and its name, it also provides
19 default <link linkend="print-margins">print margins</link>.
23 Printing support has been added in GTK+ 2.10.
26 <!-- ##### SECTION See_Also ##### -->
31 <!-- ##### SECTION Stability_Level ##### -->
34 <!-- ##### STRUCT GtkPaperSize ##### -->
40 <!-- ##### ENUM GtkUnit ##### -->
50 <!-- ##### MACRO GTK_PAPER_NAME_A3 ##### -->
52 Name for the A4 paper size.
57 <!-- ##### MACRO GTK_PAPER_NAME_A4 ##### -->
59 Name for the A4 paper size.
64 <!-- ##### MACRO GTK_PAPER_NAME_A5 ##### -->
66 Name for the A5 paper size.
71 <!-- ##### MACRO GTK_PAPER_NAME_B5 ##### -->
73 Name for the B5 paper size.
78 <!-- ##### MACRO GTK_PAPER_NAME_LETTER ##### -->
80 Name for the Letter paper size.
85 <!-- ##### MACRO GTK_PAPER_NAME_EXECUTIVE ##### -->
87 Name for the Executive paper size.
92 <!-- ##### MACRO GTK_PAPER_NAME_LEGAL ##### -->
94 Name for the Legal paper size.
99 <!-- ##### FUNCTION gtk_paper_size_new ##### -->
108 <!-- ##### FUNCTION gtk_paper_size_new_from_ppd ##### -->
120 <!-- ##### FUNCTION gtk_paper_size_new_custom ##### -->
133 <!-- ##### FUNCTION gtk_paper_size_copy ##### -->
142 <!-- ##### FUNCTION gtk_paper_size_free ##### -->
150 <!-- ##### FUNCTION gtk_paper_size_is_equal ##### -->
160 <!-- ##### FUNCTION gtk_paper_size_get_paper_sizes ##### -->
169 <!-- ##### FUNCTION gtk_paper_size_get_name ##### -->
178 <!-- ##### FUNCTION gtk_paper_size_get_display_name ##### -->
187 <!-- ##### FUNCTION gtk_paper_size_get_ppd_name ##### -->
196 <!-- ##### FUNCTION gtk_paper_size_get_width ##### -->
206 <!-- ##### FUNCTION gtk_paper_size_get_height ##### -->
216 <!-- ##### FUNCTION gtk_paper_size_is_custom ##### -->
225 <!-- ##### FUNCTION gtk_paper_size_set_size ##### -->
236 <!-- ##### FUNCTION gtk_paper_size_get_default_top_margin ##### -->
246 <!-- ##### FUNCTION gtk_paper_size_get_default_bottom_margin ##### -->
256 <!-- ##### FUNCTION gtk_paper_size_get_default_left_margin ##### -->
266 <!-- ##### FUNCTION gtk_paper_size_get_default_right_margin ##### -->
276 <!-- ##### FUNCTION gtk_paper_size_get_default ##### -->
284 <!-- ##### FUNCTION gtk_paper_size_new_from_key_file ##### -->
295 <!-- ##### FUNCTION gtk_paper_size_to_key_file ##### -->