File: cal_regular_style.xy

package info (click to toggle)
bitpim 0.9.08.dfsg.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,228 kB
  • ctags: 45,773
  • sloc: python: 191,894; cpp: 2,074; perl: 600; ansic: 343; sh: 185; makefile: 76; sed: 1
file content (22 lines) | stat: -rw-r--r-- 979 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This is pure Python code which sets up the styles and provides
# some helper functions

styles={}

styles['table']={ '': ('width', "100%", 'cellpadding', "5", 'cellspacing', "0",
                       'border', "1"),
                  'td': ('valign', 'top')
                  }
styles['header_center_bold']={ 'th': ('align', "center"),
                              '+b': () }
styles['header_left_bold']={ 'th': ('align', "left"),
                              '+b': () }
styles['month_header']={ 'td': ('align', "left", 'colspan', "5"),
                         '+b': () }
styles['date_day']={ '': ('align', "center", 'width', "15%") }
styles['start_end']={ '': ('align', "center", 'width', "20%") }
styles['description']={ '': ('align', "left", 'width', "45%") }
styles['repeat']={ '': ('align', "center", 'width', "10%") }
styles['alarm']={ '': ('align', "center", 'width', "10%") }
styles['footnote']={ '': ('colspan', "5"),
                     '+font': ('size', "2") }