简体   繁体   中英

Display contents of docx file in android activity

I have a docx file inside my android app. I want to view its contents on an activity , page wise.

say, I want to view page no 2, i want something like

display(DOCX_NAME,2);   

also, on display, there should not be any re-formatting(I want the docx page to be displayed as if a snapshot was taken of it)

how do i go about it? also, its a 200 page docx, and I will use the display part quite a few times during runtime.

They is no concept of a page in the docx format: The pages completely depend on the implementation of the wordviewer.

However, JasonPluText has created a demo showing AndroidDocxToHTML

See this question for more details: how to Show or Read docx file

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM