Re: [dev] re: using ant script to build add-in

2005-02-23 Thread Oliver Brinzing
Hi James, i will sent you 2 sample projects including ant scripts which should work with eclipse 3.1 and oo1.1.4 Oliver Am 23.02.2005 15:38 schrieb Kohei Yoshida: On Tue, 22 Feb 2005 14:44:23 -0500, James Black [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I

[dev] using xslt to create openoffice html document from xml ?

2005-03-18 Thread Oliver Brinzing
Hi, I would like to create an openoffice html file from an xml file using the xslt filter from the openoffice tools menu ... I have the - xml file - xslt filter file - html template file choosing test xslt ... from the dialog in combination with show source creates the html source ... But how

[dev] jobs.xcu: onFirstVisibleTask seems to behave different in OO 1.1.4/2.0

2005-03-18 Thread Oliver Brinzing
Hi, I have a java oo component (XJob) which is executed onFirstVisibleTask. The component registers a com.sun.star.frame.GlobalEventBroadcaster listener. With OO 1.1.4 I get the following events for the first (new) document ... - OnStartApp - OnNew - OnFocus With OO 2.0 I get nothing for the

Re: [dev] component debuging with oo 2.0 ?

2005-03-25 Thread Oliver Brinzing
Hi Cyrille, In 2.0 there's a Java subpanel of the Tools/Options dialog, where you can specify a number of parameters for the JREs you use within OOo. I'd imagine that's where you could tune your use of Java within the product. thanks, this works ... :-) the javasettings_Windows_x86.xml file

[dev] how to extract a cell content via named range out of content.xml using sax parser ...

2005-06-15 Thread Oliver Brinzing
Hi, I would like to parse spreadsheet documents, to get some information without opening them with oo ... For example I would like to get the content of the named range X_INFO table:named-expressions table:named-range table:name=X_INFO table:base-cell-address=$Sheet1.$A$1

Re: [dev] re: still having problems getting my protocol handler to be called

2005-07-08 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James, I am creating a file in the class the implements the four interfaces for the protocol handler, in the constructor, but it is never opened, and closed, so my protocol handler is never being called. Did you have a look at the common.rdb

Re: [dev] re: still having problems getting my protocol handler to be called

2005-07-09 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James, I now have my components from the idl in a separate project, and in a jar file, and the protocol handler classes in another jar file. I am not sure that you can split your project into two jar files, I would place everything into one jar

Re: [dev] re: still having problems getting my protocol handler to be called

2005-07-09 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James, No, I am not certain that the service name is com.sun.star.frame.ProtocolHandler. you have to use com.sun.star.frame.ProtocolHandler, otherwise it will not work ... look at the example code ... but my computer is turned off due to

[dev] remote debugging seems not to work ...

2005-08-03 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just wanted to remote debug one of my oo java components ... I have the following paramters set in Tools - Options - Java - -Xdebug - -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n I am using WinXP SP 2 / Java 1.5_04 and

Re: [dev] A question about the view cursor in Calc

2005-08-12 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael, I want to make a program which can automatically move the current view cursor to a particular cell in Calc. try ... Sub Main Dim oDocument as Object Dim oView as Object Dim oSheet as Object Dim oCell

Re: [dev] Can I increase the jvm heap size for OpenOffice?

2005-08-24 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, add the following parameters to the java options (Tools - Options... - OpenOffice.org - Java - Parameters...) - -Xms64M(min) - -Xmx128M (max) if you want to watch your programs behaviour you can use the parameter (java 1.5 is required) -

[dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...

2005-09-24 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I tried to install a java component with OO 1.9_130 using unopkg ... sometimes it works, but in most cases the installation fails with: WARNING: An error occurred while enabling the package: mycomp.uno.jar, Cause:

Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...

2005-09-27 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steffen, What platform are you on? i am using windows xp sp2 ... Can you give some more details of your command-line, and in which case the registering failed? it seems, that especially a 'unopkg reinstall' fails on packages which do not

Re: [dev] unopkg - installation of java component fails in most cases with OO 1.9_m130...

2005-09-28 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steffen, I could reproduce your problem: the culprit seems to be the -agentlib parameter in your java-settings. Removing this entry worked for me. you are right :-) i use this setting for remote debugging ... but i found a workaround: unopkg

[dev] customize oo 2.0.1 - how to access form controls toolbar ...

2005-12-17 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i try to customize the oo 2.0.1 toolbars, for example, i would like to have access to the Form Control toolbar via a button in the objectbar ... but i can not find the .uno:x command, in oo 1.1.5 we had slot:x ... is there any

Re: [dev] how to change the user profile in oo 2.0 ?

2005-12-18 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Peter, you have to change the bootstrap.ini in the program directory before the first start of the user. There's no way to manipulate the msi-file. thanks, this will help me for the moment, but i still wish the the oo 1.1.5 handling or a

Re: [dev] how to change the user profile in oo 2.0 ?

2005-12-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Joerg, thanks a lot for this lesson :-) I am thinking about to open an RFE for this ... For what? For various reasons there is close to no chance that the URL-requirement can be changed. Nor should it, IMNSHO. And you can use environment

[dev] remote connection disposes using XStandaloneDocumentInfo (oo 2.0.1)

2005-12-26 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am using XStandaloneDocumentInfo to retrieve information from oo files via a remote connection (uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager). I have no problems to do so using oo 1.1.5, but with oo 2.0.1 the remote

Re: [dev] How to scroll view to make a certain location visible?

2005-12-29 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, Am 29.12.2005 09:56 schrieb Matthias Benkmann: I'd like to scroll the view of a writer document so that a given bookmark will be visible or at least that the page the bookmark is on this should bei possible with the following code

Re: [dev] remote connection disposes using XStandaloneDocumentInfo (oo 2.0.1)

2006-01-02 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stephan, Am 02.01.2006 10:37 schrieb Stephan Bergmann: What exactly is the problem (Java exception with stack trace)? Are you sure that it really is the bridge that is disposed? If yes, that typically is the result of a crashed soffice

[dev] XStandaloneDocumentInfo - can not write info using oo 2.0.1/oo 1.1.5 ...

2006-01-04 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, as one can read, i still have problems using the XStandaloneDocumentInfo ... using the code snippet to read and write the documentinfo from different files causes the following problems: *.sdw *.sxw

Re: [dev] OpenOffice Integration with Eclipse RCP Application

2006-02-03 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have an eclipse rcp app which uses Plugin A - my OpenOffice handling code and PlugIn B - My User Interface code which uses the Swt Bridge, Plugin C - My OpenOffice Lib ie all the classes and dll's, and other files openoffice needs. some

[dev] SO 7.0 PU 6 - where to find mor infos about the fixed issues ?

2006-02-15 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i found a new product update for so 7.0 on http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOfficenav=pub-patches Patch-ID# 116520-08 Keywords: writer calc draw impress math base setup saving documents security Synopsis:

[dev] How to add a submenu to an OfficeMenuBar ?

2006-06-10 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to add a submenu to an OfficeMenuBar. node oor:name=Submenu seems only valid for toplevel menu's ... any hints ? Oliver node oor:name=OfficeMenuBar node oor:name=oo.menu oor:op=replace prop oor:name=Title

[dev] xslt filter with two input sources possible ?

2006-08-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i tried to create a xslt filter to merge the information from two *.xml docs into one writer doc ... the filter works perfect with *one* input source (i select the *.xml file via file - open) but how can i access the second input source, i

[dev] How to add a submenu to an OfficeMenuBar ?

2006-09-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, some month ago i asked how to add a submenu to an OfficeMenuBar ... This is currently not possible with the Addons.xcu file. We are working on an enhancement to support this for OOo 2.0.4. Seems not to be possible with oo 2.0.4 rc 2 or did i

[dev] How to catch OnStartApp from job started onFirstVisibleTask ?

2006-11-28 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to start a job onFirstVisibleTask and catch the OnStartApp event ? node oor:name=Events node oor:name=onFirstVisibleTask oor:op=replace node oor:name=JobList

Re: [dev] How to catch OnStartApp from job started onFirstVisibleTask ?

2006-11-29 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, node oor:name=onStartApp oor:op=replace You are right. This is the very first event that occurs. Did you try to register your job for OnStartApp? yes, this works no i get OnStartApp OnCreate ... I did not know, that

[dev] OO 2.1 with jre 1.6 - xml validation problem

2006-12-18 Thread Oliver Brinzing
Hi, now i know whats going wrong: another extension (which i did not develop) deploys a xerces-2.6.2.jar. if i remove the extension (or only the *.jar), from uno_packages\cache\uno_packages\xx.tmp...\ it works ... but is this behaviour correct ? it seems the above mentioned *.jar overwrites

[dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-18 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i know i asked this question a year ago, but OO 2.3 has a new feature: http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Addon_Menu_Toolbar_Merging Is it now possible to create a menu structure like this ? [File]

Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-19 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, A new top-level menu entry with two menu items is added after the tools menu. yes, but this is not a Submenu, it's a top level menu with 2 items, i want to create a Submenu like File - New - Text Document Spreadsheet

[dev] oo 2.3 m1 - can not load services implemented in external dll files ...

2007-08-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, are there any known issues with oo 2.3 ? I have a protocolhandler (cpp). The users clicks on a toolbar button, the external service should start now ... but i get a message (from the protocolhandler), that the service can not be found. Using OO

Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-22 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steffen, i already found your link and used the example provided: http://wiki.services.openoffice.org/wiki/OpenOffice_Add-On_Project_Type But this only adds a top level menu with an entry ... I am not sure if it is possible to add real submenus

Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-23 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steffen, ok, here it is, a Addons.xcu file for a menu structure with two commands in a sub menu. I used NetBeans and the mentioned plugin to create this - took about 2 minutes. thanks a lot, you saved my day :-) Oliver - -- GnuPG key

Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-23 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Is it also possible to create submenu's, if i use the new OfficeMenuBarMerging ? now i got :-) ?xml version='1.0' encoding='UTF-8'? oor:component-data oor:name=Addons oor:package=org.openoffice.Office

[dev] some questions about Addons.xcu - OfficeToolbar - Images

2007-08-24 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i have some questions about the Addons.xcu: - - Is it correct, that one can only define *one* OfficeToolBar inside an Addons.xcu ? So if one needs more OfficeToolbars, he has to deploy another extension ? OfficeToolBarMerging can not help

Re: [dev] some questions about Addons.xcu - OfficeToolbar - Images

2007-09-03 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Carsten, thanks a lot for your help... :-) but there is still one question i have: One creates an extension with a top level menu using OfficeMenuBarMerging: node oor:name=AddonUI node oor:name=OfficeMenuBarMerging node

Re: [dev] Re: UNOPKG and extension deployment

2007-10-03 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi To add more info to this, we tried to use unopkg.com and not unopkg.exe and the installation worked even if unopkg says it failed: namespace error : Namespace prefix d for name on OpenOffice.org-minimal-version is not defined

Re: [dev] Context menu interception

2007-11-11 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, For this, you have to implement a ProtocolHandler. The Dev's Guide explains how to do this. i will send you a demo protocolhandler ... Oliver - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -BEGIN PGP

Re: [dev] how to choose java jre in oo 2.3 m235 ?

2007-11-26 Thread Oliver Brinzing
Hi Joachim, Just checked a m237 on Windows and Linux and the java options dialog works fine. Can you select manually in the options dialog the JRE? no, that is not possible too ... I changed back to m233 and will wait for the next developer release ... maybe something went wrong during the

Re: [dev] Context menu interception

2007-11-26 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andreas, As an optional feature you can provide an additional interface named XInterceptorInfo. There you can return a list of URL pattern (including wildcards) so the dispatch queue will call your interceptor only for those URLs ... and not

[dev] inspection of object crashes basic ide

2007-11-28 Thread Oliver Brinzing
Hi, can somebody confirm this ? Open a spreadsheet document, set a breakpoint at msgbox run macro and try to inspect oCursor ... oo 2.3 (Vista) crashes with a memory leak ... Oliver REM * BASIC * OPTION EXPLICIT Sub Main Dim oSheet as Object Dim oCursor as Object

Re: [dev] inspection of object crashes basic ide

2007-12-04 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, I can confirm this with 2.3.1rc1 under Linux. OOo freezes and its memory consumption grows and grows and grows ... thanks, i submitted an issues for this: http://www.openoffice.org/issues/show_bug.cgi?id=84092 Oliver - -- GnuPG key

Re: [dev] Re: How to copy a PageStyle?

2007-12-18 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, Sorry, but your code copies even less. Header and footer are completely missing in the copied page style whereas with my code yes you are right, i found some errors too :-( but this should hopefully work for *spreadsheet*' documents:

[dev] how to sign a document macro ?

2008-01-16 Thread Oliver Brinzing
Hi, i have a question about how to sign a document macro (*only* the macro, *not* the document content). For example a user should be able to edit the document but not allowed to change the macro ... if i sign a macro and edit the document i get a message that the signature will be removed on

Re: [dev] how to sign a document macro ?

2008-01-16 Thread Oliver Brinzing
Hi Malte, Open the doc, choose tools / macros / digital signatures that's exactly what i did. After signing i can reload the document and execute the macros ... but if i edit the document (*not* the macro) the macro signature got lost and reloading leads to an error cause the macros are

Re: [dev] how to sign a document macro ?

2008-01-16 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, | Then something is broken - file an issue please. http://www.openoffice.org/issues/show_bug.cgi?id=85306 BTW: i thought it should be possible to allow executing macro's only ~if the are signed with a specific key ? ~for

Re: [dev] AutoText via API not working

2008-01-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, | | http://qa.openoffice.org/issues/show_bug.cgi?id=85426 | http://qa.openoffice.org/issues/show_bug.cgi?id=85427 could you please check if one of your issues deal with http://qa.openoffice.org/issues/show_bug.cgi?id=73459

Re: [dev] How do I use the API to insert fields and change font size in a spreadsheet footer

2008-01-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Dave, Am 21.01.2008 11:45 schrieb Dave Cawley: | I want my program to control spreadsheet footer contents. | In particular I want to be able to set the font size and use PageNumber and | PageCount fields. please have a look ... REM *

[dev] autopilot presentation crashes if extension is installed

2008-01-31 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible that somebody has a look at: http://www.openoffice.org/issues/show_bug.cgi?id=85350 and maybe can confirm this issue ? I provided an example extension ;-) thanks Oliver - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C

[dev] how to log a java extensions ?

2008-01-31 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, just thinking about how to simple log a java extension ... is it correct that oo has no console output for stdout/stderr ? i know i can use log4j or remote debugging, but what i am really interessed in is a *simple*

[dev] how to use ClassLoader.getSystemResource(file) inside an extension ?

2008-03-06 Thread Oliver Brinzing
Hi, i try to load some *.xsd files for schema validation out of a jar file. As long as i start the jar file outside the office an connect via remote everything works fine. The *.xsd files are located inside the jar, for example: my/package/resources/schema.xsd But if i create an extension,

[dev] parcel-descriptor - logicalname - functionname

2008-03-11 Thread Oliver Brinzing
Hi, can someone give me a hint what's the difference between the functionname and logicalname ? It seems not to be possible to use the logicalname as alias to connect controls with the script... ?xml version=1.0 encoding=UTF-8? parcel language=Java xmlns:parcel=scripting.dtd script

Re: [dev] Long paths on Windows

2008-04-10 Thread Oliver Brinzing
Hi, a short question's regarding path's: Is it generally a good idea to have space's and the version number (for example OOo-dev 3.0, Basis 3.0,...) inside the oo install path's ? This can be a trouble source too, if one needs to do installation using simple batch scripts ... Oliver GnuPG

Re: [dev] Long paths on Windows

2008-04-11 Thread Oliver Brinzing
Hi, spaces: no idea if that is good or bad; when coming up with Basis 3.0 I just followed prior art (OpenOffice.org 2.4) that's true, but till oo 2.4 one had a chance to install to a path without spaces and version numbering, like c:\programs\openoffice. that's not possible anymore ...

[dev] customizing oo 2.4.1 ... - disable automatic update / skip registration / ...

2008-07-07 Thread Oliver Brinzing
Hi, is there a way to customize oo 2.4.1, so the - registration wizard on first start will be skipped (I noticed the new procedure is different from oo 2.0) - menu item's help - registration... / help - search for updates will be removed - option page - online update will be removed ...

Re: [dev] customizing oo 2.4.1 ... - disable automatic update / skip registration / ...

2008-07-08 Thread Oliver Brinzing
Hi, thanks for help - i found some answers for my problems: - registration wizard on first start will be skipped IMHO the easiest way is to run a user setup once and copy the \user\registry\data\org\openoffice\Office\Common.xcu \user\registry\data\org\openoffice\Office\Jobs.xcu files ... -

Re: [dev] FireFox 3.0 and OpenOffice-Add-on-Menu not compatible, how about a new version ?

2008-07-12 Thread Oliver Brinzing
Hi, after upgrading to FireFox 3.0 the OpenOffice.org menu extension is Not compatible with Firefox 3.0 and therefore disabled. you can patch the extension's install.rdf: em:maxVersion3.0/em:maxVersion don't forget to delete the extensions.cache before you start again ... Oliver --

Re: [dev] help with userpaths for OO 2.4.1

2008-09-16 Thread Oliver Brinzing
Hi, so, for my version of OO, can i add a unique path (i want to have non-standard templates located in a folder outside of the standard tmepaltes) to add a templates path's you can add a Paths.xcu file to .\user\registry\data\org\openoffice\Office for example: ?xml version=1.0

Re: [dev] help with userpaths for OO 2.4.1

2008-09-17 Thread Oliver Brinzing
Hi Wane, 2) are you available for hire for some OO work (i attached specifications)? sorry, but due to limited time i can not :-( but maybe i can give you some hints ... ;-) you were talking about adding a templates path to oo. this can be done by adding url's to the Templates node of the

[dev] idlc warnings - why ?

2008-12-12 Thread Oliver Brinzing
Hi, can one give me a hint, why i get warnings for the following *.idl files ?? D:\Programme\OO_SDK_30\windows\bin\idlc: compile 'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\Service.idl' ... D:\Programme\OO_SDK_30\windows\bin\idlc: detected 1 warnings compiling

Re: [dev] idlc warnings - why ?

2008-12-13 Thread Oliver Brinzing
Hi Cédric, You should try to remove the inheritance to XInterface: it is automatic when no inheritance class is given. thanks for the hint - but the warnings do not disappear ... Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description:

Re: [dev] idlc warnings - why ?

2008-12-15 Thread Oliver Brinzing
Hi Juergen, see the idlc options: -w = display warning messages. -we = treat warnings as errors. aah - someway missed the new idlc options for oo 2.x/3.x ... added -w -cid to the idlc command :-) thanks a lot Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06

Re: [dev] Options dialog in the extension

2008-12-24 Thread Oliver Brinzing
Hi, Can someone please help me with this? I don't know what exactly I'm doing wrong here. are you sure that your com.example.EventHandler class is an uno service ? from the dialog demo: public static class _DialogEventHandler extends WeakBase implements XServiceInfo,

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Oliver Brinzing
Hi Karthik, i simply added your files to a zip archive (test.oxt) and it works. Test Name is shown as title if i open a *writer* document ... test.oxt zip-archive: + META-INF manifest.xml Addons.xcu WriterWindowState.xcu of course, the Command0 is disabled, cause i don't have the

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Oliver Brinzing
Hi, if you sure, your *.xcu files are correct you can try to close oo, delete all files in .\user\registry\cache and reinstall all extensions example Addons.xcu: oor:component-data oor:name=Addons oor:package=org.openoffice.Office

Re: [dev] non code extensions

2009-01-15 Thread Oliver Brinzing
Hi, you have to add the node oor:name=Paths emelent inside the Paths.xcu: ?xml version='1.0' encoding='UTF-8'? oor:component-data oor:package=org.openoffice.Office oor:name=Paths xmlns:install=http://openoffice.org/2004/installation; xmlns:oor=http://openoffice.org/2001/registry;

[dev] win7-beta and oo 3.0.1 rc2 - firewall problems with uno.exe/unopkg.bin

2009-01-18 Thread Oliver Brinzing
last weekend i had some time to install win7-beta inside a vm i used my vista 32bit host and vmware server 2.0 and installed: - jre 1.6_0_11 - oo 3.0.1 rc 2 what i noticed: installing my shared java extensions via unopkg command line tool makes some trouble. during install process windows

[dev] missing regmerge in OOo-SDK_3.1.0_Win32Intel_install_en-US.exe

2009-05-10 Thread Oliver Brinzing
is there any reason why regmerge.exe has been removed from .\sdk\bin ? OO 3.1 will contain now regmerge in .\OpenOffice.org 3\URE\bin Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature

[dev] NullpointerException: XPathFactory.newInstance() with OODEV 300 m49

2009-06-03 Thread Oliver Brinzing
Hi, can someone give me a hint why this fails in DEV300m49: this.xFactory = javax.xml.xpath.XPathFactory.newInstance(); i get a NullpointerException at javax.xml.xpath.XPathFactoryFinder._newFactory() uri is http://java.sun.com/jaxp/xpath/dom; same extension runs without any problems with oo

Re: [dev] NullpointerException: XPathFactory.newInstance() with OODEV 300 m49

2009-06-03 Thread Oliver Brinzing
Hi Marcin, Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); yes this seems to help, classloader was indeed null ... may i add your solution to issue http://www.openoffice.org/issues/show_bug.cgi?id=102164 ? thanks a lot :-) Oliver -- GnuPG key 0xCFD04A45: 8822

[dev] how to close the quickstarter ?

2009-07-07 Thread Oliver Brinzing
Hi, i remember oo 2.x has had a command line option to close the quickstart service on windows: .\program\quickstart -killtray oo 3.x will start the quickstart service with soffice -quickstart but how to close the quickstarter ? Oliver -- Neu: GMX Doppel-FLAT mit Internet-Flatrate +

Re: [dev] Add-On Menu with ShortCuts

2009-07-29 Thread Oliver Brinzing
. thx in advance. cu Phil -- Oliver Brinzing fon +49 7181 481401 fax +49 7181 475635 Ludwigstrasse 14mobil +49 174 3015743 73614 Schorndorfmailto:oliver.brinz...@gmx.de GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc

Re: [dev] Save Button

2009-09-25 Thread Oliver Brinzing
Hi Albert, When I open an OpenOffice document with the API the save button is disabled until the document is changed. Is there any way to put the save button enabled always? try: Sub Main ThisComponent.setModified(True) End Sub Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3

[dev] How to create a uno singleton component ?

2009-10-11 Thread Oliver Brinzing
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

Re: [dev] How to create a uno singleton component ?

2009-10-12 Thread Oliver Brinzing
Hi Giuseppe, in this project: https://forge.osor.eu/projects/ooo-xadessig-it/ thanks a lot, i will have a look next weekend ;-) Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature

Re: [dev] How to create a uno singleton component ?

2009-10-17 Thread Oliver Brinzing
Hi, today i started to create my first uno singleton ;-) idlc, regmerge javamaker seem to work, regview shows me for example: / LogService Value: Type = RG_VALUETYPE_BINARY Size = 110 Data = version: 1

Re: [dev] How to create a uno singleton component ?

2009-10-18 Thread Oliver Brinzing
Hi, i think i finally did it :-) the trick is to implement your own SingletonFactory ... public class SingletonFactory implements XSingleComponentFactory { private transient LogServiceImpl instance = null; public Object createInstanceWithArgumentsAndContext(final Object[] args,

[dev] OO Dialog sizes - MapAppFont

2009-11-18 Thread Oliver Brinzing
Hi, can one give me a hint how to solve this problem ? OO uses MapAppFont metric for dialogs created with the basic ide editor. We are using different window styles for screen resolutions 1024x768 and 1280x1024. The styles use different font sizes too - this seems to be the, problems cause

Re: [dev] OO Dialog sizes - MapAppFont

2009-11-19 Thread Oliver Brinzing
Hi Frank, http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XUnitConversion.html just found http://www.openoffice.org/issues/show_bug.cgi?id=94067 with an example :-) thanks Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc

Re: [dev] Problems creating a Clipart Gallery extension

2010-01-23 Thread Oliver Brinzing
Hi Fabio, I am creating a Clipart extension for OO. I know how to create en haveyou seen http://wiki.services.openoffice.org/wiki/Non-code_extensions#Gallery_Extensions ? Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description:

[dev] configure org.openoffice.Office.OptionsDialog ...

2010-02-03 Thread Oliver Brinzing
Hi, i want to hide some checkboxes in tools - options dialog like: node oor:name=LoadSave oor:op=replace node oor:name=Pages oor:node-type=OptionsPage node oor:name=General oor:op=replace oor:finalized=true node oor:name=Options

Re: [dev] Writer XSLT import does not work as expected.

2010-02-13 Thread Oliver Brinzing
Hi Werner, is not happy with my filter. Is there any logfile / debug possibility where I can find more information ? The logfile is being activated by setting a Java System Property in the office (Tools-Option-Java), for example: -DXSLTransformer.statsfile=E:\Temp\xslt_debug.txt btw: have

Re: [dev] Writer XSLT import does not work as expected.

2010-02-13 Thread Oliver Brinzing
Hi Werner, Thanks for the quick answer. I tried it, but don't get a logfile. just tried it - testing with the docbook filter - i get a log file: The transformation's parameters as 'name = value' pairs: StylesheetURL =

[dev] question about oDatabaseContext.getElementNames()

2010-02-23 Thread Oliver Brinzing
Is it correct, that oDatabaseContext.getElementNames() will return the displayed name (shown in database brwoser) and not the registered Name shown in Tools - Options ? for example the macro below will return My Database, not mydatabase node oor:name=RegisteredNames node oor:name=My

Re: [dev] question about oDatabaseContext.getElementNames()

2010-02-24 Thread Oliver Brinzing
would be possible). Ciao Frank [1]http://hg.services.openoffice.org/DEV300/file/1467f46f8817/offapi/com/sun/star/sdb/XDatabaseRegistrations.idl -- Oliver Brinzing fon +49 7181 481401 fax +49 7181 475635 Ludwigstrasse 14mobil +49 174 3015743 73614 Schorndorf

[dev] oo320 simple spreadsheet with control element fails odfvalidator test

2010-02-24 Thread Oliver Brinzing
Hi, yesterday evening i had some time to create the odfvalidator.jar from http://odftoolkit.org/ODFValidator ... i used schemas from: http://docs.oasis-open.org/office/v1.2/part3/cd01/OpenDocument-manifest-schema-v1.2-cd1.rng

Re: [dev] Windows' unopkg.exe does not differentiate between stderr and stdout, where does stdout go to when piping ?

2010-03-20 Thread Oliver Brinzing
Hi Rony, you can use: unopkg add myExtension.oxt--shared --verbose --log-file c:\mylog.txt but this won't log error's (http://qa.openoffice.org/issues/show_bug.cgi?id=79831), output is: ## Progress log entry 2010-03-20 16:54:33 ## Copying: myExtension.oxt Enabling:myExtension

Re: [dev] change Xcu with extension

2010-04-01 Thread Oliver Brinzing
Hi, have you tried, for example: Path.xcu: node oor:name=AutoText prop oor:name=UserPaths valuefile:///D:/Data/Global_Autotext_1 file:///D:/Data/Global_Autotext_2/value /prop

[dev] cannot install java extension on ubuntu 10.04 (oo 3.2)

2010-05-23 Thread Oliver Brinzing
Hi, i tried to install some of my java extensions on ubuntu 10.04 (oo 3.2) but failed, it seems all extensions with *.jar files refuse to install ... any hints ? Oliver u...@notebook:/usr/lib/openoffice/program$ sudo unopkg add ./../share/uno_packages/sun-report-builder.oxt --shared --verbose

Re: [dev] cannot install java extension on ubuntu 10.04 (oo 3.2)

2010-05-23 Thread Oliver Brinzing
Hi Konstantin, Have you installed openoffice.org-java-common package? no, i tried to install my extensioin with oo 3.2 (which is shipped with ubuntu 10.04) should i replace open jdk with sun-java6 ? Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

Re: [dev] cannot install java extension on ubuntu 10.04 (oo 3.2)

2010-05-23 Thread Oliver Brinzing
Hi Ariel, Hi Konstantin, $ sudo aptitude install openoffice.org-java-common ok, it seems to work now, but there is another problem with my extensions: on windows i placed some *.jar files in C:\Program Files\OpenOffice.org\share\uno_packages. my java extensions have a manifest.mf like:

Re: [dev] oo3.2 (vista) freezes after double click on user field

2010-07-07 Thread Oliver Brinzing
Hi, Did you mean something else? no, i did exactly the same, oo 3.2 freezes on vista - oo 3.2.1 is ok ... Regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature

Re: [dev] oo3.2 (vista) freezes after double click on user field

2010-07-08 Thread Oliver Brinzing
Hi, i just noticed: if the office freezes, pressing (Alt) (F4) will make it usable again. i think the Fields Dialog is shown hidden and closed via (Alt) (F4) Regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP

Re: [dev] oo3.2 (vista) freezes after double click on user field

2010-07-08 Thread Oliver Brinzing
Hi, h, now i know what happend: last week i was working with an extended desktop (2 monitors). the File Dialog still opens in an invisible area now, caused by an entry in user\registry\data\org\openoffice\Office\views.xcu deleting the views.xcu fixes the problem ... oo seems not to check if

Re: [dev] Changed an extension from .jar to .oxt, now extension gets installed but cannot be used ?

2010-07-25 Thread Oliver Brinzing
Hi, Is there something I must also denote in the description.xml file to you need a META-INF\manifest.xml where you list all your files, for example: ?xml version=1.0 encoding=UTF-8? !DOCTYPE manifest:manifest PUBLIC -//OpenOffice.org//DTD Manifest 1.0//EN Manifest.dtd manifest:manifest

Re: [dev] unopkg - question about shared-extension-desc.xml

2010-08-22 Thread Oliver Brinzing
Hi Joachim, Registration of shared and bundled extensions occurrs now at startup and must be done for every user individually. See http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/The_Active_Extension ok, i added issue

Re: [dev] Debug output

2010-10-26 Thread Oliver Brinzing
Hi, Windows suppresses stdio in GUI programs. As a workaround you may copy solver/wntmsci*/bin/guistdio.com to your OOo installation's program directory, name it soffice.com and start soffice.com instead of soffice.exe why not adding the guistdio.com to oo dev builds ? Regards Oliver --

[dev] cannot open old binary autocorr.dat

2010-11-04 Thread Oliver Brinzing
Hi, sorry for asking such old stuff, but we have several users with autocorr.dat's (originally created with SO 5.2/4.0). These files worked in SO 7.0 without problems. But in OO 3.2 these files will not open anymore :-( I noticed, in that case the file format is not zip (as newly created

Re: [dev] Which master document holds a subdocument?

2010-11-08 Thread Oliver Brinzing
Hi, or: I open slave_1.odt; can I tell this document is part of master.odm? AFAIK a slave document doesn't know his master. i would call it a bug, if a slave document would know, cause a slave can have more masters ... Regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06

  1   2   >