forked from h5p/h5p-pdf-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
semantics.json
46 lines (46 loc) · 1.23 KB
/
semantics.json
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
[
{
"label": "PDF File",
"importance": "high",
"name": "pdfFile",
"type": "file",
"mimeTypes": [
"application/pdf"
],
"description": "Upload the PDF file to be displayed in the viewer.",
"required": true
},
{
"label": "Starting Page",
"importance": "low",
"name": "startingPage",
"type": "number",
"default": 1,
"min": 1,
"description": "Set the initial page number to display when the PDF is loaded."
},
{
"label": "Show Navigation Controls",
"importance": "medium",
"name": "showNavigation",
"type": "boolean",
"default": true,
"description": "Enable or disable the navigation controls (previous/next buttons) for paging through the PDF."
},
{
"label": "Render Annotation Layer",
"importance": "low",
"name": "renderAnnotationLayer",
"type": "boolean",
"default": false,
"description": "Choose whether to render the annotation layer, such as text highlights, forms, etc."
},
{
"label": "Render Text Layer",
"importance": "low",
"name": "renderTextLayer",
"type": "boolean",
"default": false,
"description": "Choose whether to render the text layer on top of the PDF, useful for text selection."
}
]