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)
Change History (5)
comment:1 Changed 10 years ago by
Changed 10 years ago by
Attachment: | docrenderplugin-1.0-14472.zip added |
---|
comment:2 Changed 10 years ago by
- 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:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.