aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/relationships_xml.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-01 21:21:14 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-01 21:21:14 +0000
commit9b479955a7c5b0547db8b274d2dfd6d0d6152194 (patch)
tree9e625825b2749853d9db63c42fbaa45772331eb4 /mammoth/docx/relationships_xml.py
parent4d26fc0b174beccd0129220de74fe0b44c6c7edf (diff)
Read inline images
Diffstat (limited to 'mammoth/docx/relationships_xml.py')
-rw-r--r--mammoth/docx/relationships_xml.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/mammoth/docx/relationships_xml.py b/mammoth/docx/relationships_xml.py
new file mode 100644
index 0000000..75069fc
--- /dev/null
+++ b/mammoth/docx/relationships_xml.py
@@ -0,0 +1,10 @@
+class Relationships(object):
+ def __init__(self, relationships):
+ self._relationships = relationships
+
+ def __getitem__(self, key):
+ return self._relationships[key]
+
+class Relationship(object):
+ def __init__(self, target):
+ self.target = target