SYMBOL INDEX (701 symbols across 82 files) FILE: extension/background.js function isManifestV3 (line 7) | function isManifestV3() { function updateContextMenu (line 15) | function updateContextMenu() { function promisify (line 40) | function promisify(func) { function listenForMessages (line 74) | function listenForMessages() { function openViewerTab (line 94) | function openViewerTab(djvuUrl = null) { function enableFileOpeningInterception (line 98) | function enableFileOpeningInterception() { function applySavedOptions (line 279) | function applySavedOptions() { function listenForOptionChanges (line 283) | function listenForOptionChanges() { function main (line 293) | function main() { FILE: extension/content.js function includeScripts (line 5) | function includeScripts() { function processTag (line 11) | function processTag(tag, src) { function processEmbeds (line 57) | function processEmbeds() { // should be processed after objects, since e... FILE: library/app/app.js function initDjVuApplication (line 5) | function initDjVuApplication() { function reset (line 19) | function reset(event) { function metaDataFuncPrepare (line 33) | function metaDataFuncPrepare() { function metaDataFunc (line 42) | function metaDataFunc() { function pictureFuncPrepare (line 75) | function pictureFuncPrepare() { function readImagesAndCreateDocument (line 87) | function readImagesAndCreateDocument() { function createPicDocument (line 131) | function createPicDocument(imageArray) { function sliceFuncPrepare (line 150) | function sliceFuncPrepare() { function sliceFunc (line 187) | function sliceFunc() { FILE: library/debug/js/DjVuGlobals.js function writeln (line 7) | function writeln(str) { function write (line 12) | function write(str) { function clear (line 15) | function clear() { method init (line 25) | init() { method clearCanvas (line 37) | clearCanvas() { method loadFile (line 45) | loadFile(url) { method drawImage (line 58) | drawImage(image, dpi) { method drawImageNS (line 98) | drawImageNS(image, dpi) { method drawImageSmooth (line 118) | drawImageSmooth(image, dpi) { method drawBitmapOnImageCanvas (line 136) | drawBitmapOnImageCanvas(bm, x, y, jb2Image) { function downScaleCanvas (line 164) | function downScaleCanvas(cv, scale) { FILE: library/debug/js/DjVuViewer.js class DjVuViewer (line 8) | class DjVuViewer { method constructor (line 9) | constructor(selector, worker) { method reset (line 44) | reset() { method changeScale (line 57) | changeScale() { method renderEnteredPageByEnter (line 62) | renderEnteredPageByEnter(e) { method renderEnteredPage (line 68) | renderEnteredPage(e) { method curPage (line 73) | get curPage() { method curPage (line 77) | set curPage(value) { method showNextPage (line 81) | showNextPage() { method showPrevPage (line 85) | showPrevPage() { method lockNavButtons (line 89) | lockNavButtons() { method unlockNavButtons (line 94) | unlockNavButtons() { method getScaledImageWidth (line 99) | getScaledImageWidth() { method renderCurPage (line 103) | renderCurPage() { method loadFile (line 120) | loadFile(url) { method loadDjVu (line 133) | loadDjVu(url) { // debug functions method loadDjVuFromBuffer (line 143) | loadDjVuFromBuffer(buffer) { method relockNavButtons (line 152) | relockNavButtons() { method setPage (line 162) | setPage(page) { method _switchToImageMode (line 178) | _switchToImageMode() { method _switchToCanvasMode (line 184) | _switchToCanvasMode() { method getImageDataURL (line 190) | getImageDataURL() { method getImageDataURLAsync (line 197) | getImageDataURLAsync() { method drawImageViaImg (line 211) | drawImageViaImg() { method rescaleImageOnImg (line 217) | rescaleImageOnImg() { method drawImageOnCanvas (line 221) | drawImageOnCanvas() { FILE: library/debug/js/async.js function initViewer (line 48) | function initViewer() { function renderDjVu (line 54) | async function renderDjVu() { function redrawPage (line 67) | async function redrawPage() { function loadPicture (line 81) | function loadPicture() { function readPicture (line 93) | function readPicture(buffer) { function showMetaData (line 120) | function showMetaData(buffer) { function readDjvu (line 127) | function readDjvu(buf) { function main (line 159) | function main(files) { function testFunc (line 181) | function testFunc(doc1, doc2) { FILE: library/debug/js/debug.js class DebugTimer (line 9) | class DebugTimer { method constructor (line 10) | constructor() { method start (line 13) | start(id) { method end (line 27) | end(id, print) { method toString (line 39) | toString() { class PseudoZP (line 51) | class PseudoZP { method constructor (line 52) | constructor() { method encode (line 56) | encode(bit, ctx, n) { method decode (line 75) | decode(ctx, n) { method eflush (line 91) | eflush() { function tmpFunc (line 95) | function tmpFunc(doc) { function ZPtest (line 117) | function ZPtest() { function BZZtest (line 150) | function BZZtest() { FILE: library/debug/js/examples.js function syncInterfaceExamples (line 10) | async function syncInterfaceExamples(djvuDocument) { function asyncInterfaceExamples (line 67) | async function asyncInterfaceExamples(djvuWorker) { function main (line 145) | async function main() { FILE: library/debug/js/handler.js function write (line 5) | function write(str) { FILE: library/debug/js/initScript.js function saveStringAsFile (line 34) | function saveStringAsFile(string) { function saveImage (line 42) | function saveImage(imageData) { function saveStringAsBinFile (line 54) | function saveStringAsBinFile(string) { function rerun (line 66) | function rerun() { function loadDjVu (line 86) | function loadDjVu() { function loadPicture (line 100) | function loadPicture() { function readPicture (line 106) | function readPicture(buffer) { function readDjvu (line 139) | async function readDjvu(buf) { function redrawPage (line 172) | async function redrawPage() { function prepareIframe (line 205) | function prepareIframe() { function splitDjvu (line 254) | function splitDjvu(buf) { function main (line 265) | function main(files) { function testFunc (line 287) | function testFunc(doc1, doc2) { FILE: library/debug/js/reloader.js function setConnection (line 6) | function setConnection() { FILE: library/src/ByteStream.js class ByteStream (line 10) | class ByteStream { method constructor (line 11) | constructor(buffer, offsetx, length) { method length (line 24) | get length() { return this._length; } method buffer (line 27) | get buffer() { return this._buffer; } method getUint8Array (line 30) | getUint8Array(length = this.remainingLength()) { method toUint8Array (line 37) | toUint8Array() { method remainingLength (line 41) | remainingLength() { method reset (line 45) | reset() { method byte (line 49) | byte() { // the function is used inside other codecs (look at ZPCodec) method getInt8 (line 57) | getInt8() { method getInt16 (line 60) | getInt16() { method getUint16 (line 65) | getUint16() { method getInt32 (line 70) | getInt32() { method getUint8 (line 75) | getUint8() { method getInt24 (line 79) | getInt24() { method getUint24 (line 84) | getUint24() { method jump (line 88) | jump(length) { method setOffset (line 93) | setOffset(offset) { method readStr4 (line 97) | readStr4() { // used to read chunk names, just ASCII characters method readStrNT (line 101) | readStrNT() { method readStrUTF (line 111) | readStrUTF(byteLength) { method fork (line 115) | fork(length = this.remainingLength()) { method clone (line 119) | clone() { method isEmpty (line 123) | isEmpty() { FILE: library/src/ByteStreamWriter.js class ByteStreamWriter (line 6) | class ByteStreamWriter { method constructor (line 7) | constructor(length = 0) { method assignBufferFromMemory (line 22) | assignBufferFromMemory() { method reset (line 30) | reset() { method saveOffsetMark (line 35) | saveOffsetMark(mark) { method writeByte (line 40) | writeByte(byte) { method writeStr (line 46) | writeStr(str) { method writeInt32 (line 51) | writeInt32(val) { method rewriteInt32 (line 61) | rewriteInt32(off, val) { method rewriteSize (line 74) | rewriteSize(offmark) { method getBuffer (line 80) | getBuffer() { method checkOffset (line 87) | checkOffset(requiredBytesNumber = 0) { method _expand (line 95) | _expand(requiredBytesNumber) { method jump (line 104) | jump(length) { method writeByteStream (line 113) | writeByteStream(bs) { method writeArray (line 117) | writeArray(arr) { method writeBuffer (line 123) | writeBuffer(buffer) { method writeStrNT (line 127) | writeStrNT(str) { method writeInt16 (line 132) | writeInt16(val) { method writeUint16 (line 139) | writeUint16(val) { method writeInt24 (line 146) | writeInt24(val) { FILE: library/src/DjVu.js function pLimit (line 7) | function pLimit(limit = 4) { function loadFileViaXHR (line 33) | function loadFileViaXHR(url, responseType = 'arraybuffer') { method decode (line 45) | decode(utf8array) { function createStringFromUtf8Array (line 51) | function createStringFromUtf8Array(utf8array) { function utf8ToCodePoints (line 64) | function utf8ToCodePoints(utf8array) { function codePointsToUtf8 (line 104) | function codePointsToUtf8(codePoints) { function stringToCodePoints (line 127) | function stringToCodePoints(str) { FILE: library/src/DjVuDocument.js constant MEMORY_LIMIT (line 19) | const MEMORY_LIMIT = 50 * 1024 * 1024; class DjVuDocument (line 21) | class DjVuDocument { method constructor (line 22) | constructor(arraybuffer, { baseUrl = null, memoryLimit = MEMORY_LIMIT ... method _initMultiPageDocument (line 60) | _initMultiPageDocument() { // for FORMDJVM method _readMetaDataChunk (line 79) | _readMetaDataChunk() { // DIRM chunk method _readContentsChunkIfExists (line 90) | _readContentsChunkIfExists() { // NAVM chunk method _parseComponents (line 102) | _parseComponents() { method getPagesSizes (line 135) | getPagesSizes() { method isBundled (line 147) | isBundled() { method getPagesQuantity (line 151) | getPagesQuantity() { method getContents (line 156) | getContents() { method getMemoryUsage (line 160) | getMemoryUsage() { method getMemoryLimit (line 164) | getMemoryLimit() { method setMemoryLimit (line 168) | setMemoryLimit(limit = MEMORY_LIMIT) { method getPageNumberByUrl (line 172) | getPageNumberByUrl(url) { method releaseMemoryIfRequired (line 189) | releaseMemoryIfRequired(preservedDependencies = null) { method _getUrlByPageNumber (line 220) | _getUrlByPageNumber(number) { method getPage (line 224) | async getPage(number) { method _loadDependencies (line 263) | async _loadDependencies(dependencies, pageNumber = null) { method getPageUnsafe (line 281) | getPageUnsafe(number) { method resetLastRequestedPage (line 285) | resetLastRequestedPage() { method countFiles (line 291) | countFiles() { method toString (line 312) | toString(html) { method createObjectURL (line 337) | createObjectURL() { method slice (line 346) | slice(from = 1, to = this.pages.length) { method concat (line 429) | static concat(doc1, doc2) { FILE: library/src/DjVuErrors.js class DjVuError (line 5) | class DjVuError { method constructor (line 6) | constructor(code, message, additionalData = null) { class IncorrectFileFormatDjVuError (line 13) | class IncorrectFileFormatDjVuError extends DjVuError { method constructor (line 14) | constructor() { class NoSuchPageDjVuError (line 19) | class NoSuchPageDjVuError extends DjVuError { method constructor (line 20) | constructor(pageNumber) { class CorruptedFileDjVuError (line 26) | class CorruptedFileDjVuError extends DjVuError { method constructor (line 27) | constructor(message = "", data = null) { class UnableToTransferDataDjVuError (line 32) | class UnableToTransferDataDjVuError extends DjVuError { method constructor (line 33) | constructor(tasks) { class IncorrectTaskDjVuError (line 42) | class IncorrectTaskDjVuError extends DjVuError { method constructor (line 43) | constructor(task) { class NoBaseUrlDjVuError (line 49) | class NoBaseUrlDjVuError extends DjVuError { method constructor (line 50) | constructor() { function getErrorMessageByData (line 58) | function getErrorMessageByData(data) { class UnsuccessfulRequestDjVuError (line 72) | class UnsuccessfulRequestDjVuError extends DjVuError { method constructor (line 73) | constructor(xhr, data = { pageNumber: null, dependencyId: null }) { class NetworkDjVuError (line 93) | class NetworkDjVuError extends DjVuError { method constructor (line 94) | constructor(data = { pageNumber: null, dependencyId: null, url: null }) { FILE: library/src/DjVuPage.js function createBlobFromImageData (line 15) | async function createBlobFromImageData(imageData) { class DjVuPage (line 31) | class DjVuPage extends CompositeChunk { method constructor (line 37) | constructor(bs, getINCLChunkCallback) { method reset (line 43) | reset() { method getDpi (line 85) | getDpi() { method getHeight (line 93) | getHeight() { method getWidth (line 97) | getWidth() { method createPngObjectUrl (line 101) | async createPngObjectUrl() { method getDependencies (line 124) | getDependencies() { method init (line 153) | init() { method getRotation (line 215) | getRotation() { method rotateIfRequired (line 224) | rotateIfRequired(imageData) { method getImageData (line 261) | getImageData(rotate = true) { method _getImageData (line 282) | _getImageData() { method createImageFromMaskImageAndPixelMaps (line 355) | createImageFromMaskImageAndPixelMaps(maskImage, fgpixelmap, bgpixelmap... method createImageFromMaskImageAndBackgroundPixelMap (line 382) | createImageFromMaskImageAndBackgroundPixelMap(coloredMaskImage, bgpixe... method decodeForeground (line 404) | decodeForeground() { method decodeBackground (line 419) | decodeBackground(isOnlyFirstChunk = false) { method decode (line 452) | decode() { method getBackgroundImageData (line 479) | getBackgroundImageData() { method getForegroundImageData (line 496) | getForegroundImageData() { method getMaskImageData (line 509) | getMaskImageData() { method getText (line 514) | getText() { method getPageTextZone (line 520) | getPageTextZone() { // returns the top text zone of the whole page (wh... method getNormalizedTextZones (line 526) | getNormalizedTextZones() { // returns a flat array of zones without ne... method toString (line 531) | toString() { FILE: library/src/DjVuWorker.js function getLinkToTheWholeLibrary (line 12) | function getLinkToTheWholeLibrary() { class DjVuWorker (line 26) | class DjVuWorker { method constructor (line 27) | constructor(path = getLinkToTheWholeLibrary()) { method reset (line 32) | reset() { method registerHyperCallback (line 49) | registerHyperCallback(func) { method unregisterHyperCallback (line 55) | unregisterHyperCallback(id) { method terminate (line 59) | terminate() { method doc (line 63) | get doc() { method errorHandler (line 67) | errorHandler(event) { method cancelTask (line 71) | cancelTask(promise) { method dropCurrentTask (line 79) | dropCurrentTask() { method emptyTaskQueue (line 85) | emptyTaskQueue() { method cancelAllTasks (line 89) | cancelAllTasks() { method createNewPromise (line 98) | createNewPromise(commandObj, transferList = undefined) { method prepareCommandObject (line 114) | prepareCommandObject(commandObj) { method runNextTask (line 141) | runNextTask() { method isTaskInProcess (line 162) | isTaskInProcess(promise) { method isTaskInQueue (line 166) | isTaskInQueue(promise) { method processAction (line 170) | processAction(obj) { // usually progress messages, not the commands' f... method messageHandler (line 181) | messageHandler({ data: obj }) { method restoreValueAfterTransfer (line 245) | restoreValueAfterTransfer(value) { method run (line 255) | run(...tasks) { method revokeObjectURL (line 264) | revokeObjectURL(url) { // if an ObjectURL was created inside a worker ... method startMultiPageDocument (line 271) | startMultiPageDocument(slicenumber, delayInit, grayscale) { method addPageToDocument (line 280) | addPageToDocument(imageData) { method endMultiPageDocument (line 292) | endMultiPageDocument() { method createDocument (line 296) | createDocument(buffer, options) { method createDocumentFromPictures (line 300) | createDocumentFromPictures(imageArray, slicenumber, delayInit, graysca... class DjVuWorkerTask (line 323) | class DjVuWorkerTask { method instance (line 333) | static instance(worker, funcs = [], args = []) { method emptyFunc (line 352) | static emptyFunc() { } FILE: library/src/DjVuWorkerScript.js function initWorker (line 8) | function initWorker() { FILE: library/src/DjVuWriter.js class DjVuWriter (line 10) | class DjVuWriter { method constructor (line 11) | constructor(length) { method startDJVM (line 15) | startDJVM() { method writeDirmChunk (line 21) | writeDirmChunk(dirm) { method offset (line 67) | get offset() { method writeByte (line 71) | writeByte(byte) { method writeStr (line 76) | writeStr(str) { method writeInt32 (line 81) | writeInt32(val) { method writeFormChunkBS (line 86) | writeFormChunkBS(bs) { method writeFormChunkBuffer (line 97) | writeFormChunkBuffer(buffer) { method writeChunk (line 107) | writeChunk(chunk) { method getBuffer (line 120) | getBuffer() { FILE: library/src/ZPCodec.js class ZPEncoder (line 3) | class ZPEncoder { method constructor (line 4) | constructor(bsw) { method outbit (line 18) | outbit(bit) { method zemit (line 36) | zemit(b) { method encode (line 68) | encode(bit, ctx, n) { method IWencode (line 118) | IWencode(bit) { method _ptencode (line 124) | _ptencode(bit, z) { method eflush (line 151) | eflush() { class ZPDecoder (line 176) | class ZPDecoder { method constructor (line 177) | constructor(bs) { method preload (line 204) | preload() { method ffz (line 213) | ffz(x) { method decode (line 218) | decode(ctx, n) { method IWdecode (line 289) | IWdecode() { method _ptdecode (line 293) | _ptdecode(z) { FILE: library/src/bzz/BZZDecoder.js class BZZDecoder (line 5) | class BZZDecoder { method constructor (line 6) | constructor(zp) { method decode_raw (line 18) | decode_raw(bits) { method decode_binary (line 28) | decode_binary(ctxoff, bits) { method _decode (line 41) | _decode() { method getByteStream (line 269) | getByteStream() { method decodeByteStream (line 288) | static decodeByteStream(bs) { FILE: library/src/bzz/BZZEncoder.js class BZZEncoder (line 7) | class BZZEncoder { method constructor (line 8) | constructor(zp) { method blocksort (line 22) | blocksort(arr) { method encode_raw (line 64) | encode_raw(bits, x) { method encode_binary (line 75) | encode_binary(cxtoff, bits, x) { method encode (line 88) | encode(buffer) { FILE: library/src/chunks/DirmChunk.js class DIRMChunk (line 8) | class DIRMChunk extends IFFChunk { method constructor (line 9) | constructor(bs) { method isPageIndex (line 50) | isPageIndex(i) { method isThumbnailIndex (line 54) | isThumbnailIndex(i) { method getPageNameByItsNumber (line 62) | getPageNameByItsNumber(number) { method getPageNumberByItsId (line 66) | getPageNumberByItsId(id) { method getComponentNameByItsId (line 71) | getComponentNameByItsId(id) { method getPagesQuantity (line 75) | getPagesQuantity() { method getFilesQuantity (line 79) | getFilesQuantity() { method getMetadataStringByIndex (line 83) | getMetadataStringByIndex(i) { method toString (line 90) | toString() { FILE: library/src/chunks/DjViChunk.js class DjViChunk (line 5) | class DjViChunk extends CompositeChunk { method constructor (line 6) | constructor(bs) { method init (line 12) | init() { method toString (line 41) | toString() { FILE: library/src/chunks/DjVuAnno.js class DjVuAnno (line 3) | class DjVuAnno extends IFFChunk { } FILE: library/src/chunks/DjVuPalette.js class DjVuPalette (line 5) | class DjVuPalette extends IFFChunk { method constructor (line 8) | constructor(bs) { method getDataSize (line 40) | getDataSize() { method getPixelByBlitIndex (line 44) | getPixelByBlitIndex(index) { method toString (line 54) | toString() { FILE: library/src/chunks/DjVuText.js class DjVuText (line 29) | class DjVuText extends IFFChunk { method constructor (line 30) | constructor(bs) { method decode (line 37) | decode() { method decodeZone (line 59) | decodeZone(parent = null, prev = null) { method getText (line 102) | getText() { method getPageZone (line 109) | getPageZone() { method getNormalizedZones (line 115) | getNormalizedZones() { method toString (line 155) | toString() { FILE: library/src/chunks/IFFChunks.js class IFFChunk (line 6) | class IFFChunk { method constructor (line 9) | constructor(bs) { method toString (line 14) | toString() { class CompositeChunk (line 19) | class CompositeChunk extends IFFChunk { method constructor (line 22) | constructor(bs) { method toString (line 27) | toString(innerString = '') { class ColorChunk (line 32) | class ColorChunk extends IFFChunk { method constructor (line 35) | constructor(bs) { method toString (line 39) | toString() { class INFOChunk (line 47) | class INFOChunk extends IFFChunk { method constructor (line 50) | constructor(bs) { method toString (line 81) | toString() { class ColorChunkDataHeader (line 98) | class ColorChunkDataHeader { method constructor (line 101) | constructor(bs) { method toString (line 122) | toString() { class INCLChunk (line 127) | class INCLChunk extends IFFChunk { method constructor (line 130) | constructor(bs) { method toString (line 134) | toString() { class CIDaChunk (line 145) | class CIDaChunk extends INCLChunk { } class ErrorChunk (line 147) | class ErrorChunk { method constructor (line 148) | constructor(id, e) { method toString (line 153) | toString() { FILE: library/src/chunks/NavmChunk.js class NAVMChunk (line 16) | class NAVMChunk extends IFFChunk { method constructor (line 17) | constructor(bs) { method getContents (line 27) | getContents() { method decode (line 32) | decode() { method decodeBookmark (line 48) | decodeBookmark(bs) { method toString (line 68) | toString() { FILE: library/src/chunks/ThumChunk.js class ThumChunk (line 3) | class ThumChunk extends CompositeChunk { } FILE: library/src/iw44/IWCodecBaseClass.js class IWCodecBaseClass (line 12) | class IWCodecBaseClass { method constructor (line 13) | constructor() { method getBandBuckets (line 38) | getBandBuckets(band) { method is_null_slice (line 43) | is_null_slice() { method finish_code_slice (line 65) | finish_code_slice() { FILE: library/src/iw44/IWDecoder.js class IWDecoder (line 5) | class IWDecoder extends IWCodecBaseClass { method constructor (line 7) | constructor() { method init (line 11) | init(imageinfo) { method decodeSlice (line 18) | decodeSlice(zp, imageinfo) { method previouslyActiveCoefficientDecodingPass (line 40) | previouslyActiveCoefficientDecodingPass(block) { method newlyActiveCoefficientDecodingPass (line 70) | newlyActiveCoefficientDecodingPass(block, band) { method bucketDecodingPass (line 111) | bucketDecodingPass(block, band) { method blockBandDecodingPass (line 143) | blockBandDecodingPass() { method preliminaryFlagComputation (line 156) | preliminaryFlagComputation(block) { method getBytemap (line 194) | getBytemap() { method inverseWaveletTransform (line 242) | inverseWaveletTransform(bitmap) { FILE: library/src/iw44/IWEncoder.js class IWEncoder (line 4) | class IWEncoder extends IWCodecBaseClass { method constructor (line 6) | constructor(bytemap) { method inverseWaveletTransform (line 17) | inverseWaveletTransform(bytemap) { method filter_fv (line 28) | filter_fv(s, bitmap) { method filter_fh (line 74) | filter_fh(s, bitmap) { method createBlocks (line 117) | createBlocks(bitmap) { method encodeSlice (line 154) | encodeSlice(zp) { method previouslyActiveCoefficientEncodingPass (line 173) | previouslyActiveCoefficientEncodingPass(block, eblock) { method newlyActiveCoefficientEncodingPass (line 201) | newlyActiveCoefficientEncodingPass(block, eblock) { method bucketEncodingPass (line 245) | bucketEncodingPass(eblock) { method blockBandEncodingPass (line 275) | blockBandEncodingPass() { method preliminaryFlagComputation (line 287) | preliminaryFlagComputation(block, eblock) { FILE: library/src/iw44/IWImage.js class IWImage (line 5) | class IWImage { method constructor (line 6) | constructor() { method resetCodecs (line 12) | resetCodecs() { method decodeChunk (line 19) | decodeChunk(zp, header) { method createPixelmap (line 40) | createPixelmap() { method getImage (line 63) | getImage() { FILE: library/src/iw44/IWImageWriter.js class IWImageWriter (line 8) | class IWImageWriter { method constructor (line 10) | constructor(slicenumber, delayInit, grayscale) { method width (line 20) | get width() { method height (line 23) | get height() { method startMultiPageDocument (line 27) | startMultiPageDocument() { method addPageToDocument (line 41) | addPageToDocument(imageData) { method endMultiPageDocument (line 51) | endMultiPageDocument() { method createMultiPageDocument (line 64) | createMultiPageDocument(imageArray) { method writeImagePage (line 99) | writeImagePage(bsw, imageData) { method createOnePageDocument (line 145) | createOnePageDocument(imageData) { method RGBtoY (line 159) | RGBtoY(imageData) { method RGBtoCb (line 194) | RGBtoCb(imageData) { method RGBtoCr (line 223) | RGBtoCr(imageData) { FILE: library/src/iw44/IWStructures.js function _normalize (line 1) | function _normalize(val) { class LazyPixelmap (line 11) | class LazyPixelmap { method constructor (line 12) | constructor(ybytemap, cbbytemap, crbytemap) { method writeGrayScalePixel (line 20) | writeGrayScalePixel(index, pixelArray, pixelIndex) { method writeColoredPixel (line 27) | writeColoredPixel(index, pixelArray, pixelIndex) { class Pixelmap (line 41) | class Pixelmap { method constructor (line 42) | constructor(ybytemap, cbbytemap, crbytemap) { method _constructGrayScalePixelMap (line 57) | _constructGrayScalePixelMap(yArray) { method _constructColorfulPixelMap (line 63) | _constructColorfulPixelMap(yArray, cbArray, crArray) { method writePixel (line 80) | writePixel(index, pixelArray, pixelIndex) { class LinearBytemap (line 125) | class LinearBytemap { method constructor (line 126) | constructor(width, height) { method get (line 131) | get(i, j) { method set (line 135) | set(i, j, val) { method sub (line 139) | sub(i, j, val) { method add (line 143) | add(i, j, val) { class Bytemap (line 149) | class Bytemap extends Array { method constructor (line 150) | constructor(width, height) { class Block (line 161) | class Block { method constructor (line 162) | constructor(buffer, offset, withBuckets = false) { method setBucketCoef (line 174) | setBucketCoef(bucketNumber, index, value) { method getBucketCoef (line 178) | getBucketCoef(bucketNumber, index) { method getCoef (line 182) | getCoef(n) { method setCoef (line 186) | setCoef(n, val) { method createBlockArray (line 194) | static createBlockArray(length) { class BlockMemoryManager (line 204) | class BlockMemoryManager { method constructor (line 205) | constructor() { method ensureBuffer (line 212) | ensureBuffer() { method allocateBucket (line 221) | allocateBucket() { class LazyBlock (line 230) | class LazyBlock { method constructor (line 231) | constructor(memoryManager) { method setBucketCoef (line 236) | setBucketCoef(bucketNumber, index, value) { method getBucketCoef (line 243) | getBucketCoef(bucketNumber, index) { method getCoef (line 247) | getCoef(n) { method setCoef (line 251) | setCoef(n, val) { method createBlockArray (line 259) | static createBlockArray(length) { FILE: library/src/jb2/JB2Codec.js class JB2Codec (line 5) | class JB2Codec extends IFFChunk { method constructor (line 6) | constructor(bs) { method resetNumContexts (line 15) | resetNumContexts() { method decodeNum (line 80) | decodeNum(low, high, numctx) { // this implementation was copied from ... method decodeBitmap (line 134) | decodeBitmap(width, height) { method getCtxIndex (line 145) | getCtxIndex(bm, i, j) { method decodeBitmapRef (line 165) | decodeBitmapRef(width, height, mbm) { method getCtxIndexRef (line 178) | getCtxIndexRef(cbm, mbm, alignInfo, i, j) { method alignBitmaps (line 203) | alignBitmaps(cbm, mbm) { method decodeComment (line 217) | decodeComment() { method drawBitmap (line 228) | drawBitmap(bm) { FILE: library/src/jb2/JB2Dict.js class JB2Dict (line 3) | class JB2Dict extends JB2Codec { method constructor (line 4) | constructor(bs) { method decode (line 10) | decode(djbz) { FILE: library/src/jb2/JB2Image.js class JB2Image (line 5) | class JB2Image extends JB2Codec { method constructor (line 6) | constructor(bs) { method addBlit (line 20) | addBlit(bitmap, x, y) { method init (line 25) | init() { method toString (line 53) | toString() { method decode (line 59) | decode(djbz) { method decodeAbsoluteLocationCoords (line 185) | decodeAbsoluteLocationCoords(width, height) { method decodeSymbolCoords (line 194) | decodeSymbolCoords(width, height) { method copyToBitmap (line 222) | copyToBitmap(bm, x, y) { method getBitmap (line 236) | getBitmap() { method getMaskImage (line 243) | getMaskImage() { method getImage (line 272) | getImage(palette = null, isMarkMaskPixels = false) { method getImageFromBitmap (line 306) | getImageFromBitmap() { // debug function mostly FILE: library/src/jb2/JB2Structures.js class Bitmap (line 1) | class Bitmap { method constructor (line 2) | constructor(width, height) { method getBits (line 9) | getBits(i, j, bitNumber) { method get (line 30) | get(i, j) { method set (line 41) | set(i, j) { // сделать "пиксель" черным method hasRow (line 50) | hasRow(r) { method removeEmptyEdges (line 54) | removeEmptyEdges() { class NumContext (line 114) | class NumContext { method constructor (line 115) | constructor() { method left (line 121) | get left() { method right (line 128) | get right() { class Baseline (line 137) | class Baseline { method constructor (line 138) | constructor() { method add (line 144) | add(val) { method getVal (line 151) | getVal() { // возвращает медианное значение method fill (line 164) | fill(val) { // инициализируем все 3 значения положением 1 символа на с... FILE: library/src/methods/bundle.js function bundle (line 9) | async function bundle(progressCallback = () => { }) { FILE: library/src/methods/load.js function loadByteStream (line 15) | async function loadByteStream(url, errorData = {}) { function checkAndCropByteStream (line 31) | function checkAndCropByteStream(bs, compositeChunkId = null, errorData =... function loadPage (line 54) | async function loadPage(number, url) { function loadPageDependency (line 60) | async function loadPageDependency(id, name, baseUrl, pageNumber = null) { function loadThumbnail (line 66) | async function loadThumbnail(url, id = null) { FILE: library/tests/tests.js function createBaseUrl (line 7) | function createBaseUrl(url) { function runAllTests (line 16) | async function runAllTests() { method renderImageData (line 71) | renderImageData(imageData) { method writeLog (line 79) | writeLog(message, color = "black") { method endTestBlock (line 87) | endTestBlock() { method getHashOfArray (line 91) | getHashOfArray(array) { method getImageDataByImageURI (line 102) | getImageDataByImageURI(imageURI, rotate = 0) { method compareArrayBuffers (line 131) | compareArrayBuffers(canonicBuffer, resultBuffer) { method compareImageData (line 146) | compareImageData(canonicImageData, resultImageData) { method _imageTest (line 210) | async _imageTest(djvuName, pageNumber, imageName = null, hash = null, ro... method _imageTestX (line 220) | async _imageTestX({ djvuUrl, baseUrl = null, pageNumber, imageUrl = null... method _sliceTest (line 251) | async _sliceTest(source, from, to, result) { method _testText (line 263) | async _testText(djvuUrl, pageNumber, txtUrl) { method _testTextUtf8 (line 281) | async _testTextUtf8(djvuUrl, pageNumber, txtUrl) { method _testTextZones (line 297) | async _testTextZones(djvuUrl, pageNumber, txtUrl, isNormalized = false) { method testIncorrectFileFormatError (line 318) | testIncorrectFileFormatError() { method testNoSuchPageError (line 333) | async testNoSuchPageError() { method testMetaDataOfDocWithShortINFOChunk (line 349) | async testMetaDataOfDocWithShortINFOChunk() { method testPageTextZone (line 353) | testPageTextZone() { method testNormalizedTextZones (line 357) | testNormalizedTextZones() { method testContents (line 361) | async testContents() { method testPageUrlWithLeadingZero (line 376) | async testPageUrlWithLeadingZero() { method testGetPageNumberByUrl (line 391) | async testGetPageNumberByUrl() { method testCancelAllWorkerTasks (line 409) | async testCancelAllWorkerTasks() { method testCancelOneWorkerTask (line 430) | async testCancelOneWorkerTask() { method testGetEnglishText (line 451) | testGetEnglishText() { method testGetCzechText (line 455) | testGetCzechText() { method testGetIncorrectlyEncodedUtf8Text (line 459) | testGetIncorrectlyEncodedUtf8Text() { method testCreateDocumentFromPictures (line 463) | testCreateDocumentFromPictures() { method testBundleDocument (line 480) | async testBundleDocument() { method testSliceDocument (line 494) | testSliceDocument() { method testSliceDocumentWithAnnotations (line 498) | testSliceDocumentWithAnnotations() { method testSliceDocumentWithCyrillicIds (line 502) | testSliceDocumentWithCyrillicIds() { method testIndirectDjVu (line 506) | async testIndirectDjVu() { method testOpenIndirectDjVuPageDirectly (line 568) | testOpenIndirectDjVuPageDirectly() { method testOpenIndirectDjVuWithEmptyDjVi (line 578) | testOpenIndirectDjVuWithEmptyDjVi() { method testPageWithEmptyLastChunk (line 588) | testPageWithEmptyLastChunk() { method testGrayscaleBG44 (line 597) | testGrayscaleBG44() { method testColorBG44 (line 601) | testColorBG44() { method testJB2Pure (line 605) | testJB2Pure() { method testRotate90 (line 609) | testRotate90() { method testRotate180 (line 613) | testRotate180() { method testRotate270 (line 617) | testRotate270() { method testJB2WithBitOfBackground (line 621) | testJB2WithBitOfBackground() { method testJB2WhereRemovingOfEmptyEdgesOfBitmapsBeforeAddingToDictRequired (line 625) | testJB2WhereRemovingOfEmptyEdgesOfBitmapsBeforeAddingToDictRequired() { method testFGbzColoredMask (line 629) | testFGbzColoredMask() { method testPageWithCyrillicId (line 633) | testPageWithCyrillicId() { method testEmptyPage (line 637) | async testEmptyPage() { method testDeutschBaseline (line 646) | testDeutschBaseline() { // документ в котором Baseline считался неправил... method testNewJB2SymbolWithEmptyEdges (line 655) | testNewJB2SymbolWithEmptyEdges() { method testFileWith2BZZEncodedBlocks (line 664) | testFileWith2BZZEncodedBlocks() { FILE: viewer/cypress.config.js method setupNodeEvents (line 9) | setupNodeEvents(on, config) {} FILE: viewer/cypress/shared.js function helpWindowShouldBeOpen (line 3) | function helpWindowShouldBeOpen() { function optionsWindowShouldBeOpen (line 11) | function optionsWindowShouldBeOpen() { function closeModalWindow (line 19) | function closeModalWindow() { function initialScreenShouldBeVisible (line 24) | function initialScreenShouldBeVisible() { FILE: viewer/cypress/utils.js function loadDocument (line 34) | function loadDocument() { FILE: viewer/src/DjVuViewer.jsx class DjVuViewer (line 18) | class DjVuViewer extends EventEmitter { method getAvailableLanguages (line 27) | static getAvailableLanguages() { method constructor (line 35) | constructor(config = null) { method getPageNumber (line 76) | getPageNumber() { method getDocumentName (line 80) | getDocumentName() { method _render (line 84) | _render() { method render (line 92) | render(element) { method unmount (line 101) | unmount() { method destroy (line 107) | destroy() { method configure (line 130) | configure({ method loadDocument (line 147) | loadDocument(buffer, name = "***", config = {}) { method loadDocumentByUrl (line 155) | loadDocumentByUrl(url, config = null) { FILE: viewer/src/actions/actions.js method setPageByUrlAction (line 91) | setPageByUrlAction(url, closeContentsOnSuccess = false) { FILE: viewer/src/components/AppContext.jsx function useAppSize (line 18) | function useAppSize(ref) { function useFullscreen (line 45) | function useFullscreen(ref) { FILE: viewer/src/components/FileBlock.jsx class FileBlock (line 41) | class FileBlock extends React.Component { method render (line 67) | render() { FILE: viewer/src/components/ImageBlock/CanvasImage.jsx class CanvasImage (line 12) | class CanvasImage extends React.Component { method constructor (line 20) | constructor(props) { method componentWillUnmount (line 28) | componentWillUnmount() { method componentDidUpdate (line 32) | componentDidUpdate() { method componentDidMount (line 36) | componentDidMount() { method getScaleFactor (line 40) | getScaleFactor() { method getScaledImageWidth (line 44) | getScaledImageWidth() { method getScaledImageHeight (line 48) | getScaledImageHeight() { method updateImageIfRequired (line 52) | updateImageIfRequired() { method logarithmicScale (line 67) | logarithmicScale() { method drawImageOnCanvas (line 95) | drawImageOnCanvas() { method putImageData (line 100) | putImageData(imageData) { method render (line 121) | render() { FILE: viewer/src/components/ImageBlock/ComplexImage.jsx class ComplexImage (line 46) | class ComplexImage extends React.PureComponent { method render (line 129) | render() { FILE: viewer/src/components/ImageBlock/ImageBlock.jsx function resetEventListener (line 55) | function resetEventListener(node, event, handler, options = undefined) { class ImageBlock (line 63) | class ImageBlock extends React.Component { method getSnapshotBeforeUpdate (line 75) | getSnapshotBeforeUpdate() { method scrollCurrentPageIntoViewIfRequired (line 92) | scrollCurrentPageIntoViewIfRequired(prevProps) { method componentDidUpdate (line 111) | componentDidUpdate(prevProps, prevState, snapshot) { method componentDidMount (line 150) | componentDidMount() { method componentWillUnmount (line 157) | componentWillUnmount() { method isGrabMode (line 305) | isGrabMode() { method setNewPageNumber (line 311) | setNewPageNumber(pageNumber) { method render (line 380) | render() { FILE: viewer/src/components/ImageBlock/VirtualList.jsx class VirtualList (line 25) | class VirtualList extends React.PureComponent { method viewportHeight (line 46) | get viewportHeight() { method componentDidMount (line 50) | componentDidMount() { method componentWillUnmount (line 55) | componentWillUnmount() { method itemTops (line 71) | get itemTops() { method contentHeight (line 75) | get contentHeight() { method itemStyles (line 79) | get itemStyles() { method findItemIndexByScrollTop (line 83) | findItemIndexByScrollTop(scrollTop) { method renderItems (line 128) | renderItems() { method isItemVisible (line 153) | isItemVisible(index) { method getCurrentVisibleItemIndex (line 164) | getCurrentVisibleItemIndex() { method scrollToItem (line 173) | scrollToItem(index) { method render (line 179) | render() { FILE: viewer/src/components/InitialScreen/FileZone.jsx class FileZone (line 50) | class FileZone extends React.Component { method processFile (line 69) | processFile(file) { method render (line 100) | render() { FILE: viewer/src/components/LeftPanel/ContentsPanel.jsx class ContentsPanel (line 35) | class ContentsPanel extends React.Component { method convertBookmarkArrayToTreeItemDataArray (line 47) | convertBookmarkArrayToTreeItemDataArray(bookmarkArray) { method makeTreeItemDataByBookmark (line 51) | makeTreeItemDataByBookmark(bookmark) { method render (line 60) | render() { FILE: viewer/src/components/LeftPanel/LeftPanel.jsx class LeftPanel (line 59) | class LeftPanel extends React.Component { method componentDidUpdate (line 105) | componentDidUpdate(prevProps, prevState, snapshot) { method render (line 121) | render() { FILE: viewer/src/components/LeftPanel/TreeItem.jsx class TreeItem (line 26) | class TreeItem extends React.Component { method constructor (line 35) | constructor(props) { method renderChildren (line 44) | renderChildren() { method render (line 61) | render() { FILE: viewer/src/components/LoadingLayer.jsx class LoadingLayer (line 29) | class LoadingLayer extends React.Component { method constructor (line 30) | constructor(props) { method componentDidMount (line 36) | componentDidMount() { method componentWillUnmount (line 43) | componentWillUnmount() { method render (line 47) | render() { FILE: viewer/src/components/ModalWindows/ModalWindow.jsx class ModalWindow (line 65) | class ModalWindow extends React.Component { method render (line 74) | render() { FILE: viewer/src/components/ModalWindows/PrintDialog.jsx function renderPageNumberOptions (line 23) | function renderPageNumberOptions(pagesQuantity) { FILE: viewer/src/components/Toolbar/PageNumber.jsx class PageNumber (line 36) | class PageNumber extends React.Component { method constructor (line 44) | constructor(props) { method componentDidUpdate (line 52) | componentDidUpdate() { // тупо костыль, так как Firefox на autoFocus к... method setNewPageNumber (line 66) | setNewPageNumber(number) { method render (line 108) | render() { FILE: viewer/src/components/Toolbar/PageNumberBlock.jsx class PageNumberBlock (line 40) | class PageNumberBlock extends React.Component { method setNewPageNumber (line 49) | setNewPageNumber(number, isNext = true) { method render (line 69) | render() { FILE: viewer/src/components/Toolbar/ScaleGizmo.jsx class ScaleGizmo (line 30) | class ScaleGizmo extends React.Component { method constructor (line 32) | constructor(props) { method render (line 79) | render() { FILE: viewer/src/components/Translation.jsx function createTranslator (line 27) | function createTranslator(dict) { FILE: viewer/src/components/helpers.js function getHeaderAndErrorMessage (line 31) | function getHeaderAndErrorMessage(t, error) { FILE: viewer/src/constants/Constants.js function constant (line 45) | function constant(obj) { FILE: viewer/src/hotkeys.js function initHotkeys (line 5) | function initHotkeys(store) { FILE: viewer/src/reducers/commonReducer.js function getInitialStateWithOptions (line 40) | function getInitialStateWithOptions(state) { FILE: viewer/src/reducers/fileLoadingReducer.js function fileLoadingReducer (line 10) | function fileLoadingReducer(state = initialState, action) { FILE: viewer/src/reducers/fileProcessingReducer.js function fileProcessingReducer (line 11) | function fileProcessingReducer(state = initialState, action) { FILE: viewer/src/reducers/pageReducer.js function pageReducer (line 23) | function pageReducer(state = initialState, action) { FILE: viewer/src/reducers/printReducer.js function fileProcessingReducer (line 11) | function fileProcessingReducer(state = initialState, action) { FILE: viewer/src/sagas/ContinuousScrollManager.js class ContinuousScrollManager (line 17) | class ContinuousScrollManager { method constructor (line 18) | constructor(djvuWorker, pagesCount, pageStorage) { method _reset (line 22) | _reset(djvuWorker, pagesCount, pageStorage) { method reset (line 33) | * reset() { method setPageNumber (line 38) | setPageNumber(pageNumber) { method updateRegistries (line 63) | updateRegistries() { method dropAllPages (line 72) | * dropAllPages() { method dropPage (line 77) | * dropPage(pageNumber) { method removeObsoletePagesIfRequired (line 82) | * removeObsoletePagesIfRequired() { method loadPageFromLastPromise (line 92) | * loadPageFromLastPromise() { method loadPage (line 103) | * loadPage(pageNumber) { method startDataFetching (line 122) | * startDataFetching() { FILE: viewer/src/sagas/PageStorage.js class PageStorage (line 8) | class PageStorage { method constructor (line 9) | constructor() { method reset (line 13) | reset() { method getAllPageNumbers (line 17) | getAllPageNumbers() { method getPage (line 21) | getPage(number) { method addPage (line 25) | addPage(number, data) { method removePage (line 29) | removePage(number) { method removeAllPages (line 36) | removeAllPages() { FILE: viewer/src/sagas/PagesCache.js class PagesCache (line 11) | class PagesCache { method constructor (line 13) | constructor(djvuWorker) { method cancelCachingTask (line 23) | cancelCachingTask() { method resetPagesCache (line 34) | resetPagesCache() { method fetchCurrentPageByNumber (line 41) | * fetchCurrentPageByNumber(currentPageNumber, pagesQuantity) { method cachePages (line 76) | * cachePages(pageNumbersToCache) { method fetchImageDataByPageNumber (line 82) | * fetchImageDataByPageNumber(pageNumber) { FILE: viewer/src/sagas/PrintManager.js class PrintManager (line 4) | class PrintManager { method constructor (line 5) | constructor(worker, pageStorage) { method preparePagesForPrinting (line 10) | * preparePagesForPrinting(from, to) { FILE: viewer/src/sagas/rootSaga.js class RootSaga (line 21) | class RootSaga { method constructor (line 22) | constructor(dispatch) { method getImageData (line 44) | * getImageData() { method fetchPageData (line 63) | * fetchPageData() { method fetchPageText (line 86) | * fetchPageText(pageNumber) { method fetchPageTextIfRequired (line 104) | * fetchPageTextIfRequired() { method prepareForContinuousMode (line 116) | * prepareForContinuousMode() { method configure (line 122) | * configure({ pageNumber, pageRotation, viewMode, pageScale, language,... method createDocumentFromArrayBuffer (line 157) | * createDocumentFromArrayBuffer({ arrayBuffer, fileName, config }) { method loadContents (line 200) | * loadContents() { method resetCurrentPageNumber (line 208) | * resetCurrentPageNumber() { method setPageByUrl (line 215) | * setPageByUrl(action) { method withErrorHandler (line 252) | withErrorHandler(func) { method saveDocument (line 264) | * saveDocument() { method resetWorkerAndStorages (line 277) | resetWorkerAndStorages() { method setCallback (line 287) | setCallback(action) { method switchToContinuousScrollMode (line 291) | * switchToContinuousScrollMode(notSave = false) { method switchToSinglePageMode (line 301) | * switchToSinglePageMode(notSave = false) { method switchToTextMode (line 310) | * switchToTextMode() { method handleViewModeSwitch (line 318) | * handleViewModeSwitch({ notSave = false } = {}) { method updateOptions (line 335) | * updateOptions(action) { method loadOptions (line 348) | * loadOptions() { method loadDocumentByUrl (line 384) | * loadDocumentByUrl({ url, config }) { method bundleDocument (line 438) | * bundleDocument() { method hardReloadIfRequired (line 457) | * hardReloadIfRequired() { method preparePagesForPrinting (line 470) | * preparePagesForPrinting(action) { method cancelPrintTaskIfRequired (line 475) | * cancelPrintTaskIfRequired() { method main (line 488) | * main() { FILE: viewer/src/utils.js function loadFile (line 8) | function loadFile(url, progressHandler) { FILE: viewer/syncLocales.js function getFilePathByDict (line 15) | function getFilePathByDict(dict) { function getDictWithQuotes (line 20) | function getDictWithQuotes(dict) { function syncDict (line 35) | function syncDict(dict, dictWithQuotes) { function main (line 56) | function main(newFileName) { FILE: viewer/vite.config.js method configureServer (line 16) | configureServer(server) {