aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/complex_fields.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx/complex_fields.py')
-rw-r--r--mammoth/docx/complex_fields.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/mammoth/docx/complex_fields.py b/mammoth/docx/complex_fields.py
new file mode 100644
index 0000000..d1d95af
--- /dev/null
+++ b/mammoth/docx/complex_fields.py
@@ -0,0 +1,11 @@
+class unknown(object):
+ pass
+
+
+class Hyperlink(object):
+ def __init__(self, href):
+ self.href = href
+
+
+def hyperlink(href):
+ return Hyperlink(href)