Modify

Opened 10 years ago

Closed 10 years ago

#12218 closed enhancement (fixed)

Plugin updates

Reported by: gilado Owned by: Ryan J Ollos
Priority: normal Component: DocRenderPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

I have updated the plugin to work with Trac 1.0.2 and LibreOffice4.4.

Now it also render ppt and pptx documents.

I installed LibreOffice_4.4.1_Linux_x86-64_rpm.tar.gz from libreoffice site. Notice it resides in /opt/libreoffice4.4.

Copy ooextract.py to /opt/libreoffice4.4/program

libreoffice4.4 comes with python3 as well pyuno.so compiled for python3. Since my OS python install is 2.6 I modified docrenderer.py to run ooextract.py using the libreoffice python executable.

Attached is docrenderplugin-1.0-14472.zip with the updated code under 1.0 sub-directory

Could someone please update the source tree?

Attachments (1)

docrenderplugin-1.0-14472.zip (10.7 KB) - added by Ryan J Ollos 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by Ryan J Ollos

gilado: I created the ticket on your behalf. I'll pull in your changes when the plugin author does not reply, but please create tickets rather than editing the wiki.

Also, it would be better to create patch files. See trac:TracDev/SubmittingPatches.

Changed 10 years ago by Ryan J Ollos

comment:2 Changed 10 years ago by Ryan J Ollos

  • PEP-0008 changes were needed.
  • Logger calls should not use string interpolation, but rather pass arguments.
  • There were some Python 2.5 incompatibilities that I backed out.
  • The OpenOffice/LibreOffice install location should be made a configurable option.

comment:3 Changed 10 years ago by Ryan J Ollos

In 14475:

0.3dev: Import of Trac 1.0 compatibility changes by gilado. Refs #12218.

comment:4 Changed 10 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.