ODFPY: odf/office.py Source File

ODFPY 1.2.0 |

All Classes Namespaces Files Functions Variables
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 namespaces import OFFICENS
22 from element import Element
23 from 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.office.Scripts
def Scripts
Definition: office.py:92
odf.office.DocumentStyles
def DocumentStyles
Definition: office.py:62
odf.office.Script
def Script
Definition: office.py:89
odf.office.Settings
def Settings
Definition: office.py:95
odf.office.FontFaceDecls
def FontFaceDecls
Definition: office.py:71
odf.office.Presentation
def Presentation
Definition: office.py:86
odf.office.DocumentMeta
def DocumentMeta
Definition: office.py:56
odf.office.DdeSource
def DdeSource
Definition: office.py:47
odf.draw.StyleRefElement
def StyleRefElement
Definition: draw.py:26
odf.office.Text
def Text
Definition: office.py:104
odf.office.Annotation
def Annotation
Definition: office.py:26
odf.office.Drawing
def Drawing
Definition: office.py:65
odf.office.Spreadsheet
def Spreadsheet
Definition: office.py:98
odf.office.Forms
def Forms
Definition: office.py:74
odf.office.Image
def Image
Definition: office.py:77
odf.office.DocumentSettings
def DocumentSettings
Definition: office.py:59
odf.office.EventListeners
def EventListeners
Definition: office.py:68
odf.office.Body
def Body
Definition: office.py:38
odf.office.AnnotationEnd
def AnnotationEnd
Definition: office.py:29
odf.office.ChangeInfo
def ChangeInfo
Definition: office.py:41
odf.office.Styles
def Styles
Definition: office.py:101
odf.office.AutomaticStyles
def AutomaticStyles
Definition: office.py:32
odf.office.DocumentContent
def DocumentContent
Definition: office.py:53
odf.office.BinaryData
def BinaryData
Definition: office.py:35
odf.office.Chart
def Chart
Definition: office.py:44
odf.office.Meta
def Meta
Definition: office.py:83
odf.office.MasterStyles
def MasterStyles
Definition: office.py:80
odf.office.Document
def Document
Definition: office.py:50