presentation.py 2.7 KB

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