table.py 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2006-2013 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 TABLENS
  21. from odf.element import Element
  22. # Autogenerated
  23. def Background(**args):
  24. return Element(qname = (TABLENS,'background'), **args)
  25. def Body(**args):
  26. return Element(qname = (TABLENS,'body'), **args)
  27. def CalculationSettings(**args):
  28. return Element(qname = (TABLENS,'calculation-settings'), **args)
  29. def CellAddress(**args):
  30. return Element(qname = (TABLENS,'cell-address'), **args)
  31. def CellContentChange(**args):
  32. return Element(qname = (TABLENS,'cell-content-change'), **args)
  33. def CellContentDeletion(**args):
  34. return Element(qname = (TABLENS,'cell-content-deletion'), **args)
  35. def CellRangeSource(**args):
  36. args.setdefault('type', 'simple')
  37. return Element(qname = (TABLENS,'cell-range-source'), **args)
  38. def ChangeDeletion(**args):
  39. return Element(qname = (TABLENS,'change-deletion'), **args)
  40. def ChangeTrackTableCell(**args):
  41. return Element(qname = (TABLENS,'change-track-table-cell'), **args)
  42. def Consolidation(**args):
  43. return Element(qname = (TABLENS,'consolidation'), **args)
  44. def ContentValidation(**args):
  45. return Element(qname = (TABLENS,'content-validation'), **args)
  46. def ContentValidations(**args):
  47. return Element(qname = (TABLENS,'content-validations'), **args)
  48. def CoveredTableCell(**args):
  49. return Element(qname = (TABLENS,'covered-table-cell'), **args)
  50. def CutOffs(**args):
  51. return Element(qname = (TABLENS,'cut-offs'), **args)
  52. def DataPilotDisplayInfo(**args):
  53. return Element(qname = (TABLENS,'data-pilot-display-info'), **args)
  54. def DataPilotField(**args):
  55. return Element(qname = (TABLENS,'data-pilot-field'), **args)
  56. def DataPilotFieldReference(**args):
  57. return Element(qname = (TABLENS,'data-pilot-field-reference'), **args)
  58. def DataPilotGroup(**args):
  59. return Element(qname = (TABLENS,'data-pilot-group'), **args)
  60. def DataPilotGroupMember(**args):
  61. return Element(qname = (TABLENS,'data-pilot-group-member'), **args)
  62. def DataPilotGroups(**args):
  63. return Element(qname = (TABLENS,'data-pilot-groups'), **args)
  64. def DataPilotLayoutInfo(**args):
  65. return Element(qname = (TABLENS,'data-pilot-layout-info'), **args)
  66. def DataPilotLevel(**args):
  67. return Element(qname = (TABLENS,'data-pilot-level'), **args)
  68. def DataPilotMember(**args):
  69. return Element(qname = (TABLENS,'data-pilot-member'), **args)
  70. def DataPilotMembers(**args):
  71. return Element(qname = (TABLENS,'data-pilot-members'), **args)
  72. def DataPilotSortInfo(**args):
  73. return Element(qname = (TABLENS,'data-pilot-sort-info'), **args)
  74. def DataPilotSubtotal(**args):
  75. return Element(qname = (TABLENS,'data-pilot-subtotal'), **args)
  76. def DataPilotSubtotals(**args):
  77. return Element(qname = (TABLENS,'data-pilot-subtotals'), **args)
  78. def DataPilotTable(**args):
  79. return Element(qname = (TABLENS,'data-pilot-table'), **args)
  80. def DataPilotTables(**args):
  81. return Element(qname = (TABLENS,'data-pilot-tables'), **args)
  82. def DatabaseRange(**args):
  83. return Element(qname = (TABLENS,'database-range'), **args)
  84. def DatabaseRanges(**args):
  85. return Element(qname = (TABLENS,'database-ranges'), **args)
  86. def DatabaseSourceQuery(**args):
  87. return Element(qname = (TABLENS,'database-source-query'), **args)
  88. def DatabaseSourceSql(**args):
  89. return Element(qname = (TABLENS,'database-source-sql'), **args)
  90. def DatabaseSourceTable(**args):
  91. return Element(qname = (TABLENS,'database-source-table'), **args)
  92. def DdeLink(**args):
  93. return Element(qname = (TABLENS,'dde-link'), **args)
  94. def DdeLinks(**args):
  95. return Element(qname = (TABLENS,'dde-links'), **args)
  96. def Deletion(**args):
  97. return Element(qname = (TABLENS,'deletion'), **args)
  98. def Deletions(**args):
  99. return Element(qname = (TABLENS,'deletions'), **args)
  100. def Dependencies(**args):
  101. return Element(qname = (TABLENS,'dependencies'), **args)
  102. def Dependency(**args):
  103. return Element(qname = (TABLENS,'dependency'), **args)
  104. def Desc(**args):
  105. return Element(qname = (TABLENS,'desc'), **args)
  106. def Detective(**args):
  107. return Element(qname = (TABLENS,'detective'), **args)
  108. def ErrorMacro(**args):
  109. return Element(qname = (TABLENS,'error-macro'), **args)
  110. def ErrorMessage(**args):
  111. return Element(qname = (TABLENS,'error-message'), **args)
  112. def EvenColumns(**args):
  113. return Element(qname = (TABLENS,'even-columns'), **args)
  114. def EvenRows(**args):
  115. return Element(qname = (TABLENS,'even-rows'), **args)
  116. def Filter(**args):
  117. return Element(qname = (TABLENS,'filter'), **args)
  118. def FilterAnd(**args):
  119. return Element(qname = (TABLENS,'filter-and'), **args)
  120. def FilterCondition(**args):
  121. return Element(qname = (TABLENS,'filter-condition'), **args)
  122. def FilterOr(**args):
  123. return Element(qname = (TABLENS,'filter-or'), **args)
  124. def FilterSetItem(**args):
  125. return Element(qname = (TABLENS,'filter-set-item'), **args)
  126. def FirstColumn(**args):
  127. return Element(qname = (TABLENS,'first-column'), **args)
  128. def FirstRow(**args):
  129. return Element(qname = (TABLENS,'first-row'), **args)
  130. def HelpMessage(**args):
  131. return Element(qname = (TABLENS,'help-message'), **args)
  132. def HighlightedRange(**args):
  133. return Element(qname = (TABLENS,'highlighted-range'), **args)
  134. def Insertion(**args):
  135. return Element(qname = (TABLENS,'insertion'), **args)
  136. def InsertionCutOff(**args):
  137. return Element(qname = (TABLENS,'insertion-cut-off'), **args)
  138. def Iteration(**args):
  139. return Element(qname = (TABLENS,'iteration'), **args)
  140. def LabelRange(**args):
  141. return Element(qname = (TABLENS,'label-range'), **args)
  142. def LabelRanges(**args):
  143. return Element(qname = (TABLENS,'label-ranges'), **args)
  144. def LastColumn(**args):
  145. return Element(qname = (TABLENS,'last-column'), **args)
  146. def LastRow(**args):
  147. return Element(qname = (TABLENS,'last-row'), **args)
  148. def Movement(**args):
  149. return Element(qname = (TABLENS,'movement'), **args)
  150. def MovementCutOff(**args):
  151. return Element(qname = (TABLENS,'movement-cut-off'), **args)
  152. def NamedExpression(**args):
  153. return Element(qname = (TABLENS,'named-expression'), **args)
  154. def NamedExpressions(**args):
  155. return Element(qname = (TABLENS,'named-expressions'), **args)
  156. def NamedRange(**args):
  157. return Element(qname = (TABLENS,'named-range'), **args)
  158. def NullDate(**args):
  159. return Element(qname = (TABLENS,'null-date'), **args)
  160. def OddColumns(**args):
  161. return Element(qname = (TABLENS,'odd-columns'), **args)
  162. def OddRows(**args):
  163. return Element(qname = (TABLENS,'odd-rows'), **args)
  164. def Operation(**args):
  165. return Element(qname = (TABLENS,'operation'), **args)
  166. def Previous(**args):
  167. return Element(qname = (TABLENS,'previous'), **args)
  168. def Scenario(**args):
  169. return Element(qname = (TABLENS,'scenario'), **args)
  170. def Shapes(**args):
  171. return Element(qname = (TABLENS,'shapes'), **args)
  172. def Sort(**args):
  173. return Element(qname = (TABLENS,'sort'), **args)
  174. def SortBy(**args):
  175. return Element(qname = (TABLENS,'sort-by'), **args)
  176. def SortGroups(**args):
  177. return Element(qname = (TABLENS,'sort-groups'), **args)
  178. def SourceCellRange(**args):
  179. return Element(qname = (TABLENS,'source-cell-range'), **args)
  180. def SourceRangeAddress(**args):
  181. return Element(qname = (TABLENS,'source-range-address'), **args)
  182. def SourceService(**args):
  183. return Element(qname = (TABLENS,'source-service'), **args)
  184. def SubtotalField(**args):
  185. return Element(qname = (TABLENS,'subtotal-field'), **args)
  186. def SubtotalRule(**args):
  187. return Element(qname = (TABLENS,'subtotal-rule'), **args)
  188. def SubtotalRules(**args):
  189. return Element(qname = (TABLENS,'subtotal-rules'), **args)
  190. def Table(**args):
  191. return Element(qname = (TABLENS,'table'), **args)
  192. def TableCell(**args):
  193. return Element(qname = (TABLENS,'table-cell'), **args)
  194. def TableColumn(**args):
  195. return Element(qname = (TABLENS,'table-column'), **args)
  196. def TableColumnGroup(**args):
  197. return Element(qname = (TABLENS,'table-column-group'), **args)
  198. def TableColumns(**args):
  199. return Element(qname = (TABLENS,'table-columns'), **args)
  200. def TableHeaderColumns(**args):
  201. return Element(qname = (TABLENS,'table-header-columns'), **args)
  202. def TableHeaderRows(**args):
  203. return Element(qname = (TABLENS,'table-header-rows'), **args)
  204. def TableRow(**args):
  205. return Element(qname = (TABLENS,'table-row'), **args)
  206. def TableRowGroup(**args):
  207. return Element(qname = (TABLENS,'table-row-group'), **args)
  208. def TableRows(**args):
  209. return Element(qname = (TABLENS,'table-rows'), **args)
  210. def TableSource(**args):
  211. args.setdefault('type', 'simple')
  212. return Element(qname = (TABLENS,'table-source'), **args)
  213. def TableTemplate(**args):
  214. return Element(qname = (TABLENS,'table-template'), **args)
  215. def TargetRangeAddress(**args):
  216. return Element(qname = (TABLENS,'target-range-address'), **args)
  217. def Title(**args):
  218. return Element(qname = (TABLENS,'title'), **args)
  219. def TrackedChanges(**args):
  220. return Element(qname = (TABLENS,'tracked-changes'), **args)