summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/DocumentPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'winrt/mupdf_cpp/DocumentPage.h')
-rw-r--r--winrt/mupdf_cpp/DocumentPage.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/winrt/mupdf_cpp/DocumentPage.h b/winrt/mupdf_cpp/DocumentPage.h
index 737a7f73..dc006e65 100644
--- a/winrt/mupdf_cpp/DocumentPage.h
+++ b/winrt/mupdf_cpp/DocumentPage.h
@@ -30,10 +30,30 @@ namespace mupdf_cpp
double zoom;
WriteableBitmap^ image;
Page_Content_t content;
-
+ IVector<RectList^>^ textbox;
+ IVector<RectList^>^ linkbox;
public:
DocumentPage(void);
+ /* Note IVector needed for WinRT interface */
+ property IVector<RectList^>^ TextBox
+ {
+ IVector<RectList^>^ get() { return (textbox); }
+ void set(IVector<RectList^>^ value)
+ {
+ textbox = value;
+ }
+ }
+
+ property IVector<RectList^>^ LinkBox
+ {
+ IVector<RectList^>^ get() { return (linkbox); }
+ void set(IVector<RectList^>^ value)
+ {
+ linkbox = value;
+ }
+ }
+
property int Content
{
int get() { return ((int) content); }