ODFPY 1.2.0 |

Loading...
Searching...
No Matches
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 odf.namespaces import NUMBERNS
22 from odf.element import Element
23 from odf.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.element.Element
Creates a arbitrary element and is intended to be subclassed not used on its own.
Definition element.py:361
odf.element
Definition element.py:1
odf.namespaces
Definition namespaces.py:1
odf.number.Boolean
Boolean(**args)
Definition number.py:30
odf.number.PercentageStyle
PercentageStyle(**args)
Definition number.py:75
odf.number.Quarter
Quarter(**args)
Definition number.py:78
odf.number.TimeStyle
TimeStyle(**args)
Definition number.py:96
odf.number.WeekOfYear
WeekOfYear(**args)
Definition number.py:99
odf.number.DateStyle
DateStyle(**args)
Definition number.py:42
odf.number.Day
Day(**args)
Definition number.py:45
odf.number.CurrencySymbol
CurrencySymbol(**args)
Definition number.py:39
odf.number.DayOfWeek
DayOfWeek(**args)
Definition number.py:48
odf.number.NumberStyle
NumberStyle(**args)
Definition number.py:72
odf.number.EmbeddedText
EmbeddedText(**args)
Definition number.py:51
odf.number.TextStyle
TextStyle(**args)
Definition number.py:93
odf.number.Era
Era(**args)
Definition number.py:54
odf.number.CurrencyStyle
CurrencyStyle(**args)
Definition number.py:36
odf.number.TextContent
TextContent(**args)
Definition number.py:90
odf.number.Number
Number(**args)
Definition number.py:69
odf.number.ScientificNumber
ScientificNumber(**args)
Definition number.py:81
odf.number.AmPm
AmPm(**args)
Definition number.py:27
odf.number.Minutes
Minutes(**args)
Definition number.py:63
odf.number.Fraction
Fraction(**args)
Definition number.py:57
odf.number.Hours
Hours(**args)
Definition number.py:60
odf.number.Text
Text(**args)
Definition number.py:87
odf.number.Year
Year(**args)
Definition number.py:102
odf.number.Seconds
Seconds(**args)
Definition number.py:84
odf.number.Month
Month(**args)
Definition number.py:66
odf.number.BooleanStyle
BooleanStyle(**args)
Definition number.py:33
odf.style
Definition style.py:1