summaryrefslogtreecommitdiff
path: root/platform/winrt/gsview/Links.cs
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2014-02-10 09:51:04 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2014-09-09 16:39:29 -0700
commite16c621b9a49cc386b3b65e7fde1f25eb780e85b (patch)
tree7b5e09f9a11e69f7c1e2591af49b1e16f93ec36c /platform/winrt/gsview/Links.cs
parent6caf1b523606ce3b282d0dfa45da455867d84429 (diff)
downloadmupdf-e16c621b9a49cc386b3b65e7fde1f25eb780e85b.tar.xz
Significant amount of content needed for gsview
This includes the interface to ghostscript for creating pdf files from ps for mupdf to then render in the viewer as well as the capability to print the output of xpswrite through the windows print queue. Added thumb viewing and navigation as well as navigation through the table of contents. To do. Add in password handling, Text Search, Hyperlinks, GS conversion to other file formats, MuPDF save as other file formats, Page extractions, proper page selection for printing, Zooming (rescale), Fix the page ranges that are displayed at full resolution during navigation.
Diffstat (limited to 'platform/winrt/gsview/Links.cs')
-rw-r--r--platform/winrt/gsview/Links.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/platform/winrt/gsview/Links.cs b/platform/winrt/gsview/Links.cs
new file mode 100644
index 00000000..822176d8
--- /dev/null
+++ b/platform/winrt/gsview/Links.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Drawing;
+
+namespace gsview
+{
+ public enum link_t
+ {
+ LINK_GOTO = 0,
+ LINK_URI,
+ TEXTBOX, /* Do double duty with this class */
+ NOT_SET,
+ };
+
+ class Links
+ {
+ link_t type;
+ //PointF upper_left;
+ //PointF lower_right;
+ Uri uri;
+ int page_num;
+
+ public Links()
+ {
+ uri = new Uri("");
+ page_num = -1;
+ type = link_t.NOT_SET;
+ }
+ }
+}