Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Namespaces | Classes | Functions | Variables
docutils.writers.odf_odt Namespace Reference

Namespaces

namespace  prepstyles
 
namespace  pygmentsformatter
 

Classes

class  _ElementInterfaceWrapper
 
class  ListLevel
 
class  ODFTranslator
 
class  Reader
 
class  TableStyle
 
class  Writer
 

Functions

 Element (tag, attrib=None, nsmap=None, nsdict=CNSD)
 
 SubElement (parent, tag, attrib=None, nsmap=None, nsdict=CNSD)
 
 fix_ns (tag, attrib, nsdict)
 
 add_ns (tag, nsdict=CNSD)
 
 ToString (et)
 
 escape_cdata (text)
 

Variables

 pygments = None
 
str VERSION = '1.0a'
 
 IMAGE_NAME_COUNTER = itertools.count()
 
 _parents = weakref.WeakKeyDictionary()
 
 _ElementInterface = etree.Element
 
 SPACES_PATTERN = re.compile(r'( +)')
 
 TABS_PATTERN = re.compile(r'(\t+)')
 
 FILL_PAT1 = re.compile(r'^ +')
 
 FILL_PAT2 = re.compile(r' {2,}')
 
str TABLESTYLEPREFIX = 'rststyle-table-'
 
str TABLENAMEDEFAULT = '%s0' % TABLESTYLEPREFIX
 
tuple TABLEPROPERTYNAMES
 
str GENERATOR_DESC = 'Docutils.org/odf_odt'
 
str NAME_SPACE_1 = 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'
 
dict CONTENT_NAMESPACE_DICT
 
dict STYLES_NAMESPACE_DICT
 
dict MANIFEST_NAMESPACE_DICT
 
dict META_NAMESPACE_DICT
 
dict CONTENT_NAMESPACE_ATTRIB
 
dict STYLES_NAMESPACE_ATTRIB
 
dict MANIFEST_NAMESPACE_ATTRIB
 
dict META_NAMESPACE_ATTRIB
 
 BUILTIN_DEFAULT_TABLE_STYLE
 

Detailed Description

Open Document Format (ODF) Writer.

This module is provisional:
the API is not settled and may change with any minor Docutils version.

Variable Documentation

◆ BUILTIN_DEFAULT_TABLE_STYLE

docutils.writers.odf_odt.BUILTIN_DEFAULT_TABLE_STYLE
Initial value:
1= TableStyle(
2 border='0.0007in solid #000000')

◆ CONTENT_NAMESPACE_ATTRIB

dict docutils.writers.odf_odt.CONTENT_NAMESPACE_ATTRIB
Initial value:
1= {
2 # 'office:version': '1.0',
3 'xmlns:chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0',
4 'xmlns:dc': 'http://purl.org/dc/elements/1.1/',
5 'xmlns:dom': 'http://www.w3.org/2001/xml-events',
6 'xmlns:dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0',
7 'xmlns:draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0',
8 'xmlns:fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0',
9 'xmlns:form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0',
10 'xmlns:math': 'http://www.w3.org/1998/Math/MathML',
11 'xmlns:meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0',
12 'xmlns:number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0',
13 'xmlns:office': NAME_SPACE_1,
14 'xmlns:presentation':
15 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0',
16 'xmlns:ooo': 'http://openoffice.org/2004/office',
17 'xmlns:oooc': 'http://openoffice.org/2004/calc',
18 'xmlns:ooow': 'http://openoffice.org/2004/writer',
19 'xmlns:script': 'urn:oasis:names:tc:opendocument:xmlns:script:1.0',
20 'xmlns:style': 'urn:oasis:names:tc:opendocument:xmlns:style:1.0',
21 'xmlns:svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0',
22 'xmlns:table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0',
23 'xmlns:text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0',
24 'xmlns:xforms': 'http://www.w3.org/2002/xforms',
25 'xmlns:xlink': 'http://www.w3.org/1999/xlink',
26 'xmlns:xsd': 'http://www.w3.org/2001/XMLSchema',
27 'xmlns:xsi': 'http://www.w3.org/2001/XMLSchema-instance',
28}

◆ CONTENT_NAMESPACE_DICT

dict docutils.writers.odf_odt.CONTENT_NAMESPACE_DICT
Initial value:
1= {
2 # 'office:version': '1.0',
3 'chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0',
4 'dc': 'http://purl.org/dc/elements/1.1/',
5 'dom': 'http://www.w3.org/2001/xml-events',
6 'dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0',
7 'draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0',
8 'fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0',
9 'form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0',
10 'math': 'http://www.w3.org/1998/Math/MathML',
11 'meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0',
12 'number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0',
13 'office': NAME_SPACE_1,
14 'ooo': 'http://openoffice.org/2004/office',
15 'oooc': 'http://openoffice.org/2004/calc',
16 'ooow': 'http://openoffice.org/2004/writer',
17 'presentation': 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0',
18
19 'script': 'urn:oasis:names:tc:opendocument:xmlns:script:1.0',
20 'style': 'urn:oasis:names:tc:opendocument:xmlns:style:1.0',
21 'svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0',
22 'table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0',
23 'text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0',
24 'xforms': 'http://www.w3.org/2002/xforms',
25 'xlink': 'http://www.w3.org/1999/xlink',
26 'xsd': 'http://www.w3.org/2001/XMLSchema',
27 'xsi': 'http://www.w3.org/2001/XMLSchema-instance',
28}

◆ MANIFEST_NAMESPACE_ATTRIB

dict docutils.writers.odf_odt.MANIFEST_NAMESPACE_ATTRIB
Initial value:
1= {
2 'xmlns:manifest': 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0',
3}

◆ MANIFEST_NAMESPACE_DICT

dict docutils.writers.odf_odt.MANIFEST_NAMESPACE_DICT
Initial value:
1= {
2 'manifest': 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0',
3}

◆ META_NAMESPACE_ATTRIB

dict docutils.writers.odf_odt.META_NAMESPACE_ATTRIB
Initial value:
1= {
2 # 'office:version': '1.0',
3 'xmlns:dc': 'http://purl.org/dc/elements/1.1/',
4 'xmlns:meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0',
5 'xmlns:office': NAME_SPACE_1,
6 'xmlns:ooo': 'http://openoffice.org/2004/office',
7 'xmlns:xlink': 'http://www.w3.org/1999/xlink',
8}

◆ META_NAMESPACE_DICT

dict docutils.writers.odf_odt.META_NAMESPACE_DICT
Initial value:
1= {
2 # 'office:version': '1.0',
3 'dc': 'http://purl.org/dc/elements/1.1/',
4 'meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0',
5 'office': NAME_SPACE_1,
6 'ooo': 'http://openoffice.org/2004/office',
7 'xlink': 'http://www.w3.org/1999/xlink',
8}

◆ STYLES_NAMESPACE_ATTRIB

dict docutils.writers.odf_odt.STYLES_NAMESPACE_ATTRIB
Initial value:
1= {
2 # 'office:version': '1.0',
3 'xmlns:chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0',
4 'xmlns:dc': 'http://purl.org/dc/elements/1.1/',
5 'xmlns:dom': 'http://www.w3.org/2001/xml-events',
6 'xmlns:dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0',
7 'xmlns:draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0',
8 'xmlns:fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0',
9 'xmlns:form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0',
10 'xmlns:math': 'http://www.w3.org/1998/Math/MathML',
11 'xmlns:meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0',
12 'xmlns:number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0',
13 'xmlns:office': NAME_SPACE_1,
14 'xmlns:presentation':
15 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0',
16 'xmlns:ooo': 'http://openoffice.org/2004/office',
17 'xmlns:oooc': 'http://openoffice.org/2004/calc',
18 'xmlns:ooow': 'http://openoffice.org/2004/writer',
19 'xmlns:script': 'urn:oasis:names:tc:opendocument:xmlns:script:1.0',
20 'xmlns:style': 'urn:oasis:names:tc:opendocument:xmlns:style:1.0',
21 'xmlns:svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0',
22 'xmlns:table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0',
23 'xmlns:text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0',
24 'xmlns:xlink': 'http://www.w3.org/1999/xlink',
25}

◆ STYLES_NAMESPACE_DICT

dict docutils.writers.odf_odt.STYLES_NAMESPACE_DICT
Initial value:
1= {
2 # 'office:version': '1.0',
3 'chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0',
4 'dc': 'http://purl.org/dc/elements/1.1/',
5 'dom': 'http://www.w3.org/2001/xml-events',
6 'dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0',
7 'draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0',
8 'fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0',
9 'form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0',
10 'math': 'http://www.w3.org/1998/Math/MathML',
11 'meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0',
12 'number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0',
13 'office': NAME_SPACE_1,
14 'presentation': 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0',
15 'ooo': 'http://openoffice.org/2004/office',
16 'oooc': 'http://openoffice.org/2004/calc',
17 'ooow': 'http://openoffice.org/2004/writer',
18 'script': 'urn:oasis:names:tc:opendocument:xmlns:script:1.0',
19 'style': 'urn:oasis:names:tc:opendocument:xmlns:style:1.0',
20 'svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0',
21 'table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0',
22 'text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0',
23 'xlink': 'http://www.w3.org/1999/xlink',
24}

◆ TABLEPROPERTYNAMES

tuple docutils.writers.odf_odt.TABLEPROPERTYNAMES
Initial value:
1= (
2 'border', 'border-top', 'border-left',
3 'border-right', 'border-bottom', )