Re: [api-dev] Tree control example

2009-04-30 Thread Giuseppe Castagno
for a FLOSS project I'working, it lurks here [2]. Please feel free to ask if you need further help with point [2]. BeppeC. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno at acca-esse.eu beppec56 at openoffice.org [1] http://wiki.services.openoffice.org/wiki

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-22 Thread Giuseppe Castagno
Mathias Bauer wrote: Giuseppe Castagno wrote: Mathias Bauer wrote: Giuseppe Castagno wrote: [snip...] for you. Can you explain what kind of stream attributes you want to store in the manifest? If some are missing now, maybe we can add them to the list of supported properties

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-16 Thread Giuseppe Castagno
Mathias Bauer wrote: Giuseppe Castagno wrote: Hi Mathias, Mathias Bauer wrote: Giuseppe Castagno wrote: Now my questions, keeping in mind that at a certain time I need to access the META-INF substorage to manipulate a custom file (read and write). Why do you need access to the META-INF

Re: [api-dev] Re: How to access the Storage of an opened OOo document?

2009-04-16 Thread Giuseppe Castagno
Mikhail Voytenko wrote: Hi Giuseppe, On 04/15/09 20:14, Giuseppe Castagno wrote: I guess that if I can open the substorage, I can open the contained streams as well. Usually yes, but in case it is a stream in the storage you get from document, it might be locked as well. it was locked

Re: [api-dev] Re: How to access the Storage of an opened OOo document?

2009-04-15 Thread Giuseppe Castagno
:699) it.plio.ext.xades.jobs.sync.SyncJob.execute(SyncJob.java:457) /log I'm afraid it's not something simple to explain... Thanks, anyway. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.castagno at acca-esse.eu beppec56 at openoffice.org

Re: [api-dev] Re: How to access the Storage of an opened OOo document?

2009-04-06 Thread Giuseppe Castagno
be editable using this approach, it is a bug if it is not so. The folder can be handled as a usual substorage in those cases. Hope that helps. Best regards, Mikhail. On 04/01/09 18:40, Michael Stahl wrote: On 01/04/2009 10:44, Giuseppe Castagno wrote: [snip] Now my questions, keeping in mind

Re: [api-dev] Re: How to access the Storage of an opened OOo document?

2009-04-06 Thread Giuseppe Castagno
) it.plio.ext.xades.jobs.sync.SyncJob.execute(SyncJob.java:457) /log I'm afraid it's not something simple to explain... Thanks, anyway. BeppeC. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.casta...@acca-esse.eu beppe...@openoffice.org

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-04 Thread Giuseppe Castagno
Hi Mathias, Mathias Bauer wrote: Giuseppe Castagno wrote: Now my questions, keeping in mind that at a certain time I need to access the META-INF substorage to manipulate a custom file (read and write). Why do you need access to the META-INF? Everything in the manifest should be accessed via

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-04 Thread Giuseppe Castagno
, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.casta...@acca-esse.eu beppe...@openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org

[api-dev] How to access the Storage of an opened OOo document?

2009-04-01 Thread Giuseppe Castagno
and their components concurrently? For the 'unpublished' stuff recalled here see issue 87496 [5], though XDocumentSubStorageSupplier is still not scheduled for publishing... BeppeC. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu giuseppe.casta...@acca-esse.eu beppe

Re: [api-dev] OOo main application doesn't seem to 'see' changes in configuration

2008-08-29 Thread Giuseppe Castagno
Cor Nouws wrote: Hi, Giuseppe Castagno wrote (28-8-2008 13:35) [snip...] Is there a way to have OOo take charge of the new configuration set by the basic code shown here without restarting? from my point of view this is a bug, changes made via the API should be recognized without

Re: [api-dev] OOo main application doesn't seem to 'see' changes in configuration

2008-08-28 Thread Giuseppe Castagno
Hi Juergen, Juergen Schmidt wrote: Hi Giuseppe, Giuseppe Castagno wrote: Stephan Bergmann wrote: On 08/27/08 15:02, Giuseppe Castagno wrote: [snip...] I wonder if I'm doing something wrong here... Is there a way to have OOo take charge of the new configuration set by the basic code

Re: [api-dev] OOo main application doesn't seem to 'see' changes in configuration

2008-08-28 Thread Giuseppe Castagno
Hi Juergen, Juergen Schmidt wrote: Hi Giuseppe, Giuseppe Castagno wrote: Stephan Bergmann wrote: On 08/27/08 15:02, Giuseppe Castagno wrote: Hi all, [snip...] Is there a way to have OOo take charge of the new configuration set by the basic code shown here without restarting? If I

[api-dev] OOo main application doesn't seem to 'see' changes in configuration

2008-08-27 Thread Giuseppe Castagno
something wrong here... Is there a way to have OOo take charge of the new configuration set by the basic code shown here without restarting? TIA -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [api-dev] OOo main application doesn't seem to 'see' changes in configuration

2008-08-27 Thread Giuseppe Castagno
Stephan Bergmann wrote: On 08/27/08 15:02, Giuseppe Castagno wrote: Hi all, I'm doing some changes on the OOo configuration tree using macro basic. The settings seem correctly changed in the basic macro code, but they are not 'seen' in the main OOo application until I restart

Re: [api-dev] Digital signatures API questions

2008-05-30 Thread Giuseppe Castagno
read on and try to answer there. -- Kind Regards, Giuseppe Castagno (aka beppec56) Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] [1] http://liste.yacme.com/mailman/listinfo/firmadigitale [2] http://wiki.plio.it/mediawiki/index.php?title=Immagine:Cnipa_signature_extension

Re: [api-dev] How can I set the right image size on complex toolbar controls?

2008-05-20 Thread Giuseppe Castagno
Hi Carsten, sorry for the delay, comments follow Carsten Driesner wrote: Giuseppe Castagno wrote: Hi all, while testing the 'complex toolbar control' implementation I'm working on, I ran into a problem with the image size. Toolbar images should be 16x16 or 26x26 pixel. I have prepared

[api-dev] How can I set the right image size on complex toolbar controls?

2008-05-12 Thread Giuseppe Castagno
for changes), but I have no idea about how the Automatic one. Any suggestion will be appreciated. TIA. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED

[api-dev] Dynamic Addon toolbar tooltips. Possible?

2008-05-08 Thread Giuseppe Castagno
it can't be updated. -- 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]

Re: [api-dev] Dynamic Addon toolbar tooltips. Possible?

2008-05-08 Thread Giuseppe Castagno
Hi Carsten, Carsten Driesner wrote: Giuseppe Castagno wrote: Hi all, I wonder. Is it possible to change dynamically the button tooltip string of an Addon toolbar? I mean, changing dynamically the Title property that lives at: /org.openoffice.Office.Addons/AddonUI/OfficeToolBar

Re: [api-dev] About XDispatchProviderInterceptor and XFrameActionListener:frameAction()

2008-05-06 Thread Giuseppe Castagno
. thanks for your answer. I'm going to write another interceptor object to explore the functional behavior. Just to be sure of what I should expect :-). -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [api-dev] Re: About XDispatchProviderInterceptor and XFrameActionListener:frameAction()

2008-05-05 Thread Giuseppe Castagno
instantiates another interceptor, it doesn't seem to be a problem for me at this time, for my extension program logic, anyway. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED

[api-dev] About XDispatchProviderInterceptor and XFrameActionListener:frameAction()

2008-05-04 Thread Giuseppe Castagno
, 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]

Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-28 Thread Giuseppe Castagno
Hi Mathias, Mathias Bauer wrote: Giuseppe Castagno wrote: ... From what I've seen from the tests I carried out so far and from studying the DevGuide code examples, using a XDispatchProviderInterceptor from inside an extension doesn't seem possible. Prompted from the response I got from

Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-28 Thread Giuseppe Castagno
for the explanations, I updated the DevGuide. -- 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

[api-dev] Question about XEventListener activation

2008-04-20 Thread Giuseppe Castagno
in the component besides ProtocolHandler? Would a job be suitable, for example? Thanks. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] Export Textdocument to PDF/A

2008-04-07 Thread Giuseppe Castagno
'SelectPdfVersion' property, there is a brand new wiki page here [1]. The page is still under development, but I think you'll find there what you need. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] [1] http://wiki.services.openoffice.org/wiki/API

Re: [api-dev] Export Textdocument to PDF/A

2008-04-07 Thread Giuseppe Castagno
Jan Füssel wrote: Hi Giuseppe, thanks, thats what i'm searching for. i'm wondering why i wasn't able to find it with my wiki-search... created today... :-). 2008/4/7, Giuseppe Castagno [EMAIL PROTECTED]: Hi Jan, Jan Füssel wrote: Hi, after downloading OOo 2.4 i wan't to modify my Java

Re: [api-dev] How to access the binary stream application/vnd.sun.star.pkg-stream inside an ODT package?

2008-03-26 Thread Giuseppe Castagno
, Mikhail. Giuseppe Castagno wrote: Hi Paolo, Paolo Mantovani wrote: Hi Giuseppe, Il mercoledì 19 marzo 2008 12:46:05 Giuseppe Castagno ha scritto: Hi all, After I successfully opened a package (e.g. an ODT document) with Java using UCB low level APIs, I tried to read the content of one

Re: [api-dev] How to access the binary stream application/vnd.sun.star.pkg-stream inside an ODT package?

2008-03-24 Thread Giuseppe Castagno
Hi Paolo, Paolo Mantovani wrote: Hi Giuseppe, Il mercoledì 19 marzo 2008 12:46:05 Giuseppe Castagno ha scritto: Hi all, After I successfully opened a package (e.g. an ODT document) with Java using UCB low level APIs, I tried to read the content of one of the contained streams. With no luck

Re: [api-dev] How to access the binary stream application/vnd.sun.star.pkg-stream inside an ODT package?

2008-03-21 Thread Giuseppe Castagno
Hi Bernd, Bernd Eilers wrote: Giuseppe Castagno wrote: ... I had a look to the ODF toolkit, but we need to access all the ODF component, the embedded pictures as well, for example, and not only the xml components, so using UNO stuff should be better. The ODFPackage class in odf4j

Re: [api-dev] How to access the binary stream application/vnd.sun.star.pkg-stream inside an ODT package?

2008-03-20 Thread Giuseppe Castagno
be better. The goal is to sign the ODF file with a different signature method than the one available in OOo. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe

[api-dev] How to access the binary stream application/vnd.sun.star.pkg-stream inside an ODT package?

2008-03-19 Thread Giuseppe Castagno
); // now list the xSet elements XResultSet xResultSet = xSet.getStaticResultSet(); /code where executeCommand() is basically the one found here [1], It seems the wrong approach since xResultSet throws an exception. Any help is greatly appreciated. -- Kind Regards, Giuseppe Castagno Acca

Re: [api-dev] Helper for URL Scheme for PCP Contents?

2008-03-17 Thread Giuseppe Castagno
Hi Stephan, Stephan Bergmann wrote: Giuseppe Castagno wrote: Hi all, I'm referring to the URL scheme described here [1]. Is there a helper in the OOo API that can be used to map a file URL to the corresponding UCB URL? See service com.sun.star.uri.VndSunStarPkgUrlReferenceFactory. thanks

Re: [api-dev] Helper for URL Scheme for PCP Contents?

2008-03-17 Thread Giuseppe Castagno
Stephan Bergmann wrote: Giuseppe Castagno wrote: Hi Stephan, Stephan Bergmann wrote: Giuseppe Castagno wrote: Hi all, I'm referring to the URL scheme described here [1]. Is there a helper in the OOo API that can be used to map a file URL to the corresponding UCB URL? See service

[api-dev] Helper for URL Scheme for PCP Contents?

2008-03-16 Thread Giuseppe Castagno
Hi all, I'm referring to the URL scheme described here [1]. Is there a helper in the OOo API that can be used to map a file URL to the corresponding UCB URL? That is from: 'file:///home/my folder/document.odt' to: 'file:%2F%2F%2Fhome%2Fmy%20folder%2Fdocument.odt' -- Kind Regards, Giuseppe

[api-dev] Question about the wiki version Developer Guide.

2008-03-12 Thread Giuseppe Castagno
Hi all, in a couple of location ([1], [2]) I came across mention of OOo 1.2.0. The former Dev Guide states the same. Is it correct? In both [1],[2] to me, it seems it should be OOo 2.0. Let me know if it sshould be 2.0, I'll edit to the correct template. -- Kind Regards, Giuseppe Castagno

Re: [api-dev] How to use from api templates packed in an extension

2008-01-07 Thread Giuseppe Castagno
Mathias Bauer wrote: Giuseppe Castagno wrote: Hi all, I'm trying to use from API the templates delivered through extension [1], using the English version. According to 7.1.5 [2] of dev guide the MediaDescriptor properties TemplateName and TemplateRegionName should be the ones to be used

[api-dev] How to use from api templates packed in an extension

2007-12-31 Thread Giuseppe Castagno
the api with templates the way the File New Template and Document dialog works, but so far with no luck. Any idea? Thanks. -- Kind Regards, Giuseppe Castagno Acca Esse http://www.acca-esse.eu [EMAIL PROTECTED] [1] http://extensions.services.openoffice.org/project/SunTemplatepack_1 [2] http

Re: [api-dev] How to set PDF-Export Options via API?

2007-10-24 Thread Giuseppe Castagno
in issue 67578 [2] (look for Filter property values for scripting without quotes in the attached document there). -- 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

Re: [api-dev] New PDF Options being Ignored - ie FirstPagOnLeft, PageLayout, IsSkipEmptyPages

2006-08-31 Thread Giuseppe Castagno
'SecPDFCase3 SecPDFCase4 'WriteSecDefault End Sub '/=code end I think you have to trim it a little, because it's a not very clean code. -- Hope it helped, Kind regards, Giuseppe Castagno - To unsubscribe, e-mail: [EMAIL

RE: [api-dev] cannot compile 1.1.5 (SRX645_m57)

2005-08-19 Thread Giuseppe Castagno
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)

2005-08-15 Thread Giuseppe Castagno
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