blob: 64072e359b406d31d3a4fa67f65a35760b4cd58d (
plain)
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
|
#pragma once
#include "utils.h"
using namespace Windows::Foundation;
namespace mupdfwinrt
{
public ref class Links sealed
{
private:
int type;
Point upper_left;
Point lower_right;
Windows::Foundation::Uri ^uri;
int page_num;
public:
Links(void);
property int Type
{
int get() { return (type); }
void set(int value)
{
if (value > NOT_SET)
{
throw ref new Platform::InvalidArgumentException();
}
type = value;
}
}
property Point UpperLeft
{
Point get() { return upper_left; }
void set(Point value)
{
upper_left = value;
}
}
property Point LowerRight
{
Point get() { return lower_right; }
void set(Point value)
{
lower_right = value;
}
}
property int PageNum
{
int get() { return page_num; }
void set(int value)
{
page_num = value;
}
}
property Windows::Foundation::Uri^ Uri
{
Windows::Foundation::Uri^ get() { return uri; }
void set(Windows::Foundation::Uri^ value)
{
uri = value;
}
}
};
}
|