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
| <View>
| <Header value="Rate this article"/>
| <Rating name="rating" toName="pdf" maxRating="10" icon="star" size="medium" />
|
| <Choices name="choices" choice="single-radio" toName="pdf" showInline="true">
| <Choice value="Important article"/>
| <Choice value="Yellow press"/>
| </Choices>
| <Pdf name="pdf" value="$pdf"/>
| </View>
|
|
| <!-- {
| "data": {"text": "<embed src='static/samples/sample.pdf' width='100%' height='600px'/>"},
| "annotations": [{
| "result": [
| {
| "value": {
| "rating": 6
| },
| "id": "LBtpNELmQx",
| "from_name": "rating",
| "to_name": "pdf",
| "type": "rating"
| },
| {
| "value": {
| "choices": [
| "Important article"
| ]
| },
| "id": "NsP16im1Jg",
| "from_name": "choices",
| "to_name": "pdf",
| "type": "choices"
| }
| ]
| }]
|
| }
| -->
|
|