ODFPY  1.2.0
 All Classes Namespaces Files Functions Variables
number.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2006-2007 Søren Roug, European Environment Agency
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 #
18 # Contributor(s):
19 #
20 
21 from namespaces import NUMBERNS
22 from element import Element
23 from style import StyleElement
24 
25 
26 # Autogenerated
27 def AmPm(**args):
28  return Element(qname = (NUMBERNS,'am-pm'), **args)
29 
30 def Boolean(**args):
31  return Element(qname = (NUMBERNS,'boolean'), **args)
32 
33 def BooleanStyle(**args):
34  return StyleElement(qname = (NUMBERNS,'boolean-style'), **args)
35 
36 def CurrencyStyle(**args):
37  return StyleElement(qname = (NUMBERNS,'currency-style'), **args)
38 
39 def CurrencySymbol(**args):
40  return Element(qname = (NUMBERNS,'currency-symbol'), **args)
41 
42 def DateStyle(**args):
43  return StyleElement(qname = (NUMBERNS,'date-style'), **args)
44 
45 def Day(**args):
46  return Element(qname = (NUMBERNS,'day'), **args)
47 
48 def DayOfWeek(**args):
49  return Element(qname = (NUMBERNS,'day-of-week'), **args)
50 
51 def EmbeddedText(**args):
52  return Element(qname = (NUMBERNS,'embedded-text'), **args)
53 
54 def Era(**args):
55  return Element(qname = (NUMBERNS,'era'), **args)
56 
57 def Fraction(**args):
58  return Element(qname = (NUMBERNS,'fraction'), **args)
59 
60 def Hours(**args):
61  return Element(qname = (NUMBERNS,'hours'), **args)
62 
63 def Minutes(**args):
64  return Element(qname = (NUMBERNS,'minutes'), **args)
65 
66 def Month(**args):
67  return Element(qname = (NUMBERNS,'month'), **args)
68 
69 def Number(**args):
70  return Element(qname = (NUMBERNS,'number'), **args)
71 
72 def NumberStyle(**args):
73  return StyleElement(qname = (NUMBERNS,'number-style'), **args)
74 
75 def PercentageStyle(**args):
76  return StyleElement(qname = (NUMBERNS,'percentage-style'), **args)
77 
78 def Quarter(**args):
79  return Element(qname = (NUMBERNS,'quarter'), **args)
80 
81 def ScientificNumber(**args):
82  return Element(qname = (NUMBERNS,'scientific-number'), **args)
83 
84 def Seconds(**args):
85  return Element(qname = (NUMBERNS,'seconds'), **args)
86 
87 def Text(**args):
88  return Element(qname = (NUMBERNS,'text'), **args)
89 
90 def TextContent(**args):
91  return Element(qname = (NUMBERNS,'text-content'), **args)
92 
93 def TextStyle(**args):
94  return StyleElement(qname = (NUMBERNS,'text-style'), **args)
95 
96 def TimeStyle(**args):
97  return StyleElement(qname = (NUMBERNS,'time-style'), **args)
98 
99 def WeekOfYear(**args):
100  return Element(qname = (NUMBERNS,'week-of-year'), **args)
101 
102 def Year(**args):
103  return Element(qname = (NUMBERNS,'year'), **args)
104 
def TextContent
Definition: number.py:90
def Month
Definition: number.py:66
def NumberStyle
Definition: number.py:72
def Hours
Definition: number.py:60
def Seconds
Definition: number.py:84
def TimeStyle
Definition: number.py:96
def EmbeddedText
Definition: number.py:51
def Era
Definition: number.py:54
def AmPm
Definition: number.py:27
def Day
Definition: number.py:45
def PercentageStyle
Definition: number.py:75
def DayOfWeek
Definition: number.py:48
def Text
Definition: number.py:87
def DateStyle
Definition: number.py:42
def ScientificNumber
Definition: number.py:81
def BooleanStyle
Definition: number.py:33
def WeekOfYear
Definition: number.py:99
def TextStyle
Definition: number.py:93
def CurrencySymbol
Definition: number.py:39
def Year
Definition: number.py:102
def CurrencyStyle
Definition: number.py:36
def Minutes
Definition: number.py:63
def Boolean
Definition: number.py:30
def Fraction
Definition: number.py:57
def Number
Definition: number.py:69
def StyleElement
Definition: style.py:24
def Quarter
Definition: number.py:78