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 PRESENTATIONNS 22from odf.element import Element 23 24# ODF 1.0 section 9.6 and 9.7 25# Autogenerated 26def AnimationGroup(**args): 27 return Element(qname = (PRESENTATIONNS,'animation-group'), **args) 28 29def Animations(**args): 30 return Element(qname = (PRESENTATIONNS,'animations'), **args) 31 32def DateTime(**args): 33 return Element(qname = (PRESENTATIONNS,'date-time'), **args) 34 35def DateTimeDecl(**args): 36 return Element(qname = (PRESENTATIONNS,'date-time-decl'), **args) 37 38def Dim(**args): 39 return Element(qname = (PRESENTATIONNS,'dim'), **args) 40 41def EventListener(**args): 42 return Element(qname = (PRESENTATIONNS,'event-listener'), **args) 43 44def Footer(**args): 45 return Element(qname = (PRESENTATIONNS,'footer'), **args) 46 47def FooterDecl(**args): 48 return Element(qname = (PRESENTATIONNS,'footer-decl'), **args) 49 50def Header(**args): 51 return Element(qname = (PRESENTATIONNS,'header'), **args) 52 53def HeaderDecl(**args): 54 return Element(qname = (PRESENTATIONNS,'header-decl'), **args) 55 56def HideShape(**args): 57 return Element(qname = (PRESENTATIONNS,'hide-shape'), **args) 58 59def HideText(**args): 60 return Element(qname = (PRESENTATIONNS,'hide-text'), **args) 61 62def Notes(**args): 63 return Element(qname = (PRESENTATIONNS,'notes'), **args) 64 65def Placeholder(**args): 66 return Element(qname = (PRESENTATIONNS,'placeholder'), **args) 67 68def Play(**args): 69 return Element(qname = (PRESENTATIONNS,'play'), **args) 70 71def Settings(**args): 72 return Element(qname = (PRESENTATIONNS,'settings'), **args) 73 74def Show(**args): 75 return Element(qname = (PRESENTATIONNS,'show'), **args) 76 77def ShowShape(**args): 78 return Element(qname = (PRESENTATIONNS,'show-shape'), **args) 79 80def ShowText(**args): 81 return Element(qname = (PRESENTATIONNS,'show-text'), **args) 82 83def Sound(**args): 84 args.setdefault('type', 'simple') 85 return Element(qname = (PRESENTATIONNS,'sound'), **args) 86 87