poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajeet V. Singh" <Ajeet.Si...@mastek.com>
Subject Creating encrypted documen(.doc and .docx)
Date Fri, 01 Aug 2014 05:19:51 GMT

I am editing a ms document using XWPFDocument and HWPFDocument for .docx and .doc respectively
so far things are working fine am able to read,write and update the files. But while reading
files protected by password am facing few problem, can someone help me to get out of this


è  I have to read an encrypted file and write the content of that file in new file with some
modification and with same password protection

è  While using EncryptionInfo we are able to read .docx file but it's not working if we use
it for .doc

Please help me with some solution and let me know if require any additional detail around

Thanks and Regards,
| Ajeet Singh |  Mastek Ltd | Mobile: +91 8652467708 |MNDC - Mahape

In the US, we're called MAJESCOMASTEK

Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited,
unless specifically indicated to that effect. Mastek Limited does not accept any responsibility
or liability for it. This e-mail and attachments (if any) transmitted with it are confidential
and/or privileged and solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any action in reliance
upon this information by persons or entities other than the intended recipient is prohibited.
This e-mail and its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and attachments before
opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop
and server.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message