Avoid opening the Spreadsheet file when use OpenOffice UNO API to load it

2016-02-03 Thread Zhang, William
ayList options = new ArrayList(); options.add("--nologo"); options.add("--nodefault"); options.add("--norestore"); options.add("--nocrashreport"); options.add("--nolockcheck"); ……. Anyone who knows the solution is much appreciated! Be

RE: How to decrypt ods file

2016-01-07 Thread Zhang, William
h this API before. And do you have some more information? Thanks again! Best Regards William -Original Message- From: Michael Stahl [mailto:mst...@redhat.com] Sent: 2016年1月5日 0:39 To: Zhang, William; libreoffice@lists.freedesktop.org Subject: Re: How to decrypt ods file On 25.12.

How to decrypt ods file

2015-12-25 Thread Zhang, William
Hi Team members, Does anyone know how to decrypt an encrypted Libreoffice Calc file with Java or other languages? Or even some workarounds. Thanks a lot! LibreOffice version: 4.1.4.2 What I've tried. 1. Try some common decrypt API such as javax.crypto.Cipher, failed. 2. Change the

Add extension to implement own requirements when Saving SpreadsheetDocument

2015-09-28 Thread Zhang, William
Hi, I want to add an extension to do additional requirement when Save a LibreOffice Calc document. To implement it, I think I need track the action “Save”. I’ve setup the work ENV on NetBeans and following the OpenOffice online Wiki https://wiki.openoffice.org/wiki/OpenOffice_Add-On_Project

add libreoffice extension when "Save" LibreOffice Calc

2015-09-16 Thread Zhang, William
Hello Team, I want to add an extension to do additional thing when saving LibreOffice Calc document. Anyone who knows how to invoke the code when saving the document? Thanks a lot! Best Regards William ___ LibreOffice mailing list LibreOffice@lists.fre

Add feature when saving a Spreadsheet in Libreoffice extension

2015-09-15 Thread Zhang, William
Hi All, I want to do some personal thing with Libreoffice extension(Java) when Saving Spreadsheet. Does anyone know how to inherited the API when saving the Spreadsheet? Thanks in advanced! Best Regards William ___ LibreOffice mailing list LibreOffice

How to develop a libreoffice exetension

2015-09-14 Thread Zhang, William
Hi All, I want to develop a Libreoffice extension with Java. What I've done is followed the wiki https://wiki.openoffice.org/wiki/JavaEclipseTuto. But after I finished the wizard of New a UNO-IDL project, I still don't know how to add the implementation of my personal feature. Anyone who did ex

RE: Q: How to get the path of all opened spreadsheet documents

2015-06-10 Thread Zhang, William
Best Regards William - From: SOS [mailto:s...@pmg.be] Sent: 2015年6月11日 0:52 To: Zhang, William; us...@global.libreoffice.org Subject: Re: Q: How to get the path of all opened spreadsheet documents Zhang in basic i use this function Function TaskonDesktop(DocPath as String) as Bool

RE: Q: How to get the path of all opened spreadsheet documents

2015-06-08 Thread Zhang, William
: 2015年6月5日 19:15 To: Zhang, William Cc: libreoffice@lists.freedesktop.org Subject: Re: Q: How to get the path of all opened spreadsheet documents No time to find the solution now But I have done this sort of thing in basic. You enumerate the open components from the desktop object and ch

Q: How to get the path of all opened spreadsheet documents

2015-06-05 Thread Zhang, William
Hi, Request: In RedHat7, I want to get the path of all opened spreadsheet documents with Java. What I've done: 1. I used Runtime.exec(cmd...) with Java code, the 'cmd' was defined with "ps -ef | grep xxx" ->if only one spreadsheet document opened, the returned info list the correct doc