Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/odf/table.py: 50%

200 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

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 

21from odf.namespaces import TABLENS 

22from odf.element import Element 

23 

24 

25# Autogenerated 

26def Background(**args): 

27 return Element(qname = (TABLENS,'background'), **args) 

28 

29def Body(**args): 

30 return Element(qname = (TABLENS,'body'), **args) 

31 

32def CalculationSettings(**args): 

33 return Element(qname = (TABLENS,'calculation-settings'), **args) 

34 

35def CellAddress(**args): 

36 return Element(qname = (TABLENS,'cell-address'), **args) 

37 

38def CellContentChange(**args): 

39 return Element(qname = (TABLENS,'cell-content-change'), **args) 

40 

41def CellContentDeletion(**args): 

42 return Element(qname = (TABLENS,'cell-content-deletion'), **args) 

43 

44def CellRangeSource(**args): 

45 args.setdefault('type', 'simple') 

46 return Element(qname = (TABLENS,'cell-range-source'), **args) 

47 

48def ChangeDeletion(**args): 

49 return Element(qname = (TABLENS,'change-deletion'), **args) 

50 

51def ChangeTrackTableCell(**args): 

52 return Element(qname = (TABLENS,'change-track-table-cell'), **args) 

53 

54def Consolidation(**args): 

55 return Element(qname = (TABLENS,'consolidation'), **args) 

56 

57def ContentValidation(**args): 

58 return Element(qname = (TABLENS,'content-validation'), **args) 

59 

60def ContentValidations(**args): 

61 return Element(qname = (TABLENS,'content-validations'), **args) 

62 

63def CoveredTableCell(**args): 

64 return Element(qname = (TABLENS,'covered-table-cell'), **args) 

65 

66def CutOffs(**args): 

67 return Element(qname = (TABLENS,'cut-offs'), **args) 

68 

69def DataPilotDisplayInfo(**args): 

70 return Element(qname = (TABLENS,'data-pilot-display-info'), **args) 

71 

72def DataPilotField(**args): 

73 return Element(qname = (TABLENS,'data-pilot-field'), **args) 

74 

75def DataPilotFieldReference(**args): 

76 return Element(qname = (TABLENS,'data-pilot-field-reference'), **args) 

77 

78def DataPilotGroup(**args): 

79 return Element(qname = (TABLENS,'data-pilot-group'), **args) 

80 

81def DataPilotGroupMember(**args): 

82 return Element(qname = (TABLENS,'data-pilot-group-member'), **args) 

83 

84def DataPilotGroups(**args): 

85 return Element(qname = (TABLENS,'data-pilot-groups'), **args) 

86 

87def DataPilotLayoutInfo(**args): 

88 return Element(qname = (TABLENS,'data-pilot-layout-info'), **args) 

89 

90def DataPilotLevel(**args): 

91 return Element(qname = (TABLENS,'data-pilot-level'), **args) 

92 

93def DataPilotMember(**args): 

94 return Element(qname = (TABLENS,'data-pilot-member'), **args) 

95 

96def DataPilotMembers(**args): 

97 return Element(qname = (TABLENS,'data-pilot-members'), **args) 

98 

99def DataPilotSortInfo(**args): 

100 return Element(qname = (TABLENS,'data-pilot-sort-info'), **args) 

101 

102def DataPilotSubtotal(**args): 

103 return Element(qname = (TABLENS,'data-pilot-subtotal'), **args) 

104 

105def DataPilotSubtotals(**args): 

106 return Element(qname = (TABLENS,'data-pilot-subtotals'), **args) 

107 

108def DataPilotTable(**args): 

109 return Element(qname = (TABLENS,'data-pilot-table'), **args) 

110 

111def DataPilotTables(**args): 

112 return Element(qname = (TABLENS,'data-pilot-tables'), **args) 

113 

114def DatabaseRange(**args): 

115 return Element(qname = (TABLENS,'database-range'), **args) 

116 

117def DatabaseRanges(**args): 

118 return Element(qname = (TABLENS,'database-ranges'), **args) 

119 

120def DatabaseSourceQuery(**args): 

121 return Element(qname = (TABLENS,'database-source-query'), **args) 

122 

123def DatabaseSourceSql(**args): 

124 return Element(qname = (TABLENS,'database-source-sql'), **args) 

125 

126def DatabaseSourceTable(**args): 

127 return Element(qname = (TABLENS,'database-source-table'), **args) 

128 

129def DdeLink(**args): 

130 return Element(qname = (TABLENS,'dde-link'), **args) 

131 

132def DdeLinks(**args): 

133 return Element(qname = (TABLENS,'dde-links'), **args) 

134 

135def Deletion(**args): 

136 return Element(qname = (TABLENS,'deletion'), **args) 

137 

138def Deletions(**args): 

139 return Element(qname = (TABLENS,'deletions'), **args) 

140 

141def Dependencies(**args): 

142 return Element(qname = (TABLENS,'dependencies'), **args) 

143 

144def Dependency(**args): 

145 return Element(qname = (TABLENS,'dependency'), **args) 

146 

147def Desc(**args): 

148 return Element(qname = (TABLENS,'desc'), **args) 

149 

150def Detective(**args): 

151 return Element(qname = (TABLENS,'detective'), **args) 

152 

153def ErrorMacro(**args): 

154 return Element(qname = (TABLENS,'error-macro'), **args) 

155 

156def ErrorMessage(**args): 

157 return Element(qname = (TABLENS,'error-message'), **args) 

158 

159def EvenColumns(**args): 

160 return Element(qname = (TABLENS,'even-columns'), **args) 

161 

162def EvenRows(**args): 

163 return Element(qname = (TABLENS,'even-rows'), **args) 

164 

165def Filter(**args): 

166 return Element(qname = (TABLENS,'filter'), **args) 

167 

168def FilterAnd(**args): 

169 return Element(qname = (TABLENS,'filter-and'), **args) 

170 

171def FilterCondition(**args): 

172 return Element(qname = (TABLENS,'filter-condition'), **args) 

173 

174def FilterOr(**args): 

175 return Element(qname = (TABLENS,'filter-or'), **args) 

176 

177def FilterSetItem(**args): 

178 return Element(qname = (TABLENS,'filter-set-item'), **args) 

179 

180def FirstColumn(**args): 

181 return Element(qname = (TABLENS,'first-column'), **args) 

182 

183def FirstRow(**args): 

184 return Element(qname = (TABLENS,'first-row'), **args) 

185 

186def HelpMessage(**args): 

187 return Element(qname = (TABLENS,'help-message'), **args) 

188 

189def HighlightedRange(**args): 

190 return Element(qname = (TABLENS,'highlighted-range'), **args) 

191 

192def Insertion(**args): 

193 return Element(qname = (TABLENS,'insertion'), **args) 

194 

195def InsertionCutOff(**args): 

196 return Element(qname = (TABLENS,'insertion-cut-off'), **args) 

197 

198def Iteration(**args): 

199 return Element(qname = (TABLENS,'iteration'), **args) 

200 

201def LabelRange(**args): 

202 return Element(qname = (TABLENS,'label-range'), **args) 

203 

204def LabelRanges(**args): 

205 return Element(qname = (TABLENS,'label-ranges'), **args) 

206 

207def LastColumn(**args): 

208 return Element(qname = (TABLENS,'last-column'), **args) 

209 

210def LastRow(**args): 

211 return Element(qname = (TABLENS,'last-row'), **args) 

212 

213def Movement(**args): 

214 return Element(qname = (TABLENS,'movement'), **args) 

215 

216def MovementCutOff(**args): 

217 return Element(qname = (TABLENS,'movement-cut-off'), **args) 

218 

219def NamedExpression(**args): 

220 return Element(qname = (TABLENS,'named-expression'), **args) 

221 

222def NamedExpressions(**args): 

223 return Element(qname = (TABLENS,'named-expressions'), **args) 

224 

225def NamedRange(**args): 

226 return Element(qname = (TABLENS,'named-range'), **args) 

227 

228def NullDate(**args): 

229 return Element(qname = (TABLENS,'null-date'), **args) 

230 

231def OddColumns(**args): 

232 return Element(qname = (TABLENS,'odd-columns'), **args) 

233 

234def OddRows(**args): 

235 return Element(qname = (TABLENS,'odd-rows'), **args) 

236 

237def Operation(**args): 

238 return Element(qname = (TABLENS,'operation'), **args) 

239 

240def Previous(**args): 

241 return Element(qname = (TABLENS,'previous'), **args) 

242 

243def Scenario(**args): 

244 return Element(qname = (TABLENS,'scenario'), **args) 

245 

246def Shapes(**args): 

247 return Element(qname = (TABLENS,'shapes'), **args) 

248 

249def Sort(**args): 

250 return Element(qname = (TABLENS,'sort'), **args) 

251 

252def SortBy(**args): 

253 return Element(qname = (TABLENS,'sort-by'), **args) 

254 

255def SortGroups(**args): 

256 return Element(qname = (TABLENS,'sort-groups'), **args) 

257 

258def SourceCellRange(**args): 

259 return Element(qname = (TABLENS,'source-cell-range'), **args) 

260 

261def SourceRangeAddress(**args): 

262 return Element(qname = (TABLENS,'source-range-address'), **args) 

263 

264def SourceService(**args): 

265 return Element(qname = (TABLENS,'source-service'), **args) 

266 

267def SubtotalField(**args): 

268 return Element(qname = (TABLENS,'subtotal-field'), **args) 

269 

270def SubtotalRule(**args): 

271 return Element(qname = (TABLENS,'subtotal-rule'), **args) 

272 

273def SubtotalRules(**args): 

274 return Element(qname = (TABLENS,'subtotal-rules'), **args) 

275 

276def Table(**args): 

277 return Element(qname = (TABLENS,'table'), **args) 

278 

279def TableCell(**args): 

280 return Element(qname = (TABLENS,'table-cell'), **args) 

281 

282def TableColumn(**args): 

283 return Element(qname = (TABLENS,'table-column'), **args) 

284 

285def TableColumnGroup(**args): 

286 return Element(qname = (TABLENS,'table-column-group'), **args) 

287 

288def TableColumns(**args): 

289 return Element(qname = (TABLENS,'table-columns'), **args) 

290 

291def TableHeaderColumns(**args): 

292 return Element(qname = (TABLENS,'table-header-columns'), **args) 

293 

294def TableHeaderRows(**args): 

295 return Element(qname = (TABLENS,'table-header-rows'), **args) 

296 

297def TableRow(**args): 

298 return Element(qname = (TABLENS,'table-row'), **args) 

299 

300def TableRowGroup(**args): 

301 return Element(qname = (TABLENS,'table-row-group'), **args) 

302 

303def TableRows(**args): 

304 return Element(qname = (TABLENS,'table-rows'), **args) 

305 

306def TableSource(**args): 

307 args.setdefault('type', 'simple') 

308 return Element(qname = (TABLENS,'table-source'), **args) 

309 

310def TableTemplate(**args): 

311 return Element(qname = (TABLENS,'table-template'), **args) 

312 

313def TargetRangeAddress(**args): 

314 return Element(qname = (TABLENS,'target-range-address'), **args) 

315 

316def Title(**args): 

317 return Element(qname = (TABLENS,'title'), **args) 

318 

319def TrackedChanges(**args): 

320 return Element(qname = (TABLENS,'tracked-changes'), **args) 

321