Re: [api-dev] How to create/get an object with the XCommandEnvironment interface?

2006-06-23 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi there, finally, I would like to use the PackageManager from a script from a commandline. Some methods of com.sun.star.deployment.XPackageManager require a com.sun.star.ucb.XCommandEnvironment as an argument. E.g. addPackage(string, string, XAbortChannel,

Re: [api-dev] Restarting a frozen OOo

2006-06-23 Thread Kay Ramme - Sun Germany - Hamburg
Tobias, Tobias Krais wrote: just now my OOo had a dealock again. And I followed your advice. Here is the comandline output: thanks for taking the time :-) -%- [126] [EMAIL PROTECTED] soffice -env:UNO_JAVA_JFW_JREHOME=file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.06/

Re: [api-dev] Strange thing with formulas in Calc?

2006-06-23 Thread Niklas Nebel
Johnny Andersson wrote: Here are two lines from a macro I wrote to remove ' from cells in cell ranges, for example if a cell formula is '20 my macro will convert it to 20. Selection=ThisComponent.CurrentSelection Data=Selection.getFormulaArray I tested the macro and all seemed to work

Re: [api-dev] BorderDistance or Spacing to Contents in a Frame

2006-06-23 Thread Stephan Wunderlich
Hi Kent, If you do not have a border in a frame you are not allowed to set what is referred to in the UI as Spacing to Contents. I observe that without a border LeftBorderDistance, RightBorderDistance, etc are ignored. Is there no way to get around this? The only success I have had is with

[api-dev] OOoBean, printing problems with document loaded as byte array

2006-06-23 Thread hw
Hi all, I am not sure if this can be called a bug, but perhaps somebody on the list might clear things up. If you load a document via loadFromByteArray() its URL will be private:stream. Now printing on the loaded OfficeDocument does not work (silently, no Exception). I found a workaround,

Re: [api-dev] Mapping of the UNO type hyper in StarBasic

2006-06-23 Thread Paolo Mantovani
Hi Andrew, Alle 07:06, mercoledì 21 giugno 2006, Andrew Douglas Pitonyak ha scritto: [] I only want to add that using CreateUnoValue is a workaround if you have to pass an hyper to an API method, but does not helps when you must get an hyper. I've also tried with the

Re: [api-dev] Mapping of the UNO type hyper in StarBasic

2006-06-23 Thread Laurent Godard
Hi Meanwhile I encountered that you can't have/use a number that is outside int32 range but still inside the int64 range, for example Sub hyper x = CreateUnoValue(hyper, 9223372036854775806) End Sub will give an error, yet the numeric constant is still inside the range a variable of type hyper

Re: [api-dev] Mapping of the UNO type hyper in StarBasic

2006-06-23 Thread Paolo Mantovani
Hi Christian, Alle 14:27, venerdì 23 giugno 2006, Christian Junker ha scritto: Meanwhile I encountered that you can't have/use a number that is outside int32 range but still inside the int64 range, for example Sub hyper x = CreateUnoValue(hyper, 9223372036854775806) End Sub will give an