[libreoffice-users] Re: Ubuntu 15.10 will include LO 5.0.2.2

2015-10-23 Thread Aurelius Octavian
Yes, that's correct. Ubuntu 15.10 and all its flavors (Xubuntu, Kubuntu, and 
so on) came out yesterday and the Werewolf features LO 5.0.2.2 .


Typing this on an Ubuntu 15.10 machine with the nice LO 5.0.2.2 sitting in 
the system tray.


Aurelius



Am 23.10.2015 um 12:52 schrieb Tim---Kracked_P_P---webmaster:


If anyone is interested. . . .

Ubuntu 15.10, a.k.a. " Wily Werewolf " is scheduled to come out this week,
according to an article.

The same article has a picture of a LibreOffice "splash screen", showing that
this distro will include LibreOffice 5.0.2.2.

I run 14.04LTS and 15.04, so on the 15.04 system, I should be upgrading it in
a few weeks.  I have not upgraded that system's LO beyond 4.4.5.2, though
another system has 5.0.2.2 currently installed.
[I run Ubuntu, Linux Mint, and/or Windows 10 on my various systems]



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: LO 5.0.2.2 ignores altered path for temporary files ?

2015-10-07 Thread Aurelius Octavian
Joel, thanks for your reply. Before I file a bug, I'd like to ask other users 
here if they can confirm my observation?


Greetings,
Aurelius



Am 06.10.2015 um 22:22 schrieb Joel Madero:

Sounds like a bug. Should probably report it at www.bugs.libreoffice.org.


Best,
Joel

On Tue, Oct 6, 2015 at 3:12 AM, Aurelius Octavian <edist...@gmail.com>
wrote:


Hello,

If in the menu "Extra / Options / Paths" I set the value of "Temporary
Files" to an own directory, this seems to be ignored by this LO version.

Here on a Debian based Linux all temporary LO files go to the "/tmp"
directory, no matter what I set in the mentioned LO options.

In former LO versions it worked, however. I'm not sure when exactly this
problem started to appear, but I'm think to recall that it worked in LO
5.0.x

Is this a bug or a feature? :-)

Greetings,
Aurelius



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] LO 5.0.2.2 ignores altered path for temporary files ?

2015-10-06 Thread Aurelius Octavian

Hello,

If in the menu "Extra / Options / Paths" I set the value of "Temporary Files" 
to an own directory, this seems to be ignored by this LO version.


Here on a Debian based Linux all temporary LO files go to the "/tmp" 
directory, no matter what I set in the mentioned LO options.


In former LO versions it worked, however. I'm not sure when exactly this 
problem started to appear, but I'm think to recall that it worked in LO 5.0.x


Is this a bug or a feature? :-)

Greetings,
Aurelius



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: modify calc dynamically with java

2015-09-08 Thread Aurelius Octavian

Am 08.09.2015 um 09:19 schrieb Aurelius Octavian:

[..] so I'm using version 0.5 (2013) which contains
any needed JARs in one Zip file.


Nearly; also v0.5 needs two external JARs which are referenced however on the 
web-page (I think) and downloadable from the provided links. It's these two:


– xercesImpl.jar
– xml-apis.jar

So in the end you need these four JARs to work with the ODF-Toolkit v0.5 
version:
– odfdom-0.8.8.jar
– simple-odf-0.7.jar
– xercesImpl.jar
– xml-apis.jar


Aurelius


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: modify calc dynamically with java

2015-09-08 Thread Aurelius Octavian

Hello Davide,

With the right tools this works very fine actually. It took me some time to 
figure out which tool to use, but now I use the well designed and well 
working "Apache ODF Toolkit" here: https://incubator.apache.org/odftoolkit/
It's still in "incubating mode", but I didn't encounter any grave problems so 
far.


The ODF Toolkit is relatively small, pure Java bundle consisting of two 
parts: "ODFDOM" and "Simple API". The first one does the more complex 
low-level work, while the second ones makes it all very high-level for us 
normal users.


There's some fine examples on the Apache website, too, which should get you 
going in a short time. Basically you only need to use the Simple-API in order 
to open some Opendocument file (Writer, Calc, or the others), then you can 
insert, modify, delete cells, rows, culumns, paragraphs etc in your .odt or 
.ods file, and then save the result as file. It's a great tool.


The most recent version is 0.61 (summer 2014) but it needs some external JAR 
which I couldn't find so far, so I'm using version 0.5 (2013) which contains 
any needed JARs in one Zip file. Version 0.61's bug fixes and new futures 
aren't that critical for my purposes yet, but in case you would find out 
where to get the needed external JAR(s) for the 0.61 version, please tell so! 
Thanks.


P.S. Just in case your Java programs needs to export the resulting .odt or 
.ods file to a PDF file, too, I can only recommend to directly call from 
within Java the Libreoffice executable via Java's ProcessBuilder class, i.e. 
"libreoffice|soffice--convert-to pdf", but skip the UNO API which didn't work 
(for me).


Good luck and enjoy your Java programming!

Aurelius



Am 08.09.2015 um 00:44 schrieb Davide:

Hi,

I want to modify libreoffice calc (ods) files. I have seen that within the ods
(a zip file) there is content.xml file that contains values. I have tried to
change it
and I can change the calc. Sometime formula are not update because there are
"cached values" within the cell. Removing this values (xml attributes)
formula are
recalulated. Quite the same with charts.

Is this a good way or there are better ways? There is another "better way" to
make calc to
recalculate formula or redraw charts?
It better a library to do this? In case some raccomandation for java?

Thanks in advance for any help!

Davide



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: Command-line PDF-export options ("soffice --convert-to pdf") ?

2015-09-01 Thread Aurelius Octavian

Thank you Stephan for your good hints, as usual.
Then I'm trying to examine the source-code a bit closer. But this could take 
some time, since it's been a long time when I learned C... :-)


Aside this, the "soffice --convert-to pdf" approach works very fine so far.

Aurelius


Am 31.08.2015 um 12:52 schrieb Stephan Bergmann:
[..]

Those filter option arguments got added as a fix for
 "CLI: Encoding
issue when Converting documents: esp. UTF-8 in headless mode."  However,
their usage is rather awkward, as you need to have intimate knowledge about
the individual filters' arguments, and how each filter's code expects those
arguments to be encoded as a string.  See comment
 for an
example for Calc's CSV filter.


If I knew C++ in large projects better, I would dare to look at
Libreoffice's source-code (and I did so), but it's very Greek to me.


I fear there's no way around somebody interested in this topic picking this
up, reading the source code and writing documentation for the various filters
what the filter option strings should look like.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: UNO with Libreoffice 5 (64-Bit, Win) and Java

2015-08-25 Thread Aurelius Octavian

Stephan, thanks for your help.

If my batch script which starts the Java program, starts an invisible 
Libreoffice64 instance first (--invisible or such), maybe I find a way to 
just connect to that running instance from within Java64. So I would bypass 
the spawning of a Libreoffice64 instance from within Java64, which doesn't 
work so far.


We'll see. In any case, thanks for your friendly efforts. All the best.

Greetings,
Aurelius



Am 24.08.2015 um 16:18 schrieb Stephan Bergmann:

On 08/24/2015 02:28 PM, Aurelius Octavian wrote:

Thank you Stephan for the hint. Dependency's profiling the soffice.bin
execution from within Java worked and I got a longer log.
However, since I'm no C(++) or Windows programmer I wouldn't know where
to search for a bug in the Java64-UNO-Libreoffice64 process.

Would somebody like to take a quick look at the log file, please? It's
here:
http://pastebin.com/v1x5sEUM

Or are there people in the Libreoffice developer team who know more
about this whole UNO thing, in order to spot the error when LO 64-Bit is
being called from Java 64-Bit?


My suspicion would be that, when spawned from the java.exe process,
soffice.bin runs in some subtly altered environment that e.g. causes it to
pick up unexpected instances of certain DLLs---something like picking an
MSVCRT DLL that is suitable for the java.exe but not for soffice.bin, or
similar.

However, I at least cannot spot any obvious issue in your pastebin,
unfortunately.




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: UNO with Libreoffice 5 (64-Bit, Win) and Java

2015-08-24 Thread Aurelius Octavian
Thank you Stephan for the hint. Dependency's profiling the soffice.bin 
execution from within Java worked and I got a longer log.
However, since I'm no C(++) or Windows programmer I wouldn't know where to 
search for a bug in the Java64-UNO-Libreoffice64 process.


Would somebody like to take a quick look at the log file, please? It's here:
http://pastebin.com/v1x5sEUM

Or are there people in the Libreoffice developer team who know more about 
this whole UNO thing, in order to spot the error when LO 64-Bit is being 
called from Java 64-Bit?


Thanks for any help.

Greetings,
Aurelius



Am 24.08.2015 um 10:49 schrieb Stephan Bergmann:

On 08/22/2015 02:47 PM, Aurelius Octavian wrote:

With Depends tool do you mean the Depency Walker (depends.exe) ?
http://www.dependencywalker.com/
I didn't find another tool which would sound similar to what you mentioned.


Yes, that's what I meant.


In any case, I fail to open my Java program with Depency Walker, since
the latter wants to open Windows modules only, i.e. .exe, .dll files.
However I start my Java program with a .bat script which the Depency
Walker doesn't want to open:
  java -cp myapp.jar;unojarfiles.jar myclass


Then find the java.exe that would be started by the above batch script, open
that in Dependency Walker, and set the -cp myapp.jar... arguments when
starting java from within Dependency Walker.




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: UNO with Libreoffice 5 (64-Bit, Win) and Java

2015-08-22 Thread Aurelius Octavian

Salve Stephan,

Thanks for your kind reply. I too thought it should work, but to my 
disappointment it doesn't so far, unfortunately.


The exact same configuration runs however when I use Libreoffice (LO) v5 in 
32-Bit being UNO-called from within a JVM 32-Bit. (I'm using the moveable 
32-Bit LO version from Portableapps for that purpose, so I can have both the 
moveable 32-Bit and the installed 64-Bit LO version in one Virtualbox.)


With Depends tool do you mean the Depency Walker (depends.exe) ? 
http://www.dependencywalker.com/

I didn't find another tool which would sound similar to what you mentioned.

In any case, I fail to open my Java program with Depency Walker, since the 
latter wants to open Windows modules only, i.e. .exe, .dll files.
However I start my Java program with a .bat script which the Depency Walker 
doesn't want to open:

 java -cp myapp.jar;unojarfiles.jar myclass

Do you have any hint please how I could trace my Java program with your 
mentioned Depends tool?


I'm wondering if anybody ever successfully spawned the brand new LO5 64-Bit 
on Windows from within Java and UNO?


Greetings,
Aurelius




Am 21.08.2015 um 10:51 schrieb Stephan Bergmann:

It should work.  My best bet would be to use the Depends tool to trace
execution of your Java program and the processes spawned from it, and see
whether there is anything going wrong at the DLL-finding level that causes
the spawned soffice.bin to fail.




On 08/20/2015 08:54 PM, Aurelius Octavian wrote:

My little Java program uses Libreoffice's (Openoffice's) API named UNO
to talk to an installation of the new Libreoffice Version 5 (5.0.0.5).

Under Ubuntu Linux, the Java programs runs in a 64-Bit Java Virtual
Machine (JVM) and happily talks via UNO to Libreoffice 64-Bit to use
some Libreoffice functions.

However under Windows (64-Bit) with a Libreoffice 64-Bit installation,
when I use a 64-Bit JVM to run the same Java program, it results in a
Libreoffice error message (i.e. it's not a Java-UNO error) saying
something like:
Libreoffice 5.0 : The application can't be started. An internal error
occurred.

(Freely translated from my localised error message which is:
„Libreoffice 5.0 : Die Anwendung kann nicht gestartet werden. Ein
interner Fehler ist aufgetreten.“ )

So under Windows I've to fall back to a 32-Bit JVM and a Libreoffice
32-Bit installation. Then I can use the very same Java program in a
32-Bit JVM to talk with Libreoffice 32-Bit.

However, I'd very much like to use a 64-Bit JVM under Windows, too. Is
this possible somehow with the new Libreoffice 64-Bit for Windows?



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] UNO with Libreoffice 5 (64-Bit, Win) and Java

2015-08-20 Thread Aurelius Octavian

Hello,

My little Java program uses Libreoffice's (Openoffice's) API named UNO to 
talk to an installation of the new Libreoffice Version 5 (5.0.0.5).


Under Ubuntu Linux, the Java programs runs in a 64-Bit Java Virtual Machine 
(JVM) and happily talks via UNO to Libreoffice 64-Bit to use some Libreoffice 
functions.


However under Windows (64-Bit) with a Libreoffice 64-Bit installation, when I 
use a 64-Bit JVM to run the same Java program, it results in a Libreoffice 
error message (i.e. it's not a Java-UNO error) saying something like:

Libreoffice 5.0 : The application can't be started. An internal error 
occurred.

(Freely translated from my localised error message which is:
„Libreoffice 5.0 : Die Anwendung kann nicht gestartet werden. Ein interner 
Fehler ist aufgetreten.“ )


So under Windows I've to fall back to a 32-Bit JVM and a Libreoffice 32-Bit 
installation. Then I can use the very same Java program in a 32-Bit JVM to 
talk with Libreoffice 32-Bit.


However, I'd very much like to use a 64-Bit JVM under Windows, too. Is this 
possible somehow with the new Libreoffice 64-Bit for Windows?



P.S. My Java UNO program uses these four JAR files in the 
Libreoffice5.0/program/classes folder: juh.jar , jurt.jar , ridl.jar , 
unoil.jar



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted