Re: [dev] how to appy security restriction on pdf file generated from .doc using OO-API
Saqlain Abbas wrote: Hi All, I have converted a .Doc file into pdf using OO-API. Now i want to apply following security restriction on pdf file generated through OO-API (programmatically in JAVA). 1) The resultant pdf file should be readonly. 2) The resultant pdf file should be password protected. 3) The User should not be able to copy text from resultant pdf file. 4) The User should not be able to print resultant pdf file. Of course for these i have to set different properties, But i dont know the Property Name and value. So i need your help i.e. what properties should i set to apply the above security restriction. keeping in mind what Hubert pointed out in the other response, you can find information on PDF export filter properties on the filter specification [1] (have a look to section 3 Configuration), except the security related ones, that are only documented in issue 67578 [2] (look for "Filter property values for scripting" without quotes in the attached document there). Hope that helped. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [1] http://specs.openoffice.org/appwide/pdf_export/PDFExportDialog.odt [2] http://qa.openoffice.org/issues/show_bug.cgi?id=67578#desc2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] problem while setting security restriction on pdf file generated from .doc using OO-API
Saqlain Abbas wrote: Hi All, thanx Giuseppe for your response , i have written the following code (to set the security restriction), but its not working ... so what the problem in it, or there is another way to do it ... // Set properties for conversions PropertyValue[] conversionProperties = new PropertyValue[7]; conversionProperties[0] = new PropertyValue(); conversionProperties[0].Name = "Overwrite"; conversionProperties[0].Value = new Boolean(true); conversionProperties[1] = new PropertyValue(); conversionProperties[1].Name = "FilterName"; conversionProperties[1].Value = conversionFilter; mm, I think this isn't the right approach to set the PDF export filter properties. I don't have a Java code chunk on the matter, but a few months back I wrote a small extension in Basic that can be examined to see how the filter parameter should be managed; from that I think you can make out how to do it in Java. You can download it from here [1], where it still lurks. I'm afraid the comment are in Italian, but feel free to ask on the list if you have any question. In the extension, the function that starts all is: Main_EsportaPDF This is a code example, so it's not very clean, anyway the sequence in Basic is the following: 1) from the kind of document at hand, determine the pdf export filter name; 2) prepare the set of PDF filter properties (e.g. UseLosslessCompression, Magnification , etc...) in a properties array; 3) prepare a new array of properties with three properties (only the first two matters, the second is optional): with name 'FilterName' value set to the name retrieved in 1) with name 'FilterData' value set the the properties array prepared in 2) with name 'StatusIndicator' the status indicator for user (I think this is meaningless in your case); 4) use this second property array as second parameter in calling storeToURL(). Hope that helped. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [1] http://www.acca-esse.it/dwnld/ooohs/macro/ooo-hs-esporta-pdf-public-0.1.oxt Giuseppe Castagno-3 wrote: Saqlain Abbas wrote: Hi All, I have converted a .Doc file into pdf using OO-API. Now i want to apply following security restriction on pdf file generated through OO-API (programmatically in JAVA). 1) The resultant pdf file should be readonly. 2) The resultant pdf file should be password protected. 3) The User should not be able to copy text from resultant pdf file. 4) The User should not be able to print resultant pdf file. Of course for these i have to set different properties, But i dont know the Property Name and value. So i need your help i.e. what properties should i set to apply the above security restriction. keeping in mind what Hubert pointed out in the other response, you can find information on PDF export filter properties on the filter specification [1] (have a look to section 3 Configuration), except the security related ones, that are only documented in issue 67578 [2] (look for "Filter property values for scripting" without quotes in the attached document there). Hope that helped. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] A few questions on how to add a new code module on CVS (new module: icc)
Hi all, I have a question about the right procedure to follow to add a new module (sorry for the lengthy message). The module I'm adding is a follow up to issue 81093 [1]. I read the notes on the wiki [2] to have an idea on how to proceed. So far I've created the directory structure on head [3] and have added some of the files there. The new module alias has been created. The steps I intend to follow are: 1. Finishing committing in HEAD all the new module files (see [4] for a module description), through the alias. 2. On the new cws I'm going to create, I'll add only the OOo module that needs to be adapted (vcl) and made it dependent to the new one. 3. I'll then add a note on EIS about the new module to be added while integrating. 4. Go on with the usual work, committing vcl changes to CWS and the new module changes to HEAD. My questions are: - are these steps the correct ones? - is there a way to have the new CWS built on buildbot? - the new module (icc, [4], in external/icc) should be added to the CWS or should I continue to commit the code in that module alone to HEAD? -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] Acca Esse http://www.acca-esse.eu [1] http://qa.openoffice.org/issues/show_bug.cgi?id=81093 [2] http://wiki.services.openoffice.org/wiki/CWS#Create_a_new_module [3] http://external.openoffice.org/source/browse/external/icc/?only_with_tag=HEAD [4] http://wiki.services.openoffice.org/wiki/Source_code_directories - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] A few questions on how to add a new code module on CVS (new module: icc)
Hi Rüdiger, Rüdiger Timm wrote: Hi Giuseppe, Giuseppe Castagno wrote: Hi all, The steps I intend to follow are: 1. Finishing committing in HEAD all the new module files (see [4] for a module description), through the alias. 2. On the new cws I'm going to create, I'll add only the OOo module that needs to be adapted (vcl) and made it dependent to the new one. 3. I'll then add a note on EIS about the new module to be added while integrating. 4. Go on with the usual work, committing vcl changes to CWS and the new module changes to HEAD. My questions are: - are these steps the correct ones? Yes, that's correct. - is there a way to have the new CWS built on buildbot? Unfortunately not. - the new module (icc, [4], in external/icc) should be added to the CWS or should I continue to commit the code in that module alone to HEAD? New modules not yet in the master workspace cannot be added to a CWS. You have to continue working head. thanks Rüdiger, I'll proceed as you suggested. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Building OOH680_m4 from scratch breaks in connectivity
Hi all, On Debian lenny I'm trying to build tag OOH680_m4 from scratch and while building module connectivity I got the following errors: ... /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx: In constructor 'connectivity::evoab::OEvoabDatabaseMetaData::OEvoabDatabaseMetaData(connectivity::evoab::OEvoabConnection*)': /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:289: error: no matching function for call to 'connectivity::ODatabaseMetaDataBase::ODatabaseMetaDataBase(connectivity::evoab::OEvoabConnection*&)' ../../inc/TDatabaseMetaDataBase.hxx:116: note: candidates are: connectivity::ODatabaseMetaDataBase::ODatabaseMetaDataBase(const com::sun::star::uno::Reference&, const com::sun::star::uno::Sequence&) ../../inc/TDatabaseMetaDataBase.hxx:60: note: connectivity::ODatabaseMetaDataBase::ODatabaseMetaDataBase(const connectivity::ODatabaseMetaDataBase&) /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx: At global scope: /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:632: error: no 'sal_Int32 connectivity::evoab::OEvoabDatabaseMetaData::getMaxStatements()' member function declared in class 'connectivity::evoab::OEvoabDatabaseMetaData' ../../inc/FDatabaseMetaDataResultSet.hxx: In member function 'virtual com::sun::star::uno::Reference connectivity::evoab::OEvoabDatabaseMetaData::getTableTypes()': ../../inc/FDatabaseMetaDataResultSet.hxx:256: error: 'void connectivity::ODatabaseMetaDataResultSet::setTableTypes()' is protected /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1081: error: within this context /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1093: warning: unused variable 'aIter' ../../inc/FDatabaseMetaDataResultSet.hxx: In member function 'virtual com::sun::star::uno::Reference connectivity::evoab::OEvoabDatabaseMetaData::impl_getTypeInfo_throw()': ../../inc/FDatabaseMetaDataResultSet.hxx:265: error: 'void connectivity::ODatabaseMetaDataResultSet::setTypeInfoMap()' is protected /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1109: error: within this context ../../inc/FDatabaseMetaDataResultSet.hxx: In member function 'virtual com::sun::star::uno::Reference connectivity::evoab::OEvoabDatabaseMetaData::getTables(const com::sun::star::uno::Any&, const rtl::OUString&, const rtl::OUString&, const com::sun::star::uno::Sequence&)': ../../inc/FDatabaseMetaDataResultSet.hxx:255: error: 'void connectivity::ODatabaseMetaDataResultSet::setTablesMap()' is protected /home/beppe/ooo-b/ooh680-m4-std/build/current/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx:1168: error: within this context dmake: Error code 1, while making '../../../unxlngi6.pro/slo/NDatabaseMetaData.obj' If someone can tell me what component and subcomponent, I'll open an issue, adding these log lines as attachment. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] SRC680_m246 build breaks in
Hi Eike, Eike Rathke wrote: Hi Giuseppe, On Monday, 2008-02-11 13:16:34 +0100, Giuseppe Castagno wrote: I can correct the library liblpsolve55.so issue by manually building the module lpsolve, but I have no idea about the other two. Where does libsolver680li.so and come solver680en-US.res from? Module scext, your scext/prj/build.lst should contain the lines scx scext : offuh comphelper lpsolve tools NULL scx scext\source\solver nmake - all scx_solver NULL (Note: m247 also added a dependency to transex3 and rsc) mm, it seems I have no scext module, I checked out the source in full, but no scext module present and no error signalled. I'll do it again. and your postprocess/prj/build.lst the dependency po postprocess :: ... scext ... this looks fine. Thanks, Giuseppe. -- Kind Regards, Giuseppe Castagno [EMAIL PROTECTED] [EMAIL PROTECTED] Acca Esse http://www.acca-esse.eu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] SRC680_m246 build breaks in
Hi all, on GNU/Linux Debian lenny, while building m246 from scratch, at the end of the process, in module instsetoo_native the build complains with: ** ERROR: Saved logfile: /home/beppe/ooo-b/m246-std/build/current/instsetoo_native/unxlngi6.pro/OpenOffice/deb/logging/en-US/log_SRC680_en-US.log ** ... analyzing files ... ERROR: The following files could not be found: ERROR: File not found: liblpsolve55.so ERROR: File not found: libsolver680li.so ERROR: File not found: solver680en-US.res I can correct the library liblpsolve55.so issue by manually building the module lpsolve, but I have no idea about the other two. Where does libsolver680li.so and come solver680en-US.res from? Any help appreciated, thanks. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Digital signatures in OOo. What about OOo 3.0?
Hi all, I'm part of an Italian group of developers that are seeking a way to implement the signature of OOo documents according to the standard laid out by the Italian Public Administration. The idea was to write an extension to sign, but it seems that ATM OOo lacks the needed stuff, e.g. it doesn't seem possible to sign a document with a 3rd part signature method. Actually I found a bunch of services in that area (an example [1]), but almost all are tagged as 'unpublished'. Are there any plan to implement this in 3.x codeline? I mean, plans to implement 3rd parties signature infrastructure for ODF documents. It seems that ODF 1.2 has a clean support for this, whereas ODF 1.0 had not. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] [1] http://api.openoffice.org/docs/common/ref/com/sun/star/xml/crypto/XMLSignature.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Digital signatures in OOo. What about OOo 3.0?
Hi Joachim, Joachim Lingner wrote: Giuseppe Castagno wrote: Hi all, ... The idea was to write an extension to sign, but it seems that ATM OOo lacks the needed stuff, e.g. it doesn't seem possible to sign a document with a 3rd part signature method. Thats true. There is currently no way of plugin in a different mechanismn let alone something to switch between the them. Actually I found a bunch of services in that area (an example [1]), but almost all are tagged as 'unpublished'. True. 'unpublished' because not supported or what? Are there any plan to implement this in 3.x codeline? No, afaik. I see, lack of resources or some other reason? There is also the problem that the GUI code is mixed up "signing logic". This needs to be separated. One could also think of an options page where the user could select different signing methods. However, there is nothing planned yet. I had a look to the code stuff. It seems all inside xmlsec module. If I have specific questions to the current code, is there a dedicated ML to ask for? Giuseppe. -- Kind Regards, Giuseppe Castagno [EMAIL PROTECTED] [EMAIL PROTECTED] Acca Esse http://www.acca-esse.eu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Building OOo: swext not found
Hi Matthias, Matthias B. wrote: I am trying to build OOo_3.0.0beta from the official sources. I've tried it with the same build script that can successfully build OOo 2.4 and which essentially does the same as described here http://wiki.services.openoffice.org/wiki/Building_OpenOffice.org Now for 3.0.0beta the build fails with this: make copied to /ooo/src-3.0-beta/BEA300_m2/solenv/unxlngi6/bin/dmake Checking module list build -- version: 1.166 Fetching dependencies for module swext from solver... failed... Fetching from CVS... failed WARNING! Project(s): swext not found and couldn't be built. Dependencies on that module(s) ignored. Maybe you should correct build dmake: Error code 1, while making 'check_modules' I've googled and found a message saying that one can ignore this error and continue with the build anyway, but I have a bad feeling about doing this. Can someone give me more information about what this swext module is and why it isn't part of the sources if the build expects it. swext is the Wiki publisher extension. You can build the main OOo without it. If you'd like to check it out, you have to set CVSROOT to whatever value is right for you and then (for DEV300_m15 tag): cvs co -r DEV300_m15 swext -- Kind Regards, Giuseppe Castagno [EMAIL PROTECTED] [EMAIL PROTECTED] Acca Esse http://www.acca-esse.eu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Troubles building DEv300_m20: dictmgr.hxx is missing
Hi all, while building DEV300_m20 tag I came across this: ... lingucomponent/source/lingutil/lingutil.cxx:62:23: error: dictmgr.hxx: No such file or directory lingucomponent/source/lingutil/lingutil.cxx: In function '_STL::vectorhttp://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] About OOo digital signature & OOoConf 2008.
Hi all, the subject topic is the one presented at OOoConf 2008, e.g. this one: http://marketing.openoffice.org/ooocon2008/programme/friday_abstracts.html#a1419 Are there any development in that area? I'm curious, since I'm restarting an extension project about digital signature I suspended some months ago. BeppeC. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.casta...@acca-esse.eu beppe...@openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] About OOo digital signature & OOoConf 2008.
Hi Joachim, Joachim Lingner - Sun Germany Software Engineer - ham02 - Hamburg wrote: Hi, I wrote a page at http://wiki.services.openoffice.org/wiki/Improving_The_Digital_Signature_Feature where I put together my view of how the "signature framework" could work. It is not clear when this is to be implemented and who would take of it. I had at last some time to read the page you wrote. Interesting ideas, but I'm not sure the resource to implement that are easily available. Not to mention the complexity of the job (I'm thinking to the different legal issues, different among the countries). I think that practically all of the job carried out by OOo in sign a document can already be duplicated (I agree, with a lot of effort on the part of a developer) in an extension as the OOo API is today, but for the functionality needed that are present but still unpublished. See issue 87496 [1] as an example. So why not focusing on this may be smaller task? BeppeC -- Kind Regards, Giuseppe Castagno beppe...@openoffice.org giuseppe.casta...@acca-esse.eu Acca Esse http://www.acca-esse.eu [1] http://www.openoffice.org/issues/show_bug.cgi?id=87496 - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] About OOo digital signature & OOoConf 2008.
Jochen wrote: Giuseppe Castagno schrieb: Hi Joachim, Joachim Lingner - Sun Germany Software Engineer - ham02 - Hamburg wrote: Hi, I wrote a page at http://wiki.services.openoffice.org/wiki/Improving_The_Digital_Signature_Feature where I put together my view of how the "signature framework" could work. It is not clear when this is to be implemented and who would take of it. I had at last some time to read the page you wrote. Interesting ideas, but I'm not sure the resource to implement that are easily available. Not to mention the complexity of the job (I'm thinking to the different legal issues, different among the countries). My idea is that OOo does only provide the infrastructure for the signature component. The signature components itself should be developed by interested parties. This is something that cannot be done by OOo unless there are a lot more volunteers (developers, lawyers) and donators. The latter is important because certification processes will certainly cost money. I think that practically all of the job carried out by OOo in sign a document can already be duplicated (I agree, with a lot of effort on the part of a developer) in an extension as the OOo API is today, but for the functionality needed that are present but still unpublished. The trick would be refactor the code so that it can be used by other parties, which indeed is a huge task. See issue 87496 [1] as an example. This issue is about "Publish storage related services". Did you confuse the issue with some other? actually I was thinking along the lines: - to sign means (almost always) accessing the components of the package, then: - perform some digest on every one of them (digest method could differ) - sign the digest - add the signature info to the package Where the package is what is (usually) called storage in OOo API literature. This is one the low-level part that should be done to sign a ODF package, at least in one incarnation. That's the reason I was thinking about Storage: well I didn't explain my thoughts, sorry :-). So why not focusing on this may be smaller task? Because the building blocks provided by the existing singature component may not be sufficient. Also the maintainance effort lays with OOo. Currently only very few resources are dedicated to the signature project. In other words, there are simply not enough voulunteers who drive the project. Certified solutions may require a code review as well. In this case, a small change in the OOo signature code, could cause the loss of the certification. For example, a company builds a signature solution based on OOo 3.0 and have it certified by the respective authorities. This effort could be nullified when OOo 3.1 comes out due to changes to OOo's signature code. Signatures and security is also a very sensitive area. So I would rather "outsource" all the critical stuff to companies which are specialized in that area. Another aspect is that if other componanies build on OOo's solution then they will certainly submit issues, enhancements etc., which will be normal because of different requirements in the countries. Given the current commitment of the community for the signature project, I do not see how this could be managed. Therefore I'd rather invest initially a lot of time for this framework knowing that the follow-up effort will be little. I'll try to elaborate my idea in the next days, commenting directly on your proposal wiki 'Discussion' page. BeppeC. -- Kind Regards, Giuseppe Castagno beppe...@openoffice.org giuseppe.casta...@acca-esse.eu Acca Esse http://www.acca-esse.eu - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Progress Bar during Save As
Hi Vincent, Vincent Spiewak wrote: Dear Developers, in order to make a better UI integration for odt2dtbook (Save As DAISY), I wonder how to use the Progress Bar using Java Uno API. I speak about this bar: http://odt2dtbook.sourceforge.net/pub/progressbarsave.png Have you got any information ? there is a status indicator available, described by this interface: http://api.openoffice.org/docs/common/ref/com/sun/star/task/XStatusIndicator.html its use is explained here: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Component/Frames#XStatusIndicatorFactory BeppeC. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno at acca-esse.eu beppec56 at openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] How to create a uno singleton component ?
Hi Oliver, Oliver Brinzing wrote: Hi, can one give me some hints how to create a real java singleton component like final XLoggerPool xLoggerPool = LoggerPool.get(xComponentContext); ? till now i found only http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Singleton is there a code templete available ? in this project: https://forge.osor.eu/projects/ooo-xadessig-it/ I wrote a couple of UNO singletons; - extension variables and - a dedicated logger. The svn repo is here: https://svn.forge.osor.eu/svn/ooo-xadessig-it the project that can be checked out as example is: https://svn.forge.osor.eu/svn/ooo-xadessig-it/trunk/oxsit-sing_var_uno Check out is anonymous enabled. The project is an Eclipse one. Full svn path to interesting classes: https://svn.forge.osor.eu/svn/ooo-xadessig-it/trunk/oxsit-sing_var_uno/src/it/plio/ext/oxsit/comp/GlobalLogger.java https://svn.forge.osor.eu/svn/ooo-xadessig-it/trunk/oxsit-sing_var_uno/src/it/plio/ext/oxsit/comp/SingletonGlobalVariables.java Licence is EUPL (GPL 2.0 like) I don't know if that will suit your application. Feel free to ask if you have questions. BeppeC. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno at acca-esse.eu beppec56 at openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] How to create a uno singleton component ?
Hi Oliver, Oliver Brinzing wrote: Hi, can one give me some hints how to create a real java singleton component like final XLoggerPool xLoggerPool = LoggerPool.get(xComponentContext); ? till now i found only http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Singleton is there a code templete available ? in this project: https://forge.osor.eu/projects/ooo-xadessig-it/ I wrote a couple of UNO singletons; - extension variables and - a dedicated logger. The svn repo is here: https://svn.forge.osor.eu/svn/ooo-xadessig-it the project that can be checked out as example is: https://svn.forge.osor.eu/svn/ooo-xadessig-it/trunk/oxsit-sing_var_uno Check out is anonymous enabled. The project is an Eclipse one. Full svn path to interesting classes: https://svn.forge.osor.eu/svn/ooo-xadessig-it/trunk/oxsit-sing_var_uno/src/it/plio/ext/oxsit/comp/GlobalLogger.java https://svn.forge.osor.eu/svn/ooo-xadessig-it/trunk/oxsit-sing_var_uno/src/it/plio/ext/oxsit/comp/SingletonGlobalVariables.java Licence is EUPL (GPL 2.0 like) I don't know if that will suit your application. Feel free to ask if you have questions. BeppeC. -- Kind Regards, Giuseppe Castagno beppe...@openoffice.org giuseppe.castagno at acca-esse.eu Acca Esse http://www.acca-esse.eu - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] cannot compile 1.1.5 (SRX645_m57)
I realized I sent this same message to the wrong list, so here it it is, this time the right one. Hi all, I'm trying to build the 1.1.5-rc2 version (tag SRX645_m57) under Windows XP Pro. The compilation stops with the following log: guw.pl /cygdrive/c/PROGRA~1/MICROS~2/VC98/bin/cl.exe @/tmp/mkN15nWd Command: /cygdrive/c/PROGRA~1/MICROS~2/VC98/bin/cl.exe MutableAttrList.cxx l:\ooo-1.1.5-rc2\odfilter\source\MutableAttrList.cxx(102) : error C2974: 'Reference' : invalid template argument for 'interface_type', type expected l:\oo_115-rc2-solver\645\wntmsci9.pro\inc\com/sun/star/uno/Refer ence.h(441) : see declaration of 'Reference' l:\ooo-1.1.5-rc2\odfilter\source\MutableAttrList.cxx(102) : error C2511: 'XMLMutableAttributeList::XMLMutableAttributeList' : overloaded member function 'void (const class com::sun::star::uno::Reference &,unsigned char)' not found in 'XMLMutableAttributeList' l:\ooo-1.1.5-rc2\odfilter\source\MutableAttrList.hxx(79) : see declaration of 'XMLMutableAttributeList' l:\ooo-1.1.5-rc2\odfilter\source\MutableAttrList.cxx(255) : fatal error C1004: unexpected end of file found dmake: Error code 2, while making '../wntmsci9.pro/slo/MutableAttrList.obj' echo: No match. ERROR: Error 65280 occurred while making /cygdrive/l/ooo-1.1.5-rc2/odfilter/source dmake: Error code 1, while making 'build_all' echo: No match. The configuration command was: ./configure --with-lang=ENUS,ITIT,ITAL \ --with-ant-home=/cygdrive/l/apache-ant-1.6.1 \ --with-asm-home=/cygdrive/c/MASM611/BIN \ --with-jdk-home=/cygdrive/l/j2sdk1.4.1_07 \ --with-use-shell=tcsh \ --with-local-solver=/cygdrive/l/oo_115-rc2-solver \ --with-mspdb-path='/cygdrive/c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin' The only issue related to odfilter I found was 51389, I checked and I have it. Can someone point me in the right direction ? Thanx. Regards, Giuseppe. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] RE: [api-dev] cannot compile 1.1.5 (SRX645_m57)
it seems the problem was with the old VC6 compiler version I was using. After changing to .NET 2002 the problem solved by itself. Giuseppe. -Original Message- From: Giuseppe Castagno [SMTP:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 11:35 To: dev@api.openoffice.org Subject:[api-dev] cannot compile 1.1.5 (SRX645_m57) Hi all, I'm trying to build the 1.1.5-rc2 version (tag SRX645_m57) under Windows XP Pro. Can someone point me in the right direction ? Thanx. Regards, Giuseppe. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Válasz: Re: [dev] Openoffice
On 9/7/06, László Meskó <[EMAIL PROTECTED]> wrote: Mathias Bauer <[EMAIL PROTECTED]> wrote on 2006.09.05 19:13:25: > [EMAIL PROTECTED] wrote: > > > Many thanks. > > > > OOo remebers the last used directory as long as it is running but > discards this information when it is terminated so that next time you > start OOo it again uses your standard directory for loading. > > I assume that you are using the quickstarter and in this case OOo is > never terminated until you close the quickstarter also so OOo > permanently remembers the last used directory. > > This is a little bit confusing but I hope it is understandable now. > Hi, I have a problem about this. On windows, OOo quickstarter not only remembers the last used directory, but "stays in it". This means, if you open a document from USB drive, later close OOo (the writer window), you cannot detach the USB device until you close the quickstarter. I guess this problem is described here: http://www.openoffice.org/issues/show_bug.cgi?id=21747#desc44 -- Kind regards, Giuseppe Castagno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Build instructions are out of date - Was: [dev] Code Review configure19: config_office/configure.in
On 9/10/06, Volker Quetschke <[EMAIL PROTECTED]> wrote: Hi! Kai Backman wrote: > configure19 contained a change in default behaviour for ./configure (in > this > case --enable-build-mozilla was changed to --disable-build-mozilla). > > This has broken the the build instruction (http://tools.openoffice.org/) > for > all platforms. Who it be good to require whoever does such changes to also > update the build instructions? +1 While we are on this topic. There will probably be a few changes in the build system of the coming OOo 2.1. (More choices: W32-bash, maybe VS2005 Express, Jam?, ...) Also we should mention the parallel build stuff somewhere. any chance of VS2005 Professional as well ? -- Kind regards, Giuseppe Castagno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Build instructions are out of date - Was: [dev] Code Review configure19: config_office/configure.in
On 9/15/06, Volker Quetschke <[EMAIL PROTECTED]> wrote: Giuseppe Castagno wrote: > On 9/10/06, Volker Quetschke <[EMAIL PROTECTED]> wrote: >> Hi! >> >> Kai Backman wrote: >> > configure19 contained a change in default behaviour for ./configure (in >> > this >> > case --enable-build-mozilla was changed to --disable-build-mozilla). >> > >> > This has broken the the build instruction >> (http://tools.openoffice.org/) >> > for >> > all platforms. Who it be good to require whoever does such changes >> to also >> > update the build instructions? >> +1 >> >> >> While we are on this topic. There will probably be a few changes in the >> build system of the coming OOo 2.1. (More choices: W32-bash, maybe VS2005 >> Express, Jam?, ...) Also we should mention the parallel build stuff >> somewhere. > > any chance of VS2005 Professional as well ? Well, that depends on the (OOo) developer having a VS2005 Professional licence ;) Even though that is currently not the case with a little luck it might still work with that compiler. actually I have said licence. I had to bought it for another job I was hired for last month. I tried to compile OOo then, but failed miserably. I'm willing to try as soon as there is something to check. In any case, around the end of this month I'll finish that job with VS2005 and revert back to 2003 version to compile OOo. At least with VS2003 I know I can. -- Kind regards, Giuseppe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]