OpenOffice/DOCX/FB2 Viewer

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

OpenOffice/DOCX/FB2 Viewer

Post by *Alextp »

This plugin allows to view OpenOffice and MS Word 2007 (DOCX) documents. Documents are converted to XHTML form, so you can see them with most of formatting! Not all document styles are supported currently, because of underlying XSL stylesheets work.

Currently supported formats:

- OpenOffice 1.x Writer/Calc/Draw (SXW STW SXC STC SXD STD)
- OpenOffice 2.x Writer (ODT OTT)
- MS Word 2007 (DOCX DOTX)
- FB2


http://www.totalcmd.net/plugring/OOoHtmlViewer.html
Last edited by Alextp on 2011-10-08, 13:15 UTC, edited 4 times in total.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Alextp
Didn't know you are using OpenOffice.org.
Well I'm using this plug-in from the very beginning - see start of this thread. :-)
support for ODS/ODP
Thanks for the clear answer. BTW using XML+XSLT here is quite an interesting approach. Building such an xslt is really a lot of work !:

Unless the formats are supported you should remove the ODP and all other unsupported formats frm the detect string.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Thanks for the clear answer. BTW using XML+XSLT here is quite an interesting approach. Building such an xslt is really a lot of work !:
Yes, it's quite complex.
I think author built it based on xslt included in OOo distributive.

Unless the formats are supported you should remove the ODP and all other unsupported formats frm the detect string.
[/quote]
Agree.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

OpenOffice.org Viewer (Lister plugin)

Post by *Alextp »

[Moved]
Last edited by Alextp on 2006-10-11, 09:34 UTC, edited 2 times in total.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Re: OpenOffice.org Viewer (Lister plugin)

Post by *Sir_SiLvA »

Alextp wrote:Known bug:
it handles and doesn't give to Lister all keys, such as Esc, Ctrl-C, Ctrl-A etc. This should be fixed.
A reason not to use it imhuo....
Hoecker sie sind raus!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2Sir Silva
Those who have tried alternative Viewer can use it now.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Plugin updated, see first post.

The change is that its work under TC Lister is disabled - due to the ussue written in 1st post. Plugin works only in QuickView mode. You can enable it in Lister by using .ini file - see Readme for details.

I'll release it on totalcmd.net soon
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

2Alextp
As a happy user of AV I tried this plugin but whenever I try to open a file, I get a download dialog window and when I choose to open the file, it is opened in OpenOffice. It seems to work fine in Quick View mode in TC though.

Then I also have OOView and OOoViewer both by you. What is the difference?

Thanks.

RolandD
Registered user #92105
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

but whenever I try to open a file, I get a download dialog window and when I choose to open the file, it is opened in OpenOffice. It seems to work fine in Quick View mode in TC though.
Well I don't see this. Need to install OOo 2.2.0 here, I uninstalled it some time ago.
It seems to work fine in Quick View mode in TC though.
That is strange...
Then I also have OOView and OOoViewer both by you. What is the difference?
OOView (OOo Simple Viewer): shows files WITHOUT formatting

OOoViewer (OOo HTML Viewer): shows files WITH most of formatting
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Roland, please try this REG file:
http://ghisler.ch/board/viewtopic.php?p=124548#124548

maybe it must be adapted for OOo.
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

2alextp
Ok, thanks for clearing up the difference.

I have tried the reg file but it made no difference. So I had another look at my options. First I tried it again in Quick View mode. Both OO and OOo works. (Only TC doesn't show the plugin used at that moment :()

Then I tried UV again. Only OO shows up. Trying to cycle through the plugins (pressing key 7), it always stayed with OO.

Just to give it a try I created OOoViewer.ini with the AllowWorkInLister=1. Opened it again in UV and behold it works.

There is no difference if I open UV with F3 from TC or Viewer.exe directly. In both cases I need the ini file to make OOo work.

Regards,

RolandD
Registered user #92105
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2rolandd
OK, you are right. The detection of Lister window was incorrect, it detected also Universal Viewer as Lister. Now fixed this (I hope): I check window class name for 'TLister'.

Please redownload.
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

2Alextp
Which download? Here or totalcmd.net? I downloaded and installed the one in your first post. The problem stays the same.

If I look at the files in the zip from totalcmd.net timestamp and filesize are the same.

It seems like there is nothing changed. :(

Regards,

RolandD
Registered user #92105
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Which download? Here or totalcmd.net?
It's the same link.

The last version should say:
1.1.2 (17.06.2007): Fixed: Wrong detection of Lister window
Seems you got the old version.
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Ok, well downloaded twice from here and twice from totalcmd.net but always get version 1.1.0.

Will try later again.

>>>> A new day and yes I get the new file. Problem solved :)
Registered user #92105
Post Reply