Re: [libreoffice-users] Vulnerabilities in Libreoffice

2022-11-01 Thread Stephan Bergmann

On 28/10/2022 12:46, Mikhail Gurin wrote:

I installed Libreoffice on my Oracle Linux Server 8.6 and got this packages
as result:

*libreoffice-ure-6.4.7.2libreoffice-graphicfilter-6.4.7.2libreoffice-ure-common-6.4.7.2libreoffice-draw-6.4.7.2libreoffice-help-en-6.4.7.2libreoffice-gtk3-6.4.7.2libreoffice-x11-6.4.7.2libreoffice-ogltrans-6.4.7.2libreoffice-math-6.4.7.2libreoffice-langpack-en-6.4.7.2libreoffice-pdfimport-6.4.7.2libreoffice-calc-6.4.7.2libreoffice-data-6.4.7.2libreoffice-pyuno-6.4.7.2libreoffice-emailmerge-6.4.7.2libreoffice-core-6.4.7.2libreoffice-writer-6.4.7.2libreoffice-impress-6.4.7.2libreoffice-opensymbol-fonts-6.4.7.2*

Should I suppose all of these packages are affected by every vulnerability
from your feeds?
Does architecture or version release matter?


Assuming you are talking about packages provided by that Linux 
distribution, you should direct those questions to the provider of those 
packages.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Strange Password Warning

2022-08-02 Thread Stephan Bergmann

On 17/05/2022 15:03, LO User wrote:

On 17/05/2022 12:58, Stephan Bergmann wrote:

On 16/05/2022 16:27, LO User wrote:

After 12 years I have discovered a new LO warning message.
It appears as in a bar above the module workspace and reads:
"The master password is stored in an outdated format, you should refresh
it" with a "Refresh Password" button. It appears on opening any module.
See: https://www.mediafire.com/view/o0toa0w0isku0td/LO_PW.png/file
The fix is simple, just blow away the user profile and start again.
This happened with LO 7.3.3.2 on a Win 10 Pro VM.


That's new code, and
<https://bugs.documentfoundation.org/show_bug.cgi?id=149127> "Add
help/info to Master Password refresh infobar" discusses whether it would
benefit from something like a "Help" button.


Thanks Stephan, but I don't understand why this appears in the only just
released LO 7.3.3.2 when the bug report suggests that Caolán's patch is
targeted at 7.4.

Additionally, why would a password be required for a new, never
previously saved document/spreadsheet/presentation/drawing?


For the record, see 
<https://www.libreoffice.org/about-us/security/advisories/cve-2022-26307/> 
"CVE-2022-26307 Weak Master Keys" now that the embargo has been lifted.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Tried send email with strace

2022-07-19 Thread Stephan Bergmann

On 7/19/22 12:30, Michael D. Setzer II wrote:

Noticed there is no senddoc.sh on my system in either the
Fedora libreoffice or the 7.3.4.2 directories, but just
senddoc. It does appear to be very similar to the contents
of the xdg-email script.


The file gets renamed from senddoc.sh in the LO git source repo to just 
senddoc as part of a LO installation set.  (Needlessly confusing, but 
for whatever historical reason...)



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Tried send email with strace

2022-07-18 Thread Stephan Bergmann

On 7/19/22 00:07, Michael D. Setzer II wrote:

Found some code at end of strace

(soffice:166273): GLib-GObject-WARNING **: 07:19:47.960: invalid cast from
'GtkBox' to 'GtkMenuShell'

(soffice:166273): GLib-GObject-WARNING **: 07:19:47.960: invalid cast from
'GtkBox' to 'GtkMenuShell'

(soffice:166273): GLib-GObject-WARNING **: 07:20:00.439: invalid cast from
'GtkBox' to 'GtkMenuShell'

(soffice:166273): GLib-GObject-WARNING **: 07:20:00.439: invalid cast from
'GtkBox' to 'GtkMenuShell'
/usr/bin/xdg-email: line 978: xdg-email-hook.sh: command not found
) = 0

Note sure why it is call xdg-email instead of passing directly to internet email
setting??
xdg-email gives a popup that says unable to detect mailto: URL??


See my response at 
 
"Re: [libreoffice-users] Question on send to email option in linux.."


(And better not start new email threads when you could have continued 
the existing one.)



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Question on send to email option in linux..

2022-07-18 Thread Stephan Bergmann

On 7/18/22 21:35, Michael D. Setzer II wrote:
[...]

Thanks for the reply. I have LibreOffice 7.2.7.2 version as
loaded by default for my Fedora 35 and also have
LibreOffice 7.3.4.2 downloaded from libreoffice.

With both I have tried a simple saved file with the word
test in it. File is saved. Have Tools / Options / Internet /
Email set to /usr/bin/WSENDTO (Thou I did also try using
the direct path to program as well.).

/usr/bin/WSENDTO has this.
#!/bin/bash
echo $0 $1 $2 $3
/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDT
O.EXE $1

Strange thing is that absolutely nothing happens. No box
opens, and nothing in way of a error message is showing
up.. But with my simple macro - running it opens the
email client and has the document attached with no
problem...


LO doesn't actually call /usr/bin/WSENDTO with the document's pathname 
as an argument (as one might expect).  What rather happens, for better 
or worse (see CmdMailSuppl::sendSimpleMailMessage at 
), 
is that LO calls its senddoc helper script (see 
) 
with lots of arguments, among them `--mailclient` `/usr/bin/WSENDTO`.


And that senddoc script then tries to guess from the given mail client's 
basename what program that is, and knows how to pass it along all the 
other arguments, potentially specifying the mail's to, cc, body, 
attachment, etc.  But that senddoc script doesn't know anything about a 
mail client with basename WSENDTO, so gives up and tries something like 
xdg-email instead, but which apparently doesn't lead to any success with 
your setup, either.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Installing LanguageTool and Zotero on LibreOffice for macOS

2022-07-07 Thread Stephan Bergmann

On 06/07/2022 18:11, Yoann LE BARS wrote:
 I am running macOS 12.4 on a M1 CPU. Furthermore, I have installed 
LibreOffice 7.3.3.2 community. Here are information about the version of 
Java installed on the computer:


% java --version
java 18.0.1.1 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)

 The desktop applications of Zotero and LanguageTool are running on 
the computer. But when I try to install the LanguageTool plugin, I get 
this error message:


(com.sun.star.uno.RuntimeException) { { Message = "C++ code threw 
N10jfw_plugin25MalformedVersionExceptionE: std::exception", Context = 
(com.sun.star.uno.XInterface) @0 } }


This sounds like it might be the issue that has been fixed with 
 "Allow for java.version 
consisting of four dotted segments", but that fix only landed in 
LibreOffice 7.3.4, so your 7.3.3 is too old.  Please update and try again.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Strange Password Warning

2022-05-17 Thread Stephan Bergmann

On 16/05/2022 16:27, LO User wrote:

After 12 years I have discovered a new LO warning message.
It appears as in a bar above the module workspace and reads:
"The master password is stored in an outdated format, you should refresh
it" with a "Refresh Password" button. It appears on opening any module.
See: https://www.mediafire.com/view/o0toa0w0isku0td/LO_PW.png/file
The fix is simple, just blow away the user profile and start again.
This happened with LO 7.3.3.2 on a Win 10 Pro VM.


That's new code, and 
 "Add 
help/info to Master Password refresh infobar" discusses whether it would 
benefit from something like a "Help" button.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [bug] Re: [libreoffice-users] LibreOffice 7.3.3.2 Windows 64 bit seems not detect AdoptOpenJdk JRE Windows 64 bit runtime

2022-05-04 Thread Stephan Bergmann

On 04/05/2022 09:58, Stephan Bergmann wrote:

On 04/05/2022 08:58, carlo.str...@tiscali.it wrote:
Have I to file e bug? Can someone confirm the situation before I 
create the bug?


Looks broken indeed.  Please file a bug, put me on CC, and leave the bug 
ID here.


fix at <https://gerrit.libreoffice.org/c/core/+/133827> "Some JREs need 
the bin/server/jvm.dll path after all"



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [bug] Re: [libreoffice-users] LibreOffice 7.3.3.2 Windows 64 bit seems not detect AdoptOpenJdk JRE Windows 64 bit runtime

2022-05-04 Thread Stephan Bergmann

On 04/05/2022 08:58, carlo.str...@tiscali.it wrote:
Have I to file e bug? Can someone confirm the situation before I create 
the bug?


Looks broken indeed.  Please file a bug, put me on CC, and leave the bug 
ID here.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Vulnerability report

2022-04-21 Thread Stephan Bergmann

On 4/21/22 20:46, Robert Großkopf wrote:

I found a vulnerability and I want to know if I should send you the
vulnerability report through the website or through a special bug bounty
platform?


I would prefer to write a bug description at
https://bugs.documentfoundation.org/


In case of a security vulnerability, it is better to follow the advice 
at :  "To 
reach our security team, please drop an e-mail to 
secur...@documentfoundation.org".



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Libreoffice for aarch64

2021-03-29 Thread Stephan Bergmann

On 26/03/2021 10:04, sky wrote:

  Does libreoffice provide an aarch64 architecture installation package?
   Give a download address?


Assuming you are looking for a Linux version:  While I don't think we 
provide one at , the 
various Linux distros that target aarch64 generally provide LibreOffice 
in their distro-specific package managers, and there's also a Flatpak 
version at .



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Create a relative hyperlink to file?

2020-09-21 Thread Stephan Bergmann

On 19/09/2020 16:33, Dave Barton wrote:

I am trying to create a Writer document with a number of links to files
in the same directory as the odt file itself. Using absolute paths
everything works perfectly, but relative links (eg. file://abc.xyz)
always fail with a "not an *absolute* URL" error.


What version of LibreOffice are you using, and what is the exact wording 
of the error message?  At least with recent versions of LibreOffice, the 
wording of the error message when clicking the link should be: 
"'file://abc.xyz/' cannot be passed to an external application to open 
it (e.g., it might not be an absolute URL, or might denote no existing 
file)."


And note that  is not a relative URL, it is an absolute 
file URL with an "abc.xyz" authority, which is interpreted by 
LibreOffice at least on Windows to denote the root directory of some 
(most likely non-existing) abc.xyz UNC share.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-05 Thread Stephan Bergmann
[Please do not turn this into a private conversation by dropping the 
mailing list; added it back now]


On 04/09/2020 20:05, MR ZenWiz wrote:

On Thu, Sep 3, 2020 at 11:35 PM Stephan Bergmann  wrote:

What looks suspicious with the original post is that they have a
/usr/bin/libreoffice, which is not something that an upstream TDF LO
would normally install.  So this rather looks like an issue with how
they obtained and installed LO (presumably from their distro).


/usr/bin/libreoffice is a symlink I add so I can use a keyboard
shortcut to run writer or calc without having to change the shortcut
everytime a new major release comes out.

Like so:

lrwxrwxrwx 1 root root 23 Sep  3 14:55 /usr/bin/libreoffice ->
/usr/bin/libreoffice7.0*
lrwxrwxrwx 1 root root 35 Feb 28  2020 /usr/bin/libreoffice6.4 ->
/opt/libreoffice6.4/program/soffice*
lrwxrwxrwx 1 root root 35 Sep  3 14:57 /usr/bin/libreoffice7.0 ->
/opt/libreoffice7.0/program/soffice*

I trust you are not saying that using a symlink will break something
in the binaries - that would be tragic.


soffice is a shell script that tries to determine its location in the 
file system, so that it can call other executables like oosplash and 
javaldx next to itself.  See the section labelled with a "resolve 
installation directory" comment determining the sd_prog variable, which 
shall resolve to the actual directory containing the soffice shell 
script, with any symlinks resolved.


The "double symlink" scenario you outline above works e.g. fine for me 
on Fedora 32.  You need to debug into that shell script code to see why 
it breaks for you.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-03 Thread Stephan Bergmann

On 04/09/2020 07:53, Luuk wrote:

On 3-9-2020 18:48, MR ZenWiz wrote:

I saw this error when I tried to start LO 7.0 Calc from the command line:

$ /usr/bin/libreoffice --calc --nologo
/usr/bin/libreoffice: 191: exec: /usr/bin/oosplash: not found

I located oosplash and symlinked it to /usr/bin and got this:


I think oosplash is not part of LibreOffice 7.0


oosplash is a Linux-only part of LO.

What looks suspicious with the original post is that they have a 
/usr/bin/libreoffice, which is not something that an upstream TDF LO 
would normally install.  So this rather looks like an issue with how 
they obtained and installed LO (presumably from their distro).



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Help installation via flatpak

2020-05-15 Thread Stephan Bergmann

On 14/05/2020 15:42, Stephan Bergmann wrote:

On 14/05/2020 13:24, asbaeza65 wrote:
Since a little while I sole to install/update libreoffice using 
flatpak. It
works just great, but it does not install the help system. Is there 
any way

to do that using flatpak?


You explicitly need to install the
org.libreoffice.LibreOffice.Help extension.

(See also the commit message of 
<https://git.libreoffice.org/core/+/72b936d70b7eaa6d9f5f911b27e3c955382de967%5E!/> 
"Enable --help=html for flatpak".  That extension contains all 
localizations, so is rather larger.)


(I added some information to 
<https://www.libreoffice.org/download/flatpak/> now.)



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Help installation via flatpak

2020-05-14 Thread Stephan Bergmann

On 14/05/2020 13:24, asbaeza65 wrote:

Since a little while I sole to install/update libreoffice using flatpak. It
works just great, but it does not install the help system. Is there any way
to do that using flatpak?


You explicitly need to install the
org.libreoffice.LibreOffice.Help extension.

(See also the commit message of 
 
"Enable --help=html for flatpak".  That extension contains all 
localizations, so is rather larger.)



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Experimental macro features: How to determine object types?

2019-10-23 Thread Stephan Bergmann

On 21/10/2019 12:53, Stephan Bergmann wrote:

On 18/10/2019 20:16, Johnny Rosenberg wrote:

*Private Function ItemFound(sItem As string, _   oRange As
com.sun.star.sheet.XSheetCellRange) As Boolean Dim oDescriptor As
com.sun.star.util.XReplaceDescriptor
oDescriptor=oRange.createSearchDescriptor()*
*⁝*
*⁝*
*End Function*

So the answer to my question seems to be
”com.sun.star.util.XReplaceDescriptor”. Exactly why is a little blurry to
me at the moment.


css.util.XReplaceDescriptor is derived from css.util.XSearchDescriptor. 
I assume that what dim'ing you need should depend on what you do with 
oDescriptor in the part you elided:  If you only call 
XSearchDescriptor-methods on it, then dim as XSearchDescriptor should 
suffice.  If you call any of the XReplaceDescriptor-only methods 
(getting/setting the ReplaceString), then you need to dim as 
XReplaceDescriptor.


Turns out I assumed wrongly there about how LO Basic behaves.  In the 
true spirit of dynamically typed languages, you can apparently call any 
method actually supported by the object, regardless of the "dim as" type 
of the variable that holds the object.  (Only when assigning the object 
to the variable are types checked to match---and were checked in an 
inferior way, see my other mail announcing a fix.)



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Re: Building libreoffice with clang on ppc64

2019-10-23 Thread Stephan Bergmann

On 23/10/2019 10:34, Piotr Kubaj wrote:

The definitions I put to LO's share.hxx are the same that were previously put to 
x86-64's share.hxx. Similar patches were also put in FreeBSD for i386 
https://svnweb.freebsd.org/ports/head/editors/libreoffice/files/patch-bridges_source_cpp__uno_gcc3__linux__intel_share.hxx?view=markup&pathrev=496620


The definitions used in other environments are not very relevant here. 
The definitions used by RTTI::getRTTI must match those used by the 
__cxa_throw et al functionality used at runtime (provided by libstdc++ 
or libc++abi or whatever your FreeBSD/powerpc64 environment uses.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Re: Building libreoffice with clang on ppc64

2019-10-23 Thread Stephan Bergmann

On 22/10/2019 18:28, Piotr Kubaj wrote:

Here's the backtrace. The process that segfaults is gengan.bin:
#0  0x00081baea134 in (anonymous namespace)::cpp_mediate(unsigned long, 
void**, void**, long, long*)
 (nOffsetAndIndex=60434681040, gpreg=0x3ffef830, 
fpreg=0x3ffef7c8, sp=4611686018427320272, 
pRegisterReturn=0x3ffef7b8)
 at bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx:396
#1  0x00081bae9f50 in privateSnippetExecutor() () at 
bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx:563
#2  0x0008121de234 in cppu::throwException(com::sun::star::uno::Any const&)Python 
Exception  No type named 挀漀洀⸀猀甀渀⸀猀琀愀爀⸀甀挀戀⸀䤀渀琀攀爀愀挀琀椀瘀攀
䄀甀最洀攀渀琀攀搀䤀伀䔀砀挀攀瀀琀椀漀渀.:
  (exc=) at cppuhelper/source/exc_thrower.cxx:207
#3  0x00081672ebd4 in ucbhelper::cancelCommandExecution(com::sun::star::ucb::IOErrorCode, 
com::sun::star::uno::Sequence const&, 
com::sun::star::uno::Reference const&, rtl::OUString 
const&, com::sun::star::uno::Reference const&)
 (eError=com::sun::star::ucb::IOErrorCode::IOErrorCode_NOT_EXISTING, rArgs=
 uno::Sequence of length 2 = {...}, xEnv=empty uno::Reference, rMessage="an 
error occurred during file opening", xContext=uno::Reference to 
(fileaccess::BaseContent *) 0x81d0b5258) at 
ucbhelper/source/provider/cancelcommandexecution.cxx:109


So this smells like it is indeed related to the changes in your below 
patch.  (The code is about synthesizing a C++ `throw some_exception` 
expression, which may require synthesizing RTTI for the type of 
`some_exception` in RTTI::getRTTI in 
bridges/source/cpp_uno/gcc3_linux_powerpc64/except.cxx, which would need 
definitions of __cxxabiv1::__class_type_info and 
__cxxabiv1::__si_class_type_info.)  But hard to tell what exactly is 
going wrong without actually debugging it.



On 19-10-21 21:38:29, Piotr Kubaj wrote:

I'm trying to build LibreOffice 6.3.2 on FreeBSD/powerpc64 with LLVM 9.0.0 
(elfv2 ABI).

My problem is that I'm getting those errors https://pastebin.com/dKAY28ns

I tried to patch them with https://pastebin.com/66Xhi1D1 using similar code to 
x86-64. But then I'm getting a segfault at postcmd stage at the end of 
compilation.


I would assume that something about the definitions of 
__cxxabiv1::__class_type_info and __cxxabiv1::__si_class_type_info you 
added to bridges/source/cpp_uno/gcc3_linux_powerpc64/share.hxx does not 
match the definitions actually used by the system.



LibreOffice builds just fine with GCC 9.2, but this is still on elfv1. 
FreeBSD/powerpc* switches to LLVM for elfv2.


So where does such a GCC-based build find definitions of 
__cxxabiv1::__class_type_info and __cxxabiv1::__si_class_type_info (in 
some system header)?  How do those definitions differ from those you now 
added to bridges/source/cpp_uno/gcc3_linux_powerpc64/share.hxx?



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Experimental macro features: How to determine object types?

2019-10-22 Thread Stephan Bergmann

On 21/10/2019 21:43, Johnny Rosenberg wrote:

Den mån 21 okt. 2019 kl 12:53 skrev Stephan Bergmann :

On 18/10/2019 20:16, Johnny Rosenberg wrote:

*Private Function ItemFound(sItem As string, _   oRange As
com.sun.star.sheet.XSheetCellRange) As Boolean Dim oDescriptor As
com.sun.star.util.XReplaceDescriptor
oDescriptor=oRange.createSearchDescriptor()*
*⁝*
*⁝*
*End Function*

So the answer to my question seems to be
”com.sun.star.util.XReplaceDescriptor”. Exactly why is a little blurry to
me at the moment.


css.util.XReplaceDescriptor is derived from css.util.XSearchDescriptor.
I assume that what dim'ing you need should depend on what you do with
oDescriptor in the part you elided:  If you only call
XSearchDescriptor-methods on it, then dim as XSearchDescriptor should
suffice.  If you call any of the XReplaceDescriptor-only methods
(getting/setting the ReplaceString), then you need to dim as
XReplaceDescriptor.


But in that case, why did the error message happen at the
”oDescriptor=oRange.createSearchDescriptor()” line? I hadn't started to use
it yet…


So what /is/ the exact error message?


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Experimental macro features: How to determine object types?

2019-10-21 Thread Stephan Bergmann

On 18/10/2019 20:16, Johnny Rosenberg wrote:

*Private Function ItemFound(sItem As string, _   oRange As
com.sun.star.sheet.XSheetCellRange) As Boolean Dim oDescriptor As
com.sun.star.util.XReplaceDescriptor
oDescriptor=oRange.createSearchDescriptor()*
*⁝*
*⁝*
*End Function*

So the answer to my question seems to be
”com.sun.star.util.XReplaceDescriptor”. Exactly why is a little blurry to
me at the moment.


css.util.XReplaceDescriptor is derived from css.util.XSearchDescriptor. 
I assume that what dim'ing you need should depend on what you do with 
oDescriptor in the part you elided:  If you only call 
XSearchDescriptor-methods on it, then dim as XSearchDescriptor should 
suffice.  If you call any of the XReplaceDescriptor-only methods 
(getting/setting the ReplaceString), then you need to dim as 
XReplaceDescriptor.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Experimental macro features: How to determine object types?

2019-10-14 Thread Stephan Bergmann

On 14/10/2019 21:02, Johnny Rosenberg wrote:

When using the experimental features in Basic I can declare thing in a more
specific way, for instance:

*Dim SomeSheet As com.sun.star.sheet.XSpreadsheet*
Without the experimental features enabled, I had to write this instead:
*Dim SomeSheet As Object*

Is there a way to find out for sure what type some object is supposed to be?
For instance, if I use Object instead and then look at it with XRay, in the
field just above the big field with all the
properties/methods/services/etc, it says *com.sun.star.sheet.XSpreadsheet*,
so that could be a clue, but it doesn't seem to always be usable.
For instance, when declaring a range, XRay says
*com.sun.star.table.XCellRange*, but declaring it like that won't work.
*com.sun.star.sheet.XSheetCellRange* will. How can I figure this out?


(I have no idea what information that XRay tool prints, but:)  A UNO 
object can implement multiple unrelated interfaces, and those interfaces 
in turn can each derive from (multiple) other interfaces.  If you look 
at the UNO API documentation 
(, or the udkapi 
and offapi modules in the core git source repo), you see that 
css.sheet.XSheetCellRange is derived from css.table.XCellRange.  The 
former adds one additional method, getSpreadsheet, so if you want to 
call that method you need to dim your var as the former, otherwise it 
suffices to dim it as the latter.



At the moment I'm struggling with a search descriptor. XRay says
*com.sun.star.util.XSearchDescriptor*, but that only throws an error at
*SomeRange.createSearchDescriptor()*.


If you search for "createSearchDescriptor", there's css.util.XSearchable 
that has a method of that name, so you probably have an object at hand 
that implements that interface, and to hold that object you need a var 
that is dim'ed accordingly.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LibreOffce 6.2.4 won't start after upgrade on Debian 9.9

2019-06-24 Thread Stephan Bergmann

On 20/06/2019 19:37, Allen Seelye wrote:

If I start it from the command line with "libreoffice6.2 --writer", the
same thing happens only the terminal spits out "Application error".


Do the TDF deb downloads like 
 
(assuming that's what you actually installed) contain a libreoffice6.2 
program?  I don't think so.  Try running LO directly with a full path, 
`/opt/libreoffice6.2/program/soffice`.



-I've tried logging into the system with a brand new user, same results.


Even though that would indicate otherwise...

[...]

-Tried installing the old version again, no good.


...this makes it likely that it is an issue with your user profile 
().  See if 
`/opt/libreoffice6.2/program/soffice --safe-mode` helps.


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Manually installed LibreOffice reports a wrong version number

2019-04-11 Thread Stephan Bergmann

On 11/04/2019 13:31, Babak Razmjoo wrote:

Hi, I have downloaded LibreOffice 6.2.2.2 from the website and installed it by 
its 'install' script. An older version of LibreOffice (6.1.5.2) was installed 
on my PC by default and I installed 6.2.2.2 in a local folder. Now 'soffice' 
binary resides in that folder and PATH refers to it correctly. If I type 'which 
soffcie', it responds as :
   /mnt/home/install/libreoffice/opt/libreoffice6.2/program/soffice
But when i type 'soffcie --version' it gives me:
   LibreOffice 6.1.5.2 10(Build:2)
Also the reported version in About dialogs in components started by 'soffice 
--impress' or 'soffice --writer' is 6.1.5.2 too.
I have this problem from this morning, or maybe yesterday. So please tell me 
what is wrong here?


Does typing `hash soffice` in that shell help (so it forgets about a 
hashed path to the old soffice instance)?


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: Fwd: [libreoffice-users] FIPS 140-2 support with password-protected docs

2019-01-04 Thread Stephan Bergmann

On 04/01/2019 08:39, Heiko Tietze wrote:

Forwarding to the devloper list


[lets continue the discussion on the libreoff...@lists.freedesktop.org 
developer list]

 Weitergeleitete Nachricht 
Betreff: 	[libreoffice-users] FIPS 140-2 support with password-protected 
docs

Datum:  Thu, 3 Jan 2019 12:08:55 -0500
Von:Sean 
An: users@global.libreoffice.org



Hi, I just joined the list.  I'm a Linux system admin with (among
other things) about 20 CentOS 7.6 desktops under my wing.  Yesterday I
posted a question to the ASK site [1], because one of my users had
issues with password-protected docs after getting his new laptop.  I
now have confirmed that this issue is related to our desktops being
FIPS enabled ( kernel/grub2 with fips=1 ).

I joined the list to further this discussion and determine if I should
file a bug report or what.  The gist of the problem is that when FIPS
is enabled, a user can encrypt a document, but not decrypt the
document, and LO reports that the password provided was incorrect.  I
am not very technical with how LO does password protection, but this
seems like an bug.  FIPS causes the system to disable non-compliant
ciphers and algorithms, but I'm guessing that there is some piece of
code that's calling a non-compliant function only on decrypt, and not
on encrypt...or (less likely) the encrypt side isn't throwing an error
when it should.


I assume you are talking about encrypted ODF 1.0/1.1 documents (and not, 
say, PDF or some Microsoft-format documents).  ODF 1.0/1.1 used Blowfish 
for encryption, which is not sanctioned by FIPS mode, so trying to open 
such a document will indeed fail (with a somewhat unhelpful UI, claiming 
that any entered password is wrong).  That LO allows saving such an 
encrypted document would appear to be a bug with that version of LO.


Note that LO recently gained support to forward some of its 
cipher-related operations to OpenSSL, see 
 
"rhbz#1618703: Allow to use OpenSSL as backend for rtl/cipher.h".  In a 
recent LO built with --enable-cipher-openssl-backend, trying to save an 
encrypted ODF 1.0/1.1 document should indeed fail (see 
 
"Related rhbz#1618703: Properly handle failure encoding zip file").


There is also some vague plans to allow decryption of existing documents 
even in FIPS mode, and to improve the UI in cases of failure caused by 
FIPS mode, but nothing implemented as of now.  I don't think there's 
tracker bugs for that already at ; 
you could file such if you like (and please report back the ID(s) here).


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Re: Flatpak Libreoffice - opens with "(as superuser)" in title bar

2018-07-31 Thread Stephan Bergmann

On 31/07/18 16:29, atlan wrote:

Hi, It is with LO, installed by going to Software Manager which is part of
Mint, then clicking on Flatpak (which brings up a long list of applications)
and then clicking on LibreOffice. I have also uninstalled LibreOffice-core
in Package Manager, but didn't have to do that.

Do other Flatpak apps show this issue? I thought I had seen it in another
one (almost sure I did) but I've just gone though them now and can't find it
elsewhere. Here are the results:


Sorry, still no idea.  Searching through the LO sources (both master and 
libreoffice-6-0), I see no mention of "superuser" that could cause "(as 
superuser)" to be added to window titles.


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Flatpak Libreoffice - opens with "(as superuser)" in title bar

2018-07-31 Thread Stephan Bergmann

On 27/07/18 16:17, atlan wrote:

I'm using Linux Mint 19 (Mate 64 bit)

Using software manager, I removed Libreoffice and then installed the Flatpak
version of it.

It now opens opens with "(as superuser)" in title bar.


Haven't heard of that before.  (But I'm not running Mint; don't see your 
issue on other platforms, like Fedora/GNOME.)  This is with LO from 
flathub.org, I assume?  If you install some other Flatpak app, does its 
window titles get decorated in a similar way?


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] What jar files and environment variables to use for Java LibreOffice programs?

2018-04-18 Thread Stephan Bergmann

On 17/04/18 18:22, Bill Janssen wrote:

Thanks!  That's what I was looking for.  But it says, "This page was
last modified on 13 May 2009, at 08:04".  Is it still up-to-date, would
you know?


Yes; little has changed in that area since then.  (And LO is still 
pointing at the original OOo Developer's Guide, now hosted at Apache, 
because we couldn't copy it IIUC.)


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


Re: [libreoffice-users] What jar files and environment variables to use for Java LibreOffice programs?

2018-04-17 Thread Stephan Bergmann

On 16/04/18 18:51, Bill Janssen wrote:

I've written a Java program using the Java bindings to the LibreOffice 5
UNO API.  But I can't find documented anywhere the specific runtime
environment that needs to be used to run it.  Specifically, what jar
files from the LibreOffice distribution need to be on my CLASSPATH, and
what environment variables and/or system properties need to be defined,
and what are the values they need to be defined to?

Thanks for any enlightenment on these matters!


The recommended way is documented at 
.


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



Re: [libreoffice-users] Do not follow external links

2018-01-23 Thread Stephan Bergmann

On 23.01.2018 09:27, Olivier wrote:

Stephan Bergmann  writes:

On 23.01.2018 04:36, Olivier wrote:

Is there a way I can tell LibreOffice to not try to load external links?
It could be a global configuration or a parameter at command line (but I
could not see it).


<https://whatofhow.wordpress.com/2013/12/02/stealth-mode/>


I have tried, but it does not seam to work, at least when loading an
HTML document: LibreOffice still tries to make an outgoing connection.

To be more specific, it tries to follow the link in the following (I
slitly modified the syntax, hping it can come through):

[td align="right">[a href="javascript:GoTofff();">[INPUT onclick="return
GoTofff()" border="0"
src="http://BAD_PLACE/site/sites/default/files/submit_icon.gif";
type="image" Value="submit">[/a>[/td>


I can't reproduce any http access when loading such a html document into 
LO and exporting it to pdf.  If you have a working example that doesn't 
honour the "stealth mode" setting, best file an issue at 
<https://bugs.documentfoundation.org/> with the details (and let me know 
the issue ID, please).


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


Re: [libreoffice-users] Do not follow external links

2018-01-22 Thread Stephan Bergmann

On 23.01.2018 04:36, Olivier wrote:

Is there a way I can tell LibreOffice to not try to load external links?
It could be a global configuration or a parameter at command line (but I
could not see it).




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



Re: [libreoffice-users] Meaning of "protected" members, in particular under the Automation bridge

2017-09-04 Thread Stephan Bergmann

On 09/04/2017 07:18 AM, ZevSpitz wrote:

The following code (run under Windows Script Host):

 var serviceManager = new ActiveXObject('com.sun.star.ServiceManager');
 var desktop =
serviceManager.defaultContext.getByName('/singletons/com.sun.star.frame.theDesktop');
 var document = desktop.loadComponentFromURL("private:factory/swriter",
"_blank", 0, []);
 var textSections = new
VBArray(document.StyleFamilies.ElementNames).toArray();
 WScript.Echo(textSections.length); // outputs 7 in my case

makes use of the protected function
com.sun.star.XStyleFamiliesSupplier::getStyleFamilies. This function is
described as protected in the
[GenericTextDocument](https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1text_1_1GenericTextDocument.html)
documentation.

Usually, protected means the member is only accessible from within a derived
class, but that doesn't seem to be the case here.

1. What does "protected" mean in this context?


UNOIDL does not have such a public/protected/private concept.

However, the documentation at 
 is generated with a tool, 
Doxygen, that is also used to generate documentation for other languages 
besides UNOIDL (like C++ and Java).


Michael (on CC) extended Doxygen to also support UNOIDL.  Looks like 
there is a bug somewhere that causes the generated output to mention 
"public" or "protected" where they don't make sense.


--
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


Re: [libreoffice-users] type byte in Basic

2017-06-08 Thread Stephan Bergmann

On 06/08/2017 10:30 AM, Regina Henschel wrote:
in looking at 
https://ask.libreoffice.org/de/question/97628/base64-encodedecode/ I 
came across a problem with type "byte" in Basic and do not know whether 
it is a bug or not:


I want to write bytes to a file.
I use
dim oOutputStream as variant
oOutputStream = createUnoService("com.sun.star.io.SequenceOutputStream")
and later on
oOutputStream.writeBytes(...)

If I define   dim nA as byte
then nA = 195 is OK, but writeBytes(array(nA)) fails
and nA = -61 fails, but writeBytes(array(-61)) works.

It seems a variable of type byte can have values in range [0..255], but 
writeBytes can only use values in range [-128..127].


I have used   dim nA as variant   in the end, but wonder about the 
different ranges.


 
"Cater for UNO (signed) vs. BASIC (unsigned) byte mismatch"


--
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


Re: [libreoffice-users] Why is LibreOffice so susceptible to config errors

2017-05-08 Thread Stephan Bergmann

On 05/08/2017 11:30 AM, malcolm moore wrote:

Why is LibreOffice so susceptible to config errors. We have about 3 or 4 
students a day

coming to us because LibreOffice won't start. Deleting ~/.config/libreoffice 
always does

the trick but it's an enormous pain.




Is there anything I can do, bear in mind these are students so they will just 
log out

or turn the machine off with LibreOffice running no matter what I say !




Each machine is used by up to a dozen students each day. Which when you multiply

500 machines by 1300 students, 3 or 4 hangs a day doesn't seem that much but 
it's

what people remember about LO


What OS, what version of LO?  Does each student have their own account, 
or does each machine have one account that is used (sequentially) by 
multiple students?


Especially if the latter, that would mean that ~/.config/libreoffice is 
very unlikely to contain any sensitive information anyway.  In which 
case it could be useful to zip up such a failing ~/.config/libreoffice 
directory (or at the very least the contained 
4/user/registrymodifications.xcu file) and mail it to me.  Maybe that 
would give us an idea why you experience so frequent failure.


--
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


Re: [libreoffice-users] UNO bridge

2017-04-04 Thread Stephan Bergmann

On 04/04/2017 11:55 AM, Catonano wrote:

2017-04-04 11:16 GMT+02:00 Stephan Bergmann :

What operating system are you using, and where did you get LO from? (For
example, some Linux distros don't bundle Python with their LO packages, but
instead see to make LO's PyUNO work with the distro's Python.)


I'm using GuixSD.

Libreoffice is the one provided by GuixSD.

I' m trying to package unoconv (and maybe other UNO based python tools) on
GuixSD, so in this case I' m somewhat of a distributor.

I was hoping that by being able to import the UNO based libraries I would
have envisioned a path to make this work.

Maybe I should move this to the dev mailing list ?


Yes, this is something for the dev list.

--
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


Re: [libreoffice-users] UNO bridge

2017-04-04 Thread Stephan Bergmann

On 04/04/2017 08:25 AM, Catonano wrote:

with Libreoffice 5.1.6.2, I' d like to pilot Libreoffice with Python.

Around the internet many pages suggest to use the Python interpreter
supplied by the Libreoffice suite and use that interpeter prompt to load
the UNO based libraries.

Is this suggestion still valid ?

In the path

...lib/libreoffice/program

I see no python interpeter to call


What operating system are you using, and where did you get LO from? 
(For example, some Linux distros don't bundle Python with their LO 
packages, but instead see to make LO's PyUNO work with the distro's Python.)


--
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] API CHANGE: removal of /org.openoffice.Office/Substitution/SharePoints configuration and css.util.PathSubstitution support

2016-09-28 Thread Stephan Bergmann
This is a heads up:  In LO 5.3, the /org.openoffice.Office/Substitution 
configuration schema is removed, and the 
com.sun.star.util.PathSubstitution service no longer supports 
substitutions defined via the 
/org.openoffice.Office/Substitution/SharePoints configuration set.  See 
 "Useless 
/org.openoffice.Office/Substitution feature" for a rationale.


Should you be using this functionality, contrary to expectations, in a 
LO extension or other third-party code, please speak up!


--
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


Re: [libreoffice-users] LO 5.2 sdk patch - java extensions makefile bug sdk/classes/settings/std.mk

2016-08-18 Thread Stephan Bergmann

On 08/18/2016 03:51 PM, Zenaan Harkness wrote:

Got stuck needing a simple fix, for the following bug:

$ ... set up LO sdk as per ./setsdkenv_unix ...
$ cd sdk/examples/DevelopersGuide/FirstSteps
$ make FirstStepsExamples
...

$ make FirstUnoContact.run
"/usr/bin/java" -Dcom.sun.star.lib.loader.unopath="/opt/l/libreoffice/program" 
-jar 
/home/me/lo/llo/out/libreoffice5.2_sdk/LINUXexample.out/class/FirstStepsExamples/FirstUnoContact.jar
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/sun/star/lib/loader/Loader$1
   at com.sun.star.lib.loader.Loader.getCustomLoader(Loader.java:177)
   at com.sun.star.lib.loader.Loader.main(Loader.java:127)
Caused by: java.lang.ClassNotFoundException: com.sun.star.lib.loader.Loader$1
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   ... 2 more
make: *** [FirstUnoContact.run] Error 1
Makefile:96: recipe for target 'FirstUnoContact.run' failed


So this is a simple problem, the makefile includes most required files
into the jar file, but not the missing
"com/sun/star/lib/loader/Loader$1.class"


Happened to get fixed just yesterday for LO 5.2.1, 
 
"Add missing Loader$1.class".



The current settings/std.mk recipe includes each required file from the
same directory, one by one, but omits this one. Just adding all the
files from that dir (which are all needed to be in the jar file) is
better (will catch any additions/ removals in future versions
automatically).

Here's the git diff patch which makes things work properly:

diff --git a/settings/std.mk b/settings/std.mk
index 9fe1e79..ac2d4aa 100644
--- a/settings/std.mk
+++ b/settings/std.mk
@@ -82,12 +82,5 @@ JAVAMAKER="$(OO_SDK_HOME)/bin/javamaker"
 REGMERGE="$(OO_SDK_URE_BIN_DIR)/regmerge"

 SDK_JAVA_UNO_BOOTSTRAP_FILES=\
--C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader.class$(SQM) \
--C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$Drain.class$(SQM) \
--C $(CLASSES_DIR) 
$(SQM)com/sun/star/lib/loader/Loader$$CustomURLClassLoader.class$(SQM) \
--C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$Drain.class$(SQM) \
--C $(CLASSES_DIR) 
$(SQM)com/sun/star/lib/loader/InstallationFinder.class$(SQM) \
--C $(CLASSES_DIR) 
$(SQM)com/sun/star/lib/loader/InstallationFinder$$StreamGobbler.class$(SQM) \
--C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/WinRegKey.class$(SQM) \
--C $(CLASSES_DIR) 
$(SQM)com/sun/star/lib/loader/WinRegKeyException.class$(SQM) \
+-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/$(SQM) \
 -C $(CLASSES_DIR) $(SQM)win/unowinreg.dll$(SQM)


If you need a different format, for this or future patches,
please let me know.

NOTE: Currently I'm just working in a local lo sdk directory created
from the distribution tar file. I intend to clone a full sdk repo when I
have adequate network access to do so. IN OTHER WORDS, the git hashes
above are most likely incorrect/ not related to the actual repo - please
tell me how to create a "repo neutral" patch.


Yeah, your fix looks much better indeed.  Please see 
 for how to send 
a patch for review.


--
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] Removed undocumented perftune.ini

2016-03-30 Thread Stephan Bergmann
FYI, 
: 
 "Support was removed for the undocumented perftune.ini flags 
FastPipeCommunication (core commit 
f8f87780f5f7be5ff185b0b8b3206d760d9dfed6) and 
QuickstartPreloadConfiguration (core commit 
d3084fb2442b9584b46fba743158c3fe46defa81)."


I assume nobody using LibreOffice was relying on those undocumented 
features that were added to OpenOffice.org/StarOffice back in the day.


--
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


Re: [libreoffice-users] LO 5.1 Presentation can't find system browser on OSX 10.11

2016-03-11 Thread Stephan Bergmann

On 03/10/2016 09:32 PM, Marc Grober wrote:

Aha - you nailed it on the head.  The person who built the document used
an internal file:// refernce, nd the inaccurate message popped up. When
I added a second link with the correct web URL it worked fine (though
strangely enough I could find no menu choice to allow editing the URL
that was previously there!)


The presented error message should become less misleading in LO 5.2 with 
 
"Improve error message when URL cannot be opened externally".


Editing an existing hyperlink works via "Insert - Hyperlink" when you 
have the hyperlink selected (which is often easier to do with the 
keyboard than with the mouse, 
 "Impress: 
Hard to select a hyperlink with the mouse").



--
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


Re: [libreoffice-users] LO 5.1 Presentation can't find system browser on OSX 10.11

2016-03-10 Thread Stephan Bergmann

On 03/10/2016 01:28 AM, Marc Grober wrote:

Clicking on a live link in a LO 5.1 Presentation results in the
following error message:

"LibreOffice could not find a web browser on your system. Please check
your Desktop Preferences or install a web browser (for example, Firefox)
in the default location requested during the browser installation."

In fact Firefox is set as default and doing a command click on a link
from Writer works fine.


From looking at the code (shell/source/unix/exec/shellexec.cxx, 
sfx2/source/appl/openuriexternally.cxx) that error message can 
misleadingly be presented also when a browser /is/ found, but something 
else goes wrong when trying to open the hyperlink with the browser.


Marc, what is the hyerlink's exact URL?  (In Impress, select the 
hyperlink---which is easier to do with the keyboard than with the 
mouse---, select "Insert > Hyperlink," and from the dialog that pops 
open copy the content of the "Target" field.  Alternatively, you can 
mail me the presentation file, and I'll have a look.)


--
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


Re: [libreoffice-users] question about "Binary URP bridge disposed during call" error

2016-03-06 Thread Stephan Bergmann

On 03/04/2016 08:00 PM, Shawn Cao wrote:

I am wondering why "m_xDesktop->loadComponentFromURL()" sometimes get stuck and 
how to generate debugging information when it get stuck?


Debugging a "got stuck" situation is relatively easy: attach a debugger 
to the stuck process, generate backtraces for all its threads, and 
analyze from there.


--
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



Re: [libreoffice-users] question about "Binary URP bridge disposed during call" error

2016-02-24 Thread Stephan Bergmann

On 02/23/2016 03:18 PM, Shawn Cao wrote:

Because each testing will open and close LibreOffice, I am not sure
how to attach WinDbg with those evanescent processes. Fortunately,
Windows will generate dump file for each LibreOffice crash. I open
dump file with WinDbg and please refer to attachment for the trace
result. I tested 5.1.1.1 and will test latest Dev version soon.



STACK_TEXT:
00e7f2e8 76c23fc8 kernelbase!RaiseException+0x48
00e7f348 6a0f9339 msvcr120!_CxxThrowException+0x5b
00e7f388 659c020c 
ucbhelper!com::sun::star::ucb::UniversalContentBroker::create+0x16c
00e7f3ec 659b9d36 ucbhelper!ucbhelper::Content::Content+0x46
00e7f424 6766a40f mergedlo!`anonymous namespace'::content+0x6f
00e7f45c 67669ec3 mergedlo!utl::UCBContentHelper::Kill+0x73
00e7f4c8 66b0ab84 mergedlo!desktop::Desktop::RemoveTemporaryDirectory+0x14
00e7f4d0 66b0780d mergedlo!desktop::Desktop::doShutdown+0x21d
00e7f520 66b025fc mergedlo!desktop::Desktop::Main+0xe3c
00e7f69c 67a05886 mergedlo!ImplSVMain+0x46
00e7f6c4 67a05c39 mergedlo!SVMain+0x29
00e7f6d0 66b1c599 mergedlo!soffice_main+0x79
00e7f740 0018101e soffice+0x101e
00e7f794 768b3744 kernel32!BaseThreadInitThunk+0x24
00e7f7a8 771b9e54 ntdll!__RtlUserThreadStart+0x2f
00e7f7f0 771b9e1f ntdll!_RtlUserThreadStart+0x1b


Hm, that's rather odd.

For one, this crash is during "clean" termination of the soffice.bin 
process, i.e., at a time when your external code should no longer 
communicate with the soffice.bin process anyway.  (Or is your external 
code designed in a way that it might call 
com.sun.star.frame.XDesktop.terminate while some printing activity is 
still in progress?)


For another, I see no way how 
com::sun::star::ucb::UniversalContentBroker::create could throw an 
exception there during shutdown.  It should already have been called 
during initialization, from Desktop::Main -> Desktop::RegisterServices 
-> configureUcb, and if that had already failed with an exception, that 
would have caused a call to FatalError, which immediately terminates the 
process via _exit.


Are you sure that that crash dump correlates to a "Binary URP bridge 
disposed during call" exception in your client, or could it be from a 
"harmless" crash of an soffice.bin instance after your client code had 
already disconnected (so might normally go rather unnoticed, except for 
leaving behind a crash dump)?


--
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



Re: [libreoffice-users] question about "Binary URP bridge disposed during call" error

2016-02-22 Thread Stephan Bergmann

On 02/18/2016 04:07 PM, shawn wrote:

We utilize LibreOffice SDK 5.0 64 C++ to print documents with LibreOffice
5.1.0.3 .  During batch testing, I print a odt file over and over again. The
problem is the program throw exception "Binary URP bridge disposed during
call" from time to time. This exception happens on *Windows 10* and doesn't
happen on Windows Server 2012 or Windows Server 2012 R2.


That exception typically indicates that LO's soffice.bin process 
crashed.  See 
 
how to get a backtrace for a crashing soffice.bin; maybe that could give 
us some clue why it crashes.


--
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



Re: [libreoffice-users] Re: Java broke on LO 5.1 on Macs

2016-02-15 Thread Stephan Bergmann

On 02/12/2016 05:58 PM, Alexander Thurgood wrote:

Le 12/02/2016 17:27, V Stuart Foote a écrit :


So, at the moment, sorry but you DO need the Java Runtime environment as
provided from a JDK.  Otherwise, I would say simply don't use Base and don't
select a Java runtime--but not sure if on the OS X builds you get the
option. When I get a moment I'll actually check.



No, unfortunately, you don't get the choice irrespective of whether or
not you use Base. There are hooks in at least the Writer module that
require Java instantiation, and possibly also a bundled extension which
requires a Java environment to be detected (NLPSolver) for Calc.


There are no hooks in the Writer module that require Java per se.  There 
are hooks in various places that extensions written in Java could tap into.


AFAICS, the only bundled extension coming with stock LO 5.1 for Mac that 
is written in Java is the NLPSolver, but it should not require Java to 
be available during start of LO, only when trying to use that feature.


But one can have (non-bundled) extensions installed from previous 
versions of LO that require Java, even so that they require Java 
directly at (first) start of LO 5.1.


--
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



Re: [libreoffice-users] Re: Java broke on LO 5.1 on Macs

2016-02-12 Thread Stephan Bergmann

On 02/11/2016 04:16 PM, Alexander Thurgood wrote:

Le 10/02/2016 23:46, Larry Gusaas a écrit :

As I said in my original post, i reinstalled LibreOffice 5.0.4. Java is
recognized in the Preference settings. There is a bug in LO 5.1 which
prevents LibreOffice finding Java.


 From what I recall, it was a deliberate code change in the way that the
Java path is detected, but obviously not tested enough.


The fix for  
"FILEOPEN: LibO terminates when loading Oracle's Java on OS X 10.10 and 
10.11," replacing the need to install Apple's Java 6 in addition to an 
Oracle JRE or JDK with the requirement to install an Oracle JDK, not a 
JRE.  I'm not sure we did ourselves a favour with that change...


--
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] regcompare will be replaced by unoidl-check in LO 5.2 SDK

2016-02-04 Thread Stephan Bergmann
Just a heads-up; see 
.


--
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


Re: [libreoffice-users] Can't open LibreOffice on Mac

2015-11-09 Thread Stephan Bergmann

On 11/06/2015 07:41 PM, Larry Gusaas wrote:

Can't open LibreOffice 5.0.3002 on my Mac (OS X ver. 10.11.1 El Capitan)
Get the following message:

“LibreOffice.app” is damaged and can’t be opened. You should move it
to the Trash.


I guess you installed a LO language pack directly after downloading LO, 
and without starting LO once in between, and thus got trapped by 
 "The 
lang-pack installation mechanism on OSX unacceptable."



--
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


Re: [libreoffice-users] Re: I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Stephan Bergmann

On 10/05/2015 11:10 AM, Regina Henschel wrote:

Nino Novak schrieb:

Am 05.10.2015 um 09:44 schrieb Stephan Bergmann:

On 10/04/2015 07:25 AM, mowestusa wrote:

| |  Macros created with LibreOffice Basic based on the old
programming interface will no longer be supported by the current
version. |


Do you have a link to where you found the above quote?


e.g. here: https://help.libreoffice.org/Common/Programming



That is helpcontent2/source/text/shared/main0600.xhp


And that line is in there ever since 
<http://cgit.freedesktop.org/libreoffice/help/commit/?id=4f48bcc7937fbc586af7720d4225768ee6913e2a> 
"#i33146# Initial checkin," which confirms my assumption that it is a 
dead, historic remark.



Best would be to remove it. But I don't have looked which bookmarks and
index entries have to be changed then. At least the section
'id="basicalt"' has to be removed totally. The current one is in
helpcontent2/source/text/sbasic/shared/main0601.xhp.

Please write a bug report.


So I'll leave it to others who are knowledgeable about helpcontent2 to 
get this fixed.


--
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


Re: [libreoffice-users] I Would Like to Learn a Macro Language LO 5.0

2015-10-05 Thread Stephan Bergmann

On 10/04/2015 07:25 AM, mowestusa wrote:

| |  Macros created with LibreOffice Basic based on the old programming 
interface will no longer be supported by the current version. |


Do you have a link to where you found the above quote?  At least taken 
out of context, it looks very wrong.  (So I would assume "old 
programming interface" and "current version" actually refer to ancient 
history, fully irrelevant now.)


--
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



Re: [libreoffice-users] LibreOffice Damaged

2015-09-14 Thread Stephan Bergmann

On 09/14/2015 01:20 PM, Stephan Bergmann wrote:

On 09/12/2015 12:13 AM, Taang Zomi wrote:

LibreOffice 4.4.4  -- Fatal Error
---
The program cannot be started.

The service manager is not available.

("premature end of file:///C:/Users/
Taang/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/commom.rdb")



This sounds like data on your hard disk got corrupted.  You can try and
remove the folder

   C:\Users\Taang\AppData\Roaminig\LibreOffice\4\user\uno_package\cache

with all its content, and it should get resurrected on the next start of
LibreOffice.


(To be more precise, removing that folder loses all the extensions that 
are "Installed for current user" and requires you to re-install them. 
Another option should be to only remove the sub-folder



C:\Users\Taang\AppData\Roaminig\LibreOffice\4\user\uno_package\cache\registry

and then manually in "Tools - Extension Manager..." re-enable all the 
extensions that are "Installed for current user" and which will have 
become disabled due to removing that sub-folder.)



--
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


Re: [libreoffice-users] LibreOffice Damaged

2015-09-14 Thread Stephan Bergmann

On 09/12/2015 12:13 AM, Taang Zomi wrote:

LibreOffice 4.4.4  -- Fatal Error
---
The program cannot be started.

The service manager is not available.

("premature end of file:///C:/Users/
Taang/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/commom.rdb")


This sounds like data on your hard disk got corrupted.  You can try and 
remove the folder


  C:\Users\Taang\AppData\Roaminig\LibreOffice\4\user\uno_package\cache

with all its content, and it should get resurrected on the next start of 
LibreOffice.  If you are lucky, it was just this one file that got 
corrupted (for whatever reason).


--
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


Re: [libreoffice-projects] Re: [libreoffice-users] Need help To convert Excel Sheet to Libre sheet

2015-09-11 Thread Stephan Bergmann

On 09/11/2015 06:39 AM, David Johnson wrote:

Thanks for your valuable inputs, appreciate it. Is there any
professional, whom you know, could help me to redevelop the same in
Libre Calc.


see the list of certified migration professionals at 



--
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


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

2015-08-31 Thread Stephan Bergmann

On 08/30/2015 09:06 PM, Aurelius Octavian wrote:

With UNO it's possible to set the PDF-Export's filter options before
doing the actual PDF export, like for example set "PDF/1a" format, "No
(Jpeg) compression", etc. Here's the list:
https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export#General_properties

How to do the same thing with Libreoffice being called from the
command-line with the parameter "--convert-to pdf" ? The "--help"
message says:

--convert-to pdf:writer_pdf_Export[:output_filter_options]

Unfortunately, I don't find these mentioned ":output_filter_options".
Does anybody know them?


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


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

2015-08-24 Thread 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


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

2015-08-24 Thread 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


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

2015-08-21 Thread Stephan Bergmann

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?


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.


--
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


Re: [libreoffice-users] porting macros to 5.0

2015-08-06 Thread Stephan Bergmann

On 08/06/2015 02:59 PM, Tanstaafl wrote:

On 8/6/2015 5:19 AM, Stephan Bergmann  wrote:

Yes, it is by design that LO 5 keeps using ~/.config/libreoffice/4.
This time, there were no technical reasons to not keep using any
existing user directory, so we decided to simply avoid any problems
inherent in the otherwise necessary automatic migration from a
libreoffice/4 to a libreoffice/5 directory.  (Even if the unfortunate
libreoffice/4 name can now confuse users.)


Seems like a better option would have been to just rename the directory?


Could have had its own set of subtle downsides.  Keep it simple.

--
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


Re: [libreoffice-users] porting macros to 5.0

2015-08-06 Thread Stephan Bergmann

On 08/06/2015 11:10 AM, Cley Faye wrote:

The way it worked previously (from LO3 to LO4), LibreOffice imported your
previous profile when creating the new one.

Now, I've just installed LibreOffice 5 to check, and I didn't get any
.config/libreoffice/5 directory; instead it seems that new changes are
still saved in the .config/libreoffice/4 directory... maybe this is a bug,
maybe it is by design...


Yes, it is by design that LO 5 keeps using ~/.config/libreoffice/4. 
This time, there were no technical reasons to not keep using any 
existing user directory, so we decided to simply avoid any problems 
inherent in the otherwise necessary automatic migration from a 
libreoffice/4 to a libreoffice/5 directory.  (Even if the unfortunate 
libreoffice/4 name can now confuse users.)


--
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


Re: [libreoffice-users] Error message

2015-07-13 Thread Stephan Bergmann

On 07/13/2015 06:57 PM, Joel Madero wrote:

What version of Java do you have installed?


Also, the "bit-ness" of the installed Java needs to match the bit-ness 
of the installed LibreOffice.  A 32-bit LO needs a 32-bit Java, a 64-bit 
LO needs a 64-bit Java.  (Independent of the OS being 64-bit.)



On Mon, Jul 13, 2015 at 9:53 AM, MARK ARTMAN  wrote:

I'm having trouble getting the database app of LibreOffice to run in
windows 8.1 (64-bit). When I try to launch it, I receive an error message
that days I don't have Java runtime environment installed. I do have Java
installed, so I dint understand why I'm receiving this error message. Can
anyone point me in the right direction? I appreciate any and all assistance
you can provide. Thank you.

-Mark


--
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


Re: [libreoffice-users] Solver kills LiberOffice under Mac OS X.10

2015-02-09 Thread Stephan Bergmann

On 02/05/2015 09:08 PM, Spencer Graves wrote:

  I finally installed LibreOffice 4.5, and the Solver worked there.  
Thanks so much to all who replied to my requests for help on this — especially 
Alex, who filed several comments on this with Bug 80680 (and probably others) 
relating to this issue.


  Installing LO 4.5 is not easy, because it’s still in the early stages of development.  
I finally found in from the LO Dowloands Page -> Download: Development versions -> Nightly 
Builds:  Access the Nightly builds server here -> Master -> MacOSX-10.10@61/ -> 
2015-02-05 00:36:56 (most recent date) -> *_x86-64.dmg.


  Before installing LO 4.5, I tried 4.3.4.1, 4.3.6.1, and 4.4.0.2, all 
of which failed under OS X 10.10.1.  I started with 4.3.4.1, because that 
version worked for me under Windows 7.  Unfortunately, it didn’t work for me 
under OS X.


The fix for  
"Other: Crash when opening solver" will be included in 4.4.1 and 4.3.7 
(though we'll likely miss 4.3.6).



--
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


Re: [libreoffice-users] Re: Installing 2 versions of LO on Mac OS X 10.10.1 Yosemite

2015-01-22 Thread Stephan Bergmann

On 01/22/2015 11:04 AM, Stephan Bergmann wrote:

On 01/21/2015 06:15 PM, Alexander Thurgood wrote:

Le 21/01/2015 16:54, Stephan Bergmann a écrit :

Are you really sure that it ever worked that if you rename
LibreOffice.app to Foo.app it will then locate its user profile under
~/Library/Application Data/Foo/ instead of ~/Library/Application
Data/LibreOffice/?  That would surprise me.


No, you had to rename the user profile /Library/Application Support/Foo
accordingly before restarting LO - this was the advice we were giving
out to users on our wiki.


We are talking past each other here.  What I meant is whether a
LibreOffice.app renamed to Foo.app would have "expected" the user
profile at ~/Library/Application Data/Foo/, i.e., would have picked up
the data at ~/Library/Application Data/Foo/ if you had also renamed
~/Library/Application Data/LibreOffice/ to ~/Library/Application
Data/Foo/ before starting the renamed Foo.app, or else would have
created and used a fresh ~/Library/Application Data/Foo/ if you did not
rename ~/Library/Application Data/LibreOffice/.


...and 
<https://wiki.documentfoundation.org/Installing_in_parallel/OS_X#Old_Method> 
indeed claims that did work long ago:  "Up to and including the 3.3.x 
series, the way to separate configurations on the Mac simply involved 
renaming your existing installation user configuration folder to the 
same name as the name of the LibreOffice application."  Interesting; 
that completely slips my memory.


--
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


Re: [libreoffice-users] Re: Installing 2 versions of LO on Mac OS X 10.10.1 Yosemite

2015-01-22 Thread Stephan Bergmann

On 01/21/2015 06:15 PM, Alexander Thurgood wrote:

Le 21/01/2015 16:54, Stephan Bergmann a écrit :

Are you really sure that it ever worked that if you rename
LibreOffice.app to Foo.app it will then locate its user profile under
~/Library/Application Data/Foo/ instead of ~/Library/Application
Data/LibreOffice/?  That would surprise me.


No, you had to rename the user profile /Library/Application Support/Foo
accordingly before restarting LO - this was the advice we were giving
out to users on our wiki.


We are talking past each other here.  What I meant is whether a 
LibreOffice.app renamed to Foo.app would have "expected" the user 
profile at ~/Library/Application Data/Foo/, i.e., would have picked up 
the data at ~/Library/Application Data/Foo/ if you had also renamed 
~/Library/Application Data/LibreOffice/ to ~/Library/Application 
Data/Foo/ before starting the renamed Foo.app, or else would have 
created and used a fresh ~/Library/Application Data/Foo/ if you did not 
rename ~/Library/Application Data/LibreOffice/.


--
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


Re: [libreoffice-users] Re: Installing 2 versions of LO on Mac OS X 10.10.1 Yosemite

2015-01-21 Thread Stephan Bergmann

On 01/21/2015 10:09 AM, Alex Thurgood wrote:

Le 21/01/2015 10:02, Stephan Bergmann a écrit :

If you want to later use LO4352, when you start it up, it should only
use the LO4352 user configuration folder (assuming you have named them
the same). I don't thin you can have both running at the same time.


Where did you get that idea from?  The location of the user profile is


Probably because that is how it used to work.


Are you really sure that it ever worked that if you rename 
LibreOffice.app to Foo.app it will then locate its user profile under 
~/Library/Application Data/Foo/ instead of ~/Library/Application 
Data/LibreOffice/?  That would surprise me.


--
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


Re: [libreoffice-users] Re: Installing 2 versions of LO on Mac OS X 10.10.1 Yosemite

2015-01-21 Thread Stephan Bergmann

On 01/19/2015 10:48 AM, Alex Thurgood wrote:

If you want to later use LO4352, when you start it up, it should only
use the LO4352 user configuration folder (assuming you have named them
the same). I don't thin you can have both running at the same time.


Where did you get that idea from?  The location of the user profile is 
solely determined by the value of the UserInstallation= line in 
LibreOffice.app/Contents/Resource/bootstraprc (formerly 
LibreOffice.app/Contents/MacOS/boostraprc; where $SYSUSERCONFIG denotes 
the ~/Library/Application Support/ directory).  It is completely 
oblivious to any renaming of the LibreOffice.app.


A way to have multiple versions of LO installed independently is to 
hard-code different UserInstallation= values into the bootstraprcs of at 
least all but one installations.  (These values need to be file URLs, so 
either keep them starting with $SYSUSERCONFIG, which expands to a file 
URL, or use file:///... notation.)  These versions can then even be run 
concurrently.


--
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


Re: [libreoffice-users] LO and Java 8u25 - SOLVED

2014-10-29 Thread Stephan Bergmann

On 10/28/2014 01:06 PM, Alain Andrieux wrote:

Actually, installing "JavaForOSX2014-001.dmg” is exactly what I don’t want to 
do, for it would be polluting a fresh, clean system with a library being 4 versions 
old (Apple stop providing Java with OS X 10.6).

But…

Giving it a second thought showed that there is 2 available builds for OS X 
(both of version 4.3.2.2):

The second one, labelled “Mac OS X (x86_64 10.8 or newer required”, does the 
trick and recognises Java 8u25 as valid. Although we still get this nasty alert 
saying we should install Java…


Two things to note:

Any JREs that LO shows on Preferences' "LibreOffice - Advanced" pane 
must match the bitness of the given LO.  So if you run a 32-bit LO it 
will only show 32-bit--capable JREs.  The Apple Java 6 is 
32-bit--capable, while the Orcale Java 8 is 64-bit--only.


If LO wants to actually use a JRE's JVM (for other purposes than 
detecting which JREs to show on the Preferences pane above), it does so 
via the JNI Invocation API.  Oracle's Java 7 and 8 for Mac OS X have a 
bug that causes any process using that functionality to exit abruptly 
unless the Apple Java 6 is also installed (see 
 "OS X 10.9: abrupt 
exit of LO in JNI_CreateJavaVM w/ Oracle Java 7 and w/o Apple Java 6" 
for details; Oracle targeted a fix for that only for their Java 9).  For 
LO, that means that it can appear to "suddenly crash" as soon as it 
tries to instantiate a JVM and Apple's Java 6 is not installed.  And at 
what time LO will try to instantiate a JVM can be somewhat 
non-intuitive, e.g., it can happen as soon as you type something into 
Writer if you happen to have the Wiki Publisher extension installed (cf. 
 
"'Official' TDF Mac builds are done w/o ext-wiki-publisher" and links 
from there for details).


Stephan

--
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


Re: [libreoffice-users] LO and Java 8u25

2014-10-22 Thread Stephan Bergmann

On 10/22/2014 04:45 PM, Alain Andrieux wrote:

I have a fresh, clean install of OS X Yosemite on my Mac, along with Java 8u25 
and LibreOffice 4.3.2.2.

I can't make LibreOffice "see” Java, as shown on the screen shot below. Any 
hints to share?


 "OS X 10.9: abrupt 
exit of LO in JNI_CreateJavaVM w/ Oracle Java 7 and w/o Apple Java 6." 
The workaround for that Oracle JRE bug is still to install Apple's "Java 
for OS X" alongside Oracle's JRE (as one gets prompted to do).


Stephan

--
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


Re: [libreoffice-users] Fatal Error on Install of LibreOffice 4.3

2014-09-29 Thread Stephan Bergmann

On 09/29/2014 01:44 PM, Stephan Bergmann wrote:

On 09/29/2014 01:17 PM, Martin White wrote:

I have just tried to install LibreOffice 4.3 from your website and when I
run it the message -:

*Fatal Error ... LibreOffice 4.3 Cannot be Started, Extension Manager:
exception in synchronise*

is displayed in a window box, and LibreOffice does not load up.


What platform?  Windows?

Can you send me a zip of your user profile (see
<https://wiki.documentfoundation.org/UserProfile>)?  I might be able to
reproduce it with that.


Ah, right, if it is the SSE2 problem as Brian points out (I hadn't been 
aware that that problem would first manifests with such an error 
message), it doesn't help to send me your user profile.


Stephan


--
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


Re: [libreoffice-users] Fatal Error on Install of LibreOffice 4.3

2014-09-29 Thread Stephan Bergmann

On 09/29/2014 01:17 PM, Martin White wrote:

I have just tried to install LibreOffice 4.3 from your website and when I
run it the message -:

*Fatal Error ... LibreOffice 4.3 Cannot be Started, Extension Manager:
exception in synchronise*

is displayed in a window box, and LibreOffice does not load up.


What platform?  Windows?

Can you send me a zip of your user profile (see 
)?  I might be able to 
reproduce it with that.


Stephan

--
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


Re: [libreoffice-users] Re: read-only problem

2014-02-21 Thread Stephan Bergmann

On 02/21/2014 04:43 PM, Tom Davies wrote:

I hadn't realised it might be worth posting a bug-report but maybe now
might encourage people to do so if they encounter the problem in the
future.


And feel free to put me on CC.  (I'd once tinkered with the relevant 
code, to allow to toggle edit mode even for "physically" read-only 
documents, so thought this thread might be about a regression that may 
have caused.)


Stephan

--
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



Re: [libreoffice-users] Re: read-only problem

2014-02-21 Thread Stephan Bergmann

On 02/20/2014 11:03 PM, edo1 wrote:

sberg wrote

On 02/19/2014 06:04 PM, edo1 wrote:

I saved a small (14 page) styled part of a large project as read-only


What exactly do you mean with "save as read-only"?


In windows: After the file is saved to some folder, go to that folder and
right-click (if you're right-handed) on the file name; choose "Properties"
and check off "read only" on the popup panel. SOP


So when you later "unchecked read-only and reopened the file" you 
changed the Windows file-system--level property again.  But how did you 
reopen the file, was it still open and did you chose "Reload", or was it 
no longer open in LibreOffice in between?  Because, when a file is not 
marked as read-only at the file-system--level, it should not open as 
read-only in LibreOffice.


Stephan

--
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



Re: [libreoffice-users] read-only problem

2014-02-20 Thread Stephan Bergmann

On 02/19/2014 06:04 PM, edo1 wrote:

I saved a small (14 page) styled part of a large project as read-only


What exactly do you mean with "save as read-only"?

Stephan


--
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



Re: [libreoffice-users] *Persistent* System Level Custom Options?

2014-02-05 Thread Stephan Bergmann

On 02/04/2014 08:01 PM, iveand wrote:

For some of the settings, they aren't correctly seen by the user until
after we remove the user's pre-existing "registrymodifications.xcu"
(even if we didn't intentionally have any of those values overridden).
It is my guess that is because there are some of the keys listed in the
default generated registrymodifications.xcu that conflict -- if it was
generated BEFORE the installation of this newly created extension.


Yes, if ever a value has been written into the user's 
registrymodifications.xcu it wins over any (non-final) value from lower 
layers.  (And for some entries the writing may well have been solely at 
LO's discretion, not obviously linked to an explicit user action.)  Do 
you have an example of an entry that didn't work?


Stephan


--
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



Re: [libreoffice-users] *Persistent* System Level Custom Options?

2014-02-03 Thread Stephan Bergmann

On 02/03/2014 08:39 PM, iveand wrote:

No
   idea what specific system integration Ubuntu offers for
   LibreOffice, but the recommended way to install site-wide
   configuration settings for stock LibreOffice is via extensions
   that are installed as shared or 
bundled.(Seehttps://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensionsfor
 details.)Stephan and others,Thanks for the reply, but unfortunately the above 
link seems
 basically empty.I then checked outhttp://extensions.libreoffice.org/and 
see some resources on getting
 started developing.But I am not wanting to re-invent the wheel here and 
code something
 up from scratch so is there any sample extension that anyone knows
 of that will adjust any default values in the *.xcd XML files (or
 alternatively maybe they point LibreOffice to an additional location
 for settings that could be held in a custom "system wide" .xcu
 file?)I am not looking to add "interactive features" to LibreOffice, but
 simply to adjust some of the default settings on a "system wide"
 level.If I could bundle these as an extension that would be just
 fine to deploy.I could even have the .xml file (I would guess an
 .xcu?) of "my" unique settings static, and the extension would just
 put it in place and update whatever needs modifying to point to it?Regards 
and thanks again,iveand


Sorry, my DevGuide URL was wrong, it should be 
.


For an example "configuration-only" extension, 
 has a link to 
 
which in turn has a link to 
.


Stephan

[Btw, your reply mail looked really garbled, see above.  Could it be 
you're using a mail client that only produces poorly formatted plaintext 
alongside an HTML alternative?]


--
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



Re: [libreoffice-users] *Persistent* System Level Custom Options?

2014-01-30 Thread Stephan Bergmann

On 01/30/2014 12:31 PM, iveand wrote:

Hello All,Is there any way to define customized options at the "system level"
 that won't be overridden when a new version of LibreOffice is
 installed?Right now, we use xmlstarlet to make a few entries in
 /usr/lib/libreoffice/share/registry/main.xcd (and writer.xcd,
 calc.xcd).However, this directory appears to beoverwrittenwhen LibreOffice 
upgrades (on Ubuntu based systems using the
 LibreOffice PPAs).We can "hack around" to make sure that every user's
 registrymodifications.xcu has the values we want (again using
 xmlstarlet), but this seems like an ugly hack.Better to have
 system level settings persistent, and then IF a user's
 registrymodifications.xcu overrides this value, so be it.We also know we 
can modify registrymodifcations.xcu at the /etc/skel
 level, or put registrymodifications.xcu in
 /usr/lib/libreoffice/presets (however, it seems like a bug that this
 file is NOT copied to a users ~/.config/libreoffice folder ... see
 this bug:https://bugs.freedesktop.org/show_bug.cgi?id=69609)Again, I am 
thinking it is the cleanest would be if there were a way
 to make the change at the system level, if a user has overridden
 then respect it.So, any pointers on how to define "persistentsystem level
 customized options" would be much appreciated.Thanks,iveand


No idea what specific system integration Ubuntu offers for LibreOffice, 
but the recommended way to install site-wide configuration settings for 
stock LibreOffice is via extensions that are installed as shared or 
bundled.  (See 
 for 
details.)


Stephan

--
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



Re: [libreoffice-users] Java Error while updating Language Tool

2013-12-08 Thread Stephan Bergmann

On 12/08/2013 04:22 AM, Gabriel Risterucci wrote:

2013/12/8 CVAlkan 


Hi:

I'm using LibreOffice Writer Version: 4.1.3.2 Build ID:
70feb7d99726f064edab4605a8ab840c50ec57a under 64 bit Ubuntu 12.04 LTS.

I received a notification that an update was available for the Language
Tool, so I clicked and, for the first time ever, it actually downloaded
something, but the installation failed with the following message:

==


[snip]​​


java.lang.UnsupportedClassVersionError: org/languagetool/openoffice/Main :
Unsupported major.minor version 51.0


[snap]​​



The extension will not be installed.
==

In Options: LibreOffice: Advanced, I show two Java Runtime Environments
installed:
(selected): Sun Microsystems 1.6.0_27
(not selected): Oracle Corporation 1.7.0_25

What do I do? I don't want to break anything else that uses Java and
everything else seems to work.



​Here's your problem. It seems like the languagetool extension is built
against Java7 (which is the currently recommended version anyway), and your
installation of Libreoffice use Java6.
(for more informations, ​see
http://en.wikipedia.org/wiki/Java_class_file#General_layout, which gives a
helpful list of major version for java class files amongst other things).


And  
states that version 2.3 of LanguageTool "requires Java 7 now."  So it is 
likely that the code actually makes use of features only available in 
Java 7, and was not only by accident compiled without a --target=6 switch.


Though, of course, the rather cryptic error message when trying to 
install it is not optimal...


Stephan

--
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


Re: [libreoffice-users] Are there solutions for starting LO 4.1.2.3 without java on OSX 10.9 where OSX upgrade as been done on LO with JVM selected

2013-11-01 Thread Stephan Bergmann

On 10/31/2013 09:56 PM, Marc Grober wrote:
[...]

Marc, can you please stick to a single thread on this mailing list on 
the topic of LO+Java+Mavericks?


Stephan


--
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



Re: [libreoffice-users] Re: LibreOffice 4.1.2 and Mac OS X 10.9 (Mavericks)

2013-11-01 Thread Stephan Bergmann

On 10/25/2013 08:59 AM, Stephan Bergmann wrote:

On 10/24/2013 05:18 PM, sberg wrote:

I assume you have installed some LibreOffice extension for spell/grammar
checking or similar that uses Java.  That might explain it if you
experience
crashes now when typing in Writer after upgrading to Mavericks (which
appears to replace any pre-existing Java installation with a "download it
now" stub).

Can you provide a list of LibreOffice extensions you have installed
("Tools
- Extension Manager...")?


Meanwhile found out that it is the wiki-publisher extension (which comes
bundled with LibreOffice by default) that requires a Java VM to be
instantiated in the LibreOffice process as soon as you type the first
letter in Writer.  (See
<http://lists.freedesktop.org/archives/libreoffice/2013-October/056991.html>
"Why typing in Writer instantiates the JVM on Mac OS X" for details.)

So, one quick fix for people who are stuck with Writer keeping crashing
would probably be to move away the wiki-publisher extension that is
bundled in the LibreOffice installation.  To do that in Finder, first
make sure LibreOffice is not running, then navigate to the LibreOffice
(aka LibreOffice.app) application, from the right-click menu select
"Show Package Contents", there navigate from "Contents" to "share" to
"extensions" and move the "wiki-publisher" folder to the trash (or move
it to some other place outside the "extensions" folder).  Then create a
new folder (with more or less arbitrary name, you can use "Dummy")
within the "extensions" folder.  When you start LibreOffice again, the
problem should be gone (it might show a "LibreOffice quit unexpectedly"
dialog once directly while starting, which is an unrelated problem and a
different story, in which case just press the "Reopen" button).


Note that LO 4.1.3 for Mac OS X from 
<http://www.libreoffice.org/download> comes without a bundled Wiki 
Publisher extension.


Stephan


--
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



Re: [libreoffice-users] Re: LibreOffice 4.1.2 and Mac OS X 10.9 (Mavericks)

2013-11-01 Thread Stephan Bergmann

On 10/31/2013 06:41 PM, Marc Grober wrote:

I have rebooted and the crash on opening  (the result of letting LO try
to install java from software update on 10.9) of LO 4.1.2.3 has stopped.
LO is now back to prompting for java (there is no access to LO itself)
Tried saying yes to LO's java install via Software Update again -- this
time it results in no change in behavior

Am I correct here in concluding that neither Apple nor Oracle offer a 32
bit java for Mavericks and that as a result users who have updated to
Mavericks will simply be barred from using LO henceforth until some
unspecified time in the future?


No.  The Apple-provided JRE 6 supports both 32 and 64 bit.


Anyone know of an office suite that works with Mavericks, lol


Note that there are cases where LO works on Mavericks just fine.  There 
are other cases where it reportedly doesn't, but without more specific 
data it is hard to tell why (at lest for somebody who never was able to 
reproduce the problem).



if the problem is only in extensions,  can one use the command line
unopkg to lost and delete the extension causing the problem?


Quoting what I wrote in the "LibreOffice 4.1.2 and Mac OS X 10.9 
(Mavericks)" thread on this mailing list:  "So, one quick fix for people 
who are stuck with Writer keeping crashing would probably be to move 
away the wiki-publisher extension that is bundled in the LibreOffice 
installation.  To do that in Finder, first make sure LibreOffice is not 
running, then navigate to the LibreOffice (aka LibreOffice.app) 
application, from the right-click menu select 'Show Package Contents', 
there navigate from 'Contents' to 'share' to 'extensions' and move the 
'wiki-publisher' folder to the trash (or move it to some other place 
outside the 'extensions' folder).  Then create a new folder (with more 
or less arbitrary name, you can use 'Dummy') within the 'extensions' 
folder.  When you start LibreOffice again, the problem should be gone 
(it might show a 'LibreOffice quit unexpectedly' dialog once directly 
while starting, which is an unrelated problem and a different story, in 
which case just press the 'Reopen' button)."


Stephan

--
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



Re: [libreoffice-users] OSX Maverick, Java, LO 4.1.2.3

2013-11-01 Thread Stephan Bergmann

On 10/31/2013 05:44 PM, Marc Grober wrote:

I said to myself,  go ahead and let LO download something  what
could get worse?
Well,  now, instead of popping and telling me (inaccurately) that I
didn't have java,  it just crashes.
So,  is there a procedure to resolve this mess?


See my responses to the "LibreOffice 4.1.2 and Mac OS X 10.9 
(Mavericks)" and "OSX Mavericks upgrade prevents LO from opening because 
of lack of java" threads on this mailing list for details.


And note that, at least technically, it is not LO that displays the 
dialog inviting you to download and install Apple's JRE, so there's 
little we can do from the LO side without knowing why it keeps crashing 
for some.  When LO crashes for you, does it silently go away, or does it 
come back with LO's crash dialog (where it asks you to continue and 
recover any documents that had been open, if any), or does the generic 
OS X crash dialog (with "Ignore", "Reopen", "Report" buttons, IIRC) come up?


If the latter (the generic dialog), that would be great, because if you 
can still reproduce the crash, it would be helpful if you click "Report" 
and paste all the data here.


Stephan

--
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



Re: [libreoffice-users] OSX Mavericks upgrade prevents LO from opening because of lack of java

2013-11-01 Thread Stephan Bergmann

On 10/31/2013 05:02 PM, Marc Grober wrote:

It looks like the thread on addressing operating LO 4 under OSX
Mavericks may have taken a small detour.

Yes, Java is a bit of a disaster on OSX, and yes once you upgrade Apple
blows away your java install so you have to start all over (but will
prompt you to install their java.)

Assuming you accept their invitation on reboot (the install will invite
you to install an Apple Java jre) and then try to run LO (4.1.2.3) you


Does the OS X upgrade itself indeed mention the possibility to download 
an Apple JRE?  I never noticed that.



will likely get an error message that allows you to either install a
java (the install does not say what it is installing, nor from where) or
quits.


What I know is the following:

After upgrade or fresh install of OS X (at least since 10.7, IIRC), a 
java executable is installed that is merely a stub, bringing up a dialog 
inviting you to download and install the real Apple JRE 6.


When LO is run on such a "stub-only" machine, as soon as it tries to 
detect a JRE (which might be rather sooner than expected, see the 
"LibreOffice 4.1.2 and Mac OS X 10.9 (Mavericks)" thread on this mailing 
list), it will run the stub java executable and thus trigger the dialog.


Now, for some it reportedly works fine to download and install the Apple 
JRE via the dialog and continue working with LO (or even not download 
and install it, and keep living with LO nagging you about a missing 
JRE).  But for some LO reportedly keeps crashing from that dialog 
onwards, no matter how they interact with that dialog.  But I only know 
about that from here-say, and have never seen the problem myself, and 
never seen a backtrace of the crashing LO that could give us a clue 
what's going on there.


(I "wasted" my opportunity to find out for myself when soon after 
upgrading to OS X 10.9 I got confronted with the java stub dialog 
outside the LO context and downloaded/installed it before I came around 
to start LO.)


But since, as described in the "LibreOffice 4.1.2 and Mac OS X 10.9 
(Mavericks)" thread on this mailing list, one unexpected side-effect of 
bundling the Wiki Publisher extension with LO on Mac OS X is that LO 
tries to detect a JRE as soon as you type a key in Writer, we decided to 
deliver LO 4.1.3 for Mac OS X (from 
) without a bundled Wiki Publisher 
extension.  That should help to somewhat mitigate the problem and have 
less people be annoyed by the problem.


Stephan

--
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



Re: [libreoffice-users] Re: LibreOffice 4.1.2 and Mac OS X 10.9 (Mavericks)

2013-10-25 Thread Stephan Bergmann

On 10/24/2013 05:18 PM, sberg wrote:

I assume you have installed some LibreOffice extension for spell/grammar
checking or similar that uses Java.  That might explain it if you experience
crashes now when typing in Writer after upgrading to Mavericks (which
appears to replace any pre-existing Java installation with a "download it
now" stub).

Can you provide a list of LibreOffice extensions you have installed ("Tools
- Extension Manager...")?


Meanwhile found out that it is the wiki-publisher extension (which comes 
bundled with LibreOffice by default) that requires a Java VM to be 
instantiated in the LibreOffice process as soon as you type the first 
letter in Writer.  (See 
 
"Why typing in Writer instantiates the JVM on Mac OS X" for details.)


So, one quick fix for people who are stuck with Writer keeping crashing 
would probably be to move away the wiki-publisher extension that is 
bundled in the LibreOffice installation.  To do that in Finder, first 
make sure LibreOffice is not running, then navigate to the LibreOffice 
(aka LibreOffice.app) application, from the right-click menu select 
"Show Package Contents", there navigate from "Contents" to "share" to 
"extensions" and move the "wiki-publisher" folder to the trash (or move 
it to some other place outside the "extensions" folder).  Then create a 
new folder (with more or less arbitrary name, you can use "Dummy") 
within the "extensions" folder.  When you start LibreOffice again, the 
problem should be gone (it might show a "LibreOffice quit unexpectedly" 
dialog once directly while starting, which is an unrelated problem and a 
different story, in which case just press the "Reopen" button).


Stephan

--
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