Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Help me

 
Sukhadev Patil
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
concerning this regard'In my application, i want to send one MS-word file to client side,but only in read-only mode. I am sending this file through IFRAME tag,here i m choosing this file at run time. How can i display this file at browser side only in read-only mode'
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Report post to moderator
I don't know how to change an MS Word document into a read-only document automatically when it is downloaded. Frankly, I don't understand why you are concerned about making it read-only. The document the user receives in the download is a copy, not the original. The users can change it all they like, and it still won't affect the original.

If you still need to make it read-only, I'd suggest looking at the apache POI project. This project provides an API for manipulating Microsoft format files. Check out the documentation, and you may find a way to do what you need to do.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64702
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic