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 21from odf.namespaces import FORMNS 22from odf.element import Element 23 24 25# Autogenerated 26def Button(**args): 27 return Element(qname = (FORMNS,'button'), **args) 28 29def Checkbox(**args): 30 return Element(qname = (FORMNS,'checkbox'), **args) 31 32def Column(**args): 33 return Element(qname = (FORMNS,'column'), **args) 34 35def Combobox(**args): 36 return Element(qname = (FORMNS,'combobox'), **args) 37 38def ConnectionResource(**args): 39 return Element(qname = (FORMNS,'connection-resource'), **args) 40 41def Date(**args): 42 return Element(qname = (FORMNS,'date'), **args) 43 44def File(**args): 45 return Element(qname = (FORMNS,'file'), **args) 46 47def FixedText(**args): 48 return Element(qname = (FORMNS,'fixed-text'), **args) 49 50def Form(**args): 51 return Element(qname = (FORMNS,'form'), **args) 52 53def FormattedText(**args): 54 return Element(qname = (FORMNS,'formatted-text'), **args) 55 56def Frame(**args): 57 return Element(qname = (FORMNS,'frame'), **args) 58 59def GenericControl(**args): 60 return Element(qname = (FORMNS,'generic-control'), **args) 61 62def Grid(**args): 63 return Element(qname = (FORMNS,'grid'), **args) 64 65def Hidden(**args): 66 return Element(qname = (FORMNS,'hidden'), **args) 67 68def Image(**args): 69 return Element(qname = (FORMNS,'image'), **args) 70 71def ImageFrame(**args): 72 return Element(qname = (FORMNS,'image-frame'), **args) 73 74def Item(**args): 75 return Element(qname = (FORMNS,'item'), **args) 76 77def ListProperty(**args): 78 return Element(qname = (FORMNS,'list-property'), **args) 79 80def ListValue(**args): 81 return Element(qname = (FORMNS,'list-value'), **args) 82 83def Listbox(**args): 84 return Element(qname = (FORMNS,'listbox'), **args) 85 86def Number(**args): 87 return Element(qname = (FORMNS,'number'), **args) 88 89def Option(**args): 90 return Element(qname = (FORMNS,'option'), **args) 91 92def Password(**args): 93 return Element(qname = (FORMNS,'password'), **args) 94 95def Properties(**args): 96 return Element(qname = (FORMNS,'properties'), **args) 97 98def Property(**args): 99 return Element(qname = (FORMNS,'property'), **args) 100 101def Radio(**args): 102 return Element(qname = (FORMNS,'radio'), **args) 103 104def Text(**args): 105 return Element(qname = (FORMNS,'text'), **args) 106 107def Textarea(**args): 108 return Element(qname = (FORMNS,'textarea'), **args) 109 110def Time(**args): 111 return Element(qname = (FORMNS,'time'), **args) 112 113def ValueRange(**args): 114 return Element(qname = (FORMNS,'value-range'), **args) 115 116