ODFPY 1.2.0
 
Loading...
Searching...
No Matches
office.py
Go to the documentation of this file.
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
Creates a arbitrary element and is intended to be subclassed not used on its own.
Definition element.py:361
ChangeInfo(**args)
Definition office.py:41
EventListeners(**args)
Definition office.py:68
Annotation(**args)
Definition office.py:26
AutomaticStyles(**args)
Definition office.py:32
Document(version="1.2", **args)
Definition office.py:50
DdeSource(**args)
Definition office.py:47
BinaryData(**args)
Definition office.py:35
Meta(**args)
Definition office.py:83
Scripts(**args)
Definition office.py:92
Forms(**args)
Definition office.py:74
Body(**args)
Definition office.py:38
FontFaceDecls(**args)
Definition office.py:71
Styles(**args)
Definition office.py:101
Script(**args)
Definition office.py:89
Spreadsheet(**args)
Definition office.py:98
DocumentContent(version="1.2", **args)
Definition office.py:53
Image(**args)
Definition office.py:77
Drawing(**args)
Definition office.py:65
DocumentStyles(version="1.2", **args)
Definition office.py:62
Text(**args)
Definition office.py:104
AnnotationEnd(**args)
Definition office.py:29
DocumentMeta(version="1.2", **args)
Definition office.py:56
MasterStyles(**args)
Definition office.py:80
Settings(**args)
Definition office.py:95
DocumentSettings(version="1.2", **args)
Definition office.py:59
Presentation(**args)
Definition office.py:86
Chart(**args)
Definition office.py:44