This repository was archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathconst.py
More file actions
78 lines (64 loc) · 1.72 KB
/
const.py
File metadata and controls
78 lines (64 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
#-*- coding: utf-8 -*-
"""
xmind.core.const
~~~~~~~~~~~~~~~~
:copyright:
:license:
"""
__author__ = "aiqi@xmind.net <Woody Ai>"
XMIND_EXT = ".xmind"
VERSION = "2.0"
NAMESPACE = "xmlns"
XMAP = "urn:xmind:xmap:xmlns:content:2.0"
ATTACHMENTS_DIR = "attachments/"
MARKERS_DIR = "markers/"
META_INF_DIR = "META-INF/"
REVISIONS_DIR = "Revisions/"
CONTENT_XML = "content.xml"
STYLES_XML = "styles.xml"
META_XML = "meta.xml"
MANIFEST_XML = "META-INF/manifest.xml"
MARKER_SHEET_XML = "markerSheet.xml"
MARKER_SHEET = MARKERS_DIR + MARKER_SHEET_XML
REVISIONS_XML = "revisions.xml"
TAG_WORKBOOK = "xmap-content"
TAG_TOPIC = "topic"
TAG_TOPICS = "topics"
TAG_SHEET = "sheet"
TAG_TITLE = "title"
TAG_POSITION = "position"
TAG_CHILDREN = "children"
TAG_NOTES = "notes"
TAG_RELATIONSHIP = "relationship"
TAG_RELATIONSHIPS = "relationships"
TAG_MARKERREFS = "marker-refs"
TAG_MARKERREF = "marker-ref"
ATTR_VERSION = "version"
ATTR_ID = "id"
ATTR_STYLE_ID = "style-id"
ATTR_TIMESTAMP = "timestamp"
ATTR_THEME = "theme"
ATTR_X = "svg:x"
ATTR_Y = "svg:y"
ATTR_HREF = "xlink:href"
ATTR_BRANCH = "branch"
ATTR_TYPE = "type"
ATTR_END1 = "end1"
ATTR_END2 = "end2"
ATTR_MARKERID = "marker-id"
NS_URI = "http://www.w3.org/1999/xhtml"
NS_XHTML = (NS_URI, "xhtml", "http://www.w3.org/1999/xhtml")
NS_XLINK = (NS_URI, "xlink", "http://www.w3.org/1999/xlink")
NS_SVG = (NS_URI, "svg", "http://www.w3.org/2000/svg")
NS_FO = (NS_URI, "fo", "http://www.w3.org/1999/XSL/Format")
VAL_FOLDED = "folded"
TOPIC_ROOT = "root"
TOPIC_ATTACHED = "attached"
TOPIC_DETACHED = "detached"
FILE_PROTOCOL = "file://"
TOPIC_PROTOCOL = "xmind:#"
HTTP_PROTOCOL = "http://"
HTTPS_PROTOCOL = "https://"
HTML_FORMAT_NOTE = "html"
PLAIN_FORMAT_NOTE = "plain"