xyzasd01's recent timeline updates
xyzasd01

xyzasd01

🏢  360 / PHP
V2EX member #94497, joined on 2015-01-29 12:21:49 +08:00
xyzasd01's recent replies
Sep 8, 2015
Replied to a topic by tanteng PHP 请教 PHP 有什么的好的办法生成流水号?
如果自增主键从 1 开始。那该订单的流水号就是 100000000 + $自增 ID 。
我只是喜欢知春路。。。
May 5, 2015
Replied to a topic by xxer Python pdf 转成 word 用 python 实现
@xxer 不是说一定乱码,只是可能会发生,word太杂了,什么都有。不标准
Apr 30, 2015
Replied to a topic by xxer Python pdf 转成 word 用 python 实现
如果要单纯的去读word。很难,非常难。

java有tika的库,但是有些读不了,比如猎聘网下载的简历。

php有phpword,但是只能读取word2007及以上。就是.docx的。

我的项目遇到的问题:

读取word,有的是html,有些是真正的word,有些是base64。。。。。。有无数种。。。。需要无数种的方法来读。。html的最简单,base64的要截取一部分,然后unbase64会还原成html。。。。我擦擦
Apr 30, 2015
Replied to a topic by xxer Python pdf 转成 word 用 python 实现
@xyzasd01

补充一下。pdftohtml的命令是要安装yum install poppler-utils

然后你pdftohtml,pdftotext之类的一大堆都可以用了。。

祝好~
Apr 30, 2015
Replied to a topic by xxer Python pdf 转成 word 用 python 实现
命令行:
“pdftohtml 文件名”

然后用word打开html就可以了。

如果要默认word打开,你把.html改成.doc就可以了。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3007 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 13:12 · PVG 21:12 · LAX 06:12 · JFK 09:12
♥ Do have faith in what you're doing.