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
21 from odf.namespaces import OFFICENS
22 from odf.element import Element
23 from odf.draw import StyleRefElement
24
25# Autogenerated
26 def Annotation(**args):
27 return StyleRefElement(qname = (OFFICENS,'annotation'), **args)
28
29 def AnnotationEnd(**args):
30 return StyleRefElement(qname = (OFFICENS,'annotation-end'), **args)
31
32 def AutomaticStyles(**args):
33 return Element(qname = (OFFICENS, 'automatic-styles'), **args)
34
35 def BinaryData(**args):
36 return Element(qname = (OFFICENS,'binary-data'), **args)
37
38 def Body(**args):
39 return Element(qname = (OFFICENS, 'body'), **args)
40
41 def ChangeInfo(**args):
42 return Element(qname = (OFFICENS,'change-info'), **args)
43
44 def Chart(**args):
45 return Element(qname = (OFFICENS,'chart'), **args)
46
47 def DdeSource(**args):
48 return Element(qname = (OFFICENS,'dde-source'), **args)
49
50 def Document(version="1.2", **args):
51 return Element(qname = (OFFICENS,'document'), version=version, **args)
52
53 def DocumentContent(version="1.2", **args):
54 return Element(qname = (OFFICENS, 'document-content'), version=version, **args)
55
56 def DocumentMeta(version="1.2", **args):
57 return Element(qname = (OFFICENS, 'document-meta'), version=version, **args)
58
59 def DocumentSettings(version="1.2", **args):
60 return Element(qname = (OFFICENS, 'document-settings'), version=version, **args)
61
62 def DocumentStyles(version="1.2", **args):
63 return Element(qname = (OFFICENS, 'document-styles'), version=version, **args)
64
65 def Drawing(**args):
66 return Element(qname = (OFFICENS,'drawing'), **args)
67
68 def EventListeners(**args):
69 return Element(qname = (OFFICENS,'event-listeners'), **args)
70
71 def FontFaceDecls(**args):
72 return Element(qname = (OFFICENS, 'font-face-decls'), **args)
73
74 def Forms(**args):
75 return Element(qname = (OFFICENS,'forms'), **args)
76
77 def Image(**args):
78 return Element(qname = (OFFICENS,'image'), **args)
79
80 def MasterStyles(**args):
81 return Element(qname = (OFFICENS, 'master-styles'), **args)
82
83 def Meta(**args):
84 return Element(qname = (OFFICENS, 'meta'), **args)
85
86 def Presentation(**args):
87 return Element(qname = (OFFICENS,'presentation'), **args)
88
89 def Script(**args):
90 return Element(qname = (OFFICENS, 'script'), **args)
91
92 def Scripts(**args):
93 return Element(qname = (OFFICENS, 'scripts'), **args)
94
95 def Settings(**args):
96 return Element(qname = (OFFICENS, 'settings'), **args)
97
98 def Spreadsheet(**args):
99 return Element(qname = (OFFICENS, 'spreadsheet'), **args)
100
101 def Styles(**args):
102 return Element(qname = (OFFICENS, 'styles'), **args)
103
104 def Text(**args):
105 return Element(qname = (OFFICENS, 'text'), **args)
106
107# Autogenerated end
odf.element.Element
Creates a arbitrary element and is intended to be subclassed not used on its own.
Definition element.py:361
odf.draw
Definition draw.py:1
odf.element
Definition element.py:1
odf.namespaces
Definition namespaces.py:1
odf.office.ChangeInfo
ChangeInfo(**args)
Definition office.py:41
odf.office.EventListeners
EventListeners(**args)
Definition office.py:68
odf.office.Annotation
Annotation(**args)
Definition office.py:26
odf.office.AutomaticStyles
AutomaticStyles(**args)
Definition office.py:32
odf.office.Document
Document(version="1.2", **args)
Definition office.py:50
odf.office.DdeSource
DdeSource(**args)
Definition office.py:47
odf.office.BinaryData
BinaryData(**args)
Definition office.py:35
odf.office.Meta
Meta(**args)
Definition office.py:83
odf.office.Scripts
Scripts(**args)
Definition office.py:92
odf.office.Forms
Forms(**args)
Definition office.py:74
odf.office.Body
Body(**args)
Definition office.py:38
odf.office.FontFaceDecls
FontFaceDecls(**args)
Definition office.py:71
odf.office.Styles
Styles(**args)
Definition office.py:101
odf.office.Script
Script(**args)
Definition office.py:89
odf.office.Spreadsheet
Spreadsheet(**args)
Definition office.py:98
odf.office.DocumentContent
DocumentContent(version="1.2", **args)
Definition office.py:53
odf.office.Image
Image(**args)
Definition office.py:77
odf.office.Drawing
Drawing(**args)
Definition office.py:65
odf.office.DocumentStyles
DocumentStyles(version="1.2", **args)
Definition office.py:62
odf.office.Text
Text(**args)
Definition office.py:104
odf.office.AnnotationEnd
AnnotationEnd(**args)
Definition office.py:29
odf.office.DocumentMeta
DocumentMeta(version="1.2", **args)
Definition office.py:56
odf.office.MasterStyles
MasterStyles(**args)
Definition office.py:80
odf.office.Settings
Settings(**args)
Definition office.py:95
odf.office.DocumentSettings
DocumentSettings(version="1.2", **args)
Definition office.py:59
odf.office.Presentation
Presentation(**args)
Definition office.py:86
odf.office.Chart
Chart(**args)
Definition office.py:44