This contains the constants that are used by the
Aikau PDF previewer plugin.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Members
-
DISABLE_NEXT_BUTTON_TOPIC :string
-
Topic used to control whether or not the next page button is enabled or disabled.
Type:
- string
- Default Value:
- "ALF_PDFJS_DISABLE_NEXT"
- Source:
-
DISABLE_PREVIOUS_BUTTON_TOPIC :string
-
Topic used to control whether or not the previous page button is enabled or disabled.
Type:
- string
- Default Value:
- "ALF_PDFJS_DISABLE_PREVIOUS"
- Source:
-
DISABLE_ZOOM_IN_BUTTON_TOPIC :string
-
Topic used to control whether or not the zoom in button is enabled or disabled.
Type:
- string
- Default Value:
- "ALF_PDFJS_DISABLE_ZOOM_IN"
- Source:
-
DISABLE_ZOOM_OUT_BUTTON_TOPIC :string
-
Topic used to control whether or not the zoom out button is enabled or disabled.
Type:
- string
- Default Value:
- "ALF_PDFJS_DISABLE_ZOOM_OUT"
- Source:
-
DOWNLOAD_ORIGINAL_TOPIC :string
-
The topic published to request the original document to be downloaded.
Type:
- string
- Default Value:
- "ALF_PDFJS_DOWNLOAD_ORIGINAL"
- Source:
-
DOWNLOAD_PDF_TOPIC :string
-
The topic published to request a PDF version of the document be downloaded.
Type:
- string
- Default Value:
- "ALF_PDFJS_DOWNLOAD_PDF"
- Source:
-
FIND_NEXT_TOPIC :string
-
The topic to request finding the next search term match in the PDF document.
Type:
- string
- Default Value:
- "ALF_PDFJS_FIND_NEXT"
- Source:
-
FIND_PREVIOUS_TOPIC :string
-
The topic to request finding the previous search term match in the PDF document.
Type:
- string
- Default Value:
- "ALF_PDFJS_FIND_PREVIOUS"
- Source:
-
FIND_TOPIC :string
-
The topic used to request a search term to find in the PDF document.
Type:
- string
- Default Value:
- "ALF_PDFJS_FIND"
- Source:
-
HIGHLIGHT_ALL_TOPIC :string
-
The topic to toggle between highlighting all matches or just the current match of the search term.
Type:
- string
- Default Value:
- "ALF_PDFJS_HIGHLIGHT_ALL"
- Source:
-
K_CSS_UNITS :number
-
Type:
- number
- Default Value:
- 96.0 / 72.0
- Source:
-
K_MAX_SCALE :number
-
Type:
- number
- Default Value:
- 4.0
- Source:
-
K_MIN_SCALE :number
-
Type:
- number
- Default Value:
- 0.25
- Source:
-
K_UNKNOWN_SCALE :number
-
Type:
- number
- Default Value:
- 0
- Source:
-
MATCH_CASE_TOPIC :string
-
The topic to toggle between strict search term case matching and ignoring case.
Type:
- string
- Default Value:
- "ALF_PDFJS_MATCH_CASE"
- Source:
-
NEXT_PAGE_TOPIC :string
-
Topic requesting to skip to the next page.
Type:
- string
- Default Value:
- "ALF_PDFJS_NEXT_PAGE"
- Source:
-
PASSWORD_RELOAD :string
-
The topic published when the password challenge is submitted.
Type:
- string
- Default Value:
- "ALF_PDFJS_PASSWORD_RELOAD"
- Source:
-
PDF_LOADED_TOPIC :string
-
Topic published to indicate that the PDF has finished loading.
Type:
- string
- Default Value:
- "ALF_PDFJS_PDF_LOADED"
- Source:
-
PDF_PAGES_RENDERED :string
-
Topic published to indicate that the PDF page container has been rendered.
Type:
- string
- Since:
- 1.0.64
- Default Value:
- "ALF_PDFJS_PAGES_RENDERED"
- Source:
-
PREVIOUS_PAGE_TOPIC :string
-
Topic requesting to go back to the previous page.
Type:
- string
- Default Value:
- "ALF_PDFJS_PREVIOUS_PAGE"
- Source:
-
SET_LINK_URL_TOPIC :string
-
The topic used to publishes a new URL for the current page in the document.
Type:
- string
- Default Value:
- "ALF_PDFJS_SET_LINK_URL"
- Source:
-
SET_PAGE_CONFIRMATION_TOPIC :string
-
Topic confirming a specific page to jump to.
Type:
- string
- Default Value:
- "ALF_PDFJS_SET_PAGE_CONFIRMATION"
- Source:
-
SET_PAGE_INFO_TOPIC :string
-
Topic used to publish information about the current page being viewed.
Type:
- string
- Default Value:
- "ALF_PDFJS_SET_PAGE_INFO"
- Source:
-
SET_PAGE_REQUEST_TOPIC :string
-
Topic requesting to set a specific page.
Type:
- string
- Default Value:
- "ALF_PDFJS_SET_PAGE_REQUEST"
- Source:
-
SHOW_INTERFACE_TOPIC :string
-
The topic published to hide or show the interface elements.
Type:
- string
- Default Value:
- "ALF_PDFJS_SHOW_INTERFACE"
- Source:
-
SHOW_LINK_INFO_TOPIC :string
-
The topic published to control whether or not the link controls are displayed or not.
Type:
- string
- Default Value:
- "ALF_PDFJS_SHOW_LINK_INFO"
- Source:
-
SHOW_NOTIFICATION_TOPIC :string
-
The topic published to show or hide a notification message.
Type:
- string
- Default Value:
- "ALF_PDFJS_SHOW_NOTIFICATION"
- Source:
-
SHOW_SEARCH_TOOLS_TOPIC :string
-
The topic used to control whether or not the search tools are displayed or not.
Type:
- string
- Default Value:
- "ALF_PDFJS_SHOW_SEARCH_TOOLS"
- Source:
-
SHOW_SIDEBAR_TOPIC :string
-
Topic for controlling whether or not the sidebar is displayed or hidden.
Type:
- string
- Default Value:
- "ALF_PDFJS_SHOW_SIDEBAR"
- Source:
-
UPDATE_LINK_URL_REQUEST_TOPIC :string
-
The topic used request that a page link be updated to reflect the current page being displayed in the PDF.
Type:
- string
- Default Value:
- "ALF_PDFJS_UPDATE_LINK_URL"
- Source:
-
VIEWER_SCROLL_TOPIC :string
-
The topic published when the main PDF viewer is scrolled.
Type:
- string
- Default Value:
- "ALF_PDFJS_VIEWER_SCROLLED"
- Source:
-
ZOOM_IN_TOPIC :string
-
Topic requesting to increase the document view.
Type:
- string
- Default Value:
- "ALF_PDFJS_ZOOM_IN"
- Source:
-
ZOOM_LEVEL_AUTO :string
-
The automatic zoom pre-set.
Type:
- string
- Default Value:
- "auto"
- Source:
-
ZOOM_LEVEL_PAGE_FIT :string
-
The single page zoom pre-set.
Type:
- string
- Default Value:
- "page-fit"
- Source:
-
ZOOM_LEVEL_PAGE_HEIGHT :string
-
The page height zoom pre-set.
Type:
- string
- Default Value:
- "page-height"
- Source:
-
ZOOM_LEVEL_PAGE_WIDTH :string
-
The single page width zoom pre-set.
Type:
- string
- Default Value:
- "page-width"
- Source:
-
ZOOM_LEVEL_TWO_PAGE_FIT :string
-
The two page zoom pre-set.
Type:
- string
- Default Value:
- "two-page-fit"
- Source:
-
ZOOM_LEVEL_TWO_PAGE_WIDTH :string
-
The two page width zoom pre-set.
Type:
- string
- Default Value:
- "two-page-width"
- Source:
-
ZOOM_OUT_TOPIC :string
-
Topic requesting to shrink the document view.
Type:
- string
- Default Value:
- "ALF_PDFJS_ZOOM_OUT"
- Source:
-
ZOOM_SET_TOPIC :string
-
Topic for setting a pre-set zoom level.
Type:
- string
- Default Value:
- "ALF_PDFJS_ZOOM_SELECTION"
- Source: