Package sabx10 :: Package pdf_gen :: Module consts
[hide private]
[frames] | no frames]

Source Code for Module sabx10.pdf_gen.consts

 1  ############################################################################### 
 2  # 
 3  # sabx10 - an SABX file manipulation library 
 4  # Copyright (C) 2009, 2010 Jay Farrimond (jay@sabikerides.com) 
 5  # 
 6  # This file is part of sabx10. 
 7  # 
 8  # sabx10 is free software: you can redistribute it and/or modify it under the 
 9  # terms of the GNU General Public License as published by the Free Software 
10  # Foundation, either version 3 of the License, or (at your option) any later 
11  # version. 
12  # 
13  # sabx10 is distributed in the hope that it will be useful, but WITHOUT ANY 
14  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 
15  # A PARTICULAR PURPOSE.  See the GNU General Public License for more details. 
16  # 
17  # You should have received a copy of the GNU General Public License along with 
18  # sabx10.  If not, see <http://www.gnu.org/licenses/>. 
19  # 
20  ############################################################################### 
21  """ 
22  Constant values used by the PDF generator package. 
23   
24  @var COL_WIDTH_1: width of first column in PDF table 
25  @type COL_WIDTH_1: C{float} 
26  @var COL_WIDTH_2: width of second column in PDF table 
27  @type COL_WIDTH_2: C{float} 
28  @var COL_WIDTH_4: width of fourth column in PDF table 
29  @type COL_WIDTH_4: C{float} 
30  @var COL_WIDTH_ALL: width of first, second, and fourth columns combined  
31  in PDF table 
32  @type COL_WIDTH_ALL: C{float} 
33  """ 
34  COL_WIDTH_1 = 0.9 
35  COL_WIDTH_2 = 0.8 
36  COL_WIDTH_4 = 0.8 
37  COL_WIDTH_ALL = COL_WIDTH_1 + COL_WIDTH_2 + COL_WIDTH_4 
38