Re: [libreoffice-users] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Tom Davies
Hi :)
I'm not clear why not jsut have everyone install Libreoffice alongside
whatever other programs they have and then encrypt the ODF files (odt
for text, ods for spreadsheets etc)
Regards from
Tom :)


On 2 April 2014 18:48, Hal Vaughan  wrote:
> 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?
>
>
> Thanks!
>
>
>
> Hal
> --
> 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
>

-- 
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Hal Vaughan

On Apr 2, 2014, at 5:34 PM, Pedro  wrote:

> Hal Vaughan-2 wrote
>> 1) There is not yet any LibreOffice for Android or iOs
> 
> There is AndrOpen Office. It's not the same as LO but it supports viewing
> and editing ODT files.
> 
> 
> Hal Vaughan-2 wrote
>> 2) It defeats the purpose of any encryption if a person can open the file,
>> then save it in any format
>> 3) It allows someone to open the file, make changes, and do what they want
>> with it.
> 
> Then you really need PDF or maybe epub (apparently it also supports
> encryption and DRM). Google is your friend ;)

Yes, I’ve spent many hours on this on Google.

I was hoping that there might be something I couldn’t find or didn’t know about 
that might help.

And, actually, the DRM is encryption that I’d be handling on my own - basically 
wrapping a file input stream with an encryption stream.


Hal
-- 
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Mark Bourne

Hal Vaughan wrote:

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.


I don't know much about e-reader formats, but Calibre 
(http://calibre-ebook.com/) can convert various file types (including 
ODT) into various formats used on e-readers (EPUB, MOBI, AZW3, ...) So 
far I've only used it to convert a few files to view on my Kindle, so 
not sure about support for adding encryption / DRM, but it might be 
worth a look as a starting point to modify or just for ideas.


Mark.


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?


Thanks!



Hal



--
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Hal Vaughan

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 
> (http://writer2latex.sourceforge.net/ ) for the Writer2xhtml that will handle 
> ODF document conversion directly to EPUB. Or simply use the extension as is 
> with LibreOffice. 
> 
> Stuart

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!


Hal


> -Original Message-
>> From: Hal Vaughan [mailto:li...@halblog.com]
>> Sent: Wednesday, April 02, 2014 12:49 PM
>> To: users@global.libreoffice.org
>> 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?
>> 
>> 
>> Thanks!
>> 
>> 
>> 
>> Hal
> 
> 
> 
> -- 
> 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
> 


-- 
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Mark Bourne

Hal Vaughan wrote:

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.


I don't know much about e-reader formats, but Calibre 
(http://calibre-ebook.com/) can convert various file types (including 
ODT) into various formats used on e-readers (EPUB, MOBI, AZW3, ...) So 
far I've only used it to convert a few files to view on my Kindle, so 
not sure about support for adding encryption / DRM, but it might be 
worth a look as a starting point to modify or just for ideas.


Mark.


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?


Thanks!



Hal



--
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Hal Vaughan
On Apr 2, 2014, at 2:21 PM, Tom Davies  wrote:

> Hi :)
> I'm not clear why not jsut have everyone install Libreoffice alongside
> whatever other programs they have and then encrypt the ODF files (odt
> for text, ods for spreadsheets etc)
> Regards from
> Tom :)

Because:

1) There is not yet any LibreOffice for Android or iOs
2) It defeats the purpose of any encryption if a person can open the file, then 
save it in any format
3) It allows someone to open the file, make changes, and do what they want with 
it.

While this is intended to go out to my friends, there are cases where I (and 
others using it) might need to include someone they don’t know but so well.


Hal


> On 2 April 2014 18:48, Hal Vaughan  wrote:
>> 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?
>> 
>> 
>> Thanks!
>> 
>> 
>> 
>> Hal
>> --
>> 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
>> 
> 


-- 
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread V Stuart Foote
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 
(http://writer2latex.sourceforge.net/ ) for the Writer2xhtml that will handle 
ODF document conversion directly to EPUB. Or simply use the extension as is 
with LibreOffice. 

Stuart


> -Original Message-
> From: Hal Vaughan [mailto:li...@halblog.com]
> Sent: Wednesday, April 02, 2014 12:49 PM
> To: users@global.libreoffice.org
> 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?
> 
> 
> Thanks!
> 
> 
> 
> Hal



-- 
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] Non-PDF Portable Document Formats (Exporting from LO)

2014-04-02 Thread Hal Vaughan
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?


Thanks!



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