Conversion of word document to pdf in android

前端 未结 1 1917
情歌与酒
情歌与酒 2021-01-01 06:20

I know that there n number of question in stackoverflow which is about this same issue, but i didn\'t get what i was looking for. I even tried using jwordconvert.jar

相关标签:
1条回答
  • 2021-01-01 06:57

    Disclosure: I work on docx4j

    docx4j can produce PDF output; see ConvertOutPDF.java

    If that quality is acceptable for your purposes, then you can use the docx4j Android build. See jaxb-can-be-made-to-run-on-android

    You'll still need to give Java enough heap space; as per the blog post, to give Eclipse more heap space (symptom is ‘you get Unable to execute dex: Java heap space’) edit eclipse.ini, with something like:

    -Xms256m
    
    -Xmx4096m
    
    0 讨论(0)
提交回复
热议问题