{"id":8813,"date":"2026-06-29T15:42:11","date_gmt":"2026-06-29T07:42:11","guid":{"rendered":"https:\/\/support.fuxinsoft.cn\/?p=8813"},"modified":"2026-07-22T16:47:26","modified_gmt":"2026-07-22T08:47:26","slug":"%e5%a6%82%e4%bd%95%e8%87%aa%e5%ae%9a%e4%b9%89%e6%b3%a8%e9%87%8a%e5%af%b9%e8%b1%a1%e7%9a%84%e5%8f%8c%e5%87%bb%e5%93%8d%e5%ba%94%e4%ba%8b%e4%bb%b6%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=8813","title":{"rendered":"\u5982\u4f55\u81ea\u5b9a\u4e49\u6ce8\u91ca\u5bf9\u8c61\u7684\u53cc\u51fb\u54cd\u5e94\u4e8b\u4ef6\uff1f"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"8813\" class=\"elementor elementor-8813\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7bf7151d e-flex e-con-boxed e-con e-parent\" data-id=\"7bf7151d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c56b81 elementor-widget elementor-widget-text-editor\" data-id=\"c56b81\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<p class=\"ds-markdown-paragraph wp-block-paragraph\"><strong><span class=\"\">\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u5c4f\u853d\u9ed8\u8ba4\u7684\u6ce8\u91ca\u53cc\u51fb\u884c\u4e3a\uff0c\u5e76\u81ea\u5b9a\u4e49\u53cc\u51fb\u4e8b\u4ef6\u7684\u54cd\u5e94\u903b\u8f91\u3002<\/span><\/strong><\/p>\n<p><em>\u7b2c\u4e00\u6b65\uff0c\u5c4f\u853d\u7f3a\u7701\u7684\u6ce8\u91ca\u53cc\u51fb\u4e8b\u4ef6\uff08\u5982\u9700\u8981\uff09\uff1a<\/em><\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u53cc\u51fb\u6ce8\u91ca\u4f1a\u5c55\u5f00\u5de6\u4fa7\u4fa7\u8fb9\u680f\u7684\u6ce8\u91ca\u5217\u8868\u3002\u5982\u9700\u5c4f\u853d\u8be5\u884c\u4e3a\uff0c\u53ef\u901a\u8fc7\u6ce8\u518c\u5339\u914d\u89c4\u5219\u8986\u76d6\u9ed8\u8ba4\u7ec4\u4ef6\uff0c\u4f7f\u5176 showReplyDialog\u00a0\u65b9\u6cd5\u8fd4\u56de\u00a0false\uff1a<\/p>\n<p><code>\npdfui.getPDFViewer().then(function (pdfViewer) {\n  return pdfViewer.getAnnotManager();\n}).then(function (annotManager) {\n  annotManager.registerMatchRule(function (annot, AnnotComponent) {\n    return class CustomRule extends AnnotComponent {\n      constructor (annot, eUi, eHandler, AnnotComponent) {\n        super(annot, eUi, eHandler, AnnotComponent);\n      }\n      showReplyDialog(){\n\t    return false\n      }\n    }\n  })\n})\n<\/code><\/p>\n\n<p class=\"wp-block-paragraph\"><em>\u7b2c\u4e8c\u6b65\uff0c\u76d1\u542c\u6ce8\u91ca\u53cc\u51fb\u4e8b\u4ef6\uff0c\u5e76\u81ea\u5b9a\u4e49\u54cd\u5e94\uff1a<\/em><\/p>\n\n<pre class=\"wp-block-code\"><span class=\"\">\u5c4f\u853d\u9ed8\u8ba4\u884c\u4e3a\u540e\uff0c\u53ef\u901a\u8fc7\u76d1\u542cdoubleTapAnnotation<\/span><span class=\"\">\u4e8b\u4ef6\u5b9e\u73b0\u81ea\u5b9a\u4e49\u7684\u53cc\u51fb\u54cd\u5e94\u903b\u8f91\uff1a<\/span><br \/><br \/><code>var Events = UIExtension.PDFViewCtrl.Events;\npdfui.eventEmitter.on(Events.doubleTapAnnotation, (annotRender) =&gt; {\n\t\/\/\u83b7\u53d6\u5f53\u524d\u53cc\u51fb\u7684\u6ce8\u91ca\u5bf9\u8c61\u6570\u636e\n\tvar selectedAnnot = annotRender.getAnnot();\n\t\/\/\u62ff\u5230\u6ce8\u91ca\u5bf9\u8c61selectedAnnot\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\uff0c\u6216\u8c03\u7528\u63a5\u53e3\u8fdb\u4e00\u6b65\u83b7\u53d6\u6307\u5b9a\u7684\u5c5e\u6027\n\talert(selectedAnnot.info.objectNumber,selectedAnnot.getType())\n})<br \/>\u76d1\u542c\u56de\u8c03\u4e2d\u901a\u8fc7 annotRender.getAnnot() \u83b7\u53d6\u5f53\u524d\u53cc\u51fb\u7684\u6ce8\u91ca\u5bf9\u8c61\uff0c\u4e4b\u540e\u53ef\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u5bf9\u8be5\u5bf9\u8c61\u8fdb\u884c\u8fdb\u4e00\u6b65\u5904\u7406\u3002\n<\/code><\/pre>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8dd3715 e-flex e-con-boxed e-con e-parent\" data-id=\"8dd3715\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2d469ca elementor-align-center elementor-widget elementor-widget-button\" data-id=\"2d469ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/developers.fuxinsoft.cn\/free-trial\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">\u514d\u8d39\u83b7\u53d6 SDK \u8bd5\u7528<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u5c4f\u853d\u9ed8\u8ba4\u7684\u6ce8\u91ca\u53cc\u51fb\u884c\u4e3a\uff0c\u5e76\u81ea\u5b9a\u4e49\u53cc\u51fb\u4e8b\u4ef6\u7684\u54cd\u5e94\u903b\u8f91\u3002 \u7b2c\u4e00\u6b65\uff0c\u5c4f\u853d\u7f3a\u7701\u7684\u6ce8\u91ca\u53cc\u51fb\u4e8b\u4ef6\uff08\u5982\u9700\u8981\uff09\uff1a [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[78,374],"class_list":["post-8813","post","type-post","status-publish","format-standard","hentry","category-websdk","tag-faq","tag-374"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","_links":{"self":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/8813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8813"}],"version-history":[{"count":5,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/8813\/revisions"}],"predecessor-version":[{"id":9116,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/8813\/revisions\/9116"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}