macro: AC_LANG_PUSH
configure.ac:3698: error: possibly undefined macro: AC_LANG_POP
configure.ac:4885: error: possibly undefined macro: AC_RUN_IFELSE
Failed to run autoconf at ./autogen.sh line 158.
How can I fix this? What are the tools dependencies here?
Jens
--
Jens Tröger
http
the Gentoo guys, the same autoconf version is fine here e.g.
on openSUSE, so it seems your problem is somewhat Gentoo-specific.
Ok, I'll post in their forums and see what comes up.
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice
will start using some code path that gets very little testing.
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
at ./autogen.sh line 157.
This is on a Gentoo Linux system. I am not sure what that error message
means, and looking up m4_pattern_allow I found this note:
http://lists.gnu.org/archive/html/autoconf/2010-01/msg00050.html
Do you know what's happening here?
Jens
--
Jens Tröger
http://savage.light
4.3 or newer you may want to
give a try to pylokit, a python wrapper for LibreOfficeKit.
https://github.com/xrmx/pylokit
thanks,
riccardo
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
Could you elaborate, please?
On Mon, Dec 29, 2014 at 01:44:51PM +0200, Noel Grandin wrote:
That smells like a DNS timeout. I suspect that you have some kind of
network problem.
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing
.
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
:03AM +0200, Noel Grandin wrote:
when connecting to something on the local machine, if the machine name
or the localhosts entry is /etc/hosts
is incorrectly setup, the connection process can take an extra 30
seconds while the socket library performs a DNS lookup that times out.
--
Jens Tröger
it with
callgrind. You can interpret the results with kcachegrind which will
hopefully show what took so much time and allow you to work on a fix.
Regards,
Markus
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
?
http://linux.die.net/man/1/strace
Regards,
Maarten
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
). Is there a strong preference
for a tool to use ? (gprof vs. vallgrind/callgrind vs.).
I could take a sec. to write up a (tested) page with the procedure if
people can describe the basic preferred way to do it on list.
;)
- Maarten
--
Jens Tröger
http://savage.light-speed.de
not be needed after all; it doesnt seem to get
more complicated than this ? :
valgrind --tool=callgrind instdir/program/soffice
And then load the contents of callgrind.out.pid in KCachegrind ?
- Maarten
--
Jens Tröger
http://savage.light-speed.de
scenario is that
running LO inside of an IPy Notebook seems to have run for the expected
2 sec, see this answer to my thread:
https://forum.openoffice.org/en/forum/viewtopic.php?f=20t=74332p=336914#p336350
Does the call profile for LO raise a flag to any of you devs?
Cheers,
Jens
--
Jens
that make
sense?
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
?
- Maarten
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
to
import other modules.
There's some more info here:
http://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-private-python-build/
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice
-for-python-3-in-ubuntu-12-04-lts
On Thu, Feb 19, 2015 at 05:45:58AM +0100, Jens Tröger wrote:
Hello,
The question in this email arose from Stephan Bergman's answer to a
stackoverflow thread:
http://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-p
What
about building a
Python venv around the LibreOffice Python? Perhaps that belongs in its
own thread though.
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org
somewhat unclear on this whole issue...
Cheers :)
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
...)
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
On Thu, Feb 19, 2015 at 05:45:58AM +0100, Jens Tröger wrote:
What is the proper and recommended way of building a Python virtual
environment around the LO Python? I'd like to ensure that uno is
available and functioning, while at the same time I can install
additional packages into the venv
the Office instance and the client side, the test
document ran for about 0.9 seconds (instead of 45s) at almost the speed
of the named pipe.
More info about this is here:
https://superuser.com/questions/860321/linux-localhost-sockets-painfully-slower-than-on-mac/862303
Cheers,
Jens
--
Jens Tröger
The following is interesting:
On Sat, Jan 03, 2015 at 05:22:42PM +0100, Jens Tröger wrote:
32b LibreOffice on Mac (py 3.3.5)
Elapsed time: 1.8361830711364746 with 550 pars
64b LibreOffice on Mac (py 3.3.5)
Elapsed time: 0.8173670768737793 with 550 pars
64b LibreOffice
attached the strace output.
- Maarten
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
.
- Maarten
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Perhaps I'm going about this incorrectly which leads these files behind.
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
!
On Thu, Mar 05, 2015 at 05:53:35AM +0100, Jens Tröger wrote:
One way of approaching the problem below is by checking the file type of
the document, before handing it off to the soffice instance. Checking
the extension only might be too flimsy, perhaps libmagic can help?
There is a list
( (propVal,) )
and pass a document into the load() method? That wouldn't constrain
myself to Writer?
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
scenarios; then adjust and fix the switches accordingly.
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
) how you should start it, not --invisible?
--tml
Oh how I would like to run a persistent LO server that scales well with
the number of connections... :) (Off topic though.)
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing
)
While I couldn't use this due to a crash of createInstance(), it looks
to me as if this code would be an alternative to what we've discussed in
this thread. I assume that loading, say, a Calc or an image would fail
here?
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de
of a persistent server mode then?
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
)
if queryInterface in dir(document) and
document.queryInterface(uno.Type(com.sun.star.util.XCloseable, INTERFACE)) :
document.close(True)
else :
document.dispose()
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de
/LibreOffice#Supported_file_formats
but it seems rather tedious to me to check manually for Writer document
files. Is there a better way?
Cheers.
On Thu, Feb 26, 2015 at 05:36:18PM +0100, Jens Tröger wrote:
Hi,
Is there a way to load Writer supported documents only, and dismiss
(fail) on others
way to go. Or should I check
if the file is of a certain type before I pass it on to office? In that
case though, I might reject some funky format which Writer supports,
just because I didn't know about it.
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de
that something wasn't cleaned up correctly, or else the dialog wouldn't
show?)
I've asked that same questions with short code examples in the forum, to
no avail. Any takers? Help would be greatly appreciated :-)
https://forum.openoffice.org/en/forum/viewtopic.php?f=25t=75367
Thanks!
Jens
--
Jens
,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
, 2015 at 09:18:38PM +0100, Michael Stahl wrote:
On 24.02.2015 18:41, Jens Tröger wrote:
Supporting documentation:
http://www.openoffice.org/api/docs/common/ref/com/sun/star/util/XCloseable.html
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Closing_Documents
download from the
website. Same happens with the latest 4.4.2, just downloaded from the
website.
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo
, then why is that
output there?
Jens
On Thu, Apr 09, 2015 at 10:53:13AM +0300, Tor Lillqvist wrote:
What did you expect to happen?
--tml
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http
: parser error : Document is empty
\documentclass{article}
^
I have noticed similar and more on Linux LO. What's that about? Can
and should I ignore this?
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice
On Thu, Apr 09, 2015 at 06:54:11AM -0400, Andrew Pitonyak wrote:
What happens of you rename the file to have a .txt file extension?
Then it works fine without any output.
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing
contradicts what LO eventually does. The output also indicates that
something goes awry during the load of a plain-text document which
happens to contain LaTeX commands.
IMO this is an issue that needs resolution. (Which is why I started
this thread.)
Jens
--
Jens Tröger
http://savage.light-speed.de
further
GUI warnings.
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
=90528
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
text file.
On OS X it was simple: load the file with the normal Open File dialog.
On OS X and Linux, I could also load that same file through the UNO API
without any problems.
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
Oh it's moved from Contents/MacOS/python to Contents/Resources/python.
And it's 3.5 now, too. Thanks!
Jens
On Mon, May 15, 2017 at 10:07:28AM +0200, Stephan Bergmann wrote:
> On 05/12/2017 03:44 PM, Jens Tröger wrote:
> > I have noticed that the past few drops of LO for Mac do
Hi,
I have noticed that the past few drops of LO for Mac do not ship with a Python
3 interpreter anymore, but seem to contain Uno related resources.
What’s the plan wrt PyUno support on Mac?
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de
) and then shutting one process down kills the other
as well. What vital resources are being shared here, and what is the
recommended way of spawning multiple Writers (i.e. opening multiple documents)
simultaneously? There’s more information in the forum’s post.
Thanks!
Jens
--
Jens Tröger
http
;
> I.e., are you asking how to spawn multiple soffice.bin processes, or how to
> open multiple Writer documents, at the same time?
>
> For the first case, you need to spawn the processes with separate "user
> installation" directories. For the second case, that should be
red in your case among all open documents)
> shutdown?
>
> --
> Best regards,
> Mike Kaganski
>
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
fileCached:
> shutil.copytree(userProfile, cacheDir)
>
>
> desktop =
> context.ServiceManager.createInstanceWithContext("com.sun.star.frame.Desktop",
> context)
> desktop.loadComponentFromURL('private:factory/swriter', 'blank', 0, ())
>
> # ... clean up temporary directory when done (omitted)
>
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
. And you
> should really use a different UserInstallation for each instance as well.
>
> D.
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
ther multiple
>document windows are open, or just one, or none at all.
>
>--tml
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
might be quite hard.)
>--tml
Yes, I know, I'm quite aware of the funk of multi-threaded code ;)
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
, I have a feeling that the LO/AOO community has discussed multi-threading
before? To complex to change? Or not necessary? Do you have more information on
this topic?
Thanks!
Jens
> On Oct 23, 2017, at 18:56, Tor Lillqvist <t...@iki.fi> wrote:
>
> On 23 October 2017 at 11:
/lib64/libreoffice/program/soffice.bin
I thought that --nologo avoids the splash? How can I avoid that splash,
and what exactly does it do?
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice
On Tue, Dec 12, 2017 at 03:53:41PM +0100, Michael Stahl wrote:
> On 12.12.2017 14:22, Jens Tröger wrote:
> > Michael, I the case you describe would I not see the same UNO object
> > address for the same paragraph in the document? But iterating over the
> > ToC’s pa
Hello again,
Just wanted to mention that I also added the --nologo command line
option when spawning a new soffice process. I assumed it's implicit
with --headless --invisible but apparently not…
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de
a field’s “code” can be something like { PAGEREF _Ref498098146\h}
(or NOTEREF, or REF). How are these reference kinds represented in the OO
object model?
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de/ <http://savage.light-speed.de/>
_
Some clarification:
> It seems that reference strings have somewhat different spaces:
> “_Ref498096146 “ and “ _Ref498096146” are the same reference (space after,
> space before) I assume?
The spacing seems to be inserted by calling getPresentation(). Using the
SourceName and
(most of) the ODT filter in xmloff/ to see what exact UNO
> API is used to write a given ODT markup.
>
> Regards,
> Miklos
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
://forum.openoffice.org/en/forum/viewtopic.php?t=91448
Is there an association between the XDocumentIndex object (the ToC index
of the document) and the XTextContent objects (paragraphs that make the
actual ToC content) and how can I find it?
Thanks!
Jens
--
Jens Tröger
http://savage.light
, is there any
other indication than the par’s name that the par is in fact part of the
ToC index object?
Cheers,
Jens
On Thu, Dec 07, 2017 at 07:40:35PM +1000, Jens Tröger wrote:
> Thanks Miklos,
>
> Actually, what I find odd is that I don’t see any `text.HyperLinkURL`
> attributes w
gt;> Hi,
>> On Fri, Dec 08, 2017 at 10:19:29AM +0100, Jens Tröger
>> <jens.troe...@light-speed.de> wrote:
>>> Same happens for 5.4.3.2 and 6.0 (dev) as well. I've got a tiny test
>>> DOCX here which demonstrates the problem, should I file a bug? Also, it
>&
On Thu, Dec 07, 2017 at 09:58:24AM +0100, Miklos Vajna wrote:
> Hi Jens,
>
> On Thu, Dec 07, 2017 at 06:04:08AM +0100, Jens Tröger
> <jens.troe...@light-speed.de> wrote:
> > While walking all paragraphs of a Writer document and visiting their text
> > conten
is a Bookmark text portion.
> There is no closer connection between these two, I think.
>
> Regards,
> Miklos
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.fr
his is if there is a paragraph enumeration that
> partially selects a paragraph - those are never cached.
>
> (also, not every UNO document model service in Writer implements such
> caching.)
--
Jens Tröger
http://savage.light-speed.de/
___
Libr
Hello,
I haven’t yet had the time to dive into the topic yet—unfortunately. So
perhaps my question is somewhat of a guess: compared to using the Python UNO
interface to load and traverse a document, can I expect a performance
improvement when I use a filter to save the information that I
Thank you Miklos!
I've spent some time trying to figure out how to use XSLT to define export
to an XML format, e.g. here:
https://wiki.openoffice.org/wiki/Export_filter_framework
That too seems to require writing a native-code wrapper, but most of the
documentation here is way outdated
others can not open documents anymore. However, it doesn't seem to
terminate the soffice process itself.
Also, I have performance concerns for this approach: loading and running
through just two documents simultaneously seemed to be unproportionally slow!?
Thank you!
Jens
--
Jens Tröger
http://
independent LO instances of an appropriate size for your number of CPU
> threads, then feed them jobs one at a time each. There is definitely no
> canned answer for this, so you would have to do your own benchmarking and
> tuning to find the optimum pool size for the resources o
re details on that?
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Thank you Jonathon for the char/word count explanation.
However, I’m more concerned about the differences in rendering (which in
turn accounts for the large difference in page count) and the loss of font
use (see the heading). If need be I can provide a test document that
demonstrates these
for that same
documentation.
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Chris, thank you, and done:
https://bugs.documentfoundation.org/show_bug.cgi?id=115944
--
Sent from: http://nabble.documentfoundation.org/Dev-f1639786.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
rks code - this implementation
> detail should never be visible in the API.
Is this bug going to be fixed at some point? Will the fix make
reference information to the target available?
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
though: is it a
predefined URL argument to loadComponentFromURL() like e.g.
private:factory/swriter?
There’s a bit more detail here:
https://forum.openoffice.org/en/forum/viewtopic.php?f=45=92922
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
than 1 if the paragraph is a heading of sorts. By default, “Title” and
“Heading 1” are both 1. So checking whether a paragraph is a heading depends on
the `OutlineLevel` rather than the `NumberingIsOutline` boolean.
Is that about right? What did I miss with respect to document hierarchy?
Cheers!
Jens
-
erate over the Master Document’s content as if it were a single document.
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Thank you David. That's a start but still assumes a lot of implicit knowledge
about the surrounding infrastructure. Is there a minimal export plugin to
start from? I do have quite some experience with the object model from the
Python/UNO view.
Also, it appears that LO6+ imports (x)html files to
Thank you Miklos!
Fridrich's blog was interesting, and mentions export filters on occasion. It
hasn't given much detail though on how to actually write a XFilter based
implementation which is what seems most sensible.
Perhaps somebody can point me at the source code of existing (simple) export
/blob/master/svtools/source/svhtml/parhtml.cxx#L394-L622
which are listed here:
https://dev.w3.org/html5/html-author/charref
I’ll take a closer look…
Cheers,
Jens
On Thu, Sep 27, 2018 at 11:24:40AM +0200, Noel Grandin wrote:
>
> On 2018/09/27 11:10 AM, Jens Tröger wrote:
> > I’ve
Thank you Miklos,
I’ve been poking through the HTML reader (rather superficially, I admit) in
search for the code that expands HTML entities to Unicode. I did that to
address this bug:
https://bugs.documentfoundation.org/show_bug.cgi?id=119944
Didn’t find much, so could you please point me
/uno.py", line 19, in
import pyuno
ModuleNotFoundError: No module named 'pyuno'
What’s the recommended approach here?
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
the HTML model to our own document model.
>
> Yes, and that part is handled independently between Writer and Calc.
>
> Kohei
>
> --
> Kohei Yoshida, LibreOffice Calc volunteer hacker
--
Jens Tröger
http://savage.light-speed.de/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
around in that CSS
resolution for nested elements (both, div and span)… 邏
Cheers,
Jens
> On Jan 9, 2019, at 20:22, Noel Grandin wrote:
>
> On Wed, 9 Jan 2019 at 10:25, Jens Tröger wrote:
>
> > On Jan 9, 2019, at 16:06, Noel Grandin wrote:
> >
> > Nobody owns
K for that, but LO definitely is not website editor...
>
> ciao
> Christian
@Chrisitian, that makes sense and I wouldn’t want LO to use as a website
editor. But I think computing CSS for nested elements (e.g. a or ,
see the example screenshot) would make sense…
Many greeting
, LO seems like
a magnificent beast of code and I am unable to judge whether I’d be useful
tackling these issues myself. It would be great to find whoever knows the code
to discuss…
Many greetings,
Jens
--
Jens Tröger
http://savage.light-speed.de/
91 matches
Mail list logo