403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/calibre/odf/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/calibre/odf/number.py
# 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 .namespaces import NUMBERNS
from .element import Element
from .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)

Youez - 2016 - github.com/yon3zu
LinuXploit