@grapecity-software/gcdocs.pdfviewer 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (582) hide show
  1. package/CHANGELOG.md +2886 -0
  2. package/README.md +390 -0
  3. package/docs/.nojekyll +1 -0
  4. package/docs/assets/custom.css +19 -0
  5. package/docs/assets/highlight.css +134 -0
  6. package/docs/assets/main.js +54 -0
  7. package/docs/assets/search.js +1 -0
  8. package/docs/assets/style.css +1224 -0
  9. package/docs/assets/widgets.png +0 -0
  10. package/docs/assets/widgets@2x.png +0 -0
  11. package/docs/classes/AnnotationBase.html +349 -0
  12. package/docs/classes/ButtonWidget.html +512 -0
  13. package/docs/classes/ChoiceWidget.html +487 -0
  14. package/docs/classes/CircleAnnotation.html +425 -0
  15. package/docs/classes/DsPdfViewer.html +4095 -0
  16. package/docs/classes/FileAttachmentAnnotation.html +422 -0
  17. package/docs/classes/FreeTextAnnotation.html +405 -0
  18. package/docs/classes/GcPdfSearcher.html +362 -0
  19. package/docs/classes/GcPdfViewer.html +3923 -0
  20. package/docs/classes/HighlightAnnotation.html +390 -0
  21. package/docs/classes/InkAnnotation.html +400 -0
  22. package/docs/classes/LineAnnotation.html +422 -0
  23. package/docs/classes/LinkAnnotation.html +390 -0
  24. package/docs/classes/MarkupAnnotation.html +407 -0
  25. package/docs/classes/PolyLineAnnotation.html +406 -0
  26. package/docs/classes/PolygonAnnotation.html +406 -0
  27. package/docs/classes/PopupAnnotation.html +393 -0
  28. package/docs/classes/RedactAnnotation.html +439 -0
  29. package/docs/classes/SignatureAnnotation.html +398 -0
  30. package/docs/classes/SoundAnnotation.html +438 -0
  31. package/docs/classes/SquareAnnotation.html +397 -0
  32. package/docs/classes/SquigglyAnnotation.html +390 -0
  33. package/docs/classes/StampAnnotation.html +400 -0
  34. package/docs/classes/StrikeOutAnnotation.html +390 -0
  35. package/docs/classes/TextAnnotation.html +404 -0
  36. package/docs/classes/TextWidget.html +465 -0
  37. package/docs/classes/UnderlineAnnotation.html +390 -0
  38. package/docs/classes/ViewerOptions.html +1243 -0
  39. package/docs/classes/WidgetAnnotation.html +454 -0
  40. package/docs/enums/AnnotationTypeCode.html +196 -0
  41. package/docs/enums/ModificationType.html +86 -0
  42. package/docs/enums/SharedAccessMode.html +79 -0
  43. package/docs/enums/TextAlignmentType.html +66 -0
  44. package/docs/index.html +222 -0
  45. package/docs/interfaces/IGCEventBus.html +106 -0
  46. package/docs/types/AnnotationMarkedStateType.html +126 -0
  47. package/docs/types/AnnotationReviewStateType.html +126 -0
  48. package/docs/types/AnnotationStateModel.html +126 -0
  49. package/docs/types/AnnotationTypeName.html +126 -0
  50. package/docs/types/BusEventName.html +126 -0
  51. package/docs/types/DocumentListItem.html +146 -0
  52. package/docs/types/FieldAppearanceRenderingType.html +130 -0
  53. package/docs/types/FormFieldMapping.html +126 -0
  54. package/docs/types/FormFillerSettings.html +257 -0
  55. package/docs/types/GcProps.html +237 -0
  56. package/docs/types/InputFieldMapping.html +175 -0
  57. package/docs/types/JsCancelEventArgs.html +137 -0
  58. package/docs/types/JsEventArgs.html +133 -0
  59. package/docs/types/JsExecutionConfig.html +165 -0
  60. package/docs/types/KeyboardShortcutDefinition.html +149 -0
  61. package/docs/types/KeyboardShortcutTool.html +126 -0
  62. package/docs/types/LineEndStyle.html +126 -0
  63. package/docs/types/LinkDestinationType.html +126 -0
  64. package/docs/types/LinkType.html +126 -0
  65. package/docs/types/LogLevel.html +128 -0
  66. package/docs/types/ModificationsState.html +145 -0
  67. package/docs/types/NamedAction.html +127 -0
  68. package/docs/types/OpenAction.html +148 -0
  69. package/docs/types/OpenParameters.html +126 -0
  70. package/docs/types/OptionalContentConfig.html +195 -0
  71. package/docs/types/OptionalContentGroup.html +194 -0
  72. package/docs/types/PageLayout.html +126 -0
  73. package/docs/types/PageMode.html +126 -0
  74. package/docs/types/PageModification.html +137 -0
  75. package/docs/types/PageStructureChange.html +139 -0
  76. package/docs/types/PageViewport.html +221 -0
  77. package/docs/types/PdfOrganizerSettings.html +147 -0
  78. package/docs/types/ReplyToolSettings.html +196 -0
  79. package/docs/types/RotationInit.html +155 -0
  80. package/docs/types/RulerLine.html +146 -0
  81. package/docs/types/SaveSettings.html +191 -0
  82. package/docs/types/ScrollPageIntoViewOptions.html +126 -0
  83. package/docs/types/SharedDocumentInfo.html +139 -0
  84. package/docs/types/SignToolSettings.html +437 -0
  85. package/docs/types/SignatureInfo.html +158 -0
  86. package/docs/types/SignatureInformation.html +145 -0
  87. package/docs/types/StampCategory.html +159 -0
  88. package/docs/types/StructTreeContent.html +144 -0
  89. package/docs/types/StructTreeNode.html +141 -0
  90. package/docs/types/StructureChanges.html +142 -0
  91. package/docs/types/SupportApiSettings.html +199 -0
  92. package/docs/types/TextMarkupContextMenuSettings.html +139 -0
  93. package/docs/types/ToolbarButtonKey.html +126 -0
  94. package/docs/types/UndoChangeName.html +126 -0
  95. package/docs/types/UserAccess.html +133 -0
  96. package/docs/types/ViewerFeatureName.html +128 -0
  97. package/docs/types/ViewerPreferences.html +178 -0
  98. package/docs/types/WidgetFieldTypeName.html +129 -0
  99. package/docs.html +19 -0
  100. package/gcpdfviewer.js +2 -0
  101. package/gcpdfviewer.worker.js +2 -0
  102. package/index.html +43 -0
  103. package/localization/en-pdf-viewer.json +1587 -0
  104. package/localization/en-viewer-base.json +73 -0
  105. package/localization/localization_example.html +55 -0
  106. package/package.json +27 -0
  107. package/resources/bcmaps/78-EUC-H.bin +0 -0
  108. package/resources/bcmaps/78-EUC-V.bin +0 -0
  109. package/resources/bcmaps/78-H.bin +0 -0
  110. package/resources/bcmaps/78-RKSJ-H.bin +0 -0
  111. package/resources/bcmaps/78-RKSJ-V.bin +0 -0
  112. package/resources/bcmaps/78-V.bin +0 -0
  113. package/resources/bcmaps/78ms-RKSJ-H.bin +0 -0
  114. package/resources/bcmaps/78ms-RKSJ-V.bin +0 -0
  115. package/resources/bcmaps/83pv-RKSJ-H.bin +0 -0
  116. package/resources/bcmaps/90ms-RKSJ-H.bin +0 -0
  117. package/resources/bcmaps/90ms-RKSJ-V.bin +0 -0
  118. package/resources/bcmaps/90msp-RKSJ-H.bin +0 -0
  119. package/resources/bcmaps/90msp-RKSJ-V.bin +0 -0
  120. package/resources/bcmaps/90pv-RKSJ-H.bin +0 -0
  121. package/resources/bcmaps/90pv-RKSJ-V.bin +0 -0
  122. package/resources/bcmaps/Add-H.bin +0 -0
  123. package/resources/bcmaps/Add-RKSJ-H.bin +0 -0
  124. package/resources/bcmaps/Add-RKSJ-V.bin +0 -0
  125. package/resources/bcmaps/Add-V.bin +0 -0
  126. package/resources/bcmaps/Adobe-CNS1-0.bin +0 -0
  127. package/resources/bcmaps/Adobe-CNS1-1.bin +0 -0
  128. package/resources/bcmaps/Adobe-CNS1-2.bin +0 -0
  129. package/resources/bcmaps/Adobe-CNS1-3.bin +0 -0
  130. package/resources/bcmaps/Adobe-CNS1-4.bin +0 -0
  131. package/resources/bcmaps/Adobe-CNS1-5.bin +0 -0
  132. package/resources/bcmaps/Adobe-CNS1-6.bin +0 -0
  133. package/resources/bcmaps/Adobe-CNS1-UCS2.bin +0 -0
  134. package/resources/bcmaps/Adobe-GB1-0.bin +0 -0
  135. package/resources/bcmaps/Adobe-GB1-1.bin +0 -0
  136. package/resources/bcmaps/Adobe-GB1-2.bin +0 -0
  137. package/resources/bcmaps/Adobe-GB1-3.bin +0 -0
  138. package/resources/bcmaps/Adobe-GB1-4.bin +0 -0
  139. package/resources/bcmaps/Adobe-GB1-5.bin +0 -0
  140. package/resources/bcmaps/Adobe-GB1-UCS2.bin +0 -0
  141. package/resources/bcmaps/Adobe-Japan1-0.bin +0 -0
  142. package/resources/bcmaps/Adobe-Japan1-1.bin +0 -0
  143. package/resources/bcmaps/Adobe-Japan1-2.bin +0 -0
  144. package/resources/bcmaps/Adobe-Japan1-3.bin +0 -0
  145. package/resources/bcmaps/Adobe-Japan1-4.bin +0 -0
  146. package/resources/bcmaps/Adobe-Japan1-5.bin +0 -0
  147. package/resources/bcmaps/Adobe-Japan1-6.bin +0 -0
  148. package/resources/bcmaps/Adobe-Japan1-UCS2.bin +0 -0
  149. package/resources/bcmaps/Adobe-Korea1-0.bin +0 -0
  150. package/resources/bcmaps/Adobe-Korea1-1.bin +0 -0
  151. package/resources/bcmaps/Adobe-Korea1-2.bin +0 -0
  152. package/resources/bcmaps/Adobe-Korea1-UCS2.bin +0 -0
  153. package/resources/bcmaps/B5-H.bin +0 -0
  154. package/resources/bcmaps/B5-V.bin +0 -0
  155. package/resources/bcmaps/B5pc-H.bin +0 -0
  156. package/resources/bcmaps/B5pc-V.bin +0 -0
  157. package/resources/bcmaps/CNS-EUC-H.bin +0 -0
  158. package/resources/bcmaps/CNS-EUC-V.bin +0 -0
  159. package/resources/bcmaps/CNS1-H.bin +0 -0
  160. package/resources/bcmaps/CNS1-V.bin +0 -0
  161. package/resources/bcmaps/CNS2-H.bin +0 -0
  162. package/resources/bcmaps/CNS2-V.bin +3 -0
  163. package/resources/bcmaps/ETHK-B5-H.bin +0 -0
  164. package/resources/bcmaps/ETHK-B5-V.bin +0 -0
  165. package/resources/bcmaps/ETen-B5-H.bin +0 -0
  166. package/resources/bcmaps/ETen-B5-V.bin +0 -0
  167. package/resources/bcmaps/ETenms-B5-H.bin +3 -0
  168. package/resources/bcmaps/ETenms-B5-V.bin +0 -0
  169. package/resources/bcmaps/EUC-H.bin +0 -0
  170. package/resources/bcmaps/EUC-V.bin +0 -0
  171. package/resources/bcmaps/Ext-H.bin +0 -0
  172. package/resources/bcmaps/Ext-RKSJ-H.bin +0 -0
  173. package/resources/bcmaps/Ext-RKSJ-V.bin +0 -0
  174. package/resources/bcmaps/Ext-V.bin +0 -0
  175. package/resources/bcmaps/GB-EUC-H.bin +0 -0
  176. package/resources/bcmaps/GB-EUC-V.bin +0 -0
  177. package/resources/bcmaps/GB-H.bin +4 -0
  178. package/resources/bcmaps/GB-V.bin +0 -0
  179. package/resources/bcmaps/GBK-EUC-H.bin +0 -0
  180. package/resources/bcmaps/GBK-EUC-V.bin +0 -0
  181. package/resources/bcmaps/GBK2K-H.bin +0 -0
  182. package/resources/bcmaps/GBK2K-V.bin +0 -0
  183. package/resources/bcmaps/GBKp-EUC-H.bin +0 -0
  184. package/resources/bcmaps/GBKp-EUC-V.bin +0 -0
  185. package/resources/bcmaps/GBT-EUC-H.bin +0 -0
  186. package/resources/bcmaps/GBT-EUC-V.bin +0 -0
  187. package/resources/bcmaps/GBT-H.bin +0 -0
  188. package/resources/bcmaps/GBT-V.bin +0 -0
  189. package/resources/bcmaps/GBTpc-EUC-H.bin +0 -0
  190. package/resources/bcmaps/GBTpc-EUC-V.bin +0 -0
  191. package/resources/bcmaps/GBpc-EUC-H.bin +0 -0
  192. package/resources/bcmaps/GBpc-EUC-V.bin +0 -0
  193. package/resources/bcmaps/H.bin +0 -0
  194. package/resources/bcmaps/HKdla-B5-H.bin +0 -0
  195. package/resources/bcmaps/HKdla-B5-V.bin +0 -0
  196. package/resources/bcmaps/HKdlb-B5-H.bin +0 -0
  197. package/resources/bcmaps/HKdlb-B5-V.bin +0 -0
  198. package/resources/bcmaps/HKgccs-B5-H.bin +0 -0
  199. package/resources/bcmaps/HKgccs-B5-V.bin +0 -0
  200. package/resources/bcmaps/HKm314-B5-H.bin +0 -0
  201. package/resources/bcmaps/HKm314-B5-V.bin +0 -0
  202. package/resources/bcmaps/HKm471-B5-H.bin +0 -0
  203. package/resources/bcmaps/HKm471-B5-V.bin +0 -0
  204. package/resources/bcmaps/HKscs-B5-H.bin +0 -0
  205. package/resources/bcmaps/HKscs-B5-V.bin +0 -0
  206. package/resources/bcmaps/Hankaku.bin +0 -0
  207. package/resources/bcmaps/Hiragana.bin +0 -0
  208. package/resources/bcmaps/KSC-EUC-H.bin +0 -0
  209. package/resources/bcmaps/KSC-EUC-V.bin +0 -0
  210. package/resources/bcmaps/KSC-H.bin +0 -0
  211. package/resources/bcmaps/KSC-Johab-H.bin +0 -0
  212. package/resources/bcmaps/KSC-Johab-V.bin +0 -0
  213. package/resources/bcmaps/KSC-V.bin +0 -0
  214. package/resources/bcmaps/KSCms-UHC-H.bin +0 -0
  215. package/resources/bcmaps/KSCms-UHC-HW-H.bin +0 -0
  216. package/resources/bcmaps/KSCms-UHC-HW-V.bin +0 -0
  217. package/resources/bcmaps/KSCms-UHC-V.bin +0 -0
  218. package/resources/bcmaps/KSCpc-EUC-H.bin +0 -0
  219. package/resources/bcmaps/KSCpc-EUC-V.bin +0 -0
  220. package/resources/bcmaps/Katakana.bin +0 -0
  221. package/resources/bcmaps/LICENSE +36 -0
  222. package/resources/bcmaps/NWP-H.bin +0 -0
  223. package/resources/bcmaps/NWP-V.bin +0 -0
  224. package/resources/bcmaps/RKSJ-H.bin +0 -0
  225. package/resources/bcmaps/RKSJ-V.bin +0 -0
  226. package/resources/bcmaps/Roman.bin +0 -0
  227. package/resources/bcmaps/UniCNS-UCS2-H.bin +0 -0
  228. package/resources/bcmaps/UniCNS-UCS2-V.bin +0 -0
  229. package/resources/bcmaps/UniCNS-UTF16-H.bin +0 -0
  230. package/resources/bcmaps/UniCNS-UTF16-V.bin +0 -0
  231. package/resources/bcmaps/UniCNS-UTF32-H.bin +0 -0
  232. package/resources/bcmaps/UniCNS-UTF32-V.bin +0 -0
  233. package/resources/bcmaps/UniCNS-UTF8-H.bin +0 -0
  234. package/resources/bcmaps/UniCNS-UTF8-V.bin +0 -0
  235. package/resources/bcmaps/UniGB-UCS2-H.bin +0 -0
  236. package/resources/bcmaps/UniGB-UCS2-V.bin +0 -0
  237. package/resources/bcmaps/UniGB-UTF16-H.bin +0 -0
  238. package/resources/bcmaps/UniGB-UTF16-V.bin +0 -0
  239. package/resources/bcmaps/UniGB-UTF32-H.bin +0 -0
  240. package/resources/bcmaps/UniGB-UTF32-V.bin +0 -0
  241. package/resources/bcmaps/UniGB-UTF8-H.bin +0 -0
  242. package/resources/bcmaps/UniGB-UTF8-V.bin +0 -0
  243. package/resources/bcmaps/UniJIS-UCS2-H.bin +0 -0
  244. package/resources/bcmaps/UniJIS-UCS2-HW-H.bin +0 -0
  245. package/resources/bcmaps/UniJIS-UCS2-HW-V.bin +0 -0
  246. package/resources/bcmaps/UniJIS-UCS2-V.bin +0 -0
  247. package/resources/bcmaps/UniJIS-UTF16-H.bin +0 -0
  248. package/resources/bcmaps/UniJIS-UTF16-V.bin +0 -0
  249. package/resources/bcmaps/UniJIS-UTF32-H.bin +0 -0
  250. package/resources/bcmaps/UniJIS-UTF32-V.bin +0 -0
  251. package/resources/bcmaps/UniJIS-UTF8-H.bin +0 -0
  252. package/resources/bcmaps/UniJIS-UTF8-V.bin +0 -0
  253. package/resources/bcmaps/UniJIS2004-UTF16-H.bin +0 -0
  254. package/resources/bcmaps/UniJIS2004-UTF16-V.bin +0 -0
  255. package/resources/bcmaps/UniJIS2004-UTF32-H.bin +0 -0
  256. package/resources/bcmaps/UniJIS2004-UTF32-V.bin +0 -0
  257. package/resources/bcmaps/UniJIS2004-UTF8-H.bin +0 -0
  258. package/resources/bcmaps/UniJIS2004-UTF8-V.bin +0 -0
  259. package/resources/bcmaps/UniJISPro-UCS2-HW-V.bin +0 -0
  260. package/resources/bcmaps/UniJISPro-UCS2-V.bin +0 -0
  261. package/resources/bcmaps/UniJISPro-UTF8-V.bin +0 -0
  262. package/resources/bcmaps/UniJISX0213-UTF32-H.bin +0 -0
  263. package/resources/bcmaps/UniJISX0213-UTF32-V.bin +0 -0
  264. package/resources/bcmaps/UniJISX02132004-UTF32-H.bin +0 -0
  265. package/resources/bcmaps/UniJISX02132004-UTF32-V.bin +0 -0
  266. package/resources/bcmaps/UniKS-UCS2-H.bin +0 -0
  267. package/resources/bcmaps/UniKS-UCS2-V.bin +0 -0
  268. package/resources/bcmaps/UniKS-UTF16-H.bin +0 -0
  269. package/resources/bcmaps/UniKS-UTF16-V.bin +0 -0
  270. package/resources/bcmaps/UniKS-UTF32-H.bin +0 -0
  271. package/resources/bcmaps/UniKS-UTF32-V.bin +0 -0
  272. package/resources/bcmaps/UniKS-UTF8-H.bin +0 -0
  273. package/resources/bcmaps/UniKS-UTF8-V.bin +0 -0
  274. package/resources/bcmaps/V.bin +0 -0
  275. package/resources/bcmaps/WP-Symbol.bin +0 -0
  276. package/resources/standard_fonts/FoxitDingbats.pfb +0 -0
  277. package/resources/standard_fonts/FoxitFixed.pfb +0 -0
  278. package/resources/standard_fonts/FoxitFixedBold.pfb +0 -0
  279. package/resources/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  280. package/resources/standard_fonts/FoxitFixedItalic.pfb +0 -0
  281. package/resources/standard_fonts/FoxitSans.pfb +0 -0
  282. package/resources/standard_fonts/FoxitSansBold.pfb +0 -0
  283. package/resources/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
  284. package/resources/standard_fonts/FoxitSansItalic.pfb +0 -0
  285. package/resources/standard_fonts/FoxitSerif.pfb +0 -0
  286. package/resources/standard_fonts/FoxitSerifBold.pfb +0 -0
  287. package/resources/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  288. package/resources/standard_fonts/FoxitSerifItalic.pfb +0 -0
  289. package/resources/standard_fonts/FoxitSymbol.pfb +0 -0
  290. package/resources/standard_fonts/LICENSE_FOXIT +27 -0
  291. package/resources/standard_fonts/LICENSE_LIBERATION +102 -0
  292. package/resources/standard_fonts/LiberationSans-Bold.ttf +0 -0
  293. package/resources/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  294. package/resources/standard_fonts/LiberationSans-Italic.ttf +0 -0
  295. package/resources/standard_fonts/LiberationSans-Regular.ttf +0 -0
  296. package/resources/standard_fonts/README.md +11 -0
  297. package/themes/dark-yellow.css +1 -0
  298. package/themes/dark-yellow.jscss +7 -0
  299. package/themes/dark.css +1 -0
  300. package/themes/dark.jscss +7 -0
  301. package/themes/gc-blue.css +1 -0
  302. package/themes/gc-blue.jscss +7 -0
  303. package/themes/light-blue.css +1 -0
  304. package/themes/light-blue.jscss +7 -0
  305. package/themes/light.css +1 -0
  306. package/themes/light.jscss +7 -0
  307. package/themes/viewer.css +1 -0
  308. package/themes/viewer.jscss +7 -0
  309. package/typings/AcroForm/AcroForm.d.ts +3 -0
  310. package/typings/AcroForm/index.d.ts +4 -0
  311. package/typings/AcroForm/state.d.ts +4 -0
  312. package/typings/AcroForm/types.d.ts +15 -0
  313. package/typings/Annotations/AnnotationPropertyDescriptors.d.ts +88 -0
  314. package/typings/Annotations/AnnotationState.d.ts +5 -0
  315. package/typings/Annotations/AnnotationTypes.d.ts +353 -0
  316. package/typings/Annotations/Annotations.d.ts +151 -0
  317. package/typings/Annotations/Editors/CalloutLineEditor.d.ts +19 -0
  318. package/typings/Annotations/Editors/CancelableEditorBase.d.ts +34 -0
  319. package/typings/Annotations/Editors/ChoiceOptionsEditor.d.ts +21 -0
  320. package/typings/Annotations/Editors/ColorEditor/ColorEditor.d.ts +13 -0
  321. package/typings/Annotations/Editors/ColorEditor/Localization.d.ts +2 -0
  322. package/typings/Annotations/Editors/ColorEditor/StandardPalette.d.ts +3 -0
  323. package/typings/Annotations/Editors/ColorEditor/types.d.ts +21 -0
  324. package/typings/Annotations/Editors/FileEditor.d.ts +42 -0
  325. package/typings/Annotations/Editors/FloatEditor.d.ts +43 -0
  326. package/typings/Annotations/Editors/ImageFileEditor.d.ts +37 -0
  327. package/typings/Annotations/Editors/JsCodeAreaEditor.d.ts +18 -0
  328. package/typings/Annotations/Editors/KeyValuePairEditor.d.ts +20 -0
  329. package/typings/Annotations/Editors/LinkAnnotationHelper.d.ts +18 -0
  330. package/typings/Annotations/Editors/LinkDestTypeEditor.d.ts +18 -0
  331. package/typings/Annotations/Editors/MediaFileEditor.d.ts +7 -0
  332. package/typings/Annotations/Editors/MediaPosterFileEditor.d.ts +9 -0
  333. package/typings/Annotations/Editors/NullableIntEditor.d.ts +39 -0
  334. package/typings/Annotations/Editors/ParentIdEditor.d.ts +22 -0
  335. package/typings/Annotations/Editors/PlaceholderEditorStub.d.ts +15 -0
  336. package/typings/Annotations/Editors/PreserveStampSizeAspectToggle.d.ts +15 -0
  337. package/typings/Annotations/Editors/SelectFileHelper.d.ts +24 -0
  338. package/typings/Annotations/Editors/SoundFileEditor.d.ts +41 -0
  339. package/typings/Annotations/Editors/TextAreaEditor.d.ts +23 -0
  340. package/typings/Annotations/Elements/CheckBoxElement.d.ts +2 -0
  341. package/typings/Annotations/Elements/RadioButtonElement.d.ts +2 -0
  342. package/typings/Annotations/RichMediaAnnotation.d.ts +41 -0
  343. package/typings/Annotations/index.d.ts +4 -0
  344. package/typings/Annotations/state.d.ts +4 -0
  345. package/typings/Annotations/types.d.ts +63 -0
  346. package/typings/Articles/Articles.d.ts +19 -0
  347. package/typings/Articles/index.d.ts +4 -0
  348. package/typings/Articles/state.d.ts +4 -0
  349. package/typings/Articles/types.d.ts +24 -0
  350. package/typings/Attachments/Attachments.d.ts +17 -0
  351. package/typings/Attachments/index.d.ts +3 -0
  352. package/typings/Attachments/state.d.ts +4 -0
  353. package/typings/Attachments/types.d.ts +7 -0
  354. package/typings/Contents/Contents.d.ts +13 -0
  355. package/typings/Contents/index.d.ts +4 -0
  356. package/typings/Contents/state.d.ts +4 -0
  357. package/typings/Contents/types.d.ts +16 -0
  358. package/typings/ContextMenu/ContextMenuProvider.d.ts +48 -0
  359. package/typings/ContextMenu/DropdownMenu.d.ts +121 -0
  360. package/typings/ContextMenu/GcDocumentContextMenu.d.ts +80 -0
  361. package/typings/ContextMenu/Positioner.d.ts +58 -0
  362. package/typings/ContextMenu/constants.d.ts +22 -0
  363. package/typings/ContextMenu/essentials.d.ts +41 -0
  364. package/typings/ContextMenu/types.d.ts +2 -0
  365. package/typings/Core/ExternalPdfManager.d.ts +24 -0
  366. package/typings/Core/GcPdfViewerDataLoader.d.ts +24 -0
  367. package/typings/DataStorage/DataStorage.d.ts +20 -0
  368. package/typings/Dialogs/ConfirmationDialog.d.ts +17 -0
  369. package/typings/Dialogs/ProgressDialog.d.ts +37 -0
  370. package/typings/Dialogs/Types.d.ts +22 -0
  371. package/typings/DocumentListPanel.d.ts +39 -0
  372. package/typings/DsPdfViewer.d.ts +5 -0
  373. package/typings/FloatingBar/FloatingBar.d.ts +20 -0
  374. package/typings/FloatingBar/types.d.ts +7 -0
  375. package/typings/FloatingSearchBar/FloatingSearchBar.d.ts +42 -0
  376. package/typings/FloatingSearchBar/types.d.ts +3 -0
  377. package/typings/FormFiller/Controls/CheckBoxControl.d.ts +7 -0
  378. package/typings/FormFiller/Controls/ChoiceControl.d.ts +11 -0
  379. package/typings/FormFiller/Controls/CombTextControl.d.ts +7 -0
  380. package/typings/FormFiller/Controls/ControlBase.d.ts +32 -0
  381. package/typings/FormFiller/Controls/DateTimeControl.d.ts +7 -0
  382. package/typings/FormFiller/Controls/DateTimeHelper.d.ts +18 -0
  383. package/typings/FormFiller/Controls/EmailControl.d.ts +7 -0
  384. package/typings/FormFiller/Controls/PasswordControl.d.ts +7 -0
  385. package/typings/FormFiller/Controls/RadioControl.d.ts +7 -0
  386. package/typings/FormFiller/Controls/SearchControl.d.ts +7 -0
  387. package/typings/FormFiller/Controls/TelControl.d.ts +7 -0
  388. package/typings/FormFiller/Controls/TextControl.d.ts +7 -0
  389. package/typings/FormFiller/Controls/UrlControl.d.ts +7 -0
  390. package/typings/FormFiller/FieldRow.d.ts +27 -0
  391. package/typings/FormFiller/FormFiller.d.ts +32 -0
  392. package/typings/FormFiller/FormFillerDialog.d.ts +28 -0
  393. package/typings/FormFiller/Validator.d.ts +9 -0
  394. package/typings/FormFiller/types.d.ts +48 -0
  395. package/typings/GcPdfDocument.d.ts +65 -0
  396. package/typings/GcPdfDocumentView.d.ts +22 -0
  397. package/typings/GcPdfViewer.d.ts +464 -0
  398. package/typings/GcPdfViewerStateStorage.d.ts +24 -0
  399. package/typings/Keyboard/KeyboardWorker.d.ts +52 -0
  400. package/typings/Keyboard/ShortcutsConfig.d.ts +10 -0
  401. package/typings/Layers/Layers.d.ts +17 -0
  402. package/typings/Layers/index.d.ts +1 -0
  403. package/typings/Layers/state.d.ts +0 -0
  404. package/typings/Layers/types.d.ts +8 -0
  405. package/typings/LeftSidebar.d.ts +33 -0
  406. package/typings/Models/EventArgs.d.ts +38 -0
  407. package/typings/Models/GcMeasurementTypes.d.ts +29 -0
  408. package/typings/Models/PluginTypes.d.ts +23 -0
  409. package/typings/Models/ViewerTypes.d.ts +279 -0
  410. package/typings/Password/GcPdfPasswordDialog.d.ts +31 -0
  411. package/typings/PdfDocumentViewer/PdfDocumentViewer.d.ts +11 -0
  412. package/typings/PdfOrganizer/PdfOrganizerDialog.d.ts +83 -0
  413. package/typings/PdfOrganizer/types.d.ts +17 -0
  414. package/typings/Polyfills/ArrayPolyfills.d.ts +1 -0
  415. package/typings/Polyfills/CanvasToBlob.d.ts +0 -0
  416. package/typings/Polyfills/closest.d.ts +0 -0
  417. package/typings/Print/GcPdfPrintProgress.d.ts +17 -0
  418. package/typings/Print/GcPdfPrintService.d.ts +7 -0
  419. package/typings/Properties/DocumentInformation.d.ts +22 -0
  420. package/typings/Properties/PropertiesDialog.d.ts +39 -0
  421. package/typings/ReplyTool/AuthorLabel.d.ts +8 -0
  422. package/typings/ReplyTool/ReplyTool.d.ts +90 -0
  423. package/typings/ReplyTool/types.d.ts +25 -0
  424. package/typings/RightSidebar/GcRightSidebar.d.ts +42 -0
  425. package/typings/RightSidebar/types.d.ts +2 -0
  426. package/typings/Search/GcPdfSearcher.d.ts +98 -0
  427. package/typings/Search/IPdfSearcher.d.ts +5 -0
  428. package/typings/Search/SearchPanel.d.ts +16 -0
  429. package/typings/Search/SearchPanelBase.d.ts +35 -0
  430. package/typings/Search/SearchUtils.d.ts +24 -0
  431. package/typings/Search/SearchWorker.d.ts +37 -0
  432. package/typings/Search/TextSelectionBoundsTester.d.ts +10 -0
  433. package/typings/Search/api.d.ts +12 -0
  434. package/typings/Search/index.d.ts +5 -0
  435. package/typings/Search/types.d.ts +135 -0
  436. package/typings/Security/DocumentSecuritySummary.d.ts +19 -0
  437. package/typings/SharedDocuments/ShareDialog.d.ts +55 -0
  438. package/typings/SharedDocuments/SharedChangeIndicator.d.ts +5 -0
  439. package/typings/SharedDocuments/SharedDocumentsPanel.d.ts +26 -0
  440. package/typings/SharedDocuments/types.d.ts +73 -0
  441. package/typings/SignTool/CanvasRuler.d.ts +21 -0
  442. package/typings/SignTool/DrawTool.d.ts +41 -0
  443. package/typings/SignTool/ImageTool.d.ts +51 -0
  444. package/typings/SignTool/SignToolDialog.d.ts +97 -0
  445. package/typings/SignTool/SignToolStorage.d.ts +17 -0
  446. package/typings/SignTool/SignaturePad/SignaturePad.d.ts +76 -0
  447. package/typings/SignTool/SignaturePad/throttle.d.ts +1 -0
  448. package/typings/SignTool/SignaturePad/types.d.ts +30 -0
  449. package/typings/SignTool/TypeTool.d.ts +52 -0
  450. package/typings/SignTool/types.d.ts +62 -0
  451. package/typings/StructureTree/StructureTree.d.ts +31 -0
  452. package/typings/StructureTree/index.d.ts +1 -0
  453. package/typings/StructureTree/state.d.ts +0 -0
  454. package/typings/StructureTree/types.d.ts +7 -0
  455. package/typings/Styles/StaticIcons.d.ts +1 -0
  456. package/typings/Styles/pdfSvgIcons.d.ts +155 -0
  457. package/typings/SupportApi/Connection/ClientMessage.d.ts +61 -0
  458. package/typings/SupportApi/Connection/Message.d.ts +3 -0
  459. package/typings/SupportApi/Connection/PersistentConnection.d.ts +33 -0
  460. package/typings/SupportApi/Connection/ServerMessage.d.ts +25 -0
  461. package/typings/SupportApi/DocumentOptions.d.ts +14 -0
  462. package/typings/SupportApi/ISupportApi.d.ts +44 -0
  463. package/typings/SupportApi/ISupportApiBase.d.ts +30 -0
  464. package/typings/SupportApi/LocalDocumentModification.d.ts +23 -0
  465. package/typings/SupportApi/RenderParams.d.ts +7 -0
  466. package/typings/SupportApi/SignatureInfo.d.ts +0 -0
  467. package/typings/SupportApi/SupportApiImpl.d.ts +88 -0
  468. package/typings/SupportApi/Wasm/IWasmModule.d.ts +22 -0
  469. package/typings/SupportApi/Wasm/WasmModule.d.ts +2 -0
  470. package/typings/SupportApi/Wasm/WasmSupportApi.d.ts +38 -0
  471. package/typings/SupportApi/types.d.ts +43 -0
  472. package/typings/Thumbnails/GcRangedThumbsPane.d.ts +17 -0
  473. package/typings/Thumbnails/GcThumbView.d.ts +50 -0
  474. package/typings/Thumbnails/GcThumbnailViewer.d.ts +46 -0
  475. package/typings/Thumbnails/Thumbnails.d.ts +18 -0
  476. package/typings/Thumbnails/index.d.ts +1 -0
  477. package/typings/Toolbar/PdfToolbarLayout.d.ts +9 -0
  478. package/typings/Toolbar/SecondToolbar/SecondToolbar.d.ts +25 -0
  479. package/typings/Toolbar/SecondToolbar/SecondToolbarControl.d.ts +31 -0
  480. package/typings/Toolbar/SecondToolbar/SecondToolbarRenderer.d.ts +5 -0
  481. package/typings/Toolbar/SecondToolbar/types.d.ts +9 -0
  482. package/typings/Toolbar/ToolbarItems.d.ts +71 -0
  483. package/typings/Toolbar/controls/AddStampDropdown.d.ts +61 -0
  484. package/typings/Toolbar/controls/Zoom.d.ts +42 -0
  485. package/typings/Utils/AnnotationsSvgFactory.d.ts +34 -0
  486. package/typings/Utils/AudioOscilloscopeVisualizer.d.ts +23 -0
  487. package/typings/Utils/AudioUtils.d.ts +12 -0
  488. package/typings/Utils/BackgroundUtilsWorker.d.ts +6 -0
  489. package/typings/Utils/BrowserUtils.d.ts +20 -0
  490. package/typings/Utils/ColorUtils.d.ts +7 -0
  491. package/typings/Utils/CombFieldBehavior.d.ts +58 -0
  492. package/typings/Utils/DomUtils.d.ts +21 -0
  493. package/typings/Utils/DownloadUtil.d.ts +2 -0
  494. package/typings/Utils/DrawingPanel.d.ts +11 -0
  495. package/typings/Utils/DropFileAreaHelper.d.ts +25 -0
  496. package/typings/Utils/EditableComboBoxBehavior.d.ts +17 -0
  497. package/typings/Utils/EncodingUtils.d.ts +9 -0
  498. package/typings/Utils/Exceptions.d.ts +5 -0
  499. package/typings/Utils/GcEditableTextBehavior.d.ts +48 -0
  500. package/typings/Utils/GcMeasurement.d.ts +37 -0
  501. package/typings/Utils/GestureEventsDispatcher.d.ts +40 -0
  502. package/typings/Utils/MathUtils.d.ts +17 -0
  503. package/typings/Utils/MeasurementUtils.d.ts +4 -0
  504. package/typings/Utils/PromiseUtils.d.ts +24 -0
  505. package/typings/Utils/ResizableDialogBehavior.d.ts +1 -0
  506. package/typings/Utils/RichMediaAnnotationPlayer.d.ts +60 -0
  507. package/typings/Utils/ScrollUtils.d.ts +20 -0
  508. package/typings/Utils/SearchUtils.d.ts +20 -0
  509. package/typings/Utils/SelectionRangeUtils.d.ts +2 -0
  510. package/typings/Utils/SharedRef.d.ts +17 -0
  511. package/typings/Utils/StampImagesAwaiter.d.ts +15 -0
  512. package/typings/Utils/SupportApiUtils.d.ts +4 -0
  513. package/typings/Utils/TooltipPopup.d.ts +6 -0
  514. package/typings/Utils/UrlUtils.d.ts +17 -0
  515. package/typings/Utils/ViewerUtils.d.ts +68 -0
  516. package/typings/Utils/index.d.ts +1 -0
  517. package/typings/ViewerOptions.d.ts +316 -0
  518. package/typings/XFA/XfaApiImpl.d.ts +19 -0
  519. package/typings/XFA/XfaForm.d.ts +7 -0
  520. package/typings/XFA/XfaNode.d.ts +5 -0
  521. package/typings/httpClient.d.ts +15 -0
  522. package/typings/index.d.ts +10 -0
  523. package/typings/plugin.d.ts +646 -0
  524. package/typings/vendor/i18next.d.ts +1022 -0
  525. package/typings/vendor/js-viewer-core/api/PluginModel.d.ts +246 -0
  526. package/typings/vendor/js-viewer-core/api/ReportViewerCmd.d.ts +72 -0
  527. package/typings/vendor/js-viewer-core/api/index.d.ts +3 -0
  528. package/typings/vendor/js-viewer-core/components/DocumentViewer/ContinuousView.d.ts +37 -0
  529. package/typings/vendor/js-viewer-core/components/DocumentViewer/Page.d.ts +17 -0
  530. package/typings/vendor/js-viewer-core/components/DocumentViewer/SinglePageView.d.ts +30 -0
  531. package/typings/vendor/js-viewer-core/components/DocumentViewer/View.d.ts +15 -0
  532. package/typings/vendor/js-viewer-core/components/DocumentViewer/Zoomer.d.ts +12 -0
  533. package/typings/vendor/js-viewer-core/components/DocumentViewer/index.d.ts +3 -0
  534. package/typings/vendor/js-viewer-core/components/DocumentViewer/moveTool.d.ts +4 -0
  535. package/typings/vendor/js-viewer-core/components/DocumentViewer/state.d.ts +7 -0
  536. package/typings/vendor/js-viewer-core/components/DocumentViewer/types.d.ts +214 -0
  537. package/typings/vendor/js-viewer-core/components/DocumentViewer/zoomUtils.d.ts +26 -0
  538. package/typings/vendor/js-viewer-core/components/ErrorPanel/ErrorView.d.ts +26 -0
  539. package/typings/vendor/js-viewer-core/components/ErrorPanel/View.d.ts +22 -0
  540. package/typings/vendor/js-viewer-core/components/ErrorPanel/index.d.ts +3 -0
  541. package/typings/vendor/js-viewer-core/components/ErrorPanel/state.d.ts +4 -0
  542. package/typings/vendor/js-viewer-core/components/ErrorPanel/types.d.ts +21 -0
  543. package/typings/vendor/js-viewer-core/components/NotificationManager/NotificationManager.d.ts +19 -0
  544. package/typings/vendor/js-viewer-core/components/NotificationManager/index.d.ts +1 -0
  545. package/typings/vendor/js-viewer-core/components/PanelManager/MenuView.d.ts +32 -0
  546. package/typings/vendor/js-viewer-core/components/PanelManager/SideBarView.d.ts +39 -0
  547. package/typings/vendor/js-viewer-core/components/PanelManager/TopBottomPanelView.d.ts +9 -0
  548. package/typings/vendor/js-viewer-core/components/PanelManager/index.d.ts +5 -0
  549. package/typings/vendor/js-viewer-core/components/PanelManager/state.d.ts +13 -0
  550. package/typings/vendor/js-viewer-core/components/PanelManager/types.d.ts +47 -0
  551. package/typings/vendor/js-viewer-core/components/ProgressDialog/View.d.ts +19 -0
  552. package/typings/vendor/js-viewer-core/components/ProgressDialog/index.d.ts +3 -0
  553. package/typings/vendor/js-viewer-core/components/ProgressDialog/state.d.ts +4 -0
  554. package/typings/vendor/js-viewer-core/components/ProgressDialog/types.d.ts +26 -0
  555. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/ThumbnailsPanel.d.ts +4 -0
  556. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/index.d.ts +4 -0
  557. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/state.d.ts +6 -0
  558. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/types.d.ts +37 -0
  559. package/typings/vendor/js-viewer-core/components/Toolbar/Toolbar.d.ts +97 -0
  560. package/typings/vendor/js-viewer-core/components/Toolbar/controls/Zoom.d.ts +23 -0
  561. package/typings/vendor/js-viewer-core/components/Toolbar/index.d.ts +1 -0
  562. package/typings/vendor/js-viewer-core/components/index.d.ts +8 -0
  563. package/typings/vendor/js-viewer-core/components/utils.d.ts +6 -0
  564. package/typings/vendor/js-viewer-core/control/CancellationToken.d.ts +36 -0
  565. package/typings/vendor/js-viewer-core/control/EventFan.d.ts +35 -0
  566. package/typings/vendor/js-viewer-core/control/ReactStateBinder.d.ts +24 -0
  567. package/typings/vendor/js-viewer-core/control/ReportViewer.d.ts +227 -0
  568. package/typings/vendor/js-viewer-core/control/SessionState.d.ts +61 -0
  569. package/typings/vendor/js-viewer-core/control/Store.d.ts +37 -0
  570. package/typings/vendor/js-viewer-core/control/Toolbar.d.ts +53 -0
  571. package/typings/vendor/js-viewer-core/control/ViewerState.d.ts +67 -0
  572. package/typings/vendor/js-viewer-core/control/historyStore.d.ts +0 -0
  573. package/typings/vendor/js-viewer-core/control/index.d.ts +7 -0
  574. package/typings/vendor/js-viewer-core/features/search/SearchPanel.d.ts +21 -0
  575. package/typings/vendor/js-viewer-core/features/search/api.d.ts +18 -0
  576. package/typings/vendor/js-viewer-core/features/search/index.d.ts +8 -0
  577. package/typings/vendor/js-viewer-core/features/search/types.d.ts +117 -0
  578. package/typings/vendor/js-viewer-core/index.d.ts +6 -0
  579. package/typings/vendor/js-viewer-core/styles/svgIcons.d.ts +30 -0
  580. package/typings/vendor/react/global.d.ts +151 -0
  581. package/typings/vendor/react/react-dom.d.ts +100 -0
  582. package/typings/vendor/react/react.d.ts +3152 -0
@@ -0,0 +1,362 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GcPdfSearcher | Document Solutions PDF Viewer - v7.1.0</title><meta name="description" content="Documentation for Document Solutions PDF Viewer - v7.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base="..">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <ul class="results">
6
+ <li class="state loading">Preparing search index...</li>
7
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Document Solutions PDF Viewer - v7.1.0</a></div>
8
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
+ <div class="container container-main">
10
+ <div class="col-8 col-content">
11
+ <div class="tsd-page-title">
12
+ <ul class="tsd-breadcrumb">
13
+ <li><a href="../index.html">Document Solutions PDF Viewer - v7.1.0</a></li>
14
+ <li><a href="GcPdfSearcher.html">GcPdfSearcher</a></li></ul>
15
+ <h1>Class GcPdfSearcher</h1></div>
16
+ <section class="tsd-panel tsd-comment">
17
+ <div class="tsd-comment tsd-typography"><p>PDF document searcher.
18
+ Generates asynchronous search results (see search method).
19
+ The GcPdfSearcher API was designed to be used internally with Search Panel UI.</p>
20
+ </div></section>
21
+ <section class="tsd-panel tsd-hierarchy">
22
+ <h4>Hierarchy</h4>
23
+ <ul class="tsd-hierarchy">
24
+ <li><span class="target">GcPdfSearcher</span></li></ul></section>
25
+ <section class="tsd-panel">
26
+ <h4>Implements</h4>
27
+ <ul class="tsd-hierarchy">
28
+ <li><span class="tsd-signature-type">IPdfSearcher</span></li></ul></section>
29
+ <section class="tsd-panel-group tsd-index-group">
30
+ <section class="tsd-panel tsd-index-panel">
31
+ <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
32
+ <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
33
+ <div class="tsd-accordion-details">
34
+ <section class="tsd-index-section">
35
+ <h3 class="tsd-index-heading">Methods</h3>
36
+ <div class="tsd-index-list"><a href="GcPdfSearcher.html#_extractText" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>_extract<wbr/>Text</span></a>
37
+ <a href="GcPdfSearcher.html#_isEntireWord" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_is<wbr/>Entire<wbr/>Word</span></a>
38
+ <a href="GcPdfSearcher.html#_prepareMatches" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>_prepare<wbr/>Matches</span></a>
39
+ <a href="GcPdfSearcher.html#applyHighlight" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>apply<wbr/>Highlight</span></a>
40
+ <a href="GcPdfSearcher.html#cancel" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>cancel</span></a>
41
+ <a href="GcPdfSearcher.html#highlight" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>highlight</span></a>
42
+ <a href="GcPdfSearcher.html#isResultSelected" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>is<wbr/>Result<wbr/>Selected</span></a>
43
+ <a href="GcPdfSearcher.html#nextSearchResult" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>next<wbr/>Search<wbr/>Result</span></a>
44
+ <a href="GcPdfSearcher.html#resetResults" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>reset<wbr/>Results</span></a>
45
+ <a href="GcPdfSearcher.html#search" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>search</span></a>
46
+ <a href="GcPdfSearcher.html#toggle" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>toggle</span></a>
47
+ <a href="GcPdfSearcher.html#updateAllPages" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>update<wbr/>All<wbr/>Pages</span></a>
48
+ </div></section>
49
+ <section class="tsd-index-section">
50
+ <h3 class="tsd-index-heading">Accessors</h3>
51
+ <div class="tsd-index-list"><a href="GcPdfSearcher.html#_query" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>_query</span></a>
52
+ <a href="GcPdfSearcher.html#highlightAll" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>highlight<wbr/>All</span></a>
53
+ <a href="GcPdfSearcher.html#selectedSearchResult" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>selected<wbr/>Search<wbr/>Result</span></a>
54
+ <a href="GcPdfSearcher.html#selectedSearchResultIndex" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>selected<wbr/>Search<wbr/>Result<wbr/>Index</span></a>
55
+ <a href="GcPdfSearcher.html#state" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>state</span></a>
56
+ <a href="GcPdfSearcher.html#totalResultsCount" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>total<wbr/>Results<wbr/>Count</span></a>
57
+ <a href="GcPdfSearcher.html#totalResultsCountPromise" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>total<wbr/>Results<wbr/>Count<wbr/>Promise</span></a>
58
+ </div></section></div></details></section></section>
59
+ <section class="tsd-panel-group tsd-member-group">
60
+ <h2>Methods</h2>
61
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_extractText" class="tsd-anchor"></a>
62
+ <h3 class="tsd-anchor-link"><span>_extract<wbr/>Text</span><a href="#_extractText" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
63
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
64
+ <li class="tsd-signature tsd-anchor-link" id="_extractText._extractText-1">_extract<wbr/>Text<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_extractText._extractText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
65
+ <li class="tsd-description">
66
+ <div class="tsd-comment tsd-typography"><p>Extract all text from pdf document once.</p>
67
+ </div>
68
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
69
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_isEntireWord" class="tsd-anchor"></a>
70
+ <h3 class="tsd-anchor-link"><span>_is<wbr/>Entire<wbr/>Word</span><a href="#_isEntireWord" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
71
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
72
+ <li class="tsd-signature tsd-anchor-link" id="_isEntireWord._isEntireWord-1">_is<wbr/>Entire<wbr/>Word<span class="tsd-signature-symbol">(</span>content<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineEndings<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>[x: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span>, startIdx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, length<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#_isEntireWord._isEntireWord-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
73
+ <li class="tsd-description">
74
+ <div class="tsd-comment tsd-typography"><p>Determine if the search query constitutes a &quot;whole word&quot;, by comparing the
75
+ first/last character type with the preceding/following character type.</p>
76
+ </div>
77
+ <div class="tsd-parameters">
78
+ <h4 class="tsd-parameters-title">Parameters</h4>
79
+ <ul class="tsd-parameter-list">
80
+ <li>
81
+ <h5>content: <span class="tsd-signature-type">any</span></h5></li>
82
+ <li>
83
+ <h5>lineEndings: <span class="tsd-signature-symbol">{ </span>[x: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></h5>
84
+ <ul class="tsd-parameters">
85
+ <li class="tsd-parameter-index-signature">
86
+ <h5><span class="tsd-signature-symbol">[</span>x: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li>
87
+ <li>
88
+ <h5>startIdx: <span class="tsd-signature-type">any</span></h5></li>
89
+ <li>
90
+ <h5>length: <span class="tsd-signature-type">any</span></h5></li></ul></div>
91
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section>
92
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_prepareMatches" class="tsd-anchor"></a>
93
+ <h3 class="tsd-anchor-link"><span>_prepare<wbr/>Matches</span><a href="#_prepareMatches" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
94
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
95
+ <li class="tsd-signature tsd-anchor-link" id="_prepareMatches._prepareMatches-1">_prepare<wbr/>Matches<span class="tsd-signature-symbol">(</span>matchesWithLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, matches<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, matchesLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_prepareMatches._prepareMatches-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
96
+ <li class="tsd-description">
97
+ <div class="tsd-comment tsd-typography"><p>Helper for multi-term search that fills the <code>matchesWithLength</code> array
98
+ and handles cases where one search term includes another search term (for
99
+ example, &quot;tamed tame&quot; or &quot;this is&quot;). It looks for intersecting terms in
100
+ the <code>matches</code> and keeps elements with a longer match length.</p>
101
+ </div>
102
+ <div class="tsd-parameters">
103
+ <h4 class="tsd-parameters-title">Parameters</h4>
104
+ <ul class="tsd-parameter-list">
105
+ <li>
106
+ <h5>matchesWithLength: <span class="tsd-signature-type">any</span></h5></li>
107
+ <li>
108
+ <h5>matches: <span class="tsd-signature-type">any</span></h5></li>
109
+ <li>
110
+ <h5>matchesLength: <span class="tsd-signature-type">any</span></h5></li></ul></div>
111
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
112
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="applyHighlight" class="tsd-anchor"></a>
113
+ <h3 class="tsd-anchor-link"><span>apply<wbr/>Highlight</span><a href="#applyHighlight" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
114
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
115
+ <li class="tsd-signature tsd-anchor-link" id="applyHighlight.applyHighlight-1">apply<wbr/>Highlight<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#applyHighlight.applyHighlight-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
116
+ <li class="tsd-description">
117
+ <div class="tsd-comment tsd-typography"><p>Render highlight for the current search result.</p>
118
+ </div>
119
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
120
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="cancel" class="tsd-anchor"></a>
121
+ <h3 class="tsd-anchor-link"><span>cancel</span><a href="#cancel" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
122
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
123
+ <li class="tsd-signature tsd-anchor-link" id="cancel.cancel-1">cancel<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#cancel.cancel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
124
+ <li class="tsd-description">
125
+ <div class="tsd-comment tsd-typography"><p>Cancel search task.</p>
126
+
127
+ <h3>Example</h3><pre><code class="language-javascript"><span class="hl-5">// Open the document, find the text &#39;wildlife&#39; and highlight the first result:</span><br/><span class="hl-0">async</span><span class="hl-1"> </span><span class="hl-0">function</span><span class="hl-1"> </span><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-3">GcPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">, { </span><span class="hl-2">restoreViewStateOnLoad:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">addDefaultPanels</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">afterOpenPromise</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-9">Promise</span><span class="hl-1">((</span><span class="hl-2">resolve</span><span class="hl-1">)</span><span class="hl-0">=&gt;</span><span class="hl-1">{ </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">onAfterOpen</span><span class="hl-1">.</span><span class="hl-3">register</span><span class="hl-1">(()</span><span class="hl-0">=&gt;</span><span class="hl-1">{ </span><span class="hl-3">resolve</span><span class="hl-1">(); }); });</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">open</span><span class="hl-1">(</span><span class="hl-4">&#39;wetlands.pdf&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">afterOpenPromise</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">findOptions</span><span class="hl-1"> = { </span><span class="hl-2">Text:</span><span class="hl-1"> </span><span class="hl-4">&#39;wildlife&#39;</span><span class="hl-1"> };</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">search</span><span class="hl-1">(</span><span class="hl-2">findOptions</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">cancel</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">highlight</span><span class="hl-1">(</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-4">&#39;#root&#39;</span><span class="hl-1">);</span>
128
+ </code></pre>
129
+ </div>
130
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
131
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="highlight" class="tsd-anchor"></a>
132
+ <h3 class="tsd-anchor-link"><span>highlight</span><a href="#highlight" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
133
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
134
+ <li class="tsd-signature tsd-anchor-link" id="highlight.highlight-1">highlight<span class="tsd-signature-symbol">(</span>searchResult<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SearchResult</span>, pageIndex<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#highlight.highlight-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
135
+ <li class="tsd-description">
136
+ <div class="tsd-comment tsd-typography"><p>Navigates to a page containing the result and highlights found text.</p>
137
+
138
+ <h3>Example</h3><pre><code class="language-javascript"><span class="hl-5">// Open the document, find the text &#39;wildlife&#39; and highlight the first result:</span><br/><span class="hl-0">async</span><span class="hl-1"> </span><span class="hl-0">function</span><span class="hl-1"> </span><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-3">GcPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">, { </span><span class="hl-2">restoreViewStateOnLoad:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">addDefaultPanels</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">afterOpenPromise</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-9">Promise</span><span class="hl-1">((</span><span class="hl-2">resolve</span><span class="hl-1">)</span><span class="hl-0">=&gt;</span><span class="hl-1">{ </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">onAfterOpen</span><span class="hl-1">.</span><span class="hl-3">register</span><span class="hl-1">(()</span><span class="hl-0">=&gt;</span><span class="hl-1">{ </span><span class="hl-3">resolve</span><span class="hl-1">(); }); });</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">open</span><span class="hl-1">(</span><span class="hl-4">&#39;wetlands.pdf&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">afterOpenPromise</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">findOptions</span><span class="hl-1"> = { </span><span class="hl-2">Text:</span><span class="hl-1"> </span><span class="hl-4">&#39;wildlife&#39;</span><span class="hl-1"> };</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">search</span><span class="hl-1">(</span><span class="hl-2">findOptions</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">cancel</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">highlight</span><span class="hl-1">(</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-4">&#39;#root&#39;</span><span class="hl-1">);</span>
139
+ </code></pre>
140
+ </div>
141
+ <div class="tsd-parameters">
142
+ <h4 class="tsd-parameters-title">Parameters</h4>
143
+ <ul class="tsd-parameter-list">
144
+ <li>
145
+ <h5>searchResult: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SearchResult</span></h5></li>
146
+ <li>
147
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> pageIndex: <span class="tsd-signature-type">number</span></h5></li></ul></div>
148
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
149
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isResultSelected" class="tsd-anchor"></a>
150
+ <h3 class="tsd-anchor-link"><span>is<wbr/>Result<wbr/>Selected</span><a href="#isResultSelected" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
151
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
152
+ <li class="tsd-signature tsd-anchor-link" id="isResultSelected.isResultSelected-1">is<wbr/>Result<wbr/>Selected<span class="tsd-signature-symbol">(</span>result<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SearchResult</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isResultSelected.isResultSelected-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
153
+ <li class="tsd-description">
154
+ <div class="tsd-comment tsd-typography"><p>Checks whether a specific search result is currently selected.</p>
155
+
156
+ <h3>Returns</h3><p>A boolean indicating whether the provided search result is currently selected.</p>
157
+ </div>
158
+ <div class="tsd-parameters">
159
+ <h4 class="tsd-parameters-title">Parameters</h4>
160
+ <ul class="tsd-parameter-list">
161
+ <li>
162
+ <h5>result: <span class="tsd-signature-type">SearchResult</span></h5>
163
+ <div class="tsd-comment tsd-typography"><p>The search result to be checked for selection.</p>
164
+ </div></li></ul></div>
165
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section>
166
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="nextSearchResult" class="tsd-anchor"></a>
167
+ <h3 class="tsd-anchor-link"><span>next<wbr/>Search<wbr/>Result</span><a href="#nextSearchResult" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
168
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
169
+ <li class="tsd-signature tsd-anchor-link" id="nextSearchResult.nextSearchResult-1">next<wbr/>Search<wbr/>Result<span class="tsd-signature-symbol">(</span>result<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SearchResult</span>, cancellation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SearchResult</span><span class="tsd-signature-symbol">&gt;</span><a href="#nextSearchResult.nextSearchResult-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
170
+ <li class="tsd-description">
171
+ <div class="tsd-comment tsd-typography"><p>Issues the next search result, primarily used internally by the PDF Searcher.</p>
172
+
173
+ <h3>Returns</h3><p>A Promise that resolves with the processed search result.</p>
174
+ </div>
175
+ <div class="tsd-parameters">
176
+ <h4 class="tsd-parameters-title">Parameters</h4>
177
+ <ul class="tsd-parameter-list">
178
+ <li>
179
+ <h5>result: <span class="tsd-signature-type">SearchResult</span></h5>
180
+ <div class="tsd-comment tsd-typography"><p>The search result to be processed.</p>
181
+ </div></li>
182
+ <li>
183
+ <h5>cancellation: <span class="tsd-signature-type">any</span></h5>
184
+ <div class="tsd-comment tsd-typography"><p>The cancellation token to handle the possibility of cancellation.</p>
185
+ </div></li></ul></div>
186
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SearchResult</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
187
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="resetResults" class="tsd-anchor"></a>
188
+ <h3 class="tsd-anchor-link"><span>reset<wbr/>Results</span><a href="#resetResults" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
189
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
190
+ <li class="tsd-signature tsd-anchor-link" id="resetResults.resetResults-1">reset<wbr/>Results<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetResults.resetResults-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
191
+ <li class="tsd-description">
192
+ <div class="tsd-comment tsd-typography"><p>Clear search results.
193
+ This method must be called when the SearchPanel is closed.</p>
194
+ </div>
195
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
196
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="search" class="tsd-anchor"></a>
197
+ <h3 class="tsd-anchor-link"><span>search</span><a href="#search" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
198
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
199
+ <li class="tsd-signature tsd-anchor-link" id="search.search-1">search<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FindOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AsyncIterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SearchResult</span><span class="tsd-signature-symbol">&gt;</span><a href="#search.search-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
200
+ <li class="tsd-description">
201
+ <div class="tsd-comment tsd-typography"><p>Asynchronously generates search results based on the provided search options.</p>
202
+
203
+ <h3>Example</h3><pre><code class="language-javascript"><span class="hl-1"> </span><span class="hl-5">// Highlight all search results without opening SearchPanel.</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-6">searchIterator</span><span class="hl-1"> = </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">search</span><span class="hl-1">({ </span><span class="hl-2">Text:</span><span class="hl-1"> </span><span class="hl-4">&quot;test&quot;</span><span class="hl-1">, </span><span class="hl-2">MatchCase:</span><span class="hl-1"> </span><span class="hl-0">true</span><span class="hl-1">, </span><span class="hl-2">HighlightAll:</span><span class="hl-1"> </span><span class="hl-0">true</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">applyHighlight</span><span class="hl-1">();</span>
204
+ </code></pre>
205
+
206
+ <h3>Example</h3><pre><code class="language-javascript"><span class="hl-1"> </span><span class="hl-5">// Iterate all search results</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-6">searcher</span><span class="hl-1"> = </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchResults</span><span class="hl-1"> = [];</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-6">searchIterator</span><span class="hl-1"> = </span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">search</span><span class="hl-1">({ </span><span class="hl-2">Text:</span><span class="hl-1"> </span><span class="hl-2">textToSearch</span><span class="hl-1">, </span><span class="hl-2">MatchCase:</span><span class="hl-1"> </span><span class="hl-0">true</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-7">if</span><span class="hl-1"> (</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">)</span><br/><span class="hl-1"> </span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">highlight</span><span class="hl-1">(</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">)</span><br/><span class="hl-1"> </span><span class="hl-7">while</span><span class="hl-1"> (</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1"> &amp;&amp; !</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">done</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-6">searchResultValue</span><span class="hl-1"> = </span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-2">searchResults</span><span class="hl-1">.</span><span class="hl-3">push</span><span class="hl-1">(</span><span class="hl-4">`index: </span><span class="hl-0">${</span><span class="hl-2">searchResultValue</span><span class="hl-10">.</span><span class="hl-2">ItemIndex</span><span class="hl-0">}</span><span class="hl-4">, text: </span><span class="hl-0">${</span><span class="hl-2">searchResultValue</span><span class="hl-10">.</span><span class="hl-2">DisplayText</span><span class="hl-0">}</span><span class="hl-4">, pageIndex: </span><span class="hl-0">${</span><span class="hl-2">searchResultValue</span><span class="hl-10">.</span><span class="hl-2">PageIndex</span><span class="hl-0">}</span><span class="hl-4">`</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-3">log</span><span class="hl-1">(</span><span class="hl-4">&quot;Search results: &quot;</span><span class="hl-1"> + (</span><span class="hl-2">searchResults</span><span class="hl-1">.</span><span class="hl-2">length</span><span class="hl-1"> ? </span><span class="hl-2">searchResults</span><span class="hl-1">.</span><span class="hl-3">join</span><span class="hl-1">(</span><span class="hl-4">&quot;; &quot;</span><span class="hl-1">) : </span><span class="hl-4">&quot;No search results&quot;</span><span class="hl-1">));</span>
207
+ </code></pre>
208
+
209
+ <h3>Example</h3><pre><code class="language-javascript"><span class="hl-5">// Open the document, find the text &#39;wildlife&#39; and highlight the first result:</span><br/><span class="hl-0">async</span><span class="hl-1"> </span><span class="hl-0">function</span><span class="hl-1"> </span><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-3">DsPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">, { </span><span class="hl-2">restoreViewStateOnLoad:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">addDefaultPanels</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">afterOpenPromise</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-9">Promise</span><span class="hl-1">((</span><span class="hl-2">resolve</span><span class="hl-1">)</span><span class="hl-0">=&gt;</span><span class="hl-1">{ </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">onAfterOpen</span><span class="hl-1">.</span><span class="hl-3">register</span><span class="hl-1">(()</span><span class="hl-0">=&gt;</span><span class="hl-1">{ </span><span class="hl-3">resolve</span><span class="hl-1">(); }); });</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">open</span><span class="hl-1">(</span><span class="hl-4">&#39;wetlands.pdf&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">afterOpenPromise</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">findOptions</span><span class="hl-1"> = { </span><span class="hl-2">Text:</span><span class="hl-1"> </span><span class="hl-4">&#39;wildlife&#39;</span><span class="hl-1"> };</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">search</span><span class="hl-1">(</span><span class="hl-2">findOptions</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">cancel</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">highlight</span><span class="hl-1">(</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-4">&#39;#root&#39;</span><span class="hl-1">);</span>
210
+ </code></pre>
211
+
212
+ <h3>Example</h3><p>// Open the document, find the text &#39;wildlife&#39; and print search results to the console:</p>
213
+ <pre><code class="language-javascript"><span class="hl-1"> </span><span class="hl-0">async</span><span class="hl-1"> </span><span class="hl-0">function</span><span class="hl-1"> </span><span class="hl-3">loadPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1"> = </span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-3">DsPdfViewer</span><span class="hl-1">(</span><span class="hl-2">selector</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">addDefaultPanels</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-3">open</span><span class="hl-1">(</span><span class="hl-4">&#39;wetlands.pdf&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> (</span><span class="hl-0">new</span><span class="hl-1"> </span><span class="hl-9">Promise</span><span class="hl-1">((</span><span class="hl-2">resolve</span><span class="hl-1">)</span><span class="hl-0">=&gt;</span><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">onAfterOpen</span><span class="hl-1">.</span><span class="hl-3">register</span><span class="hl-1">(()</span><span class="hl-0">=&gt;</span><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-3">resolve</span><span class="hl-1">();</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> }));</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">findOptions</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-2">Text:</span><span class="hl-1"> </span><span class="hl-4">&#39;wildlife&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">MatchCase:</span><span class="hl-1"> </span><span class="hl-0">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">WholeWord:</span><span class="hl-1"> </span><span class="hl-0">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">StartsWith:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">EndsWith:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">Wildcards:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">Proximity:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">SearchBackward:</span><span class="hl-1"> </span><span class="hl-0">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">HighlightAll:</span><span class="hl-1"> </span><span class="hl-0">true</span><br/><span class="hl-1"> };</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searcher</span><span class="hl-1"> = </span><span class="hl-2">viewer</span><span class="hl-1">.</span><span class="hl-2">searcher</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searcher</span><span class="hl-1">.</span><span class="hl-3">search</span><span class="hl-1">(</span><span class="hl-2">findOptions</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">resultsCount</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">var</span><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-7">do</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-2">searchResult</span><span class="hl-1"> = </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-2">searchIterator</span><span class="hl-1">.</span><span class="hl-3">next</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-7">if</span><span class="hl-1"> (</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-5">// this could be either result or progress message (ItemIndex &lt; 0)</span><br/><span class="hl-1"> </span><span class="hl-7">if</span><span class="hl-1">(</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">.</span><span class="hl-2">ItemIndex</span><span class="hl-1"> &gt;= </span><span class="hl-8">0</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-3">log</span><span class="hl-1">(</span><span class="hl-4">&#39;next search result:&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-3">log</span><span class="hl-1">(</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">resultsCount</span><span class="hl-1">++;</span><br/><span class="hl-1"> } </span><span class="hl-7">else</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-6">pageCount</span><span class="hl-1"> = </span><span class="hl-2">_doc</span><span class="hl-1">.</span><span class="hl-2">pageCount</span><span class="hl-1">.</span><span class="hl-2">totalPageCount</span><span class="hl-1"> || </span><span class="hl-2">_doc</span><span class="hl-1">.</span><span class="hl-2">pageCount</span><span class="hl-1">.</span><span class="hl-2">renderedSoFar</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-3">log</span><span class="hl-1">(</span><span class="hl-4">&#39;search progress, page index is &#39;</span><span class="hl-1"> + </span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">value</span><span class="hl-1">.</span><span class="hl-2">PageIndex</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-7">else</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-3">log</span><span class="hl-1">(</span><span class="hl-4">&quot;Search completed&quot;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-7">break</span><span class="hl-1">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-7">while</span><span class="hl-1">(!</span><span class="hl-2">searchResult</span><span class="hl-1">.</span><span class="hl-2">done</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-3">log</span><span class="hl-1">(</span><span class="hl-4">&#39;Total results count is &#39;</span><span class="hl-1"> + </span><span class="hl-2">resultsCount</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span>
214
+ </code></pre>
215
+
216
+ <h3>Returns</h3><p>An asynchronous iterable iterator that yields search results.</p>
217
+ </div>
218
+ <div class="tsd-parameters">
219
+ <h4 class="tsd-parameters-title">Parameters</h4>
220
+ <ul class="tsd-parameter-list">
221
+ <li>
222
+ <h5>options: <span class="tsd-signature-type">FindOptions</span></h5>
223
+ <div class="tsd-comment tsd-typography"><p>Search options to customize the search.</p>
224
+ </div></li></ul></div>
225
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncIterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SearchResult</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
226
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toggle" class="tsd-anchor"></a>
227
+ <h3 class="tsd-anchor-link"><span>toggle</span><a href="#toggle" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
228
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
229
+ <li class="tsd-signature tsd-anchor-link" id="toggle.toggle-1">toggle<span class="tsd-signature-symbol">(</span>forceExpand<span class="tsd-signature-symbol">??: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#toggle.toggle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
230
+ <li class="tsd-description">
231
+ <div class="tsd-comment tsd-typography"><p>Toggles the visibility of the Search UI.</p>
232
+ </div>
233
+ <div class="tsd-parameters">
234
+ <h4 class="tsd-parameters-title">Parameters</h4>
235
+ <ul class="tsd-parameter-list">
236
+ <li>
237
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> forceExpand: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>
238
+ <div class="tsd-comment tsd-typography"><p>Indicates whether to force expanding the Search UI. Default is true.</p>
239
+ </div></li></ul></div>
240
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
241
+ <p>Implementation of IPdfSearcher.toggle</p></aside></li></ul></section>
242
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateAllPages" class="tsd-anchor"></a>
243
+ <h3 class="tsd-anchor-link"><span>update<wbr/>All<wbr/>Pages</span><a href="#updateAllPages" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
244
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
245
+ <li class="tsd-signature tsd-anchor-link" id="updateAllPages.updateAllPages-1">update<wbr/>All<wbr/>Pages<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateAllPages.updateAllPages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
246
+ <li class="tsd-description">
247
+ <div class="tsd-comment tsd-typography"><p>Repaint highlight for visible pages.</p>
248
+ </div>
249
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></section>
250
+ <section class="tsd-panel-group tsd-member-group">
251
+ <h2>Accessors</h2>
252
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="_query" class="tsd-anchor"></a>
253
+ <h3 class="tsd-anchor-link"><span>_query</span><a href="#_query" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
254
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
255
+ <li class="tsd-signature" id="_query._query-1"><span class="tsd-signature-symbol">get</span> _query<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
256
+ <li class="tsd-description">
257
+ <div class="tsd-comment tsd-typography">
258
+ <h3>Returns</h3><p>The (current) normalized search query.</p>
259
+ </div>
260
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section>
261
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="highlightAll" class="tsd-anchor"></a>
262
+ <h3 class="tsd-anchor-link"><span>highlight<wbr/>All</span><a href="#highlightAll" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
263
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
264
+ <li class="tsd-signature" id="highlightAll.highlightAll-1"><span class="tsd-signature-symbol">get</span> highlightAll<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
265
+ <li class="tsd-description">
266
+ <div class="tsd-comment tsd-typography"><p>Gets highlightAll option.</p>
267
+ </div>
268
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li>
269
+ <li class="tsd-signature" id="highlightAll.highlightAll-2"><span class="tsd-signature-symbol">set</span> highlightAll<span class="tsd-signature-symbol">(</span>checked<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
270
+ <li class="tsd-description">
271
+ <div class="tsd-comment tsd-typography"><p>Sets highlightAll option.</p>
272
+ </div>
273
+ <div class="tsd-parameters">
274
+ <h4 class="tsd-parameters-title">Parameters</h4>
275
+ <ul class="tsd-parameter-list">
276
+ <li>
277
+ <h5>checked: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
278
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
279
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="selectedSearchResult" class="tsd-anchor"></a>
280
+ <h3 class="tsd-anchor-link"><span>selected<wbr/>Search<wbr/>Result</span><a href="#selectedSearchResult" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
281
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
282
+ <li class="tsd-signature" id="selectedSearchResult.selectedSearchResult-1"><span class="tsd-signature-symbol">get</span> selectedSearchResult<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SearchResult</span></li>
283
+ <li class="tsd-description">
284
+ <div class="tsd-comment tsd-typography"><p>Gets selected search result.</p>
285
+ </div>
286
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SearchResult</span></h4></li></ul></section>
287
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="selectedSearchResultIndex" class="tsd-anchor"></a>
288
+ <h3 class="tsd-anchor-link"><span>selected<wbr/>Search<wbr/>Result<wbr/>Index</span><a href="#selectedSearchResultIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
289
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
290
+ <li class="tsd-signature" id="selectedSearchResultIndex.selectedSearchResultIndex-1"><span class="tsd-signature-symbol">get</span> selectedSearchResultIndex<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
291
+ <li class="tsd-description">
292
+ <div class="tsd-comment tsd-typography"><p>Gets selected search result index. Returns -1 if nothing is selected.</p>
293
+ </div>
294
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section>
295
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="state" class="tsd-anchor"></a>
296
+ <h3 class="tsd-anchor-link"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
297
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
298
+ <li class="tsd-signature" id="state.state-1"><span class="tsd-signature-symbol">get</span> state<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PdfSearcherOptions</span></li>
299
+ <li class="tsd-description">
300
+ <div class="tsd-comment tsd-typography"><p>Retrieves non-empty searcher options.</p>
301
+
302
+ <h3>Returns</h3><p>The current state of the PDF searcher options, ensuring that it is a valid object.</p>
303
+ </div>
304
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PdfSearcherOptions</span></h4></li></ul></section>
305
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="totalResultsCount" class="tsd-anchor"></a>
306
+ <h3 class="tsd-anchor-link"><span>total<wbr/>Results<wbr/>Count</span><a href="#totalResultsCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
307
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
308
+ <li class="tsd-signature" id="totalResultsCount.totalResultsCount-1"><span class="tsd-signature-symbol">get</span> totalResultsCount<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
309
+ <li class="tsd-description">
310
+ <div class="tsd-comment tsd-typography"><p>Gets total search results count.</p>
311
+ </div>
312
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section>
313
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="totalResultsCountPromise" class="tsd-anchor"></a>
314
+ <h3 class="tsd-anchor-link"><span>total<wbr/>Results<wbr/>Count<wbr/>Promise</span><a href="#totalResultsCountPromise" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
315
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
316
+ <li class="tsd-signature" id="totalResultsCountPromise.totalResultsCountPromise-1"><span class="tsd-signature-symbol">get</span> totalResultsCountPromise<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
317
+ <li class="tsd-description">
318
+ <div class="tsd-comment tsd-typography"><p>Gets total search results count promise.</p>
319
+ </div>
320
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section></div>
321
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
322
+ <div class="tsd-navigation settings">
323
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
324
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
325
+ <div class="tsd-accordion-details">
326
+ <div class="tsd-filter-visibility">
327
+ <h4 class="uppercase">Member Visibility</h4><form>
328
+ <ul id="tsd-filter-options">
329
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
330
+ <div class="tsd-theme-toggle">
331
+ <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
332
+ <nav class="tsd-navigation primary">
333
+ <details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
334
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
335
+ <div class="tsd-accordion-details">
336
+ <ul>
337
+ <li><a href="../index.html">Document <wbr/>Solutions PDF <wbr/>Viewer -<wbr/> v7.1.0</a>
338
+ <ul></ul></li></ul></div></details></nav>
339
+ <nav class="tsd-navigation secondary menu-sticky">
340
+ <ul>
341
+ <li class="current tsd-kind-class"><a href="GcPdfSearcher.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Gc<wbr/>Pdf<wbr/>Searcher</span></a>
342
+ <ul>
343
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#_extractText" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>_extract<wbr/>Text</a></li>
344
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#_isEntireWord" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>_is<wbr/>Entire<wbr/>Word</a></li>
345
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#_prepareMatches" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>_prepare<wbr/>Matches</a></li>
346
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#_query" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>_query</a></li>
347
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#applyHighlight" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>apply<wbr/>Highlight</a></li>
348
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#cancel" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>cancel</a></li>
349
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#highlight" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>highlight</a></li>
350
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#highlightAll" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>highlight<wbr/>All</a></li>
351
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#isResultSelected" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>is<wbr/>Result<wbr/>Selected</a></li>
352
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#nextSearchResult" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>next<wbr/>Search<wbr/>Result</a></li>
353
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#resetResults" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>reset<wbr/>Results</a></li>
354
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#search" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>search</a></li>
355
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#selectedSearchResult" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>selected<wbr/>Search<wbr/>Result</a></li>
356
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#selectedSearchResultIndex" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>selected<wbr/>Search<wbr/>Result<wbr/>Index</a></li>
357
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#state" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>state</a></li>
358
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#toggle" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>toggle</a></li>
359
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#totalResultsCount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>total<wbr/>Results<wbr/>Count</a></li>
360
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="GcPdfSearcher.html#totalResultsCountPromise" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>total<wbr/>Results<wbr/>Count<wbr/>Promise</a></li>
361
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="GcPdfSearcher.html#updateAllPages" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>update<wbr/>All<wbr/>Pages</a></li></ul></li></ul></nav></div></div>
362
+ <div class="overlay"></div><script src="../assets/main.js"></script></body></html>