number.py
Go to the documentation of this file.
# -*- coding: utf-8 -*-
# Copyright (C) 2006-2007 Søren Roug, European Environment Agency
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# Contributor(s):
#
from odf.namespaces import NUMBERNS
from odf.element import Element
from odf.style import StyleElement
# Autogenerated
def AmPm(**args):
return Element(qname = (NUMBERNS,'am-pm'), **args)
def Boolean(**args):
return Element(qname = (NUMBERNS,'boolean'), **args)
def BooleanStyle(**args):
return StyleElement(qname = (NUMBERNS,'boolean-style'), **args)
def CurrencyStyle(**args):
return StyleElement(qname = (NUMBERNS,'currency-style'), **args)
def CurrencySymbol(**args):
return Element(qname = (NUMBERNS,'currency-symbol'), **args)
def DateStyle(**args):
return StyleElement(qname = (NUMBERNS,'date-style'), **args)
def Day(**args):
return Element(qname = (NUMBERNS,'day'), **args)
def DayOfWeek(**args):
return Element(qname = (NUMBERNS,'day-of-week'), **args)
def EmbeddedText(**args):
return Element(qname = (NUMBERNS,'embedded-text'), **args)
def Era(**args):
return Element(qname = (NUMBERNS,'era'), **args)
def Fraction(**args):
return Element(qname = (NUMBERNS,'fraction'), **args)
def Hours(**args):
return Element(qname = (NUMBERNS,'hours'), **args)
def Minutes(**args):
return Element(qname = (NUMBERNS,'minutes'), **args)
def Month(**args):
return Element(qname = (NUMBERNS,'month'), **args)
def Number(**args):
return Element(qname = (NUMBERNS,'number'), **args)
def NumberStyle(**args):
return StyleElement(qname = (NUMBERNS,'number-style'), **args)
def PercentageStyle(**args):
return StyleElement(qname = (NUMBERNS,'percentage-style'), **args)
def Quarter(**args):
return Element(qname = (NUMBERNS,'quarter'), **args)
def ScientificNumber(**args):
return Element(qname = (NUMBERNS,'scientific-number'), **args)
def Seconds(**args):
return Element(qname = (NUMBERNS,'seconds'), **args)
def Text(**args):
return Element(qname = (NUMBERNS,'text'), **args)
def TextContent(**args):
return Element(qname = (NUMBERNS,'text-content'), **args)
def TextStyle(**args):
return StyleElement(qname = (NUMBERNS,'text-style'), **args)
def TimeStyle(**args):
return StyleElement(qname = (NUMBERNS,'time-style'), **args)
def WeekOfYear(**args):
return Element(qname = (NUMBERNS,'week-of-year'), **args)
def Year(**args):
return Element(qname = (NUMBERNS,'year'), **args)
odf.element
Definition: element.py:1
odf.number.Era
def Era(args)
Definition: number.py:54
odf.number.WeekOfYear
def WeekOfYear(args)
Definition: number.py:99
odf.number.DayOfWeek
def DayOfWeek(args)
Definition: number.py:48
odf.number.Minutes
def Minutes(args)
Definition: number.py:63
odf.number.Boolean
def Boolean(args)
Definition: number.py:30
odf.number.Quarter
def Quarter(args)
Definition: number.py:78
odf.number.TextStyle
def TextStyle(args)
Definition: number.py:93
odf.number.DateStyle
def DateStyle(args)
Definition: number.py:42
odf.number.Seconds
def Seconds(args)
Definition: number.py:84
odf.number.Hours
def Hours(args)
Definition: number.py:60
odf.number.Month
def Month(args)
Definition: number.py:66
odf.number.CurrencyStyle
def CurrencyStyle(args)
Definition: number.py:36
odf.number.BooleanStyle
def BooleanStyle(args)
Definition: number.py:33
odf.number.NumberStyle
def NumberStyle(args)
Definition: number.py:72
odf.number.TimeStyle
def TimeStyle(args)
Definition: number.py:96
odf.number.Fraction
def Fraction(args)
Definition: number.py:57
odf.number.Year
def Year(args)
Definition: number.py:102
odf.number.AmPm
def AmPm(args)
Definition: number.py:27
odf.number.TextContent
def TextContent(args)
Definition: number.py:90
odf.number.ScientificNumber
def ScientificNumber(args)
Definition: number.py:81
odf.style
Definition: style.py:1
odf.number.Text
def Text(args)
Definition: number.py:87
odf.number.Day
def Day(args)
Definition: number.py:45
odf.number.Number
def Number(args)
Definition: number.py:69
odf.style.StyleElement
def StyleElement(args)
Definition: style.py:24
odf.element.Element
Creates a arbitrary element and is intended to be subclassed not used on its own. ...
Definition: element.py:357
odf.number.CurrencySymbol
def CurrencySymbol(args)
Definition: number.py:39
odf.number.PercentageStyle
def PercentageStyle(args)
Definition: number.py:75
odf.namespaces
Definition: namespaces.py:1
odf.number.EmbeddedText
def EmbeddedText(args)
Definition: number.py:51