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

57 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 OFFICENS 

22from odf.element import Element 

23from odf.draw import StyleRefElement 

24 

25# Autogenerated 

26def Annotation(**args): 

27 return StyleRefElement(qname = (OFFICENS,'annotation'), **args) 

28 

29def AnnotationEnd(**args): 

30 return StyleRefElement(qname = (OFFICENS,'annotation-end'), **args) 

31 

32def AutomaticStyles(**args): 

33 return Element(qname = (OFFICENS, 'automatic-styles'), **args) 

34 

35def BinaryData(**args): 

36 return Element(qname = (OFFICENS,'binary-data'), **args) 

37 

38def Body(**args): 

39 return Element(qname = (OFFICENS, 'body'), **args) 

40 

41def ChangeInfo(**args): 

42 return Element(qname = (OFFICENS,'change-info'), **args) 

43 

44def Chart(**args): 

45 return Element(qname = (OFFICENS,'chart'), **args) 

46 

47def DdeSource(**args): 

48 return Element(qname = (OFFICENS,'dde-source'), **args) 

49 

50def Document(version="1.2", **args): 

51 return Element(qname = (OFFICENS,'document'), version=version, **args) 

52 

53def DocumentContent(version="1.2", **args): 

54 return Element(qname = (OFFICENS, 'document-content'), version=version, **args) 

55 

56def DocumentMeta(version="1.2", **args): 

57 return Element(qname = (OFFICENS, 'document-meta'), version=version, **args) 

58 

59def DocumentSettings(version="1.2", **args): 

60 return Element(qname = (OFFICENS, 'document-settings'), version=version, **args) 

61 

62def DocumentStyles(version="1.2", **args): 

63 return Element(qname = (OFFICENS, 'document-styles'), version=version, **args) 

64 

65def Drawing(**args): 

66 return Element(qname = (OFFICENS,'drawing'), **args) 

67 

68def EventListeners(**args): 

69 return Element(qname = (OFFICENS,'event-listeners'), **args) 

70 

71def FontFaceDecls(**args): 

72 return Element(qname = (OFFICENS, 'font-face-decls'), **args) 

73 

74def Forms(**args): 

75 return Element(qname = (OFFICENS,'forms'), **args) 

76 

77def Image(**args): 

78 return Element(qname = (OFFICENS,'image'), **args) 

79 

80def MasterStyles(**args): 

81 return Element(qname = (OFFICENS, 'master-styles'), **args) 

82 

83def Meta(**args): 

84 return Element(qname = (OFFICENS, 'meta'), **args) 

85 

86def Presentation(**args): 

87 return Element(qname = (OFFICENS,'presentation'), **args) 

88 

89def Script(**args): 

90 return Element(qname = (OFFICENS, 'script'), **args) 

91 

92def Scripts(**args): 

93 return Element(qname = (OFFICENS, 'scripts'), **args) 

94 

95def Settings(**args): 

96 return Element(qname = (OFFICENS, 'settings'), **args) 

97 

98def Spreadsheet(**args): 

99 return Element(qname = (OFFICENS, 'spreadsheet'), **args) 

100 

101def Styles(**args): 

102 return Element(qname = (OFFICENS, 'styles'), **args) 

103 

104def Text(**args): 

105 return Element(qname = (OFFICENS, 'text'), **args) 

106 

107# Autogenerated end