Re: [dev] How to ignore implementation details exposed via GlobalEventBroadcaster

2010-01-20 Thread Matthias B.
On Tue, Jan 19, 2010 at 7:03 PM, Mathias Bauer nospamfor...@gmx.de wrote: I think OOo should not even broadcast events for these documents. They are implementation details subject to change. Components have no business dealing with them. What is an implementation detail might be in the eye

[dev] How to ignore implementation details exposed via GlobalEventBroadcaster

2010-01-19 Thread Matthias B.
I have a component that registers on the GlobalEventBroadcaster to listen for new documents (OnCreate event) to do some processing on every text document that is opened. Now I have the problem that OpenOffice.org broadcasts these events even for internal documents that it creates temporarily. For

Re: [dev] Announcement: Migration to Mercurial

2009-10-27 Thread Matthias B.
Maybe I've overlooked it but I haven't seen an equivalent to svn switch URL-of-CWS-or-tag With svn I had one checkout which I switched to whatever cws or tag I wanted to build and svn switch would only download the differences between my current checkout and the target. That was fast, saved

Re: [dev] amount of stopper / regressions for 3.1 release

2009-04-01 Thread Matthias B.
On Fri, Mar 13, 2009 at 12:30 PM, Rich r...@hq.vsaa.lv wrote: seeing as my bug made the list, i'll chime in. i've reported quite some bugs, absolute majority being found in real life usage. but i'm not the casual user, as i run dev snapshots most of the time, which increases chances of

[dev] Issue 95496: loadComponentFromUrl freezes OOo

2008-11-18 Thread Matthias B.
I'd like to draw attention to issue 95496. This issue has severe consequences for all applications that open documents and templates via loadComponentFromUrl(). We have a custom launcher for templates and this issue is a showstopper for our deployment of OOo 3.0 under Linux (and therefore a

[dev] Non-broken Debian archives?

2008-10-23 Thread Matthias B.
I'm looking for a non-broken copy of OOo_3.0.0_LinuxIntel_install_de_deb.tar.gz. I've tried 3 mirrors so far and each time got an archive with a different md5sum and they all gave me gzip: stdin: unexpected end of file tar: Unerwartetes Dateiende im Archiv. tar: Unerwartetes Dateiende im Archiv.

Re: [dev] Non-broken Debian archives?

2008-10-23 Thread Matthias B.
On Thu, Oct 23, 2008 at 11:24 AM, Nguyen Vu Hung [EMAIL PROTECTED] wrote: 8efc22c51e87013f4c3e9c728777d3ae wget http://ftp.kddilabs.jp/office/openoffice/extended/3.0.0rc4/OOo_3.0.0rc4_20080930_LinuxIntel_install_de_deb.tar.gz [EMAIL PROTECTED] tmp]$ md5sum

Re: [dev] Re: Can OOo objects be used in-process?

2008-05-13 Thread Matthias B.
On Sat, May 10, 2008 at 7:34 AM, rick cameron [EMAIL PROTECTED] wrote: Hi, Ariel Thanks again for the examples. I'll try them once I get the basics in place. Can you tell me whether it's possible for a C++ client app to create OOo objects (such as a spreadsheet) in the same process as the

Re: [dev] AutoText via API not working

2008-01-28 Thread Matthias B.
On Jan 21, 2008 6:22 PM, Oliver Brinzing [EMAIL PROTECTED] wrote: -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

Re: [dev] Re: AutoText via API always text only?

2008-01-21 Thread Matthias B.
On Jan 17, 2008 1:29 PM, Oliver Specht - Sun Germany - ham02 - Hamburg [EMAIL PROTECTED] wrote: Hi, the implementation of SwXAutoTextGroup::insertNewByName() tries to find the implementation object of the supplied XTextRange. If it succeeds it inserts the text with formatting. Otherwise it

Re: [dev] AutoText via API not working

2008-01-21 Thread Matthias B.
On Jan 17, 2008 2:23 PM, Oliver Specht - Sun Germany - ham02 - Hamburg [EMAIL PROTECTED] wrote: Please file an issue. I've filed http://qa.openoffice.org/issues/show_bug.cgi?id=85426 and http://qa.openoffice.org/issues/show_bug.cgi?id=85427 Matthias

[dev] AutoText via API always text only?

2008-01-17 Thread Matthias B.
XAutoTextGroup.insertNewByName() does not have a switch (unlike the GUI) to define if I want to create a text-only autotext or not. And it seems that it always works text-only. Is there a way to create an AutoText entry for a text range that contains formatting and complex contents, as I can do

[dev] Re: AutoText via API always text only?

2008-01-17 Thread Matthias B.
It seems that the behaviour depends on the kind of text range I pass in. If I use my TextRange directly, the created AutoText is text-only, if I wrap it in a TextCursor first, I get the complete contents. Is this intentional? Is this documented somewhere? Matthias

[dev] AutoText via API not working

2008-01-16 Thread Matthias B.
I'm trying to create a new AutoText via API, but it doesn't work. I've copy'n'pasted the example from the Dev Guide and it throws a RuntimeException (with no detail message) on the call to XAutoTextGroup.insertNewByName(). I've tried creating an AutoText via Basic, but it has the same problem.

[dev] AutoText via API not working

2008-01-16 Thread Matthias B.
I'm trying to create a new AutoText via API, but it doesn't work. I've copy'n'pasted the example from the Dev Guide and it throws a RuntimeException (with no detail message) on the call to XAutoTextGroup.insertNewByName(). I've tried creating an AutoText via Basic, but it has the same problem.

Re: [dev] AutoText via API not working

2008-01-16 Thread Matthias B.
On Jan 16, 2008 2:53 PM, Oliver Specht [EMAIL PROTECTED] wrote: Hi, the group name contains a path index separated by '*'. If this is not supplied then the first AutoText path is used to create the new group file. This file is usually placed in the share layer. If your share layer is not

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

2007-12-19 Thread Matthias B.
On Dec 18, 2007 7:20 PM, Oliver Brinzing [EMAIL PROTECTED] wrote: -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

[dev] Is broadcasting global events possible?

2007-11-15 Thread Matthias B.
Is it possible for our custom Java component to broadcast events via the GlobalEventBroadcaster, so that listeners listening on it will receive them? Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[dev] Workaround for loadComponentFromUrl() freeze

2007-10-29 Thread Matthias B.
As explained in http://qa.openoffice.org/issues/show_bug.cgi?id=82879 when you call loadComponentFromUrl() from inside OOs JVM (e.g. from a Java component or a BeanShell script) in all but the most trivial contexts the newly opened window will freeze when you attempt a drag'n'drop operation in

Re: [dev] How to get notified, when document's URL changes

2007-10-18 Thread Matthias B.
On 10/17/07, Mathias Bauer [EMAIL PROTECTED] wrote: You can try the document event OnSaveAsDone. Yes, that works. Thanks. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] How to get notified, when document's URL changes

2007-10-16 Thread Matthias B.
I'm looking for a way to get notified when a document's URL (XModel.getURL()) changes, usually after the user saves the document via save as (or save in case of a new document). I tried an XStorageChangeListener, but it's not triggered in this case. The only other thing I can think of is to catch

Re: [dev] deploying jdbc-drivers (.jar) on multiple hosts/OOo-Installations

2007-09-24 Thread Matthias B.
I've filed an issue for this http://www.openoffice.org/issues/show_bug.cgi?id=81899 Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [dev] How to change paragraph styles globally

2007-08-21 Thread Matthias B.
Hi Frank, Thanks for you help. On 8/21/07, Frank Meies [EMAIL PROTECTED] wrote: Hi Matthias, On 08/20/07 10:00, Matthias B. wrote: How do I change the definition of the standard paragraph styles such as Heading 1, 2,3... on a global level. Can I do this via a uno.pkg? you can add

Re: [dev] How to change paragraph styles globally

2007-08-21 Thread Matthias B.
Thanks. That should get me started. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] How to change paragraph styles globally

2007-08-20 Thread Matthias B.
How do I change the definition of the standard paragraph styles such as Heading 1, 2,3... on a global level. Can I do this via a uno.pkg? Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[dev] Enable systray quickstarter option??

2007-07-31 Thread Matthias B.
I have built OOo on a Debian system (from vanilla m221 sources) with KDE. Tools/Options/Memory has a checkbox Enable systray quickstarter, but this doesn't seem to do anything and it gets unset automatically whenever I close OOo and start it again. What is this option supposed to do? Is it

[dev] Need help debugging OOo with gdb

2007-07-03 Thread Matthias B.
I have a reproducible segfault I'd like to examine with GDB, but I have a problem. When I run the program without the debugger I get the message CO # CO # An unexpected error has been detected by HotSpot Virtual Machine: CO # CO # SIGSEGV (0xb) at pc=0x9b15805d, pid=15855, tid=2610363312 CO #

[dev] Re: Need help debugging OOo with gdb

2007-07-03 Thread Matthias B.
On 7/3/07, Matthias B. [EMAIL PROTECTED] wrote: I have a reproducible segfault I'd like to examine with GDB, but I have a problem. When I run the program without the debugger I get the message I tried it again with libscriptframe.so LD_PRELOADED and this time it seems to work. I'm still

Re: [dev] Need help debugging OOo with gdb

2007-07-03 Thread Matthias B.
On 7/3/07, Stephan Bergmann [EMAIL PROTECTED] wrote: Bad luck. Your code (libscriptframe.so) is obviously part of an OOo Extension you just installed. You're mistaken. It's part of the scripting framework which is a regular part of OOo. The source code is in

[dev] How to get singleton in OOo Basic?

2007-07-03 Thread Matthias B.
I want to convert a Java program that causes OOo to crash into Basic to make it easier to reproduce for filing a bug report. Can someone tell me how to get /singletons/com.sun.star.script.browse.theBrowseNodeFactory in OOo Basic? In Java I get it via getValueByName() from the DefaultContext

Re: [dev] How to get singleton in OOo Basic?

2007-07-03 Thread Matthias B.
On 7/3/07, Peter Eberlein [EMAIL PROTECTED] wrote: Cont = GetProcessServiceManager().DefaultContext() Thanks. That's what I was missing. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [dev] Re: Proxy setting in Inet.xcu has no effect

2007-03-27 Thread Matthias B.
On 3/23/07, Oliver Braun [EMAIL PROTECTED] wrote: This leaves us no choice but to have our component disable the proxy via UNO API, which of course prevents use of a proxy completely, even in environments where the proxy is properly configured. If you don't need a proxy for the servers you

Re: [dev] Re: Proxy setting in Inet.xcu has no effect

2007-03-22 Thread Matthias B.
On 3/21/07, Oliver Braun [EMAIL PROTECTED] wrote: System means import from desktop environment, i.e. you probably have KDE configured to use a proxy. Why should OOo not use the same proxy as all your KDE apps ? If other users have not configured a proxy in KDE, they won't have one in OOo, too.

Re: [dev] Re: Proxy setting in Inet.xcu has no effect

2007-03-22 Thread Matthias B.
On 3/22/07, Stephan Bergmann [EMAIL PROTECTED] wrote: With my limited understanding of configmgr :) I would assume that setting the ooInetProxyType node in share/registry/data/org/openoffice/Inet.xcu to oor:finalized=true should prevent other layers (incl. the system integration backend) from

Re: [dev] Proxy setting in Inet.xcu has no effect

2007-03-20 Thread Matthias B.
On 3/15/07, Oliver Braun [EMAIL PROTECTED] wrote: Hi Matthias, I assume you are either running GNOME or KDE. The OOo configuration backends for both desktops need to change the (default) value of this setting at runtime, otherwise system would have to be the default, even for desktop

Re: [dev] embedding BLOBs in ODT (and accessing them via UNO)

2007-02-23 Thread Matthias B.
For those interested in our use case for this request: Our custom component supports plugins (Java .class files) that do plausibility checks on user input to forms. We want to be able to embed these .class files inside the documents that use them and then load them via a custom ClassLoader.

[dev] embedding BLOBs in ODT (and accessing them via UNO)

2007-02-21 Thread Matthias B.
We have a custom OOo component and we'd like to store additional data inside a document that this component can access. So far we've encoded the data as text and then stored it in notes, but this is quite hackish. What we would like to do is to put an extra binary file into the ODT file (which

Re: [dev] How to build openoffice.org-debian-menus?

2007-02-14 Thread Matthias B.
On 2/14/07, Rene Engelhard [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Matthias B. wrote: Well, since I build on Debian I thought package format native would be the same as deb (since deb is the native format for Debian) and in fact the native build does

[dev] Removing the ability to write data into ODB files

2007-02-13 Thread Matthias B.
For policy reasons we want to prevent users from storing data directly inside ODB files. But we want to retain all of OpenOffice.org features for other database types that use external storage. Does anyone have an idea how we can achieve this? Matthias

Re: [dev] Removing the ability to write data into ODB files

2007-02-13 Thread Matthias B.
On 2/14/07, Frank Schönheit - Sun Microsystems Germany [EMAIL PROTECTED] wrote: Hi Matthias, For policy reasons we want to prevent users from storing data directly inside ODB files. But we want to retain all of OpenOffice.org features for other database types that use external storage. Does

[dev] Questions about qatest failures

2007-02-12 Thread Matthias B.
Hallo, I've run the ooo_releasetests.sh on my own build of OOo 2.1 and I have some questions about the tests that failed. The first failure is tGallery_CheckNames - check the number of gallery-themes Warning: Difference in count of gallery themes; found: '6'; expected: '30' - check the names of

Re: [dev] Questions about qatest failures

2007-02-12 Thread Matthias B.
On 2/12/07, Thorsten Bosbach [EMAIL PROTECTED] wrote: Where are the other 24 themes supposed to come from? That is because the test writer assumed that he always has a StarOffice version to test ;-) He updated his test for OOo 2.2 and SRC680: on 14.12.2006

[dev] How to build openoffice.org-debian-menus?

2007-02-08 Thread Matthias B.
When I build OOo I get the debs for OOo itself, but openoffice.org-debian-menus is not built. How do I get this to be built? Calling dmake in sysui/desktop/debian doesn't work. Matthias - To unsubscribe, e-mail: [EMAIL

[dev] How to change dictionary directory

2007-02-06 Thread Matthias B.
My self-compiled OOo looks for its dictionaries in /opt/openoffice.org2.1/share/dict. How can I change this (preferably at compile-time) to /usr/share/ooo-dict ? I want to change the directory for spell checker, thesaurus and hyphenation. Matthias

[dev] Is a dbgutils build supposed to produce so many messages

2007-02-01 Thread Matthias B.
I've done a --enable-dbgutils build because I thought it could aid in debugging the frequent OOo crashes we suffer from. I'm a little bit shocked (although on 2nd thought not really surprised) at the number of message boxes with failed assertions and other messages about conditions that are not

Re: [dev] How to build multi-language OOo or language packs?

2007-01-23 Thread Matthias B.
On 1/23/07, Subir Pradhanang [EMAIL PROTECTED] wrote: $SRC_ROOT cd instsetoo_native/util; dmake ooolanguagepack Thanks. That worked. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[dev] How to build multi-language OOo or language packs?

2007-01-22 Thread Matthias B.
I've managed to build OOo from the standard sources. I've specified --with-lang=de and was hoping to get an OpenOffice whose GUI I could switch between US English and German. However I ended up with 2 independent directories with a full set of .deb packages in each directory. The German packages

Re: [dev] Can I dispatch URLs from the command line?

2006-12-27 Thread Matthias B.
I've created issue 72942: http://qa.openoffice.org/issues/show_bug.cgi?id=72942 Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] Can I dispatch URLs from the command line?

2006-12-22 Thread Matthias B.
I've tried without success to dispatch URLs for a custom URL-scheme supported by a custom component via the command line, i.e with the command soffice URL This works fine for http:-URLs and private: URLs as well as file: URLs, but not for my custom URLs. Is it at all possible to dispatch custom

Re: [dev] Distributing data sources to multiple machines

2006-12-19 Thread Matthias B.
On 12/19/06, Andrew Douglas Pitonyak [EMAIL PROTECTED] wrote: Matthias B. wrote: You say Data Source, and I think Base Document. You no longer need to register a data source to use it. You simply need to point at the Base Document. The primary advantage for this, however

[dev] Web CVS?

2006-12-11 Thread Matthias B.
Is it possible to access the OOo repository via Web? I'm sitting behind a firewall so I can't use CVS to access the repository. In any case, can someone with CVS access tell me if the file ooo_OOE680_m6_src/sw/source/core/bastyp/index.cxx has been edited since 2006/09/16 20:42:18. I'm

Re: [dev] Web CVS?

2006-12-11 Thread Matthias B.
On 12/11/06, Niklas Nebel [EMAIL PROTECTED] wrote: Use the Version control - CVS link on the project page (sw.openoffice.org). Thanks. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [dev] Re: How to create OOo Basic scripts via API

2006-11-17 Thread Matthias B.
On 11/16/06, Andreas Saeger [EMAIL PROTECTED] wrote: [...] oDocLibs = oDoc.BasicLibraries oLib = oDocLibs.createLibrary(testLib) [...] Does this help? Thanks. I'm trying to do this from Java. I've checked the IDL docs and it seems that createLibrary() is provided by XStarBasicAccess, however

[dev] How to create OOo Basic scripts via API

2006-11-16 Thread Matthias B.
Hallo, I've checked the Dev Guide and the IDL docs but I can't seem to find any services/interfaces that allow me to create/edit Basic scripts included in a document via the UNO API. It would be nice if someone could point me in the right direction. Matthias