问题标签 [pdfclown]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - 字体访问上的 PdfClown 空指针
我在使用 PdfClown 0.1.2 编写文本时遇到了一些奇怪的事情。
在 JUnit 测试中一切正常,但在生产模式下,第二种方法在 showText 上失败。
字体是否需要以某种不同的方式处理,或者什么可能导致这个问题?在第一种方法中,正在呈现文本,这里最奇怪的是什么。
c# - How to add annotations and highlights to an encrypted PDF file?
I need to write an application, which highlights some text in a PDF file and add annotations to them.
I've used the PDF Clown library and it works well with non-encrypted files in the following way:
- I read the PDF file A.
- Add some annotations and highlights.
- Write out the result to PDF file B.
File A is not changed.
This works well for non-encryped files, but does not work for encrypted ones.
How can I add highlights and annotations to an encrypted file in C# or Java?
pdf - 使用 pdf-clown 评论或突出显示两列 pdf
我已经通过谷歌搜索/so/forums for pdfClown/pdfbox 搜索可能的解决方案,并将问题发布在 SO。
问题:我一直在尝试找到一种解决方案来突出显示跨越 pdf 文档中多行的文本。pdf 可以有一/两列页面。
通过使用 pdf-clown,我能够突出显示短语,前提是所有单词都出现在同一行中。pdfBox 为单个单词创建了 XML,我找不到短语/行的解决方案。
如果有的话,请为 pdf-clown 提出解决方案。(或)任何其他能够突出显示 pdf 中多行文本的工具,具有 JAVA 兼容性。
我无法理解类似问题的答案,但是 iText,有什么帮助吗?: Multiline markup annotations with iText
java - 线程“主”org.pdfclown.util.parsers.ParseException 中的异常:“名称”表不存在
我正在尝试运行由Stefano Chizzolini(真棒家伙:PDFClown 的创建者)编写的 Java 代码,以使用 PDF Clown 库解析 PDF 。我收到了这个错误,我不知道我能做些什么来解决这个问题。
我知道库包中的类OpenFontParser抛出了这个错误。我能做些什么来解决这个问题吗?
此代码适用于大多数 PDF。我有一个无法解析的 PDF。我猜这是因为pdf下面的这个符号。
pdfclown - pdfclown 突出显示不适用于某些 pdf 文件
我正在使用 pdfclown 库突出显示 pdf 文件中的一些文本,但由于某种原因,当我运行 TextHighlightSample 时出现 nullpointerexception 错误。
有谁知道如何解决这个问题?
pdfclown - 在网络上运行 Pdfclow
有谁知道在 java servlet 上运行 pdfclown 的命令或方式?库中包含 pdfclown.samples.web 文件夹,但自述文件没有说明如何运行服务器。
java - PDFClown Hello World 不工作
我正在尝试运行第一个 PDFClown java示例
但我无法运行它。找不到样本,以及序列化方法。此外,运行 Overriding 目前似乎有任何意义。你能帮助我吗?谢谢
java - 无法在我的项目中正确包含 PDFClown
我第一次尝试使用 PDFClown。如自述文件中所写,我尝试通过以下步骤在我的 Java 工作区 Eclipse IDE 中导入 PDFClown 项目 1)文件 => 导入... => 将现有项目导入工作区 => 然后我选择了下载的 Java 文件夹PDFClown Zip(0.1.2 Beta 版)
在此之后,我的包资源管理器中有 5 个项目,其中 4 个由 PDFClown 和我的项目所有。现在,我得到 38 个错误;最后一个是相对于我原始项目中 HelloWorld 的实现。
编辑:对于混乱的错误报告,我很抱歉,如果有人可以帮助以更友好的方式显示它,我会很高兴
编辑:实际上我已经下载了 org.apache.commons.fileupload Jar,然后通过继续 Project => Properties => Java Build Path => Libraries => Add External Jars 包含它现在我的错误更少但是......真的要这么复杂吗?
pdfclown - 获取 acroform 字段的字体和大小
我需要访问 acroform 文本字段的字体样式和大小。我可以通过pdfclown访问该Field
对象,但不知道如何访问该字体。有人知道怎么做吗?