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

2006-06-22 Thread Kent Gibson
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 transparent

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

2006-06-22 Thread Andrew Douglas Pitonyak
Paolo Mantovani wrote: Hi Christian, sorry for my previous message. Alle 09:20, martedì 20 giugno 2006, Christian Junker ha scritto: Hi Paolo, I have the same problems as you have here. I guess there is no other way than using CreateUnoValue. [...] 2) using CreateUnoValue might

[api-dev] Current Sheet

2006-06-22 Thread Johnny Andersson
I am writing a macro that is supposed to work on any spreadsheet. It will, when I'm done, be able to work on the current selection OR on the whole spreadsheet. The user can select that in a small dialog with two radiobuttons. I understand that ThisComponent.CurrentSelection is relevant for

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

2006-06-22 Thread Rony G. Flatscher
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, XCommandEnvironment),

Re: [api-dev] Current Sheet

2006-06-22 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Johnny, try ThisComponent.getCurrentController().getActiveSheet() Oliver - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with