Commit Graph

9 Commits

Author SHA1 Message Date
cd92b7838d Added complex fules to determine whether soffice is LibreOffice, for the vender-installed LibreOffice on Linux. 2016-12-24 06:42:44 +08:00
42ab15c6d0 Added a simple check for the --accept parameter instead of -accept for LibreOffice on POSIX systems. 2016-12-23 17:30:05 +08:00
28c877c6fa Added complex rules to find the soffice executable, to deal with LibreOffice on MacOSX, and Linux OpenOffice/LibreOffice vender installation. 2016-12-23 17:12:35 +08:00
0ad8fcbacf Fixed a bug when finding the module name from the file name stripping the file name extension. 2016-12-23 15:04:07 +08:00
6b0aafbdef Renamed the -e (file name extension) switch to -x. Added the -e (encoding) switch to set the source file encoding. Default to the local OS encoding. On Traditional Chinese MS-Windows, this is CP950. This is mostly for MS-Windows. 2016-12-23 14:44:10 +08:00
b1ac321444 Renamed the OpenOffice class to Office. Updated several pieces of text for LibreOffice. Added the -e (file name extension) switch to set custom file name extension. 2016-12-23 11:38:51 +08:00
0e2e537916 Added compatibility with Python 3 on file I/O. 2016-12-23 06:27:27 +08:00
1f90f2e407 Added a new option for the UNO communication port. Updated the use of print for Python 3 compatibility (for LibreOffice). Replaced sys.stderr.write() with Python 3 print(). Changed the help text from OpenOffice to OpenOffice/LibreOffice. Added several TODO items. 2016-12-22 19:54:18 +08:00
cef4425d28 Added setuptools and published to PyPI, so that it can be installed with pip. 2016-12-20 22:01:37 +08:00