Microsoft word documents and removing policy.

Can DocumentManger class can be used to remove security policy from secured Microsfot word docuemnts.
Or protable protection library is the only way to deal with Microsoft word documents?
I want my application to remove the strip off all security information from the document and re insert the same again at a later point.
is portable protection library is the only way to go here.

Thanks Steve for pointing out to API.
I am getting exception as below for java client code snippet while inspecting document which is secured using MS Word 2007.
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://vvcon-qa-1.ptcnet.ptc.com:1099");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceC lientFactoryProperties.DSC_EJB_PROTOCOL);         
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "administrator");
ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);
RightsManagementClient rightsClient = new RightsManagementClient(factory);
//Reference a policy-protected Word document from which to remove a policy
FileInputStream is = new FileInputStream(args[0]);
Document inPDF = new Document(is);
//Create a Document Manager object
DocumentManager  documentManager = rightsClient.getDocumentManager();
RMInspectResult lic = documentManager.inspectDocument(inPDF);
Exception I am getting
com.adobe.edc.sdk.SDKException: Error while looking up RM Header in the document -- Invalid argument(error code bin: 1281, hex: 0x501)
    at com.adobe.livecycle.rightsmanagement.RightsManagementService.throwSDKException(RightsMana gementService.java:958)
    at com.adobe.livecycle.rightsmanagement.RightsManagementService.getLicenseID(RightsManagemen tService.java:794)
    at com.adobe.livecycle.rightsmanagement.RightsManagementService.inspectDocument(RightsManage mentService.java:2260)
Event if I try with user who can access document after connecting to LiveCycle ES2 from Microsoft Word 2007 I am getting same exception.
I can acess document from MS Word after I have secured it using all users who have right permission for document but from java client I am not able to do that. Looks like RMS information is not embedded properly in my document.
jars included in my classpath are
adobe-rightsmanagement-client.jar,namespace.jar,jaxb-api.jar,jaxb-impl.jar,jaxb-libs.jar,j axb-xjc.jar,relaxngDatatype.jar,adobe-livecycle-client.jar,adobe-usermanager-client.jar,jb ossall-client.jar
My client is running on Windows XP 32 bit with Office 2007.
Server is installed on Windows server 2008 R2 64 bit and deplyoed using JBoss.
Regards,
Sharang

Similar Messages

  • So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    Workarounds:
    1.  Restore the OS X that you formerly used to run Word 2004;
    2.  Partition your hard drive or attach an external hard drive and install Snow Leopard (and Rosetta) so that you can "dual-boot" into Microsoft Word 2004;
    3.  Upgrade to Word 2011 or use an alternative program; or
    4.  The solution I use: Install Snow Leopard (and Rosetta) into Parallels 7 or 8:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • Can I transfer an e-mail to a microsoft word document and how

    I have an e-mail that I want to transfer or copy to Word. Is that possible and how can I do it if it is?

    I just sent them a test email and it comes back with the error: "User is over quota". So it sounds like their Inbox is full.
    Here's the Whois page for them: [http://whois.domaintools.com/stanleymarket.com.hk Stanley Market Hong Kong] Maybe you can try the email addy listed there instead.
    There's a very useful Add-on you can consider adding to your collection called '''Flagfox'''. It adds the country's flag to the location bar when you go to a site and by right clicking that, you can check who owns the site - ''which is how I was able to give you the Whois info'' - and lots of other useful stuff. You can install it from here: [https://addons.mozilla.org/en-US/firefox/addon/flagfox/ Flagfox 4.1.1] It's been downloaded 13 million times which has to be a record I think.
    Sorry, forgot to answer your original question. No, you can't send an email to a fax number.
    EDIT: Just found these: http://www.makeuseof.com/tag/send-email-fax-machine/

  • Microsoft Word documents and Leopard - Letters open to today's date?

    Not sure if this is Apple but I will give it a stab.
    New iMac (yeah for me) and I noticed with Office 2004 if I open up a cover letter for example, the date in the letter switches to today's date and not the day I saved in the letter.
    Bug? Setting?

    Whenever I opened a letter in Word, it does the same thing, both on my Tiger computer and Leopard computer - I keep sort of a master cover letter and the date changes whenever I open it up to change the wording. Don't know how you could prevent it from changing to today's date since I've always wanted today's date to show up

  • Good day sir, please i just got an iPAD 4 and I have bee having a serious difficulties performing some operations on it of which  was told it is possible one of which is to create a microsoft word documents on my iPAD the second is attaching a file to y e

    Good day sir, please i just got an iPAD 4 and I have bee having a serious difficulties performing some operations on it of which  was told it is possible one of which is to create a microsoft word documents on my iPAD the second is attaching a file to y e mail in order too send Also, I have not been able to safe a download files on my iPAD as I do not have a download manager on it. Please, kindly send to me ways of getting these problems fixed as i am a young resarcher who sends a lot of mails and download as wel. Als, I am always on the move as this has propmted me in the first place to get an IPAD .
    Last but not the list II will equally wish to know if it will be possible for  me to use a pen to take seminar notes on my iPAD and safe the same on my iPAD fr later reference as it is done on other tablets ke samsung. I read somethng like stylus pen but I don't know how far. Please, kindly make an appropriate recommendaton for me and where i can get it. I reside in Turkey and currently a Ph.D stuudent in ine of the leading niversities in the country. Also, I will like to know if you ave ecoonomics text books that I can buy or published journas in apple store because i have searched but could not get  a desirerable ones.
    Once again, thanks for your anticipated prompt rely to my mail.
    Regards
    Wasu Fawole

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Integrating Microsoft Word documents with ADF BC and JClient technologies

    Hi,
    We are developing a Police Management System in JAVA with the Oracle Jdeveloper 10.1.2.0.0. We are using for the access to the data, in the businesses tier, the ADF Business Component Technology and for the User Interface, in the client tier, the JClient for ADF Technology. The used Database is Oracle Enterprise Edition 10.1.0.3.0. with the intermedia option.
    We were looking for ways to upload and insert Microsoft Word Documents into a view object using JClient on the client tier. We have found the following options:
    1) Oracle Intermedia database datatype ORDSYS.ORDDOC and their corresponding ADF Business Compomnents domains -> The problem is using Jclient on the client tier. In Oracle JDeveloper 10g, developers will not be able to create new applications using JClient interMedia controls. JUImage (limited to images only) is the JClient control available to access multimedia in the database.
    2) Oracle COM Automation Feature -> We were studying the possibility to built a solution with Oracle and Microsoft Word using Oracle COM Automation Feature for Java. The problem is Oracle COM Automation Feature requires Windows NT, Windows XP, Windows 2000, or Windows Server 2003. We are using a database on linux, therefore this option is not valid.
    3) CLOBs in database and theirs corresponding ADF Business Components domains -> But I don't know how to use ADF BC objects in JClient tier.
    Can someone please help?
    Thanks,
    Patri

    Hi,
    I have worked with BLOBS or CLOBS and their corresponidng ADF Business Components domains, but I don't know how to use ADF BC objects in JClient tier.
    To sum up, I want to upload, insert and view microsoft word documents by using a JClient application using ADF/BC4J components.
    Thanks,
    Patri

  • When I save a document in Microsoft Word 2010 and then open it, I am unable to read it

    When I save a document in Microsoft Word 2010 and then open it, I am unable to read it because it is gibberish with all kinds of symbols and numbers.  I understand it has something to do with Adobe Reader.  Has anyone else had this problem and how do I correct it?

    Put your cursor on the icon of one of your scanned documents. Click on the right button of your mouse. In the list that will appear, put your cursor on Properties and click on the left button of your mouse. In the window that you'll get, read and make a note of what you see next to "File type" and "Opens with". Then post here what you saw.
    If you don't understand these instructions, please ask for more details.

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • HT2506 hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • Sometimes when i get out of the full screen option for a microsoft word document i lose my main toolbar (the toolbar with the minimize and escape buttons, etc. etc.)

    Sometimes when i get out of the full screen option for a microsoft word document i lose my main toolbar (the toolbar with the minimize and escape buttons, etc. etc.)??

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro

  • I have a MacBook Pro (2011) and need to access Microsoft word documents. Is there any way to do this??

    I have a MacBook Pro (2100) OS 10.7.5 and need to access some Microsoft Word documents- but that is no longer supported in my 10.7.5 - is there any way around this????

    Miss Pamela wrote:
    I have a MacBook Pro (2100) OS 10.7.5 and need to access some Microsoft Word documents- but that is no longer supported in my 10.7.5 - is there any way around this????
    Sure, download the free/donationware LibreOffice.
    https://www.libreoffice.org/
    Cross platform and loaded with goodies.

  • I downloaded Lion onto my Mac, and now cannot open or access any of my Microsoft word documents or Power Points. Is there a fix for this? I need my documents

    I downloaded Lion onto my Mac, and now cannot open or access any of my Microsoft word documents or Power Points. Is there a fix for this? I need my documents

    If it's because you were using Office 2004, the eight year old version of Office that was written when Intel processors were not used in Macs, then there will be no fix. Lion dropped support for PowerPC applications, as has been widely reported since Lion's release last August.
    You can upgrade Office 2004 to Office 2008 or Office 2011. You can use iWorks 2009 that can open Microsoft files. You can use a number of free applications that are also capable of working with Microsoft documents. You can go back to Snow Leopard, if you have a backup. Or, if you have an external drive or room to add a partition to your current drive, you can install Snow Leopard on it.
    Search these forums for more information. If this is your issue, it's been posted and answered several times a day since August 2011.

  • How can I fix a document having a microsoft Word logo and a "PDF" file extention?

    I am a subscriber to Adobe Create PDF. When I scan in documents from my HP 8600 all in one, it shows up in my computer with a pdf file extention, but with a microsoft WORD logo. I cannot simply open it with a double click and see a PDF adobe display. Instead I get a window generated from WORD that has garbage symbols and unreadable cybertext which I cannot convert. How can the be fixed?

    Thanks, it worked.
    In a message dated 12/9/2013 3:53:33 A.M. Pacific Standard Time, 
    [email protected] writes:
    Re:  How can I fix a document having a microsoft Word logo and a "PDF" file
    extention?
    created by Gilad D (try67) (http://forums.adobe.com/people/try67)  in 
    Adobe Reader - View the full  discussion
    (http://forums.adobe.com/message/5913330#5913330)

  • Lost Microsoft Word Documents

    I started my computer (HP Pavilion dv6 Laptop) this evening and all my work files I had saved to the desktop (all Microsoft word documents) are gone and I can't find them anywhere.  Nothing has been changed on the computer since we got it back two weeks ago after it did a system restore on us.  This is the second time this has happened and i need the documents for work.  Can anyone help?

    Hi,
    It may be worth checking that the documents haven't become hidden as follows.
    From the Start Menu, open the Control Panel and open Folder Options.  Click the View tab, fill in the radio button tittled 'Show hidden files folders and Drives' and click apply to make the change.
    Now check your Desktop to see if the files are now visible.
    If they are, for each file in turn, right click and select Properties.  On the General tab, next to the sub-heading 'Attributes', remove the tick from 'Hidden' and click Apply to save the change.
    When done, open the Control Panel and open Folder Options.  Click the View tab, fill in the radio button tittled 'Don't show hidden files, folders or Drives' and click apply to make the change.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Pages problem opening up a Microsoft Word document??!!!

    Hi all,
    I have just purchased iWork'08 and I have a question about Pages. I do not know anything about Office programs, apart from how to write basic letters in Word! I decided to go with iWork'08 as I love Apple and wanted to give Apple's office suite a try.
    As I have said previously, I don't know anything about Pages. My problem is that I have a Resume in the .DOC format, which I created previously in Microsoft Word years ago when I was a Windows user. I have not had any problems with it though, even when I moved to Mac, because I was using NeoOffice. Now though, when I am using Pages, once I open up my Resume, I get a message from Pages telling me the following: Some Problems Occurred, Type: Import Warning, Description: Document backgrounds aren't supported and were removed.
    This information appears in it's own box when I open the document up and indeed, the document is not formatted as it is supposed to, as it is in Microsoft Word or NeoOffice. Why is this, what is going on and most importantly, how do I make Pages just show the document as it supposed to be shown??? I was told it was compatible with Microsoft Word documents, but it is not doing a good job with them so far!!! Please help!!
    I look forward to your replies.

    Tables! Why did it have to be tables? (Excuse me for channeling Indiana Jones there.)
    I've had some luck with fixing imported table formatting in Pages by first making the borders and inside dividers visible. Select a table after opening the inspector and selecting the tables tab. Find the Cell Borders buttons and select each one, then click on the pop-up button below and select the Thin line. Do this for each table.
    Now that you can see the lines and the text inside each cell you can begin cleaning up. There will likely be 2 problems: vertical cell borders won't align down the page and some text will be too big to fit inside. You may also find that not all the tables align to the left side of the page
    Step 0: if the tables don't align to the left side of the page, fix that
    Step 1: reduce the text size - you may have to choose a new font
    Step 2: align the vertical borders
    good luck

Maybe you are looking for