ODFPY: odf/number.py Source File

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
odf.number.TextContent
def TextContent
Definition: number.py:90
odf.number.Month
def Month
Definition: number.py:66
odf.number.NumberStyle
def NumberStyle
Definition: number.py:72
odf.number.Hours
def Hours
Definition: number.py:60
odf.number.Seconds
def Seconds
Definition: number.py:84
odf.number.TimeStyle
def TimeStyle
Definition: number.py:96
odf.number.EmbeddedText
def EmbeddedText
Definition: number.py:51
odf.number.Era
def Era
Definition: number.py:54
odf.number.AmPm
def AmPm
Definition: number.py:27
odf.number.Day
def Day
Definition: number.py:45
odf.number.PercentageStyle
def PercentageStyle
Definition: number.py:75
odf.number.DayOfWeek
def DayOfWeek
Definition: number.py:48
odf.number.Text
def Text
Definition: number.py:87
odf.number.DateStyle
def DateStyle
Definition: number.py:42
odf.number.ScientificNumber
def ScientificNumber
Definition: number.py:81
odf.number.BooleanStyle
def BooleanStyle
Definition: number.py:33
odf.number.WeekOfYear
def WeekOfYear
Definition: number.py:99
odf.number.TextStyle
def TextStyle
Definition: number.py:93
odf.number.CurrencySymbol
def CurrencySymbol
Definition: number.py:39
odf.number.Year
def Year
Definition: number.py:102
odf.number.CurrencyStyle
def CurrencyStyle
Definition: number.py:36
odf.number.Minutes
def Minutes
Definition: number.py:63
odf.number.Boolean
def Boolean
Definition: number.py:30
odf.number.Fraction
def Fraction
Definition: number.py:57
odf.number.Number
def Number
Definition: number.py:69
odf.style.StyleElement
def StyleElement
Definition: style.py:24
odf.number.Quarter
def Quarter
Definition: number.py:78