Document viewer

ScreenSpace Specifications

The section (note: Section) of the entity page of a document (note: Document) that is not a note: a slide deck (3 passages, no note), a PDF (56 passages, no note), a transcript (note: Transcript), or a note merged (3 passages, no note) with one of them. It offers the file itself, its text and, on demand, the pages of its PDF, without ever loading (3 passages, no note) the viewer (55 passages, no note) with the page. The document page of an office document opens the same viewer as soon as its script (37 passages, no note) runs.

Today

One section per file of the entity (note: Entity) that is not its note (note: Note), in path order, after the article of the note and before the side panel (note: Side panel), headed "Document" followed by the file name. Its first line links (note: Link) the original file for download (30 passages, no note), at the copy the build (note: Build) placed next to the page, and, when the conversion (note: Conversion) produced a PDF, "Open the PDF", a plain link the browser (31 passages, no note) follows on its own. A rail (8 passages, no note) of positions (23 passages, no note) comes next: one entry per page, slide or cue (4 passages, no note) of the document, named slide 3 or by its timecode (note: Cue), captioned (3 passages, no note) by the first line of its extracted text (note: Extracted text), and leading to that text; once the viewer runs, the entry also shows that page in it and the entry of the page shown is marked. Under the rail, "Extracted text" gives the text of every position in a disclosure (11 passages, no note) block, the first one open, each block anchored the way the mentions panel cites it, so that a mention (note: Mention) read on slide (note: Deck) three lands on slide three. A document without extracted text says so; the download stays.

The viewer itself is an island (note: Island) served inert: a hidden button and an empty container (12 passages, no note). Its script reveals "Open the viewer"; the first click imports (25 passages, no note) the viewer bundle (12 passages, no note), a build of pdf.js the page never references (30 passages, no note) in a script, and opens the PDF in the container: a toolbar with the counter (3 passages, no note), 3 / 12, the zoom (3 passages, no note) between its two signs, "−" and "+", over fixed steps (note: Step), and the field (37 passages, no note) "⌕ in the document" that searches (note: Search) the extracted text of the positions, jumps to the first match (note: Occurrence)ing page and says how many others match; under it, the page drawn (23 passages, no note) on a canvas on its stage. The pages are reached through the rail, which drives the viewer once it is open. The button then closes and reopens the viewer. When the bundle cannot be imported (27 passages, no note), as on a page opened from the disk in a browser that refuses module (27 passages, no note) scripts there, the container shows a sentence (25 passages, no note) saying so with a link to the PDF instead. The viewer and its worker are built only for a site (note: Site) that shows a PDF, are announced in the build summary (3 passages, no note) with their size (12 passages, no note), and change nothing in the scripts a page loads on its own.

The thumbnails (4 passages, no note) of the slides are the captions (4 passages, no note) of the rail for now: an image (18 passages, no note) per slide will replace them when the converter (note: Converter) produces thumbnails. The text shown and searched is the text the build extracted (31 passages, no note) from the PDF, cut at build.extracted_text_max_chars in all; the download gives the rest.

Objects

Actions

  1. Download the file → the copy next to the page
  2. Open the PDF → the PDF as the browser shows it
  3. Open the viewer → the pages of the PDF, page by page, with zoom and find
  4. Open a position of the rail → its extracted text, and its page once the viewer runs

Rules

Properties5

Application
Generated site
Status
valid
Roles
Reader
URL pattern
/{source}/{path}#document-1

5 declared keys. The rest of the file is free text.

On this page4

  1. Today
  2. Objects
  3. Actions
  4. Rules
See the neighbourhood map6 pages6Neighbourhood mapDocument viewer

Neighbourhood map Document viewer

Distance1 hop

Neighbourhood map. The list below carries the same information as the map.existing pageword without a note

63 neighbours in total, more than the map shows.

textual equivalent

Six neighbours at most, always named. Beyond that the map teaches nothing: the list takes over.