使用pdf框区分上标和下标 [英] Superscript and subscript differentiation using pdf box

查看:73
本文介绍了使用pdf框区分上标和下标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 pdfbox 的新手在使用 pdfbox 库从 pdf 中提取文本时或在提取文本后,有什么方法可以将上标和下标文本与普通文本区分开来,谢谢..

I am new to pdfbox Is there any way to differentiate superscript and subscript text from normal text when extracting or after extracting text from pdf using pdfbox library thanks..

推荐答案

检查此链接是否有帮助

https://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/PrintTextLocations.java

这篇关于使用pdf框区分上标和下标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆