简体   繁体   中英

How to edit MS Word document file properties in Android?

How can I edit Microsoft Word document file properties? (eg Title, Author, Subject, etc.)

Bharat you should try Apache POI library.
This library supports to read, write and get the properties of all Microsoft Office Documents like doc,ppt and xls files.
Here is an example how use it. Hope it helps.

If you mean the new.docx format of Office >= 2007, you can do this by:

  1. Rename.docx to.zip
  2. Unpack the.zip file
  3. Find the.xml file with the property definitions
  4. Change them
  5. Pack and rename the files again

Check this out

** Disclosure: I manage the docx4j project **

If you mean docx, you could try docx4j, which runs on Android .

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