Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index

On Apr 2, 2014, at 2:34 PM, V Stuart Foote <> wrote:

Top posting answer to Hal...

See either of two ways to proceed, since LibreOffice already bases it PDF page rendering on 
Poppler and bundles it, you might as well  work against that and write a LibreOffice extension.

Alternative might be the java source code from Writer2LaTex project 
( ) for the Writer2xhtml that will handle ODF document 
conversion directly to EPUB. Or simply use the extension as is with LibreOffice. 


Thanks!  I had not thought of LaTex.  I’ve never had to use it before, so it’s always been 
"something they use," and I missed it.  And, believe it or not, I had not thought of EPUB.  Guess 
that’s why I ask questions like this!


-----Original Message-----
From: Hal Vaughan []
Sent: Wednesday, April 02, 2014 12:49 PM
Subject: [libreoffice-users] Non-PDF Portable Document Formats (Exporting
from LO)

I'm working on an e-reader for special purposes.  While I don't want to go
into a discussion of the point of this program and why I'm doing another, a
brief summary may help.  As a writer, I don't like sending my work over email
or other insecure methods of internet transfer.  This e-reader would let me
(and my writer friends) share our work easily with our friends while keeping
it encrypted during transfer and even on the reader's computer.  The file is
read in and decrypted when displayed for reading.  This would also let me
make early drafts expire so they can be ditched when they're obsolete.

I still haven't decided what language to use for this.  Initially it'll work on OSX,
Windows, and Linux.  I'd like to expand it to Android and iOS.  There's a good
chance it'd be in C++ or Java, but it would be great if I could do it in Python.  (I
know of Kivy and other efforts that would make it easy for me to transport
Python to at least Android.)

The problem is I need some kind of portable document format.  I know that
implies, immediately, PDF.  However, there seems to be only one library that
handles PDF display, and that's Poppler.  I'm not an expert programmer (at
least not in C++), and when I've asked for help from the Poppler people,
they've been abrupt and less than helpful.

I'd like to be able to write in LO, then save or export my file, and have it in a
format I can easily display on the different operating systems.

I tried saving some files in HTML.  The plain text ones were no problem at all.
Margins and formatting was preserved just as I needed it.  But then I tried
one that was part of a pitch, so it had a page of text, then a page of pictures,
basically two columns of pictures with captions below each picture.  I loaded
that in a browser and the formatting was okay on the first page, but was
totally messed up on the 2nd page with the pictures.

As best I can tell, at this point, there is not a portable library out there that I
can use from within a program to easily display ODT files, but that would be a
great solution.

So what format can I use when exporting from LibreOffice, other than PDF,
that can be easily displayed by any libraries in either Java, C++, or Python?



To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.