[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Andreas, all Andreas Säger wrote >>> On 28/05/2015 16:38, James Knott wrote: > >>> Write a utility that creates a "Work Area" folder, regardless of the >>> platform one uses. >>> An interesting challenge for somebody who is good at PERL or Python >>> coding. > > Sub onApplicationStart() > oS

[libreoffice-users] Autorecovery not working

2015-05-31 Thread Lens Paul
Hi all, I lost recently a calc file despite the autorecovery function set on 10 minutes interval. I kept the lost file open for 2 days. The only files to be found in the backup directory and the temporary file directory were 2 days old, although the lost file had been modified several times.

[libreoffice-users] loadComponentFromURL into _top frame at startup crashes LO

2015-05-31 Thread X Roemer
Hi, this post is somehow related to "open files automatically", but a bit more specific. http://nabble.documentfoundation.org/open-files-automatically-td4149584.html When I load a component in an already loaded LO, following code works inside an extension: URL="private:factory/swriter" desk

Re: [libreoffice-users] loadComponentFromURL into _top frame at startup crashes LO

2015-05-31 Thread X Roemer
sorry, forgot some code in the listener.m it should be: class Doc_Event_Listener(unohelper.Base,XDocumentEventListener): def documentEventOccured(self,ev): if ev.EventName == 'OnLayoutFinished': if document.Name == '': document.Name = 'xxx'

Re: [libreoffice-users] loadComponentFromURL into _top frame at startup crashes LO

2015-05-31 Thread X Roemer
One irritating thing I found out: Although the listener is called with "onLayoutFinished" the desktop still doesn't have an ActiveFrame. It seemes to be set afterwards. When I create a component enumeration, I can see the upcoming component, but it isn't set yet. Any ideas, how to receive an

[libreoffice-users] OEditModel - set focus & pre-select all text?

2015-05-31 Thread JTeagle
If this is not the best list for this question, please let me know of a more appropriate one. I'm using a few simple controls on a Calc sheet, and Libre Basic to manipulate them. So far I have had success, pulling test from a text box, pulling text from cells on the sheet, changing the list of st

Re: [libreoffice-users] Autorecovery not working

2015-05-31 Thread Brian Barker
At 10:31 31/05/2015 +0200, Lens Paul wrote: I lost recently a calc file despite the autorecovery function set on 10 minutes interval. I kept the lost file open for 2 days. The only files to be found in the backup directory and the temporary file directory were 2 days old, although the lost file

[libreoffice-users] autoformat question

2015-05-31 Thread Thomas Blasejewicz
REGood evening. This is NOT a real problem, but I would like to change this behavior. I am typing (work) text without any particular formatting or styles applied. There are many numbered items like: 3. ... (1) ... (2) ... Here I noticed, that AFTER I typed the first line starting with "3. ..." A

Re: [libreoffice-users] Autorecovery not working

2015-05-31 Thread Lens Paul
Thanks a lot for this thorough explanation. And sorry for not having explained in detail my problem. It was after a crash indeed. If I remember rightly, at recovery process, most of the files were marked green (recoverable) except this one. LO proposed to save a copy in the "My Documents" direc

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 09:32 schrieb Pedro: > I can't test if this script does what the OP asked for. Where should the > AutoStart folder be placed when using a Windows OS or in a Linux OS? > > Would it be possible to take this effort further and evolve this script into > an extension with a point-and-c

[libreoffice-users] Re: Autorecovery not working

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 10:31 schrieb Lens Paul: > Hi all, > > I lost recently a calc file despite the autorecovery function set on 10 > minutes interval. > > I kept the lost file open for 2 days. The only files to be found in the > backup directory and the temporary file directory were 2 days old, > al

Re: [libreoffice-users] autoformat question

2015-05-31 Thread Brian Barker
At 00:28 01/06/2015 +0900, Thomas Blasejewicz wrote: This is NOT a real problem, but I would like to change this behavior. I am typing (work) text without any particular formatting or styles applied. There are many numbered items like: 3. ... (1) ... (2) ... Here I noticed, that AFTER I typed

Re: [libreoffice-users] Autorecovery not working

2015-05-31 Thread Brian Barker
At 17:34 31/05/2015 +0200, Lens Paul wrote: If I remember rightly, at recovery process, most of the files were marked green (recoverable) except this one. LO proposed to save a copy in the "My Documents" directory but there seemed to be none saved there. As I understand things, any recovered d

Re: [libreoffice-users] Autorecovery not working

2015-05-31 Thread Lens Paul
I merely accepted LO's proposition but didn't in the directory it proposed to save it in, but it can be that I made a mistake somewhere. Thanks again for all, Paul Lens Le 31/05/2015 17:55, Brian Barker a écrit : At 17:34 31/05/2015 +0200, Lens Paul wrote: If I remember rightly, at recovery p

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Andreas, all Andreas Säger wrote > Feel free to do what you want with it. I won't elaborate any further > since this is a feature I would not use by myself. I don't intend to use it either. I'm just trying to find a user friendly solution to the OPs problem. And you seem to be the right perso

Re: [libreoffice-users] open files automatically

2015-05-31 Thread Luuk
On 27-5-2015 03:22, Thomas wrote: Good morning from Japan Maybe (I do not remember exactly) I did ask the same question years ago. Is there a trick to tell LibreOffice, in particular Calc, to open files automatically? For the last 15 years or so I have been using Lotus 123 to keep track of simpl

Re: [libreoffice-users] open files automatically

2015-05-31 Thread Luuk
On 31-5-2015 20:08, Luuk wrote: On 27-5-2015 03:22, Thomas wrote: Good morning from Japan Maybe (I do not remember exactly) I did ask the same question years ago. Is there a trick to tell LibreOffice, in particular Calc, to open files automatically? For the last 15 years or so I have been using

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Luuk Luuk wrote > There's no need to automate Calc (or LO) > > simply create a file > name it something like 'autostartLibreoffice.bat' > (or anything else, as long as the name ends in '.bat' That has been suggested before. The OPs request is that LibreOffice opens all files stored in a give

Re: [libreoffice-users] Re: open files automatically

2015-05-31 Thread Luuk
On 31-5-2015 20:59, Pedro wrote: Hi Luuk Luuk wrote There's no need to automate Calc (or LO) simply create a file name it something like 'autostartLibreoffice.bat' (or anything else, as long as the name ends in '.bat' That has been suggested before. The OPs request is that LibreOffice opens

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 19:18 schrieb Pedro: > Is there a way to make it autorun on start? > > > Tools>Customize... [Events] Save in: Event: Macro: MyMacros.Library.Module.onApplicationStart -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.o

Re: [libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread James E Lang
Hi Andreas, Your Star Basic macro looks very interesting. It is not super complex (initialization, a loop, and a super simple supporting function). Has anyone given it a test drive? As I read the macro, the while loop looks suspect. Isn't it testing the length of a directory name [ dir("path/f

[libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 22:43 schrieb James E Lang: > Hi Andreas, > > Your Star Basic macro looks very interesting. It is not super complex > (initialization, a loop, and a super simple supporting function). Has anyone > given it a test drive? > > As I read the macro, the while loop looks suspect. Isn

[libreoffice-users] Linking to embedded images.

2015-05-31 Thread Steve Edmonds
Hi. I need to create a document with small images repeated hundreds of times. I would like to use the one image, inserted once and then linked to that same image so the document doesn't bloat excessively (the images need to be contained in the document as I email it and share it with others on

Re: [libreoffice-users] Linking to embedded images.

2015-05-31 Thread Tom Davies
Hi :) If you insert the image one time and then copy&paste from that inserted image doesn't that make each copy just reference the 1st one rather than create duplicates? I am not sure what happens if documents are then viewed in programs other than OpenOffice/LibreOffice. Regards from Tom :)

Re: [libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread James E Lang
(I intend this reply to be off list) Thank you. It has probably been more than 20 years since I studied any flavor of Basic and I have not been able to find what dir("path/file.ext") or dir() are supposed to do. That is why I said that the "while" loop appears to be suspect. My guess is that t

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Andreas, all Andreas Säger wrote > Am 31.05.2015 um 19:18 schrieb Pedro: > >> Is there a way to make it autorun on start? > > Tools>Customize... [Events] > Save in: > > Event: > > Macro: MyMacros.Library.Module.onApplicationStart Brilliant! That worked perfectly. Thank you, Andreas! Th

[libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 22:53 schrieb Andreas Säger: > > File name extensions are meaningless. LibreOffice tries to open any file > regardless of its extension. Rename a file to .xyz and open with > LibreOffice. > My code should have an error handler for unsupported (possibly broken) > files so the loop

[libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread Andreas Säger
Am 01.06.2015 um 00:38 schrieb James E Lang: > (I intend this reply to be off list) > > Thank you. > > It has probably been more than 20 years since I studied any flavor of Basic > and I have not been able to find what dir("path/file.ext") or dir() are > supposed to do. That is why I said that

Re: [libreoffice-users] Re: LibreOffice Base and Java conflict

2015-05-31 Thread Mark LaPierre
On 05/27/15 09:47, Tom Davies wrote: > Hi :) > If possible it is a good idea to export your database tables to a different > program such as Postgresql or MariaDb/MySql or any other non-Java external > "back-end". Then hopefully Base can connect to your external back-end > without having to edit y

[libreoffice-users] BASE mail list

2015-05-31 Thread Mark LaPierre
Hey All, Is there a separate mail list set up just for BASE users? -- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/ -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/m