[dev] Instance of soffice.bin remains running after closing OOo

2010-11-08 Thread Jan private
Hi, my extension loads a document in the background: Reference < XComponentLoader > xComponentLoader( mxMCF->createInstanceWithContext(OU("com.sun.star.frame.Desktop" ), mxCC), UNO_QUERY_THROW); Sequence< PropertyValue > args(2); PropertyValue hidden; hidden.Name = OU("Hidden");

[dev] Which master document holds a subdocument?

2010-11-07 Thread Jan private
Hi, is there a way to find out from inside a subdocument which master document it is a part of? Thanks, Jan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.

[dev] Extension submission messed up

2010-11-07 Thread Jan private
Hello, I managed to mess up my extension (iMath) by first deleting it and then re-creating it (please don't ask me why I would do something stupid like that). Now when I look at "Submitted Extensions" I get the extension plus three extension releases. Two of these belong to the deleted first vers

[dev] Openoffice in Wine - User interface language cannot be determined

2010-10-29 Thread Jan private
Hello, I installed Openoffice 3.2 into Ubuntu wine (in order to test the Windows version of an extension I am developing). Install is without problems, but whatever I do, running soffice.exe always gives me The application cannot be started. The user interface language cannot be determined. I tr

[dev] Debug output

2010-10-24 Thread Jan private
Hello, my C++ extension writes debug information to std::cout. When running openoffice.rg from a Linux terminal this works fine. But when I run soffice.exe from a Windows command prompt, there is no output. Is there any simple way to get debugging output in Windows? Thanks, Jan ---

[dev] Progress bar

2010-10-05 Thread Jan private
Hello, how can I create a progress bar in the status area of the OOo window (at the bottom)? My C++ extension does a lengthy calculation and it would be nice for the user to see how far the progress is. Thank you! Jan

[dev] Porting addon from Linux to Windows

2010-09-01 Thread Jan private
Hello, I created an addon with Linux/gcc. Now I would like to port it to Windows. Somewhere I read that Openoffice for Windows is compiled with Microsoft Visual C. Does this mean that I must use MSVC to compile my addon? That would be a BIG problem since I am using the GiNaC library which does not

Re: [dev] XInitialization

2010-08-23 Thread Jan private
Hello Ariel, > I guess you are implementing a css.frame.ProtocolHandler. aren't you? I suppose you are right. I started out by copying from some SDK example. Now I looked and found in iMath.cxx: #define SERVICE_NAME "de.gmx.rheinlaender.jan.imath.ProtocolHandler" > how, when, why, ..., your com

Re: [dev] XInitialization

2010-08-22 Thread Jan private
Hello Ariel, > > I have written a C++ component, which works fine. But just recently I > > noticed that > > > > void SAL_CALL myComponent::initialize( const Sequence< Any >& > > aArguments ) throw ( Exception, RuntimeException) > > > > is called four times after running openoffice.org -writer be

[dev] XInitialization

2010-08-21 Thread Jan private
hello, I have written a C++ component, which works fine. But just recently I noticed that void SAL_CALL myComponent::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException) is called four times after running openoffice.org -writer before the empty writer document op