Re: [dev] RestrictedPath working under Windows?

2006-07-17 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Allen, That's easy to find. There are only about a dozen matches in the source code for RestrictedPath and RestrictedPaths ;-) :) On Windows XP, you have both system variables and user variables. If both values are set, the user value overrides the system value. In fact, I just tried

Re: [dev] RestrictedPath working under Windows?

2006-07-17 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Joerg, So how was that supposed to be used? I assume that would be by editing the soffice script to set that variable before invoking soffice.bin? (Otherwise a user could always overwrite an environment variable just as easily.) Not well suited for Windows use then, where there is no

Re: [dev] RestrictedPath working under Windows?

2006-07-17 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Allen, It would be less complex and therefore less prone to system administrator and programmer error to just treat a nil and empty string the same. I suggest: I don't have a strong preference here. In theory, treating nil and empty list equally is somewhat ... dirty, so I would probably

Re: [dev] how to select a paragraph

2006-07-17 Thread Sascha Jensen
Mohammad Alhammouri schrieb: You can install an XSelectionChangeListener. This will notify you whenever selection changes. Inside the listener you can use the principle demostrated in the script xsel = thiscomponent.currentcontroller.getselection xrange = xsel(0) xcur =

Re: [dev] Warning free code: the missing modules

2006-07-17 Thread Stephan Bergmann
Bjoern Milcke wrote: Hi Stephan, I can add EXTERNAL_WARNINGS_NOT_ERRORS=TRUE to every makefile.mk in sch on CWS sb58 to effectively exempt it from warning-freedom, just as I did for binfilter. Yes, please. testhxx only found (very few) problems in memchrt.hxx, and only on wntmsci10[.pro],

[dev] Ask a question: xmlkywd.hxx can delete from code

2006-07-17 Thread 程家亮
In the file SRC680_ROOT\xmloff\inc\xmlkywd.hxx, there are some comment: THIS FILE IS DEPRECATED. IT IS SUPERSEDED BY XMLTOKEN.HXX. Please use xmltoken.hxx / xmltoken.cxx from now on. So I think I can delete the file xmlkywd.hxx and xmltoken.cxx from codes, and I am right? Please tell me.

[dev] Question

2006-07-17 Thread Hugo Pérez Bruno
Hi How can I export data from a recordset in Visual Basic 6.0 to OOoCalc? Thanks Hugo

[dev] make a python script in makefile.mk?

2006-07-17 Thread Leibowitz, Michael
I'm having some trouble with making scripts in my makefile.mk. In UNIX, I use UNIXTEXT = $(MISC)/dbbe_enable.sh That seems to work. However, on Windows, I don't know of any similar variable. I tried putting in my own target: # --- Targets -- .INCLUDE :

Re: [dev] how to create your own configuration reader in OpenOffice.org (configmgrrc)

2006-07-17 Thread Christian Andersson
see answers inline Joerg Barfurth wrote: Hi Christian, from what I understand this stuff can only be done in c++ right now, not java. Not so. The backends are accessed as UNO services and can be written in any language suitable for writing UNO components. This includes Java and even

Re: [dev] make a python script in makefile.mk?

2006-07-17 Thread Hans-Joachim Lankenau
hi! UNIXTEXT was introduced to make sure the resulting file gets cleaned from dos lineends. there is currently nothing similar available for windows :( Leibowitz, Michael wrote: I'm having some trouble with making scripts in my makefile.mk. In UNIX, I use UNIXTEXT = $(MISC)/dbbe_enable.sh

Re: [dev] Warning free code: the missing modules

2006-07-17 Thread Christian Lohmaier
Hi *, On Fri, Jul 14, 2006 at 10:00:57AM +0200, Stephan Bergmann wrote: Christian Lohmaier wrote: On Thu, Jul 13, 2006 at 06:04:41PM +0200, Stephan Bergmann wrote: Now that CWS warnings01 is integrated and most of the OOo modules are C/C++ warning free for the standard platforms (unxlngi6,

RE: [dev] RestrictedPath working under Windows?

2006-07-17 Thread Allen Pulsifer
I would also be interested in changing RestrictedPath from an environmental variable to a configuration (.xcs/.xcu) setting. I'm realizing that it make this useful, a system administrator would probably need a way to insert the user's username or WinNT domain\username into the path. So for

[dev] paragraph number

2006-07-17 Thread Mohammad Alhammouri
Hello there, is there a similar function to the page number function xPageCursor.getPage(), that finds the paragraph number within the text document. if not is there any way to find that number in JAVA ? thanks in advance. Regards, Mohammad.

RE: [dev] make a python script in makefile.mk?

2006-07-17 Thread Leibowitz, Michael
Thanks. Although perhaps not the cleanest way to do it, I switched to just having d.lst deliver it directly from the source dir. -- Michael Leibowitz Software Engineer, Channel Platform Solutions Group Intel Corporation michael.leibowitz at intel.com +1 503 264 7621 -Original Message-