How to set password to a document using OOo API

Java, C++, C#, Delphi, ??? - Using the UNO bridges

How to set password to a document using OOo API

Postby gopusrinivas » Tue Feb 28, 2012 10:26 am

Hi All,

I need help and my requirement is setting password to my open office document with out opening using OOo API using java program.
window7 open office 3.3
Posts: 6
Joined: Mon Nov 07, 2011 5:29 pm

Re: How to set password to open office document using OOo AP

Postby Villeroy » Tue Feb 28, 2012 11:16 am ... entFromURL
Parameter Arguments
these arguments specify component or filter specific behavior

For example, "ReadOnly" with a boolean value specifies whether the document is opened read-only. "FilterName" specifies the component type to create and the filter to use, for example: "Text - CSV". For more information see ::com::sun::star::document::MediaDescriptor. ... l#Password
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.4
User avatar
Posts: 29300
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Return to External Programs

Who is online

Users browsing this forum: No registered users and 0 guests